ARM: Define ELF_MACHINE_NO_REL
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-04  Will Newton  <will.newton@linaro.org>
2
3         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4
5 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6
7         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9
10         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12         in a bare environment with no <stdlib.h> installed.
13         * sysdeps/nptl/configure: Regenerated.
14
15         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16
17         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18         AC_EGREP_CPP for kernel header checks, so they only succeed if
19         including <linux/version.h> actually works right.
20         * sysdeps/unix/sysv/linux/configure: Regenerated.
21
22         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23         value so it's not diagnosed as unused.
24
25         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26         thing) with "ifeq ($(subdir),rt)".
27
28 2014-07-03  Richard Henderson  <rth@redhat.com>
29
30         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33
34         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35         (math_force_eval): New.
36
37         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39
40         * sysdeps/alpha/fpu/s_round.c: Remove file.
41         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42
43         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47         (_dl_start, print_statistics): Likewise.
48         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
49         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
50
51         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
52         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
53         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
54         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
55         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
56         (HP_SMALL_TIMING_AVAIL): Define.
57         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
58         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
59         (HP_SMALL_TIMING_AVAIL): Define.
60         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
61         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
62
63         * sysdeps/aarch64/hp-timing.h: New file.
64
65         * sysdeps/generic/hp-timing.h: Remove dead comment.
66         * sysdeps/generic/hp-timing-common.h: New file.
67         * sysdeps/alpha/hp-timing.h: Include it.
68         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
69         * sysdeps/i386/i686/hp-timing.h: Likewise.
70         * sysdeps/ia64/hp-timing.h: Likewise.
71         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
76         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
77         (hp_timing_t): New.
78
79         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
80         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
81         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
82         * elf/rtld.c (_dl_start_final): Likewise.
83         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
84         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
85         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
86         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
87         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
88         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
89         (HP_TIMING_DIFF_INIT): Remove.
90         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
91         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
92         (HP_TIMING_DIFF_INIT): Remove.
93         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
94         * sysdeps/i386/i686/hp-timing.c: Remove file.
95         * sysdeps/x86_64/hp-timing.c: Remove file.
96         * sysdeps/ia64/hp-timing.c: Remove file.
97         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
98         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
99         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
100         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
101
102         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
103         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
104         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
105         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
106         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
107         (HP_TIMING_ACCUM): Remove.
108         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
109         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
110         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
111
112         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
113         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
114         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
115         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
116         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
117         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
118         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
119         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
120
121         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
122
123 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
124
125         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
126
127 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
128
129         Sync up with gettext.
130         * intl/loadmsgcat.c: Define O_BINARY if not defined.
131         [_MSC_VER]: Include malloc.h
132         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
133         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
134         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
135         TEMP_FAILURE_RETRY.  Cast return of alloca.
136         [!_LIBC] Call gl_rwlock_init.
137         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
138
139 2014-07-02  Roland McGrath  <roland@hack.frob.com>
140
141         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
142         before checking its value.
143
144 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
145
146         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
147
148         * debug/memcpy_chk.c: Don't include pagecopy.h.
149         * debug/mempcpy_chk.c: Likewise.
150         * string/memcpy.c: Likewise.
151         * string/memmove.c: Likewise.
152         * sysdeps/powerpc/memmove.c: Likewise.
153         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
154         definition of PAGE_COPY_FWD_MAYBE here...
155         * sysdeps/generic/pagecopy.h: ... from here.
156         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
157
158 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
159             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
160
161         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
163         optimizations.
164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
165         (__libc_ifunc_impl_list): Likewise.
166         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
167         multiarch strcat for PPC64.
168         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
169         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
170
171 2014-07-02  Roland McGrath  <roland@hack.frob.com>
172
173         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
174
175 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
176
177         * intl/loadmsgcat.c: Remove declaration of
178         get_sysdep_segment_value.
179         (get_sysdep_segment_value): Use ISO C style.
180         (_nl_load_domain): Use ISO C style.  Get rid of redundant
181         semicolon.  Fix typo and formatting in comment.
182         (_nl_unload_domain): Use ISO C style.
183
184         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
185
186 2014-07-02  Will Newton  <will.newton@linaro.org>
187
188         * malloc/obstack.c: Merge from gnulib master.
189         [HAVE_CONFIG_H]: Remove conditional code.
190         [!_LIBC]: Include config.h.
191         [!ELIDE_CODE]: Don't include inttypes.h, include
192         stdint.h unconditionally.
193         (print_and_abort): Mark as _Noreturn.
194         (_obstack_allocated_p): Mark as __attribute_pure__.
195         (obstack_free): Rename to __obstack_free.
196         [!__attribute__]: Remove conditional code.
197         * malloc/obstack.h: Merge from gnulib master.
198         [__cplusplus]: Move conditional down.
199         [!__attribute_pure__]: Define __attribute_pure__ here
200         if it is not already defined.
201         (_obstack_memory_used): Mark as __attribute_pure__.
202         [!__obstack_free]: Define as obstack_free.
203         [__GNUC__]: Remove check for ancient NeXT gcc.
204
205 2014-07-02  Will Newton  <will.newton@linaro.org>
206             Paul Eggert  <eggert@cs.ucla.edu>
207
208         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
209
210 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
211
212         * resolv/gethnamaddr.c: Add comment warning that the file is
213         not maintained.
214
215 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
216
217         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
218         entries.
219
220         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
221         entry for aio_cancel and aio_cancel64.
222         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
223         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
224         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
225         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
226         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
227         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
228         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
229         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
230         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
231         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
232         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
233         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
234         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
235
236 2014-07-01  Roland McGrath  <roland@hack.frob.com>
237
238         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
239         * nptl/pthread_mutex_lock.c: Likewise.
240         * nptl/pthread_mutex_timedlock.c: Likewise.
241         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
242
243 2014-07-01  Richard henderson  <rth@redhat.com>
244
245         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
246         (__isnan, __isnanl): Remove.
247         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
248
249         * sysdeps/alpha/fpu/libm-test-ulps: Update.
250
251 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
252
253         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
254
255 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
256
257         * resolv/nss_dns/dns-host.c (getanswer_r)
258         [MULTI_PTRS_ARE_ALIASES]: Remove code.
259
260 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
261
262         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
263         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
264         undefine.
265         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
266         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
267
268 2014-07-01  Roland McGrath <roland@hack.frob.com>
269
270         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
271         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
272
273         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
274         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
275
276         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
277         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
278         ... here.
279         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
280         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
281
282         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
283         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
284         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
285         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
286
287         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
288         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
289         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
290         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
291         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
292         Moved ...
293         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
294         ... here.
295         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
296         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
298         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
299         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
300         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
301         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
302         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
303         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
304         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
305         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
306         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
307         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
308         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
309         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
310         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
311         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
312         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
313         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
314         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
315         ... here.
316         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
317         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
318         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
319         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
320         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
321         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
322         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
323         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
324
325 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
326
327         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
328         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
329         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
330         Add sysdep.
331
332 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
333
334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
335
336 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
337
338         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
339         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
340
341         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
342
343         * sysdeps/arm/libm-test-ulps: Regenerated.
344
345 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
346             Roland McGrath <roland@hack.frob.com>
347
348         * test-skeleton.c (signal_handler): Kill the whole process group
349         before killing the child individually.
350         (main): Report any failure on `setpgid'.
351
352 2014-06-30  Roland McGrath  <roland@hack.frob.com>
353
354         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
355         from _TLS_H to _ARM_NPTL_TLS_H.
356         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
357         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
358
359 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
360
361         [BZ #16539]
362         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
363         (__expm1l): Return argument unchanged when small but not
364         subnormal.
365
366         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
367         include macro name.
368         (_FP_UNPACK_RAW_1_P): Likewise.
369         (_FP_PACK_RAW_1): Likewise.
370         (_FP_PACK_RAW_1_P): Likewise.
371         (_FP_MUL_MEAT_1_wide): Likewise.
372         (_FP_MUL_MEAT_DW_1_hard): Likewise.
373         (_FP_MUL_MEAT_1_hard): Likewise.
374         (_FP_DIV_MEAT_1_imm): Likewise.
375         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
376         (_FP_DIV_MEAT_1_udiv): Likewise.
377         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
378         (_FP_UNPACK_RAW_2): Likewise.
379         (_FP_UNPACK_RAW_2_P): Likewise.
380         (_FP_PACK_RAW_2): Likewise.
381         (_FP_PACK_RAW_2_P): Likewise.
382         (_FP_MUL_MEAT_DW_2_wide): Likewise.
383         (_FP_MUL_MEAT_2_wide): Likewise.
384         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
385         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
386         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
387         (_FP_MUL_MEAT_2_gmp): Likewise.
388         (_FP_DIV_MEAT_2_udiv): Likewise.
389         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
390         (_FP_FRAC_SRL_4): Likewise.
391         (_FP_FRAC_SRST_4): Likewise.
392         (_FP_FRAC_SRS_4): Likewise.
393         (_FP_UNPACK_RAW_4): Likewise.
394         (_FP_UNPACK_RAW_4_P): Likewise.
395         (_FP_PACK_RAW_4): Likewise.
396         (_FP_PACK_RAW_4_P): Likewise.
397         (_FP_MUL_MEAT_DW_4_wide): Likewise.
398         (_FP_MUL_MEAT_4_wide): Likewise.
399         (_FP_MUL_MEAT_4_gmp): Likewise.
400         (umul_ppppmnnn): Likewise.
401         (_FP_DIV_MEAT_4_udiv): Likewise.
402         (__FP_FRAC_ADD_4): Likewise.
403         (__FP_FRAC_SUB_3): Likewise.
404         (__FP_FRAC_SUB_4): Likewise.
405         (__FP_FRAC_DEC_3): Likewise.
406         (__FP_FRAC_DEC_4): Likewise.
407         (__FP_FRAC_ADDI_4): Likewise.
408         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
409         (_FP_FRAC_SRL_8): Likewise.
410         (_FP_FRAC_SRS_8): Likewise.
411
412         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
413         include macro name.
414         (FP_UNPACK_RAW_EP): Likewise.
415         (FP_PACK_RAW_E): Likewise.
416         (FP_PACK_RAW_EP): Likewise.
417         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
418         (_FP_ISSIGNAN): Likewise.
419         (_FP_ADD_INTERNAL): Likewise.
420         (_FP_FMA): Likewise.
421         (_FP_CMP): Likewise.
422         (_FP_SQRT): Likewise.
423         (_FP_TO_INT): Likewise.
424         (_FP_FROM_INT): Likewise.
425         (FP_EXTEND): Likewise.
426         (_FP_DIV_MEAT_N_loop): Likewise.
427
428 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
429
430         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
431         throughout.
432
433 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
434
435         [BZ #17097]
436         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
437         result with correct sign in case of exponents that produce
438         overflow except for X very close to 1.
439
440 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
441
442         mktime: merge #if/#ifdef usage from glibc
443         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
444         as that works with both Glibc's and Gnulib's style.
445         See thread starting at Siddhesh Poyarekar's bug report at:
446         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
447
448 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
449
450         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
451         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
452         * sysdeps/tile/tilegx/memmove.c: Remove file.
453
454 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
455
456         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
457         abi-name definition.
458         * scripts/soversions.awk: Do not handle or generate ABI lines.
459         * shlib-versions: Remove ABI entries.
460         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
461         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
462
463 2014-06-27  Roland McGrath  <roland@hack.frob.com>
464
465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
466         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
467         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
468         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
470         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
472         Moved ...
473         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
474         ... here.
475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
476         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
478         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
480         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
482         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
484         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
486         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
488         Moved ...
489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
495         Moved ...
496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
498         Moved ...
499         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
503         Moved ...
504         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
506         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
508         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
510         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
512         Moved ...
513         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
516         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
517         Moved ...
518         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
519         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
520         Moved ...
521         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
522         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
523         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
524         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
525         Moved ...
526         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
527         ... here.
528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
529         Identical file removed.
530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
531         Moved ...
532         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
534         Identical file removed.
535         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
536         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
537         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
538         Moved ...
539         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
541         Identical file removed.
542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
545         Identical file removed.
546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
548         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
549         Identical file removed.
550         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
553         Identical file removed.
554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
555         Moved ...
556         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
558         Identical file removed.
559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
560         Moved ...
561         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
562         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
563         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
565         Identical file removed.
566         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
567         Moved ...
568         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
569         ... here.
570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
571         Identical file removed.
572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
573         Moved ...
574         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
576         Identical file removed.
577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
578         Moved ...
579         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
581         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
583         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
585         Moved ...
586         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
587         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
588         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
589
590         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
591         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
592         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
593         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
594         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
595
596 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
597
598         [BZ #17092]
599         * nscd/nscd.c (monitor_child): Return exit status of child
600         instead of return value from wait syscall.
601
602 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
603
604         * configure.ac (libc_commonpagesize): Remove variable.
605         (libc_relro_required): Likewise.
606         (libc_cv_z_relro): Remove configure test.
607         * configure: Regenerated.
608         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
609         variable.
610         (libc_relro_required): Likewise.
611         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
612         (libc_relro_required): Likewise.
613         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
614         (libc_relro_required): Likewise.
615         * sysdeps/arm/preconfigure: Regenerated.
616         * sysdeps/ia64/preconfigure: Remove file.
617         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
618         variable.
619         (libc_relro_required): Likewise.
620
621         [BZ #16561]
622         [BZ #16562]
623         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
624         (__ieee754_yn): Set FE_TONEAREST mode internally and then
625         recompute overflowing results in original rounding mode.
626         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
627         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
628         recompute overflowing results in original rounding mode.
629         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
630         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
631         recompute overflowing results in original rounding mode.
632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
633         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
634         recompute overflowing results in original rounding mode.
635         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
636         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
637         recompute overflowing results in original rounding mode.
638         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
639         (libc_feholdsetround_ctx): New macro.
640         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
641         * sysdeps/i386/fpu/libm-test-ulps: Update.
642         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
643
644 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
645
646         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
647         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
648         corresponding .cpsetup call.
649
650 2014-06-26  Roland McGrath  <roland@hack.frob.com>
651
652         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
653         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
654         * sysdeps/arm/Makefile [$(subdir) = csu]
655         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
656         (static-only-routines): Add aeabi_read_tp here.
657         (shared-only-routines): Add libc-aeabi_read_tp here.
658         (CFLAGS-libc-start.c): Add -fexceptions here.
659         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
660         (sysdep_routines, static-only-routines, shared-only-routines):
661         Don't add to these here.
662         (CFLAGS-libc-start.c): Likewise.
663
664         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
665         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
666         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
667         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
668         * sysdeps/arm/Makefile [$(subdir) = rt]
669         (librt-sysdep_routines, librt-shared-only-routines):
670         Append rt-aeabi_unwind_cpp_pr1 here.
671         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
672         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
673         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
674         (libpthread-sysdep_routines, libpthread-shared-only-routines):
675         Append nptl-aeabi_unwind_cpp_pr1 here.
676         (tests): Filter out tst-cleanupx4 here.
677         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
678         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
679         Don't do those here.
680
681 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
682
683         * scripts/list-sources.sh: Do not handle ports specially.
684
685 2014-06-26  Roland McGrath  <roland@hack.frob.com>
686
687         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
688         * sysdeps/arm/feupdateenv.c: Likewise.
689
690         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
691
692 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
693
694         * manual/texinfo.tex: Update to version 2014-05-05.10 with
695         trailing whitespace removed.
696         * scripts/config.guess: Update to version 2014-03-23.
697         * scripts/config.sub: Update to version 2014-05-01
698         * scripts/install-sh: Update to version 2013-12-25.23.
699         * scripts/move-if-change: Update from gnulib.
700
701 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
702
703         * debug/memmove_chk.c: Remove pagecopy.h include.
704
705 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
706
707         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
708         identical to gnulib mktime.
709
710 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
711
712         * configure.ac: Do not test for machine being rs6000.  Do not test
713         for powerpc*-*soft.
714         * configure: Regenerated.
715
716         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
717         test.
718         * configure: Regenerated.
719         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
720         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
721         Remove configure test.
722         * sysdeps/arm/configure: Regenerated.
723         * sysdeps/nptl/configure.ac: Do not check
724         libc_cv_asm_cfi_directives.
725         * sysdeps/nptl/configure: Regenerated.
726         * sysdeps/x86_64/nptl/configure.ac: Remove file.
727         * sysdeps/x86_64/nptl/configure: Remove generated file.
728         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
729         unconditional.
730         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
731
732 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
733
734         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
735         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
736         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
737         it is defined.
738
739         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
740         instead of whether it is defined.
741         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
742         * sysdeps/hppa/dl-machine.h: Likewise.
743         * sysdeps/ia64/dl-machine.h: Likewise.
744         * sysdeps/m68k/dl-machine.h: Likewise.
745         * sysdeps/microblaze/dl-machine.h: Likewise.
746         * sysdeps/mips/dl-machine.: Likewise.
747         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
748         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
749         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
750         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
751         * sysdeps/sh/dl-machine.h: Likewise.
752         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
753         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
754         * sysdeps/tile/dl-machine.h: Likewise.
755         * sysdeps/x86_64/dl-machine.h: Likewise.
756
757         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
758         code.
759         (verify_persistent_db): Likewise.
760
761 2014-06-26  Roland McGrath  <roland@hack.frob.com>
762
763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
764         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
766         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
768         Moved ...
769         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
770         ... here.
771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
772         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
774         Identical file removed.
775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
776         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
778         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
780         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
782         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
786         Moved ...
787         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
789         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
791         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
793         Moved ...
794         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
796         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
798         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
800         Identical file removed.
801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
802         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
804         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
806         Moved ...
807         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
808         ... here.
809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
812         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
814         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
816         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
818         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
820         Moved ...
821         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
823         Moved ...
824         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
828         Moved ...
829         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
831         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
832
833         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
834         folded into ...
835         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
836         * sysdeps/unix/sysv/linux/s390/Versions
837         (libpthread: GLIBC_2.19): New version set.
838         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
839         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
840         (librt: GLIBC_2.3.3): New version set.
841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
842         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
843         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
844         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
845         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
846         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
847         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
848         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
849         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
850         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
851         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
852         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
853         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
854         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
855         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
856         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
857         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
858         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
859         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
860         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
861         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
863         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
865         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
867         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
869         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
870         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
871         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
872         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
875         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
877         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
879         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
881         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
883         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
885         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
886
887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
888         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
889         (__libc_vfork): Define the function under this name.
890         [!NOT_IN_libc] (__vfork): Make this an alias.
891         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
893         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
894         (__libc_vfork): Define the function under this name.
895         [!NOT_IN_libc] (__vfork): Make this an alias.
896         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
897         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
898         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
901         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
902
903         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
904         code that was previously under [RESET_PID].
905         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
906         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
907         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
908
909         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
910         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
911         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
912         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
913         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
914         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
915         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
916         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
917         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
918         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
919         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
920         Moved ...
921         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
922         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
923         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
924         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
925         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
926         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
927         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
928         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
929         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
930         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
931         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
932         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
933         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
934         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
935         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
936         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
937         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
938         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
939         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
940         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
941         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
942         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
943         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
944         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
945         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
946         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
947         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
949         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
950
951 2014-06-25  Roland McGrath  <roland@hack.frob.com>
952
953         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
954         that was previously under [RESET_PID].
955         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
956
957 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
958
959         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
960         not undefine and redefine.
961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
962         [O_CLOEXEC]: Make code unconditional.
963         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
964         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
965         <kernel-features.h>.
966         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
967         conditional variable definition.
968         (shm_open) [O_CLOEXEC]: Make code unconditional.
969         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
970         code.
971
972         * configure.ac (USE_REGPARMS): Don't define here.
973         * configure: Regenerated.
974         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
975         * sysdeps/i386/configure: Regenerated.
976
977         * nptl/createthread.c: Don't include kernel-features.h.
978         * nptl/pthread_cancel.c: Likewise.
979         * nptl/pthread_condattr_setclock.c: Likewise.
980         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
981         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
982         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
983         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
984         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
985         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
986         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
989         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
990         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
991         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
992         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
993         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
994         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
995         * nscd/gai.c: Likewise.
996         * nss/nss_db/db-open.c: Likewise.
997         * sysdeps/generic/ldsodefs.h: Likewise.
998         * sysdeps/sh/nptl/tls.h: Likewise.
999         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1000         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1001         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1002         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1003         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1004         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1005         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1006         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1008         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1009         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1010         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1011         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1012         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1013         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1014         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1015         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1016         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1017         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1018         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1021         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1022         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1027         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1028         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1029         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1030         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1031         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1032         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1033         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1034         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1035         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1036         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1037         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1038         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1039         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1040         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1041         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1042         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1043         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1044         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1045         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1046         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1047         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1048         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1050         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1051         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1052         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1053         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1054         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1055         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1056         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1079         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1080         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1081         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1082         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1083         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1084         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1085         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1086         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1087         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1088         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1089         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1090         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1091         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1092         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1093         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1094         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1095         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1096         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1097         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1098         * sysdeps/unix/sysv/linux/system.c: Likewise.
1099         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1100         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1101         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1102         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1103         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1104         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1105         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1106
1107         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1108         * configure: Regenerated.
1109         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1110
1111         * configure.ac (base_machine): Do not set specially for particular
1112         machines here.
1113         * configure: Regenerated.
1114         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1115         settings from configure.ac.
1116         * sysdeps/i386/preconfigure: New file.
1117         * sysdeps/s390/preconfigure: Likewise.
1118         * sysdeps/sh/preconfigure: Likewise.
1119         * sysdeps/sparc/preconfigure: Likewise.
1120
1121 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1122
1123         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1124         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1125         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1126         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1127         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1128         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1129         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1130         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1131         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1132         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1133         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1134         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1135         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1138         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1140         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1141         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1142
1143         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1144         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1145         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1146         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1147         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1148         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1149         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1150         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1151         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1152         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1153         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1154         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1155         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1156         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1157         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1158         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1159         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1160         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1161         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1162         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1164         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1166         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1170         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1173         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1174         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1176         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1177         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1178         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1180         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1181
1182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1183         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1185         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1187         Moved ...
1188         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1189         ... here.
1190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1191         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1193         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1195         Moved ...
1196         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1198         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1200         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1202         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1204         Moved ...
1205         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1207         Moved ...
1208         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1210         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1212         Moved ...
1213         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1219         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1221         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1223         Moved ...
1224         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1225         ... here.
1226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1227         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1229         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1231         Moved ...
1232         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1234         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1238         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1240         Moved ...
1241         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1243         Moved ...
1244         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1246         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1248         Moved ...
1249         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1251         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1253         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1254
1255 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1256
1257         * timezone/checktab.awk: Update from tzcode 2014e.
1258         * timezone/private.h: Likewise.
1259         * timezone/tzfile.h: Likewise.
1260         * timezone/zdump.c: Likewise.
1261         * timezone/zic.c: Likewise.
1262
1263         * sysdeps/unix/sysv/linux/kernel-features.h
1264         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1266         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1267         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1268         Remove conditional code.
1269
1270 2014-06-25  Will Newton  <will.newton@linaro.org>
1271
1272         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1273         (_dl_arm_cap_flags): Add HWCAP2 values.
1274         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1275         (_DL_HWCAP_COUNT): Increase to 37.
1276         (_DL_HWCAP_LAST): New define.
1277         (_DL_HWCAP2_LAST): New define.
1278         (_dl_procinfo): Add support for printing
1279         AT_HWCAP2 entries.
1280         (_dl_string_hwcap): Use _dl_hwcap_string.
1281
1282 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1283
1284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1285
1286 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1287
1288         * README: Do not mention ports directory.
1289
1290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1291         Remove macro.
1292         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1293         <kernel-features.h>.
1294         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1295         conditional variable definition.
1296         (__futimes): Update comment.
1297         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1298         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1299
1300         [BZ #16560]
1301         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1302         arguments close to 0.
1303         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1304         Likewise.
1305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1306         Likewise.
1307         * math/auto-libm-test-in: Add more tests of exp10.
1308         * math/auto-libm-test-out: Regenerated.
1309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1310
1311         * sysdeps/unix/sysv/linux/kernel-features.h
1312         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1313         * sysdeps/unix/sysv/linux/readv.c: Do not include
1314         <kernel-features.h>.
1315         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1316         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1317         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1318         unconditional.
1319         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1320         conditional code.
1321         * sysdeps/unix/sysv/linux/writev.c: Do not include
1322         <kernel-features.h>.
1323         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1324         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1325         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1326         unconditional.
1327         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1328         conditional code.
1329
1330 2014-06-25  Will Newton  <will.newton@linaro.org>
1331
1332         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1333         comment changes throughout the file.  Remove checks
1334         for HAVE_*_H definitions that are not required.
1335         (__gen_tempname): Call abort if an unknown kind value is
1336         passed.
1337
1338 2014-06-25  Andreas Schwab  <schwab@suse.de>
1339
1340         [BZ #17086]
1341         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1342         scalbln, scalblnf, scalblnl in libc.
1343
1344 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1345
1346         [BZ #17086]
1347         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1348         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1349         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1350
1351 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1352
1353         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1354         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1355         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1356         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1357         Update #include.
1358         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1359         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1360         Update #include.
1361         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1362         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1363         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1364         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1365         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1366         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1367         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1368         * sysdeps/x86/bits/semaphore.h: ... here.
1369         * sysdeps/x86/nptl/elide.h: Moved ...
1370         * sysdeps/x86/elide.h: ... here.
1371         * sysdeps/x86_64/nptl/Implies: File removed.
1372         * sysdeps/i386/nptl/Implies: File removed.
1373
1374 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1375
1376         [BZ #16539]
1377         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1378         return the argument for normal arguments with exponent below -64.
1379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1380         Likewise.
1381         * math/auto-libm-test-in: Add another test of expm1.
1382         * math/auto-libm-test-out: Regenerated.
1383
1384         [BZ #16287]
1385         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1386         calling __erfcl for arguments at least 16.
1387         * math/auto-libm-test-in: Add more tests of erf.
1388         * math/auto-libm-test-out: Regenerated.
1389
1390         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1391         individual architectures.
1392         * sysdeps/unix/sysv/linux/configure: Regenerated.
1393         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1394         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1395         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1396         (ldd_rewrite_script): Define variable.
1397         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1399         file.
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1401         generated file.
1402         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1403         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1404         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1405         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1406         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1407         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1408         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1409         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1410
1411 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1412
1413         [BZ #17084]
1414         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1415         Rename member __data.d to __data.__elision_data.
1416
1417 2014-06-24  Wilco  <wdijkstr@arm.com>
1418
1419         * NEWS: Add 16918 to fixed bug list.
1420
1421 2014-06-24  Wilco  <wdijkstr@arm.com>
1422
1423         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1424
1425 2014-06-24  Wilco  <wdijkstr@arm.com>
1426
1427         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1428         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1429         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1430         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1431         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1432         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1433         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1434         Use _FPU_MASK_RM.
1435
1436 2014-06-24  Wilco  <wdijkstr@arm.com>
1437
1438         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1439
1440 2014-06-24  Wilco  <wdijkstr@arm.com>
1441
1442         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1443         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1444         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1445         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1446
1447 2014-06-24  Wilco  <wdijkstr@arm.com>
1448
1449         [BZ #16918]
1450         * sysdeps/arm/feupdateenv.c (feupdateenv):
1451         Rewrite to reduce FPSCR accesses and fix return value.
1452
1453 2014-06-24  Wilco  <wdijkstr@arm.com>
1454
1455         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1456         Optimize to avoid unnecessary FPSCR writes.
1457         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1458         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1459         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1460         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1461
1462 2014-06-24  Wilco  <wdijkstr@arm.com>
1463
1464         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1465         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1466         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1467         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1468         Call libc_fetestexcept_vfp.
1469         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1470         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1471         __SOFTFP__ ifdef so that they can be built for softfp.
1472
1473 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1474
1475         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1476         argument type signed char.
1477
1478         * Makerules (check-abi): Dump diff of symlist if the test
1479         fails.
1480
1481 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1482
1483         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1484         using abort.
1485
1486         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1487         Remove unused variable ST.
1488
1489 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1490
1491         [BZ #16354]
1492         [BZ #17061]
1493         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1494         small arguments before calling __expm1.
1495         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1496         small arguments before calling __expm1f.
1497         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1498         small arguments before calling __expm1l.
1499         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1500         Likewise.
1501         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1502         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1503         spurious underflow for some cosh tests.
1504         * math/auto-libm-test-out: Regenerated.
1505         * sysdeps/i386/fpu/libm-test-ulps: Update.
1506
1507         [BZ #17050]
1508         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1509         (__ieee754_y1): Set errno if return value overflows.
1510         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1511         (__ieee754_y1f): Set errno if return value overflows.
1512         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1513         (__ieee754_y1l): Set errno if return value overflows.
1514         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1515         (__ieee754_y1l): Set errno if return value overflows.
1516         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1517         * math/auto-libm-test-out: Regenerated.
1518
1519         * math/gen-auto-libm-tests.c: Document use of
1520         ignore-zero-inf-sign.
1521         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1522         (input_flags): Add ignore-zero-inf-sign.
1523         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1524         * math/gen-libm-test.pl (generate_testfile): Handle
1525         ignore-zero-inf-sign.
1526         * math/auto-libm-test-in: Mark some cpow tests with
1527         ignore-zero-inf-sign and some with xfail-rounding.
1528         * math/auto-libm-test-out: Regenerated.
1529         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1530         * sysdeps/i386/fpu/libm-test-ulps: Update.
1531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1532
1533         [BZ #16315]
1534         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1535         overflowing or underflowing operations take place with sign of
1536         result.
1537         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1538         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1539         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1540         (__ieee754_pow): Recompute overflowing and underflowing results in
1541         original rounding mode.
1542         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1543         (__powl_helper): Allow negative argument X and scale negated value
1544         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1545         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1546         overflowing or underflowing operations take place with sign of
1547         result.
1548         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1549         Include <math.h>.
1550         * math/auto-libm-test-in: Add more tests of pow.
1551         * math/auto-libm-test-out: Regenerated.
1552         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1553         (pow_tonearest_test_data): Remove.
1554         (pow_test_tonearest): Likewise.
1555         (pow_towardzero_test_data): Likewise.
1556         (pow_test_towardzero): Likewise.
1557         (pow_downward_test_data): Likewise.
1558         (pow_test_downward): Likewise.
1559         (pow_upward_test_data): Likewise.
1560         (pow_test_upward): Likewise.
1561         (main): Don't call removed functions.
1562         * sysdeps/i386/fpu/libm-test-ulps: Update.
1563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1564
1565 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1566
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1568         Moved ...
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1571         Moved ...
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1574         Moved ...
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1577         Moved ...
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1580         File removed.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1582         File removed.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1584         File removed.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1586         File removed.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1588         File removed.
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1590         File removed.
1591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1592         File removed.
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1594         File removed.
1595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1596         File removed.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1598         File removed.
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1600         File removed.
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1602         File removed.
1603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1604         Moved ...
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1607         Moved ...
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1609         ... here.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1611         Moved ...
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1614         Moved ...
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1617         Moved ...
1618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1620         Moved ...
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1623         Moved ...
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1626         Moved ...
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1629         Moved ...
1630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1633         ... here.
1634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1635         Moved ...
1636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1638         Moved ...
1639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1640         ... here.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1642         Moved ...
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1644         ... here.
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1646         Moved ...
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1648         ... here.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1650         Moved ...
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1653         Moved ...
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1658         Moved ...
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1660         ... here.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1662         Moved ...
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1664         ... here.
1665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1666         Moved ...
1667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1672         Moved ...
1673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1675         Moved ...
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1678         Moved ...
1679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1680         ... here.
1681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1682         Moved ...
1683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1688         Moved ...
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1691         Moved ...
1692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1696         Moved ...
1697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1699         Moved ...
1700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1704         ... here.
1705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1706         Moved ...
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1708         ... here.
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1710         Moved ...
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1712         ... here.
1713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1714         Moved ...
1715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1717         Moved ...
1718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1720         Moved ...
1721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1723         Moved ...
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1725         ... here.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1727         Moved ...
1728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1729         ... here.
1730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1731         Moved ...
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1733         ... here.
1734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1735         Moved ...
1736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1738         Moved ...
1739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1740
1741 2014-06-23  Will Newton  <will.newton@linaro.org>
1742             Wilco  <wdijkstr@arm.com>
1743
1744         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1745         implementation.  Include get-rounding-mode.h.
1746         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1747         [!libc_feholdsetround_noex_ctx]: Define
1748         libc_feholdsetround_noex_ctx.
1749         [!libc_feholdsetround_noexf_ctx]: Define
1750         libc_feholdsetround_noexf_ctx.
1751         [!libc_feholdsetround_noexl_ctx]: Define
1752         libc_feholdsetround_noexl_ctx.
1753         (libc_feholdsetround_ctx): New function.
1754         (libc_feresetround_ctx): New function.
1755         (libc_feholdsetround_noex_ctx): New function.
1756         (libc_feresetround_noex_ctx): New function.
1757
1758 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1759
1760         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1761         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1762         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1763         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1764         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1765         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1766
1767         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1768         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1769         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1770         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1771         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1772         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1774         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1776         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1778         Moved ...
1779         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1780         ... here.
1781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1782         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1784         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1786         Moved ...
1787         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1789         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1791         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1793         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1795         Moved ...
1796         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1798         Moved ...
1799         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1801         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1803         Moved ...
1804         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1808         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1809         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1810         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1812         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1814         Moved ...
1815         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1816         ... here.
1817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1822         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1824         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1826         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1828         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1830         Moved ...
1831         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1833         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1835         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1837         Moved ...
1838         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1840         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1841         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1842         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1843
1844         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1845         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1846         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1847         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1848         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1849         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1850         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1851         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1853         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1854         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1855         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1856         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1857         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1858         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1859         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1860         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1861         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1862         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1863         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1865         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1867         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1868         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1872
1873 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1874
1875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1876         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1877         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1878         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1879         (IPV6_PMTUDISC_INTERFACE): Likewise.
1880         (IPV6_PMTUDISC_OMIT): Likewise.
1881
1882 2014-06-23  Andreas Schwab  <schwab@suse.de>
1883
1884         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1885         Remove unused errout label.
1886
1887 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1888
1889         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1890         macro: hardware supports Vector Crypto instructions.
1891
1892 2014-06-23  Will Newton  <will.newton@linaro.org>
1893
1894         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1895         rather than __builtin_expect.
1896
1897         * elf/dl-lookup.c (undefined_msg): Remove variable.
1898         (_dl_lookup_symbol_x): Replace undefined_msg with string
1899         literal.
1900
1901         * elf/dl-lookup.c (do_lookup_unique): New function.
1902         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1903         to a separate function.
1904
1905 2014-06-23  Andreas Schwab  <schwab@suse.de>
1906
1907         [BZ #17079]
1908         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1909         before reading the next line.
1910
1911 2014-06-23  Will Newton  <will.newton@linaro.org>
1912
1913         * test-skeleton.c (signal_handler): Use printf and %m
1914         rather than perror.  Use printf rather than fprintf to
1915         stderr.  Use puts rather than fputs to stderr.
1916         (main): Likewise.
1917
1918 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1919
1920         * nscd/nscd.c (thread_info_t): Remove typedef.
1921         (thread_info): Remove variable.
1922
1923 2014-06-21  Allan McRae  <allan@archlinux.org>
1924
1925         * NEWS: Mention CVE-2014-4043.
1926
1927 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1928
1929         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1930         * nptl/smp.h: ... here.
1931
1932         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1933
1934         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1935         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1936         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1937         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1938
1939         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1940         * nptl/stack-aliasing.h: New file.
1941         * sysdeps/i386/i686/stack-aliasing.h: New file.
1942         * sysdeps/i386/i686/nptl/Makefile: File removed.
1943         * sysdeps/x86_64/stack-aliasing.h: New file.
1944         * sysdeps/x86_64/nptl/Makefile
1945         (CFLAGS-pthread_create.c): Variable removed.
1946
1947         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1948         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1949         old file.
1950         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1951         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1952         old file.
1953
1954 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1955
1956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1957         (__ASSUME_SIGFRAME_V2): Remove macro.
1958         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1959         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1960         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1961         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1962         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1963         Declare as function.  Remove conditional macro definitions.
1964         (__default_rt_sa_restorer): Likewise.
1965         (__default_sa_restorer_v1): Remove declaration.
1966         (__default_sa_restorer_v2): Likewise.
1967         (__default_rt_sa_restorer_v1): Likewise.
1968         (__default_rt_sa_restorer_v2): Likewise.
1969         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1970         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1971         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1972
1973 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1974
1975         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1976         (libpthread-routines): Add sysdep.
1977         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1978         * sysdeps/unix/sysv/linux/sparc/Versions
1979         (libpthread: GLIBC_2.3.3): New version set.
1980         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1981         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1982         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1983         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1984         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1985         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1986         Moved ...
1987         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1988         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1989         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1990         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1991         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1992         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1993         * sysdeps/sparc/nptl/sem_init.c: ... here.
1994         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1995         * sysdeps/sparc/nptl/sem_post.c: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1997         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1999         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2000         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2001         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2002         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2003         (libpthread-routines): Add cpu_relax.
2004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2005         File removed.
2006         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2007         (librt: GLIBC_2.3.3): New version set.
2008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2009         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2010         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2011         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2014         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2016         Moved ...
2017         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2019         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2021         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2023         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2025         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2027         Moved ...
2028         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2029         Update #include.
2030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2031         Moved ...
2032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2033         Update #include.
2034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2035         Moved ...
2036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2037         Update #include.
2038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2039         Moved ...
2040         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2041         Update #include.
2042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2043         Moved ...
2044         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2045         Update #include.
2046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2047         Moved ...
2048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2049         Update #include.
2050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2051         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2066         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2067
2068 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2069
2070         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2071         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2072         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2073         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2074         * nscd/nscd.c: Likewise.
2075         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2076         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2077         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2078         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2079
2080         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2081         <kernel-features.h>.
2082         (init_mq_netlink): Remove conditional have_sock_cloexec
2083         definitions.  Remove code conditional on have_sock_cloexec < 0.
2084         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2085         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2086         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2087         <kernel-features.h>.
2088         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2089         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2090
2091 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2092
2093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2094         Add tests for memset_chk and memset.
2095
2096         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2097         with AVX2_Usable.
2098
2099 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2100
2101         [BZ #16046]
2102         * elf/tst-dl-iter-static.c: New file.
2103         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2104
2105         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2106         error.
2107
2108 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2109
2110         * sysdeps/unix/sysv/linux/kernel-features.h
2111         (__ASSUME_F_GETOWN_EX): Remove macro.
2112         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2113         <kernel-features.h>.
2114         (miss_F_GETOWN_EX): Remove variable or macro.
2115         (do_fcntl): Do not check miss_F_GETOWN_EX.
2116         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2117
2118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2119         Remove macro.
2120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2121         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2122         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2123
2124         * sysdeps/unix/sysv/linux/kernel-features.h
2125         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2126         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2127         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2128         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2129
2130 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2131
2132         [BZ #17075]
2133         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2134         Fix calculation of the symbol's value.
2135         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2136         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2137         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2138         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2139         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2140         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2141         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2142         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2143         (modules-names): Add `tst-armtlsdescmod',
2144         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2145         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2146         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2147         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2148         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2149         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2150         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2151         ($(objpfx)tst-armtlsdescloc): New dependency.
2152         ($(objpfx)tst-armtlsdescextnow): Likewise.
2153         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2154         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2155         TLS scheme support.
2156         * sysdeps/arm/configure: Regenerate.
2157
2158 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2159
2160         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2161         (__atfct_seterrno_2): Likewise.
2162         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2163         <kernel-features.h>.
2164         (__ASSUME_ATFCTS): Do not undefine and redefine.
2165         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2166         (__have_atfcts): Remove conditional definition.
2167         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2168         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2169         unreachable if [__ASSUME_ATFCTS].
2170         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2171         not undefine and redefine.
2172         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2173         <kernel-features.h>.
2174         (faccessat) [__NR_faccessat]: Make code unconditional.
2175         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2176         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2177         <kernel-features.h>.
2178         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2179         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2180         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2181         <kernel-features.h>.
2182         (fchownat) [__NR_fchownat]: Make code unconditional.
2183         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2184         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2185         <kernel-features.h>.
2186         (futimesat) [__NR_futimesat]: Make code unconditional.
2187         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2188         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2189         <kernel-features.h>.
2190         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2191         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2192         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2193         <kernel-features.h>.
2194         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2195         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2196         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2197         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2198         <kernel-features.h>.
2199         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2200         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2201         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2202         <kernel-features.h>.
2203         (linkat) [__NR_linkat]: Make code unconditional.
2204         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2205         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2206         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2207         <kernel-features.h>.
2208         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2209         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2210         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2211         <kernel-features.h>.
2212         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2213         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2214         * sysdeps/unix/sysv/linux/openat.c: Do not include
2215         <kernel-features.h>.
2216         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2217         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2218         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2219         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2220         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2221         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2222         <kernel-features.h>.
2223         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2224         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2225         result of INLINE_SYSCALL directly, not via int variable.
2226         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2227         <kernel-features.h>.
2228         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2229         (renameat) [__NR_renameat]: Make code unconditional.
2230         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2231         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2232         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2233         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2234         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2235         (__ASSUME_ATFCTS): Do not undefine and redefine.
2236         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2237         <kernel-features.h>.
2238         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2239         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2240         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2241         <kernel-features.h>.
2242         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2243         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2244         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2245         (__ASSUME_ATFCTS): Do not undefine and redefine.
2246         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2247         <kernel-features.h>.
2248         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2249         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2250         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2251         <kernel-features.h>.
2252         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2253         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2254
2255 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2256
2257         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2258
2259 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2260
2261         [BZ #17069]
2262         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2263         constructed tree before returning error.
2264         * posix/bug-regexp36.c: Expand test case.
2265
2266 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2267
2268         [BZ #6803]
2269         * math/libm-test.inc (scalbln_test_date):
2270         Add errno expectations.
2271         * math/w_scalblnf.c: New File.
2272         Add wrapper which checks for setting errno to ERANGE.
2273         Add weak_alias for corresponding scalbln function.
2274         * math/w_scalbln.c: Likewise.
2275         * math/w_scalblnl.c: Likewise.
2276         * math/Makefile (libm-calls): Add w_scalbln.
2277         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2278         Remove weak_alias for corresponding scalbln function.
2279         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2283         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2284         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2285         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2286         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2287         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2288         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2289         Remove long_double_symbol for scalblnl function in libm, libc.
2290         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2291         Add wrapper which checks for setting errno to ERANGE.
2292         Add long_double_symbol for scalblnl function in libm, libc.
2293         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2294         Remove long_double_symbol for scalblnl in libm.
2295         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2296         Add wrapper which checks for setting errno to ERANGE.
2297         Add long_double_symbol for scalblnl function in libm.
2298         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2299         Do not use wrapper because of own implementation.
2300
2301 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2302
2303         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2304         3 bytes for __pad1 for x32.
2305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2306
2307 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2308             H.J. Lu  <hongjiu.lu@intel.com>
2309
2310         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2311         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2312         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2313         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2314         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2315
2316 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2317
2318         [BZ #17069]
2319         * posix/regcomp.c (parse_expression): Deallocate partially
2320         constructed tree before returning error.
2321         * posix/Makefile.c (tests): Add bug-regex36.
2322         (generated): Add bug-regex36.mtrace.
2323         (tests-special): Add $(objpfx)bug-regex36-mem.out
2324         (bug-regex36-ENV): New variable.
2325         ($(objpfx)bug-regex36-mem.out): New rule.
2326         * posix/bug-regex36.c: New file.
2327
2328 2014-06-19  Will Newton  <will.newton@linaro.org>
2329
2330         * malloc/malloc.c (systrim): If extra is zero then return
2331         early.
2332
2333 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2334
2335         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2336
2337 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2338
2339         * sysdeps/aarch64/strchr.S: New file.
2340
2341 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2342
2343         [BZ #17022]
2344         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2345         from arguments -2 or below.
2346         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2347         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2348
2349 2014-06-18  Andreas Schwab  <schwab@suse.de>
2350
2351         [BZ #17062]
2352         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2353         of a bracket expr not to run off the end of the string.
2354         * posix/Makefile (tests): Add tst-fnmatch3.
2355         * posix/tst-fnmatch3.c: New file.
2356
2357 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2358
2359         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2360         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2361         [$(cross-compiling) = no]: Likewise.
2362         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2363         [$(cross-compiling) = no]: Likewise.
2364
2365 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2366
2367         [BZ #17031]
2368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2369         double, adjusted for any remainder from the high double.
2370         * math/libm-test.inc (nearbyint): Add tests.
2371         (rint): Likewise.
2372
2373 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2374
2375         * nptl/sysdeps/powerpc/Makefile: Moved ...
2376         * sysdeps/powerpc/nptl/Makefile: ... here.
2377         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2378         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2379         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2380         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2381         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2382         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2383         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2384         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2385         * nptl/sysdeps/powerpc/tls.h: Moved ...
2386         * sysdeps/powerpc/nptl/tls.h: ... here.
2387
2388 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2389
2390         [BZ #16681]
2391         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2392         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2393         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2394         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2395         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2396         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2397         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2398         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2399         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2400
2401 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2402
2403         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2404
2405 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2406
2407         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2408         defined operator.
2409
2410         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2411         $TIMEOUTFACTOR.
2412
2413 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2414
2415         [BZ #17058]
2416         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2417         non-executed part of the test.
2418
2419 2014-06-16  Andreas Schwab  <schwab@suse.de>
2420
2421         * string/bits/string2.h (strdup, strndup): Update feature guard.
2422
2423 2014-06-14  David S. Miller  <davem@davemloft.net>
2424
2425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2426
2427 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2428
2429         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2430         that was previously under [RESET_PID].
2431         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2432
2433         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2434         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2435         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2437         (__libc_vfork): New strong alias.
2438         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2439
2440 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2441
2442         * sysdeps/generic/elide.h: New file.
2443
2444 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2445
2446         * Makefile (installed-headers): Adjust path of pthread.h header.
2447
2448 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2449
2450         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2451         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2452         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2453         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2454
2455         * nptl/sysdeps/s390/Makefile: Moved ...
2456         * sysdeps/s390/nptl/Makefile: ... here.
2457         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2458         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2459         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2460         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2461         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2462         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2463         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2464         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2465         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2466         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2467         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2468         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2469         * nptl/sysdeps/s390/tls.h: Moved ...
2470         * sysdeps/s390/nptl/tls.h: ... here.
2471
2472         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2473         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2474
2475 2014-06-13  David S. Miller  <davem@davemloft.net>
2476
2477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2480         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2485         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2486         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2487         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2488         Remove RESET_PID cpp guards.
2489         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2490         Remove RESET_PID cpp guards.
2491         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2492
2493 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2494
2495         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2496         __sp to uintptr_t.
2497
2498 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2499
2500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2504         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2506         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2508         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2509         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2518         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2520
2521         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2522         (pthread_rwlock_rdlock): Add elision.
2523         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2524         (pthread_rwlock_wrlock): Add elision.
2525         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2526         (pthread_rwlock_trywrlock): Add elision.
2527         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2528         (pthread_rwlock_tryrdlock): Add elision.
2529         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2530         (pthread_rwlock_tryrdlock): Add elision unlock.
2531         * nptl/sysdeps/pthread/pthread.h:
2532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2533         (PTHREAD_RWLOCK_INITIALIZER,
2534         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2535         Handle new elision field.
2536         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2537         * sysdeps/arm/nptl/bits/pthreadtypes.h
2538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2539         * sysdeps/sh/nptl/bits/pthreadtypes.h
2540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2541         * sysdeps/tile/nptl/bits/pthreadtypes.h
2542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2543         * sysdeps/a/nptl/bits/pthreadtypes.h
2544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2545         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2549         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2551         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2555         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2559         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2561         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2562         (elision_init): Set try_xbegin to zero when no RTM.
2563         * sysdeps/x86/nptl/bits/pthreadtypes.h
2564         (pthread_rwlock_t): Change __pad1 to __rwelision.
2565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2566
2567 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2568
2569         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2570         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2571         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2572         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2573
2574 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2575
2576         [BZ #16996]
2577         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2578         that the cached result has been set before returning it.
2579
2580 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2581
2582         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2583         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2585         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2587         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2588
2589         * nptl/sysdeps/sparc/Makefile: Moved ...
2590         * sysdeps/sparc/nptl/Makefile: ... here.
2591         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2592         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2593         * nptl/sysdeps/sparc/tls.h: Moved ...
2594         * sysdeps/sparc/nptl/tls.h: ... here.
2595         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2596         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2597         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2598         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2599         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2600         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2601         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2602         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2603         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2604         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2605         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2606         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2607         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2608         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2609         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2610         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2611         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2613         Update #include.
2614         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2616         Update #include.
2617         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2619         Update #include.
2620         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2622         Update #include.
2623
2624         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2625
2626         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2627         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2628
2629         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2630         (struct list_links): Type removed.
2631         (struct thread_node, struct timer_node): Replace struct list_links
2632         with struct list_head.
2633         (list_unlink_ip): Likewise.
2634         * sysdeps/pthread/timer_routines.c
2635         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2636         (list_append, list_insbefore): Likewise.
2637         (list_init): Function removed.
2638         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2639         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2640         * sysdeps/pthread/Makefile: ... here, new file.
2641
2642         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2643         * sysdeps/nptl/Implies: ... here.
2644         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2645         * nptl/sysdeps/pthread/list.h: Moved ...
2646         * include/list.h: ... here.
2647         * nptl/sysdeps/pthread/createthread.c: Moved ...
2648         * nptl/createthread.c: ... here.
2649         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2650         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2651         * nptl/pt-longjmp.c: ... here.
2652         * nptl/sysdeps/pthread/Makefile: Moved ...
2653         * sysdeps/nptl/Makefile: ... here.
2654         * nptl/sysdeps/pthread/Subdirs: Moved ...
2655         * sysdeps/nptl/Subdirs: ... here.
2656         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2657         * sysdeps/nptl/aio_misc.h: ... here.
2658         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2659         * sysdeps/nptl/bits/libc-lock.h: ... here.
2660         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2661         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2662         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2663         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2664         * nptl/sysdeps/pthread/configure: Moved ...
2665         * sysdeps/nptl/configure: ... here.
2666         * nptl/sysdeps/pthread/configure.ac: Moved ...
2667         * sysdeps/nptl/configure.ac: ... here.
2668         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2669         * sysdeps/nptl/gai_misc.h: ... here.
2670         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2671         * sysdeps/nptl/librt-cancellation.c: ... here.
2672         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2673         * sysdeps/nptl/malloc-machine.h: ... here.
2674         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2675         * sysdeps/nptl/pthread-functions.h: ... here.
2676         * nptl/sysdeps/pthread/pthread.h: Moved ...
2677         * sysdeps/nptl/pthread.h: ... here.
2678         * nptl/sysdeps/pthread/setxid.h: Moved ...
2679         * sysdeps/nptl/setxid.h: ... here.
2680         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2681         * sysdeps/nptl/sigfillset.c: ... here.
2682         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2683         * sysdeps/nptl/tcb-offsets.h: ... here.
2684         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2685         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2686         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2687         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2688         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2689         * sysdeps/pthread/allocalim.h: ... here.
2690         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2691         * sysdeps/pthread/bits/sigthread.h: ... here.
2692         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2693         * sysdeps/pthread/flockfile.c: ... here.
2694         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2695         * sysdeps/pthread/ftrylockfile.c: ... here.
2696         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2697         * sysdeps/pthread/funlockfile.c: ... here.
2698         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2699         * sysdeps/pthread/posix-timer.h: ... here.
2700         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2701         * sysdeps/pthread/timer_create.c: ... here.
2702         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2703         * sysdeps/pthread/timer_delete.c: ... here.
2704         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2705         * sysdeps/pthread/timer_getoverr.c: ... here.
2706         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2707         * sysdeps/pthread/timer_gettime.c: ... here.
2708         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2709         * sysdeps/pthread/timer_routines.c: ... here.
2710         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2711         * sysdeps/pthread/timer_settime.c: ... here.
2712         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2713         * sysdeps/pthread/tst-timer.c: ... here.
2714         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2715         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2716
2717         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2718         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2719
2720         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2721         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2722         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2723         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2724         Update #include target.
2725         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2726         * sysdeps/i386/i686/nptl/Makefile: ... here.
2727         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2728         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2729         Update #include target.
2730         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2731         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2732         * nptl/sysdeps/i386/Makefile: Moved ...
2733         * sysdeps/i386/nptl/Makefile: ... here.
2734         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2735         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2736         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2737         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2738         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2739         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2740         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2741         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2742         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2743         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2744         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2745         * nptl/sysdeps/i386/tls.h: Moved ...
2746         * sysdeps/i386/nptl/tls.h: ... here.
2747
2748         * sysdeps/sh/Makefile [$(subdir) = csu]
2749         (gen-as-const-headers): Add tcb-offsets.sym.
2750         * nptl/sysdeps/sh/Makefile: File removed.
2751         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2752         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2753         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2754         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2755         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2756         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2757         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2758         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2759         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2760         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2761         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2762         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2763         * nptl/sysdeps/sh/tls.h: Moved ...
2764         * sysdeps/sh/nptl/tls.h: ... here.
2765         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2766         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2767         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2768         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2769         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2770         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2771         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2772         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2773         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2774         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2775         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2776         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2778         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2780         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2782         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2784         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2786         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2788         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2799         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2800         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2801         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2802         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2803         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2804         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2805         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2806         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2807         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2808         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2809         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2810         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2811         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2812         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2813
2814 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2815
2816         * posix/spawn_faction_addopen.c: Include string.h.
2817
2818 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2819
2820         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2821         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2822         * nptl/sysdeps/x86_64/Makefile: Moved ...
2823         * sysdeps/x86_64/nptl/Makefile: ... here.
2824         * nptl/sysdeps/x86_64/configure: Moved ...
2825         * sysdeps/x86_64/nptl/configure: ... here.
2826         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2827         * sysdeps/x86_64/nptl/configure.ac: ... here.
2828         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2829         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2830         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2831         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2832         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2833         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2834         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2835         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2836         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2837         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2838         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2839         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2840         * nptl/sysdeps/x86_64/tls.h: Moved ...
2841         * sysdeps/x86_64/nptl/tls.h: ... here.
2842         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2843         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2844         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2845         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2846
2847         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2848
2849 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2850
2851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2852
2853 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2854
2855         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2856         type.
2857         [POSIX] (off_t): Likewise.
2858         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2859         [POSIX] (S_ISBLK): Require macro.
2860         [POSIX] (S_ISCHR): Likewise.
2861         [POSIX] (S_ISDIR): Likewise.
2862         [POSIX] (S_ISFIFO): Likewise.
2863         [POSIX] (S_ISREG): Likewise.
2864         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2865         optional-macro.
2866         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2867         type.
2868         [POSIX] (time_t): Likewise.
2869         [POSIX] (timer_t): Likewise.
2870
2871 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2872
2873         [BZ #17048]
2874         * posix/spawn_int.h (struct __spawn_action): Make the path string
2875         non-const to support deallocation.
2876         * posix/spawn_faction_addopen.c
2877         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2878         * posix/spawn_faction_destroy.c
2879         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2880         path in all spawn_do_open actions.
2881         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2882         posix_spawn_file_actions_addopen.
2883
2884 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2885
2886         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2887         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2888         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2889         conditional code always true.
2890         (__libc_vfork): New alias.
2891
2892 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2893
2894         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2895         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2896
2897         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2898
2899         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2900         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2901
2902         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2903         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2904
2905         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2906         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2907
2908 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2909
2910         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2911         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2912         multiarch strcmp for PPC64.
2913         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2914         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2916         multiarch optimizations.
2917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2918         (__libc_ifunc_impl_list): Likewise.
2919
2920 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2921
2922         * benchtests/scripts/validate_benchout.py: New script.
2923         * benchtests/Makefile (bench-func): Call it.
2924         * benchtests/scripts/benchout.schema.json: New file.
2925
2926 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2927
2928         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2929         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2930         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2931         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2932         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2933         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2934         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2935         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2936         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2937         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2938         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2939         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2940         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2941         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2942         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2943         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2945         Moved ...
2946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2947         ... here.
2948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2949         Moved ...
2950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2952         Moved ...
2953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2954         ... here.
2955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2956         Moved ...
2957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2958         ... here.
2959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2960         Moved ...
2961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2963         Moved ...
2964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2965         ... here.
2966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2967         Moved ...
2968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2969         ... here.
2970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2971         Moved ...
2972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2974         Moved ...
2975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2976         ... here.
2977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2978         Moved ...
2979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2980         ... here.
2981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2982         Moved ...
2983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2984         ... here.
2985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2986         Moved ...
2987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2989         Moved ...
2990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2991         ... here.
2992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2995         ... here.
2996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2997         Moved ...
2998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2999         ... here.
3000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3001         Moved ...
3002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3004         Moved ...
3005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3006         ... here.
3007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3008         Moved ...
3009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3010         ... here.
3011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3012         Moved ...
3013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3015         Moved ...
3016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3017         ... here.
3018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3019         Moved ...
3020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3022         Moved ...
3023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3025         Moved ...
3026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3027         ... here.
3028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3029         Moved ...
3030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3031         ... here.
3032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3033         Moved ...
3034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3035         ... here.
3036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3042         ... here.
3043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3044         Moved ...
3045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3046         ... here.
3047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3048         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3050         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3052         Moved ...
3053         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3054         ... here.
3055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3056         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3060         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3062         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3064         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3066         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3068         Moved ...
3069         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3071         Moved ...
3072         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3074         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3076         Moved ...
3077         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3079         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3080         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3081         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3082         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3083         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3084
3085 2014-06-10  Wilco  <wdijkstr@arm.com>
3086
3087         * math/test-fenv-return.c: New file.
3088         * math/Makefile: Add new test test-fenv-return.
3089
3090 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3091
3092         [BZ #17042]
3093         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3094         when x - 1 is zero.
3095         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3096         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3097         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3098         0.0L for an argument of 1.0L.
3099         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3100         Likewise.
3101         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3102         value when x - 1 is zero.
3103         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3104         * sysdeps/i386/fpu/libm-test-ulps: Update.
3105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3106
3107 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3108
3109         [BZ #15119]
3110         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3111
3112 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3113
3114         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3115         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3116
3117 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3118
3119         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3120         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3121
3122         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3123         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3124
3125         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3126         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3127
3128         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3129         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3130
3131         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3132         if not already defined.
3133         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3134         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3135         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3136         (TLS_INIT_TP): Use it.
3137         (TLS_DEFINE_INIT_TP): New macro.
3138         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3139
3140 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3141
3142         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3143         constant.
3144         [POSIX] (IXANY): Likewise.
3145         [POSIX] (OLCUC): Likewise.
3146         [POSIX || POSIX2008] (CBAUD): Do not allow.
3147         [POSIX || POSIX2008] (DEFECHO): Likewise.
3148         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3149         [POSIX || POSIX2008] (ECHOKE): Likewise.
3150         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3151         [POSIX || POSIX2008] (EXTA): Likewise.
3152         [POSIX || POSIX2008] (EXTB): Likewise.
3153         [POSIX || POSIX2008] (FLUSHO): Likewise.
3154         [POSIX || POSIX2008] (LOBLK): Likewise.
3155         [POSIX || POSIX2008] (PENDIN): Likewise.
3156         [POSIX || POSIX2008] (SWTCH): Likewise.
3157         [POSIX || POSIX2008] (VDISCARD): Likewise.
3158         [POSIX || POSIX2008] (VDSUSP): Likewise.
3159         [POSIX || POSIX2008] (VLNEXT): Likewise.
3160         [POSIX || POSIX2008] (VREPRINT): Likewise.
3161         [POSIX || POSIX2008] (VSTATUS): Likewise.
3162         [POSIX || POSIX2008] (VWERASE): Likewise.
3163         (B*): Change to B[0123456789]*.
3164         * conform/data/time.h-data [POSIX || UNIX98]
3165         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3166         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3167         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3168         [POSIX] (tm_*): Do not allow.
3169
3170 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3171
3172         * Makefile (install): Don't set LANGUAGE.
3173         * Makefile.in (install): Likewise.
3174         * assert/Makefile (test-assert-ENV): Remove variable.
3175         (test-assert-perr-ENV): Likewise.
3176         * elf/Makefile (neededtest4-ENV): Likewise.
3177         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3178         [$(cross-compiling) = no]: Don't set LANGUAGE.
3179         * io/ftwtest-sh (LANG): Remove variable.
3180         * libio/Makefile (tst-widetext-ENV): Likewise.
3181         * manual/install.texi (Running make install): Don't refer to
3182         environment settings for make install.
3183         * INSTALL: Regenerated.
3184         * nptl/tst-tls6.sh: Don't set LANG.
3185         * posix/globtest.sh (LANG): Remove variable.
3186         * string/Makefile (tester-ENV): Likewise.
3187         (inl-tester-ENV): Likewise.
3188         (noinl-tester-ENV): Likewise.
3189         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3190         [$(cross-compiling) = no]: Don't set LANGUAGE.
3191         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3192         without explicit environment settings.
3193
3194 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3195
3196         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3197         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3198         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3199         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3200
3201 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3202
3203         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3204         other files in the crypt directory.
3205         * crypt/crypt.c: Remove duplicate includes.
3206         * crypt/crypt-entry.c: Likewise.
3207         * crypt/crypt_util.c: Likewise.
3208
3209 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3210
3211         * Makeconfig (run-program-env): New variable.
3212         (run-program-prefix-before-env): Likewise.
3213         (run-program-prefix-after-env): Likewise.
3214         (run-program-prefix): Define in terms of new variables.
3215         (built-program-cmd-before-env): New variable.
3216         (built-program-cmd-after-env): Likewise.
3217         (built-program-cmd): Define in terms of new variables.
3218         (test-program-prefix-before-env): New variable.
3219         (test-program-prefix-after-env): Likewise.
3220         (test-program-prefix): Define in terms of new variables.
3221         (test-program-cmd-before-env): New variable.
3222         (test-program-cmd-after-env): Likewise.
3223         (test-program-cmd): Define in terms of new variables.
3224         * Rules (make-test-out): Use $(run-program-env).
3225         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3226         (help): Do not mention environment variables.  Mention
3227         --timeoutfactor option.
3228         (timeoutfactor): New variable.
3229         (blacklist_exports): Remove function.
3230         (exports): Remove variable.
3231         (command): Do not include ${exports}.
3232         * manual/install.texi (Configuring and compiling): Do not mention
3233         test wrappers preserving environment variables.  Mention that last
3234         assignment to a variable must take precedence.
3235         * INSTALL: Regenerated.
3236         * benchtests/Makefile (run-bench): Use $(run-program-env).
3237         * catgets/Makefile ($(objpfx)test1.cat): Use
3238         $(built-program-cmd-before-env), $(run-program-env) and
3239         $(built-program-cmd-after-env).
3240         ($(objpfx)test2.cat): Do not specify environment variables
3241         explicitly.
3242         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3243         $(run-program-env) and $(built-program-cmd-after-env).
3244         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3245         $(run-program-env) and $(test-program-cmd-after-env).
3246         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3247         explicitly.
3248         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3249         run_program_env and test_program_cmd_after_env arguments.
3250         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3251         * elf/tst-pathopt.sh: Use run_program_env argument.
3252         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3253         $(test-wrapper-env) and $(run-program-env).
3254         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3255         run_program_env arguments.
3256         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3257         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3258         $(test-program-prefix-before-env), $(run-program-env) and
3259         $(test-program-prefix-after-env).
3260         ($(objpfx)tst-gettext2.out): Likewise.
3261         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3262         run_program_env and test_program_prefix_after_env arguments.
3263         * intl/tst-gettext2.sh: Likewise.
3264         * intl/tst-gettext4.sh: Do not set environment variables
3265         explicitly.
3266         * intl/tst-gettext6.sh: Likewise.
3267         * intl/tst-translit.sh: Likewise.
3268         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3269         $(test-program-prefix-before-env), $(run-program-env) and
3270         $(test-program-prefix-after-env).
3271         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3272         run_program_env and test_program_prefix_after_env arguments.
3273         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3274         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3275         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3276         explicitly with each use of ${test_wrapper_env}.
3277         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3278         $(test-program-prefix-before-env), $(run-program-env) and
3279         $(test-program-prefix-after-env).
3280         * posix/tst-getconf.sh: Do not set environment variables
3281         explicitly.
3282         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3283         run_program_env and test_program_prefix_after_env arguments.
3284         * stdio-common/tst-printf.sh: Do not set environment variables
3285         explicitly.
3286         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3287         $(test-program-prefix-before-env), $(run-program-env) and
3288         $(test-program-prefix-after-env).
3289         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3290         run_program_env and test_program_prefix_after_env arguments.
3291         Split $test calls into $test_pre and $test.
3292         * timezone/Makefile (build-testdata): Use
3293         $(built-program-cmd-before-env), $(run-program-env) and
3294         $(built-program-cmd-after-env).
3295
3296 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3297
3298         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3299         strlen for non SHARED builds.
3300
3301 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3302
3303         * nptl/allocatestack.c (check_list): Inlined function...
3304         (__reclaim_stacks): ... here.
3305
3306 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3307
3308         [BZ #15698]
3309         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3310         memory overrun.
3311
3312 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3313
3314         * Rules (make-test-out): Include
3315         LOCPATH=$(common-objpfx)localedata in default environment.
3316         * debug/Makefile (tst-chk1-ENV): Remove variable.
3317         (tst-chk2-ENV): Likewise.
3318         (tst-chk3-ENV): Likewise.
3319         (tst-chk4-ENV): Likewise.
3320         (tst-chk5-ENV): Likewise.
3321         (tst-chk6-ENV): Likewise.
3322         (tst-lfschk1-ENV): Likewise.
3323         (tst-lfschk2-ENV): Likewise.
3324         (tst-lfschk3-ENV): Likewise.
3325         (tst-lfschk4-ENV): Likewise.
3326         (tst-lfschk5-ENV): Likewise.
3327         (tst-lfschk6-ENV): Likewise.
3328         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3329         (tst-iconv7-ENV): Likewise.
3330         * intl/Makefile (LOCPATH-ENV): Likewise.
3331         (tst-codeset-ENV): Likewise.
3332         (tst-gettext3-ENV): Likewise.
3333         (tst-gettext5-ENV): Likewise.
3334         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3335         (tst-fopenloc-ENV): Likewise.
3336         (tst-fgetws-ENV): Remove variable.
3337         (tst-ungetwc1-ENV): Likewise.
3338         (tst-ungetwc2-ENV): Likewise.
3339         (bug-ungetwc2-ENV): Likewise.
3340         (tst-swscanf-ENV): Likewise.
3341         (bug-ftell-ENV): Likewise.
3342         (tst-fgetwc-ENV): Likewise.
3343         (tst-fseek-ENV): Likewise.
3344         (tst-ftell-partial-wide-ENV): Likewise.
3345         (tst-ftell-active-handler-ENV): Likewise.
3346         (tst-ftell-append-ENV): Likewise.
3347         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3348         (tst-regexloc-ENV): Likewise.
3349         (bug-regex1-ENV): Likewise.
3350         (tst-regex-ENV): Likewise.
3351         (tst-regex2-ENV): Likewise.
3352         (bug-regex5-ENV): Likewise.
3353         (bug-regex6-ENV): Likewise.
3354         (bug-regex17-ENV): Likewise.
3355         (bug-regex18-ENV): Likewise.
3356         (bug-regex19-ENV): Likewise.
3357         (bug-regex20-ENV): Likewise.
3358         (bug-regex22-ENV): Likewise.
3359         (bug-regex23-ENV): Likewise.
3360         (bug-regex25-ENV): Likewise.
3361         (bug-regex26-ENV): Likewise.
3362         (bug-regex30-ENV): Likewise.
3363         (bug-regex32-ENV): Likewise.
3364         (bug-regex33-ENV): Likewise.
3365         (bug-regex34-ENV): Likewise.
3366         (bug-regex35-ENV): Likewise.
3367         (tst-rxspencer-ENV): Likewise.
3368         (tst-rxspencer-no-utf8-ENV): Likewise.
3369         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3370         (tst-sscanf-ENV): Likewise.
3371         (tst-swprintf-ENV): Likewise.
3372         (tst-swscanf-ENV): Likewise.
3373         (test-vfprintf-ENV): Likewise.
3374         (scanf13-ENV): Likewise.
3375         (bug14-ENV): Likewise.
3376         (tst-grouping-ENV): Likewise.
3377         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3378         (tst-strtod3-ENV): Likewise.
3379         (tst-strtod4-ENV): Likewise.
3380         (tst-strtod5-ENV): Likewise.
3381         (testmb2-ENV): Likewise./
3382         * string/Makefile (tst-strxfrm-ENV): Likewise.
3383         (tst-strxfrm2-ENV): Likewise.
3384         (bug-strcoll1-ENV): Likewise.
3385         (test-strcasecmp-ENV): Likewise.
3386         (test-strncasecmp-ENV): Likewise.
3387         * time/Makefile (tst-strptime-ENV): Likewise.
3388         (tst-ftime_l-ENV): Likewise.
3389         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3390         (tst-mbrtowc-ENV): Likewise.
3391         (tst-wcrtomb-ENV): Likewise.
3392         (tst-mbrtowc2-ENV): Likewise.
3393         (tst-c16c32-1-ENV): Likewise.
3394         (tst-mbsnrtowcs-ENV): Likewise.
3395
3396 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3397
3398         * manual/resource.texi (How to get information about the memory
3399         subsystem?): Fix typo.
3400         Reported by Peon de la Parra Ivan <peon@keba.com>
3401
3402 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3403
3404         [BZ #16882]
3405         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3406         (pthread_spin_lock): Branch out of spin loop to proper location.
3407         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3408         (pthread_spin_lock): Likewise.
3409
3410         * nptl/tst-spin4.c: New test.
3411         * nptl/Makefile (tests): Add tst-spin4.
3412
3413 2014-06-03  Andreas Schwab  <schwab@suse.de>
3414
3415         [BZ #15946]
3416         * resolv/res_send.c (send_dg): Reload file descriptor after
3417         calling reopen.
3418
3419 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3420
3421         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3422
3423 2014-06-03  Richard Henderson  <rth@redhat.com>
3424
3425         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3426         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3427         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3428         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3429         in the SAVE_PID block.
3430         (__libc_vfork): New alias.
3431         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3432
3433         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3434         child in registers, not on the stack.  Remove RESET_PID conditionals.
3435         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3436
3437 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3438
3439         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3440
3441 2014-06-03  Wilco  <wdijkstr@arm.com>
3442
3443         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3444         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3445         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3446         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3447         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3448         Likewise.
3449
3450 2014-06-03  Wilco  <wdijkstr@arm.com>
3451
3452         * sysdeps/aarch64/fpu/math_private.h
3453         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3454         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3455         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3456         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3457         Fix declarations.
3458
3459 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3460
3461         * crypt/crypt-private.h: Include ufc-crypt.h.
3462         (__b64_from_24bit): Declare extern.
3463         * crypt/crypt_util.c(__b64_from_24bit): New function.
3464         (b64t): New static const variable.
3465         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3466         (b64t): Remove variable.
3467         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3468         * crypt/sha256-crypt.c: Include crypt-private.h.
3469         (b64t): Remove variable.
3470         (__sha256_crypt_r): Remove b64_from_24bit and replace
3471         with __b64_from_24bit.
3472         * crypt/sha512-crypt.c: Likewise.
3473
3474 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3475
3476         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3477         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3478         Label the code __libc_vfork rather than __vfork.
3479         [!NOT_IN_libc] (vfork): Define as weak alias.
3480         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3481         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3482         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3483
3484 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3485
3486         * malloc/malloc.c (malloc_info): Fix format specifier for
3487         n_mmaps.
3488
3489 2014-06-02  Wilco  <wdijkstr@arm.com>
3490
3491         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3492         FPCR write.
3493
3494 2014-06-02  Wilco  <wdijkstr@arm.com>
3495
3496         [BZ #17009]
3497         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3498         Rewrite to reduce FPCR/FPSR accesses.
3499
3500 2014-06-01  David S. Miller  <davem@davemloft.net>
3501
3502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3503
3504 2014-05-31  David S. Miller  <davem@davemloft.net>
3505
3506         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3507         to occur in round to nearest mode when |x| >= 2.0
3508
3509 2014-05-30  Richard Henderson  <rth@twiddle.net>
3510
3511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3512         (PSEUDO_RET_NOERRNO): Remove.
3513         (ret): Don't redefine.
3514         (ret_NOERRNO): Define in terms of ret.
3515         (ret_ERRVAL): Likewise.
3516
3517         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3518         use of PSEUDO_RET; perform the error check directly.
3519
3520 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3521
3522         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3523         with __int128_t.
3524
3525 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3526
3527         * malloc/malloc (malloc_info): Fix formatting.
3528
3529 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3530             Roland McGrath  <roland@hack.frob.com>
3531
3532         * malloc/malloc (malloc_info): Also print mmapped statistics.
3533
3534 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3535
3536         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3537         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3538
3539 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3540
3541         * malloc/malloc.c (malloc_info): Inline mi_arena.
3542
3543 2014-05-29  Richard Henderson  <rth@twiddle.net>
3544
3545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3546         Remove comma before expanding ASM_ARGS_##nr.
3547         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3548         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3549         of ASM_ARGS_##nr.
3550         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3551         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3552         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3553         (ASM_ARGS_1): Add leading comma.
3554
3555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3556         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3557         to __errno_location.
3558         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3559         Remove the expected plt for __errno_location.
3560
3561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3562         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3563         call to __read_tp.
3564
3565         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3566         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3567         it and break it down.
3568         (DOCARGS_0, DOCARGS_1): Do nothing.
3569         (DOCARGS_2): Update to store into the new stack frame.
3570         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3571         (UNDOCARGS_1): Update to restore from the new stack frame.
3572         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3573         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3574
3575         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3576         (SINGLE_THREAD_P): New parameter for result regno.
3577         (PSEUDO): Update to match; use cbz instead of beq.
3578
3579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3580         Use ENTRY to define the _nocancel entry point.  Share the syscall
3581         and syscall error check paths with the cancel path.
3582         (PSEUDO_END): New.
3583
3584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3585         whitespace; tabs before and after asm mnemonics.
3586
3587 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3588
3589         [BZ #15132]
3590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3591         Call fstat64 or stat64 internally, depending on arguments passed.
3592         Replace stat buffer argument with file descriptor argument.
3593         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3594         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3595         Pass fd to __internal_statvfs instead of calling fstat64.
3596         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3597         Pass fd to __internal_statvfs64 instead of calling fstat64.
3598         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3599         Pass -1 to __internal_statvfs instead of calling stat64.
3600         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3601         Pass -1 to __internal_statvfs64 instead of calling stat64.
3602
3603 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3604
3605         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3606         that was previously under [RESET_PID].
3607         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3608
3609         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3610         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3611
3612 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3613
3614         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3615
3616         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3617         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3618
3619 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3620
3621         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3622
3623 2014-05-27  Andreas Schwab  <schwab@suse.de>
3624
3625         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3626         TLS_INIT_TP macro.
3627         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3628         * elf/rtld.c (init_tls, dl_main): Likewise.
3629         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3630         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3631         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3632         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3633         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3634         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3635         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3636         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3637         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3638         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3639         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3640         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3641         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3642         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3643         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3644         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3645         * sysdeps/generic/tls.h: Update description.
3646
3647 2014-05-27  Will Newton  <will.newton@linaro.org>
3648
3649         [BZ #16990]
3650         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3651         and restore r2 rather than just restoring.
3652
3653 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3654
3655         [BZ #16724]
3656         * libio/tst-ftell-append.c: New test case.
3657         * libio/Makefile (tests): Add test case.
3658         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3659         append mode.
3660         * libio/wfileops.c (do_ftell_wide): Likewise.
3661
3662 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3663
3664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3665
3666         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3667         ...
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3670         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3671         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3672         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3673         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3674         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3675         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3677         Moved ...
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3680         Moved ...
3681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3682         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3683         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3684         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3685         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3687         ...
3688         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3689         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3692         here.
3693         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3694         ...
3695         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3696         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3697         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3698
3699         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3701         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3702         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3703
3704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3705         merge into ...
3706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3708         ...
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3711         ...
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3714         Moved ...
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3716         here.
3717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3718         Moved ...
3719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3721         Moved ...
3722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3723
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3725         conditional [RESET_PID].
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3728         removed.
3729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3730         removed.
3731
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3733         <tcb-offsets.h>.
3734         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3735         (__libc_vfork): New strong alias.
3736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3737         removed.
3738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3739         Removed.
3740
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3742         <tcb-offsets.h>.
3743         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3744         (__libc_vfork): New strong alias.
3745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3746         removed.
3747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3748         removed.
3749
3750 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3751
3752         * malloc/malloc.c (mi_arena): New function.
3753         (malloc_info): Remove nested function mi_arena. Call non-nosted
3754         function mi_arena.
3755
3756 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3757
3758         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3759         by insrwi.
3760         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3761         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3762         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3763         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3764         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3765         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3766         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3767
3768 2014-05-26  Andreas Schwab  <schwab@suse.de>
3769
3770         [BZ #16984]
3771         * locale/programs/repertoire.c (repertoire_read): Add slash
3772         between I18NPATH element and file name.
3773         * locale/programs/locfile.c (locfile_read): Likewise.
3774
3775 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3776
3777         * nptl/pthread_mutexattr_settype.c
3778         (__pthread_mutexattr_settype):
3779         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3780
3781 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3782
3783         * nptl/tst-mutex5 (do_test):
3784         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3785
3786 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3787
3788         * benchtests/README: Document 'init' directive.
3789         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3790         BENCH_INIT.
3791         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3792         (parse_file): Recognize 'init' directive.
3793
3794 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3795
3796         [BZ #16796]
3797         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3798         alignment of struct pthread.
3799
3800 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3801
3802         [BZ #16878]
3803         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3804         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3805         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3806         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3807
3808 2014-05-25  Richard Henderson  <rth@twiddle.net>
3809
3810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3811         (SINGLE_THREAD_P_PIC): Remove.
3812         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3813         (SINGLE_THREAD_P_PIC): Remove.
3814
3815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3816         branch to syscall error ...
3817         (PSEUDO): ... here.
3818         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3819         from __local_syscall_error to .Lsyscall_error.
3820         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3821         (SYSCALL_ERROR): Update label name.
3822
3823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3824         Do not use DOARGS/UNDOARGS.
3825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3826         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3827         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3828         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3829         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3830
3831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3832         block comment.
3833
3834         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3835         define if !NOT_IN_libc.
3836         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3837         define with non-default symbol versions.
3838
3839 2014-05-23  Richard Henderson  <rth@twiddle.net>
3840
3841         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3842         (vfork, __vfork): Define via compat_symbol.
3843
3844         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3845         [!HAVE_IFUNC] (vfork_compat): Remove.
3846         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3847
3848 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3849
3850         [BZ #16978]
3851         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3852         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3853         variable.
3854
3855 2014-05-23  Richard Henderson  <rth@twiddle.net>
3856
3857         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3858         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3859         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3860         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3861
3862         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3863         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3864         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3865         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3866         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3867         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3868         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3869         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3870         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3871         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3872         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3873         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3874         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3875         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3877         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3878         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3879         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3880         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3881         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3882         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3883         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3884         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3885         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3886         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3887         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3888         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3889         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3890         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3891         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3892         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3893         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3895         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3896         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3897         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3898         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3901         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3902         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3903         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3904         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3905         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3906         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3907         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3909         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3910         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3911         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3912         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3913         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3915         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3917         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3918
3919         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3920         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3921         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3922         before exiting on error.
3923         (__libc_vfork): New strong alias.
3924         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3925         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3926
3927         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3928         that was previously under [RESET_PID].
3929         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3930
3931         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3932
3933 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3934
3935         [BZ #16977]
3936         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3937         value when x - 1 is zero.
3938         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3939         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3940         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3941         0.0L for an argument of 1.0L.
3942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3943         Likewise.
3944         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3945         value when x - 1 is zero.
3946         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3947         * sysdeps/i386/fpu/libm-test-ulps: Update.
3948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3949
3950 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3951
3952         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3953         alphasort and versionsort.
3954
3955 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3956
3957         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3958         macro.
3959         [copysignf]: Likewise.
3960
3961 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3962
3963         * crypt/md5-crypt.c: Fix formatting.
3964
3965 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3966
3967         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3968         (b64_from_24bit): New function.
3969
3970 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3971
3972         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3973         libc_hidden_builtin_def to ifunc.
3974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3975         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3976
3977 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3978
3979         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3980         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3981
3982 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3983
3984         * nscd/Depend (linuxthreads): Remove.
3985         (nptl): Add.
3986         * resolv/Depend (linuxthreads): Remove.
3987         * rt/Depend (linuxthreads): Remove.
3988
3989         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3990         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3991         $(common-objpfx)elf/.
3992         (link-libc-before-gnulib): Likewise.
3993         (elfobjdir): Remove variable.
3994         * Makefile (install): Use $(elf-objpfx) instead of
3995         $(common-objpfx)elf/.
3996         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3997         $(elfobjdir)/.
3998         (link-libc-deps): Likewise.
3999         ($(common-objpfx)libc.so): Likewise.
4000         ($(common-objpfx)linkobj/libc.so): Likewise.
4001         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4002         instead of $(common-objpfx)elf/.
4003         (symbolic-link-list): Likewise.
4004         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4005         [$(cross-compiling) = no]: Likewise.
4006         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4007         $(elfobjdir)/.
4008         (static-gnulib-arch): Likewise.
4009         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4010         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4011         $(common-objpfx)elf/.
4012
4013 2014-05-21  Richard Henderson  <rth@redhat.com>
4014
4015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4016         (SINGLE_THREAD_P): Use the correct width load.  Fold
4017         into the ldr offset.
4018
4019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4020         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4021
4022 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4023
4024         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4025         (libgcc_s_resume): Use __attribute_used__.
4026         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4027         Likewise.
4028
4029 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4030
4031         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4032         optimization when used with float constants.
4033
4034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4035
4036 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4037
4038         [BZ #16915]
4039         * locale/nl_langinfo_l.c: Make direct reference to every
4040         _nl_current_CATEGORY symbol.
4041         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4042         (tests-static): Add tst-langinfo-static.
4043         (tests-special): Add tst-langinfo-static.out.
4044         ($(objpfx)tst-langinfo.out): Redirect output.
4045         ($(objpfx)tst-langinfo-static.out): New.
4046         * localedata/tst-langinfo.sh: Send output to stdout.
4047         * localedata/tst-langinfo-static.c: New file.
4048
4049         [BZ #16965]
4050         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4051         when the shift amount is modulo the limb size.
4052
4053 2014-05-20  Richard Henderson  <rth@redhat.com>
4054
4055         [BZ #16967]
4056         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4057         Change type of sa_flags from unsigned int to int.
4058
4059         [BZ #16966]
4060         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4061
4062         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4063
4064 2014-05-20  Will Newton  <will.newton@linaro.org>
4065
4066         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4067         Test the return value of the system call in the nocancel case.
4068
4069 2014-05-20  Will Newton  <will.newton@linaro.org>
4070             Yvan Roux  <yvan.roux@linaro.org>
4071
4072         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4073         #include of asm/ptrace.h.
4074         (PTRACE_GET_THREAD_AREA): Remove #undef.
4075         (PTRACE_GETHBPREGS): Likewise.
4076         (PTRACE_SETHBPREGS): Likewise.
4077         (struct user_regs_struct): New structure.
4078         (struct user_fpsimd_struct): New structure.
4079         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4080         #include of asm/ptrace.h and second #include of sys/user.h.
4081         (PTRACE_GET_THREAD_AREA): Remove #undef.
4082         (PTRACE_GETHBPREGS): Likewise.
4083         (PTRACE_SETHBPREGS): Likewise.
4084         (ELF_NGREG): Use new struct user_regs_struct.
4085         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4086
4087 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4088
4089         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4090         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4091
4092 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4093
4094         [BZ #16958]
4095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4096         membar to avoid block loads/stores to overlap previous stores.
4097
4098 2014-05-17  Richard Henderson  <rth@redhat.com>
4099
4100         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4101         Create the __##syscall_name##_nocancel entry point.
4102         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4103         Remove; let the sysdep-cancel.h code create it.
4104
4105 2014-05-17  David S. Miller  <davem@davemloft.net>
4106
4107         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4108         Protect with __USE_GNU.
4109         (TIOCSET_TEMPT): Likewise.
4110         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4111         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4112         these are already provided in bits/ioctl-types.h
4113
4114 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4115
4116         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4117         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4118
4119         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4120         Use wait4 regardless of [__NR_waitpid].
4121
4122 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4123
4124         PR libgcc/60166
4125         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4126         (_FP_NANSIGN_Q): Set the quiet bit.
4127
4128 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4129
4130         * benchtests/Makefile
4131         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4132         not $(common-objpfx)math/libm.so.
4133         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4134         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4135         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4136         $(common-objpfx)dlfcn/libdl.so.
4137         ($(objpfx)tst-audit8): Depend on $(libm), not
4138         $(common-objpfx)math/libm.so.
4139         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4140         not $(common-objpfx)dlfcn/libdl.so.
4141         * math/Makefile
4142         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4143         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4144         [$(build-shared) = yes].
4145         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4146         $(common-objpfx)nptl/libpthread.so.
4147         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4148         $(common-objpfx)math/libm.so$(libm.so-version) or
4149         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4150         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4151         $(common-objpfx)dlfcn/libdl.so.
4152         * setjmp/Makefile (link-libm): Remove variable.
4153         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4154         * stdio-common/Makefile (link-libm): Remove variable.
4155         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4156         * stdlib/Makefile (link-libm): Remove variable.
4157         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4158         ($(objpfx)tst-strtod-round): Likewise.
4159         ($(objpfx)tst-tininess): Likewise.
4160         ($(objpfx)tst-strtod-underflow): Likewise.
4161         ($(objpfx)tst-strtod6): Likewise.
4162         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4163         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4164         $(common-objpfx)dlfcn/libdl.so.
4165
4166 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4167
4168         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4169         BSD terminal modes definitions.
4170
4171 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4172
4173         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4174         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4175
4176         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4177         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4178         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4179         Don't do #include_next.
4180         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4181         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4182         Don't do #include_next.
4183         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4184         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4185         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4186         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4187
4188 2014-05-16  Allan McRae  <allan@archlinux.org>
4189
4190         * po/sv.po: Update Swedish translation from translation project.
4191
4192         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4193         in sed expression.
4194
4195 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4196
4197         [BZ #16917]
4198         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4199         errno if the TIOCGPTN ioctl fails with an error different than
4200         EINVAL.
4201         * login/tst-ptsname.c: New file.
4202         * login/Makefile (tests): Add tst-ptsname.
4203
4204         [BZ #16943]
4205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4206         and prlimit64.
4207
4208 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209
4210         [BZ #16849]
4211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4212         herrno to return EAI_AGAIN.
4213
4214 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4215
4216         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4217         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4218         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4219         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4220         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4221         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4222         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4223         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4225         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4226         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4227         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4228         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4229         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4230         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4231         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4232         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4233         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4234         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4235         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4236         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4237         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4238         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4239         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4240         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4241         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4242         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4243         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4244         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4245         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4247         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4249         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4254         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4258         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4260         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4262         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4270         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4272         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4274         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4276         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4278         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4280         Moved ...
4281         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4283         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4285         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4287         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4289         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4293         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4295         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4297         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4299         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4301         Moved ...
4302         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4304         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4305
4306         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4307         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4308         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4309         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4310         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4311         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4312         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4313         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4314         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4315         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4316         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4318         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4319         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4320         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4321         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4322         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4323         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4324         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4325         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4326         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4328         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4329         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4330         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4331         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4332         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4333         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4335         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4336         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4337
4338         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4339         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4340
4341         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4342         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4343         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4344         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4345         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4347         Moved ...
4348         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4350         Moved ...
4351         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4352         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4353         Moved ...
4354         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4356         Moved ...
4357         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4358         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4359         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4361         Moved ...
4362         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4364         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4368         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4370         Moved ...
4371         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4373         Moved ...
4374         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4375         ... here.
4376         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4377         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4378         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4379         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4380         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4381         Moved ...
4382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4383         ... here.
4384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4388         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4390         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4392         Moved ...
4393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4395         Moved ...
4396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4397         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4398         Moved ...
4399         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4401         Moved ...
4402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4404         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4406         Moved ...
4407         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4408         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4409         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4411         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4412         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4413         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4414         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4415         Moved ...
4416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4418         Moved ...
4419         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4420         ... here.
4421         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4422         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4424         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4426         Moved ...
4427         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4428         ... here.
4429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4430         Moved ...
4431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4432         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4433         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4434         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4435         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4436         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4438         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4439         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4440         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4441         Moved ...
4442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4443         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4444         Moved ...
4445         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4447         Moved ...
4448         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4450         Moved ...
4451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4452         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4453         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4454         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4455         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4456         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4457         Moved ...
4458         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4459         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4460         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4462         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4463         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4464         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4469         Moved ...
4470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4471         ... here.
4472         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4473         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4474         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4475         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4477         Moved ...
4478         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4479         ... here.
4480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4481         Moved ...
4482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4483         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4484         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4485         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4486         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4487         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4488         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4489         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4490         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4491         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4492         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4493
4494         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4495         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4496
4497         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4498         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4499
4500         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4501         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4502         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4503         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4504         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4505         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4506         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4507         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4508         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4509         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4511         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4512         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4513         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4514         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4516         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4518         Moved ...
4519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4523         Moved ...
4524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4528         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4532         Moved ...
4533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4535         Moved ...
4536         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4542         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4543         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4544         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4545         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4546         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4548         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4549         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4550         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4551         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4552         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4553
4554         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4555         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4556         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4557         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4558         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4559
4560         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4561         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4562         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4563         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4564         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4565         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4566         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4567         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4568         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4569         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4570
4571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4573
4574         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4575         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4576         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4577         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4578         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4579         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4580         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4581         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4582         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4583         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4584         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4585         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4586         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4587         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4589         Update #include.
4590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4591         Likewise.
4592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4593         Likewise.
4594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4595         Likewise.
4596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4597         Likewise.
4598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4599         Likewise.
4600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4601         Likewise.
4602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4603         Likewise.
4604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4605         Likewise.
4606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4607         Likewise.
4608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4617         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4623
4624         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4625         that was previously under [RESET_PID].
4626         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4627         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4628         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4629
4630         * sysdeps/i386/nptl/Implies: New file.
4631         * sysdeps/x86_64/nptl/Implies: New file.
4632         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4633         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4634         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4635         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4636
4637         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4638         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4639         (__libc_vfork): New strong alias.
4640         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4641         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4642
4643         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4644         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4645         (__libc_vfork): New strong alias.
4646         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4647         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4648
4649         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4650         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4651         (__libc_vfork): New strong alias.
4652         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4653         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4654         * nptl/pt-vfork.c: New file.
4655         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4656         (libpthread: GLIBC_2.20): New version set (empty).
4657
4658 2014-05-14  Will Newton  <will.newton@linaro.org>
4659
4660         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4661         rather than #if.
4662
4663 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4664
4665         [BZ #16564]
4666         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4667         arguments with exponent 65 or above.
4668         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4669         arguments 0x1p113L or above.
4670         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4671         to arguments 0x1p107L or above.
4672         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4673         positive arguments with exponent 65 or above.
4674         * math/auto-libm-test-in: Add more tests of log1p.
4675         * math/auto-libm-test-out: Regenerated.
4676
4677         [BZ #16928]
4678         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4679         non-finite arguments is +0.
4680         * math/s_cacosf.c (__cacosf): Likewise.
4681         * math/s_cacosl.c (__cacosl): Likewise.
4682         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4683         * sysdeps/i386/fpu/libm-test-ulps: Update.
4684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4685
4686         [BZ #16927]
4687         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4688         value.
4689         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4690         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4691         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4692         for explicit high bit of mantissa when testing for argument equal
4693         to 1.
4694         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4695         * sysdeps/i386/fpu/libm-test-ulps: Update.
4696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697
4698         [BZ #16516]
4699         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4700         (__erf): Scale by 16 instead of 8 in potentially underflowing
4701         case.  Ensure exception if result actually underflows.
4702         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4703         (__erff): Scale by 16 instead of 8 in potentially underflowing
4704         case.  Ensure exception if result actually underflows.
4705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4706         (efx8): Remove variable.
4707         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4708         case.  Ensure exception if result actually underflows.
4709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4710         (efx8): Remove variable.
4711         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4712         case.  Ensure exception if result actually underflows.
4713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4714         (efx8): Remove variable.
4715         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4716         case.  Ensure exception if result actually underflows.
4717         * math/auto-libm-test-in: Add more tests of erf.
4718         * math/auto-libm-test-out: Regenerated.
4719
4720 2014-05-14  Andreas Schwab  <schwab@suse.de>
4721
4722         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4723         Remove code conditionalized on USE___THREAD.
4724
4725         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4726         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4727         not definedness.
4728
4729 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4730
4731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4732         Define unconditionally.
4733         (__ASSUME_O_CLOEXEC): Likewise.
4734         (__ASSUME_SOCK_CLOEXEC): Likewise.
4735         (__ASSUME_IN_NONBLOCK): Likewise.
4736         (__ASSUME_PIPE2): Likewise.
4737         (__ASSUME_EVENTFD2): Likewise.
4738         (__ASSUME_SIGNALFD4): Likewise.
4739         (__ASSUME_DUP3): Likewise.
4740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4741         (__ASSUME_DUP3): Do not define.
4742         (__ASSUME_EVENTFD2): Likewise.
4743         (__ASSUME_IN_NONBLOCK): Likewise.
4744         (__ASSUME_O_CLOEXEC): Likewise.
4745         (__ASSUME_PIPE2): Likewise.
4746         (__ASSUME_SIGNALFD4): Likewise.
4747         (__ASSUME_SOCK_CLOEXEC): Likewise.
4748         (__ASSUME_UTIMES): Undefine.
4749         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4750         (__ASSUME_UTIMES): Do not define.
4751         (__ASSUME_O_CLOEXEC): Likewise.
4752         (__ASSUME_SOCK_CLOEXEC): Likewise.
4753         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4754         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4755         0x020621].
4756         (__ASSUME_PIPE2): Likewise.
4757         (__ASSUME_EVENTFD2): Likewise.
4758         (__ASSUME_SIGNALFD4): Likewise.
4759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4760         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4761         Do not define.
4762         (__ASSUME_EVENTFD2): Likewise.
4763         (__ASSUME_SIGNALFD4): Likewise.
4764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4765         (__ASSUME_32BITUIDS): Likewise.
4766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4767         (__ASSUME_IPC64): Likewise.
4768         (__ASSUME_ST_INO_64_BIT): Likewise.
4769         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4770         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4771         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4772         (__ASSUME_UTIMES): Do not define.
4773         (__ASSUME_PSELECT): Likewise.
4774         (__ASSUME_PPOLL): Likewise.
4775         (__ASSUME_O_CLOEXEC): Likewise.
4776         (__ASSUME_SOCK_CLOEXEC): Likewise.
4777         (__ASSUME_IN_NONBLOCK): Likewise.
4778         (__ASSUME_PIPE2): Likewise.
4779         (__ASSUME_EVENTFD2): Likewise.
4780         (__ASSUME_SIGNALFD4): Likewise.
4781         (__ASSUME_DUP3): Likewise.
4782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4783         (__ASSUME_UTIMES): Likewise.
4784         (__ASSUME_O_CLOEXEC): Likewise.
4785         (__ASSUME_SOCK_CLOEXEC): Likewise.
4786         (__ASSUME_IN_NONBLOCK): Likewise.
4787         (__ASSUME_PIPE2): Likewise.
4788         (__ASSUME_EVENTFD2): Likewise.
4789         (__ASSUME_SIGNALFD4): Likewise.
4790         (__ASSUME_DUP3): Likewise.
4791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4792         (__ASSUME_UTIMES): Likewise.
4793         (__ASSUME_O_CLOEXEC): Likewise.
4794         (__ASSUME_SOCK_CLOEXEC): Likewise.
4795         (__ASSUME_IN_NONBLOCK): Likewise.
4796         (__ASSUME_PIPE2): Likewise.
4797         (__ASSUME_EVENTFD2): Likewise.
4798         (__ASSUME_SIGNALFD4): Likewise.
4799         (__ASSUME_DUP3): Likewise.
4800         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4801         Likewise.
4802         (__ASSUME_UTIMES): Likewise.
4803         (__ASSUME_EVENTFD2): Likewise.
4804         (__ASSUME_SIGNALFD4): Likewise.
4805         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4806         (__ASSUME_O_CLOEXEC): Likewise.
4807         (__ASSUME_SOCK_CLOEXEC): Likewise.
4808         (__ASSUME_IN_NONBLOCK): Likewise.
4809         (__ASSUME_PIPE2): Likewise.
4810         (__ASSUME_EVENTFD2): Likewise.
4811         (__ASSUME_SIGNALFD4): Likewise.
4812         (__ASSUME_DUP3): Likewise.
4813         (__ASSUME_UTIMES): Undefine.
4814
4815         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4816         feclearexcept.  Remove symbol versioning code.
4817         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4818         symbol versioning code.
4819         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4820         symbol versioning code.
4821         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4822         feupdateenv.  Remove symbol versioning code.
4823         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4824         fegetexceptflag.  Remove symbol versioning code.
4825         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4826         fesetexceptflag.  Remove symbol versioning code.
4827         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4828         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4829         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4830         (__posix_fadvise64_l32): Remove prototype.
4831         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4832         code.
4833
4834 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4835
4836         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4837         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4838         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4839         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4840
4841 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4842
4843         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4844         current working directory
4845
4846 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4847
4848         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4849         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4850         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4851         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4852         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4853         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4854         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4855         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4856         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4857         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4858         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4859         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4860         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4861         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4862         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4863         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4864         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4865         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4866         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4867         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4868         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4869         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4870         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4871         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4872         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4873         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4874         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4875         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4876         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4877         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4878         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4879         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4880         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4881         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4882         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4883         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4884         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4885         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4886         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4887         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4888         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4889         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4890
4891         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4892         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4893
4894         * sysdeps/unix/sysv/linux/arm/Makefile
4895         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4896         Add rt-aeabi_unwind_cpp_pr1.
4897         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4898         Add nptl-aeabi_unwind_cpp_pr1.
4899         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4900         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4901         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4902         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4903         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4904         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4905
4906         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4907         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4908         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4909         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4910
4911         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4912         Deconditionalize the code that was previously under [RESET_PID].
4913         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4914
4915         * sysdeps/generic/exit-thread.h: New file.
4916         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4917         * include/unistd.h (__exit_thread): Remove declaration.
4918         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4919         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4920         * csu/libc-start.c: Include <exit-thread.h>.
4921         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4922         * nptl/pthread_create.c: Include <exit-thread.h>.
4923         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4924         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4925         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4926         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4927         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4928         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4929         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4930         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4931         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4932         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4933         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4934         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4935         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4936         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4937         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4938         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4939         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4940
4941 2014-05-13  Andreas Schwab  <schwab@suse.de>
4942
4943         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4944
4945 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4946
4947         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4948         (__ASSUME_UTIMES): Do not condition on kernel version.
4949         (__ASSUME_PSELECT): Define unconditionally.
4950         (__ASSUME_PPOLL): Likewise.
4951         (__ASSUME_ATFCTS): Likewise.
4952         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4953         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4954         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4955         (__ASSUME_UTIMENSAT): Define unconditionally.
4956         (__ASSUME_PRIVATE_FUTEX): Likewise.
4957         (__ASSUME_FALLOCATE): Likewise.
4958         (__ASSUME_O_CLOEXEC): Likewise.
4959         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4960         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4961         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4962         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4963         (__ASSUME_IN_NONBLOCK): Likewise.
4964         (__ASSUME_PIPE2): Likewise.
4965         (__ASSUME_EVENTFD2): Likewise.
4966         (__ASSUME_SIGNALFD4): Likewise.
4967         (__ASSUME_DUP3): Likewise.
4968         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4969         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4970         (__ASSUME_AT_RANDOM): Likewise.
4971         (__ASSUME_PREADV): Likewise.
4972         (__ASSUME_PWRITEV): Likewise.
4973         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4974         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4975         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4977         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4979         (__ASSUME_O_CLOEXEC): Define unconditionally.
4980         (__ASSUME_PSELECT): Do not undefine conditionally.
4981         (__ASSUME_PPOLL): Likewise.
4982         (__ASSUME_ATFCTS): Likewise.
4983         (__ASSUME_SET_ROBUST_LIST): Likewise.
4984         (__ASSUME_UTIMENSAT): Likewise.
4985         (__ASSUME_FDATASYNC): Define unconditionally.
4986         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4987         (__ASSUME_SIGFRAME_V2): Likewise.
4988         )__ASSUME_EVENTFD2): Likewise.
4989         (__ASSUME_SIGNALFD4): Likewise.
4990         (__ASSUME_PSELECT): Do not undefine conditionally.
4991         (__ASSUME_PPOLL): Likewise.
4992         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4993         (__ASSUME_PSELECT): Define unconditionally.
4994         (__ASSUME_PPOLL): Likewise.
4995         (__ASSUME_O_CLOEXEC): Likewise.
4996         (__ASSUME_SOCK_CLOEXEC): Likewise.
4997         (__ASSUME_IN_NONBLOCK): Likewise.
4998         (__ASSUME_PIPE2): Likewise.
4999         (__ASSUME_EVENTFD2): Likewise.
5000         (__ASSUME_SIGNALFD4): Likewise.
5001         (__ASSUME_DUP3): Likewise.
5002         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5003         (__ASSUME_O_CLOEXEC): Likewise.
5004         (__ASSUME_SOCK_CLOEXEC): Likewise.
5005         (__ASSUME_IN_NONBLOCK): Likewise.
5006         (__ASSUME_PIPE2): Likewise.
5007         (__ASSUME_EVENTFD2): Likewise.
5008         (__ASSUME_SIGNALFD4): Likewise.
5009         (__ASSUME_DUP3): Likewise.
5010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5011         (__ASSUME_EVENTFD2): Likewise.
5012         (__ASSUME_SIGNALFD4): Likewise.
5013         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5014
5015 2014-05-12  Andreas Schwab  <schwab@suse.de>
5016
5017         [BZ #16932]
5018         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5019         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5020         than maximum RPC packet size.
5021         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5022         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5023         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5024         (_nss_nis_getservbyport_r): Likewise.
5025
5026 2014-05-12  Will Newton  <will.newton@linaro.org>
5027
5028         * malloc/Makefile (tests): Add tst-mallopt.
5029         * malloc/tst-mallopt.c: New file.
5030
5031 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5032
5033         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5034         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5035
5036 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5037
5038         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5039         (tst-tlsmod6.so): Likewise.
5040
5041 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5042
5043         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5044
5045 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5046
5047         [BZ #16064]
5048         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5049         and <dl-procinfo.h>.
5050         (__fegetenv): Save SSE state in envp->__eip if supported.
5051         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5052         envp->__eip if supported.
5053         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5054         and <dl-procinfo.h>.
5055         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5056         __data_offset and __data_selector in environment to 0.  Set SSE
5057         state if supported.
5058         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5059         test-fenv-sse.
5060         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5061         -mfpmath=sse.
5062         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5063
5064 2014-05-09  Will Newton  <will.newton@linaro.org>
5065
5066         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5067         and libc_relro_required for ARM.
5068         * sysdeps/arm/preconfigure: Regenerate.
5069
5070 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5071             Stefan Liebler  <stli@linux.vnet.ibm.com>
5072
5073         * config.make.in (enable-lock-elision): New Makefile variable.
5074         * configure.ac: Likewise.
5075         * configure: Regenerate.
5076         * sysdeps/s390/configure.ac:
5077         Add check for gcc transactions support.
5078         * sysdeps/s390/configure: Regenerate.
5079         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5080         Build elision files if enabled.
5081         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5082         Add lock elision support for s390.
5083         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5084         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5085         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5086         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5087         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5088         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5090         Likewise.
5091         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5092         Likewise.
5093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5094         Likewise.
5095         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5096         Likewise.
5097         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5098         (__lll_timedlock_elision, __lll_lock_elision)
5099         (__lll_unlock_elision, __lll_trylock_elision)
5100         (lll_timedlock_elision, lll_lock_elision)
5101         (lll_unlock_elision, lll_trylock_elision): Add.
5102         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5103         (pthread_mutex_t): Add lock elision support for s390.
5104
5105 2014-05-14  Wilco  <wdijkstr@arm.com>
5106
5107         * sysdeps/arm/fclrexcpt.c: Cleanup.
5108         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5109         * sysdeps/arm/feenablxcpt.c: Cleanup.
5110         * sysdeps/arm/fegetenv.c: Cleanup.
5111         * sysdeps/arm/fegetexcept.c: Cleanup.
5112         * sysdeps/arm/fegetround.c: Cleanup.
5113         * sysdeps/arm/feholdexcpt.c: Cleanup.
5114         * sysdeps/arm/fesetenv.c: Cleanup.
5115         * sysdeps/arm/fesetround.c: Cleanup.
5116         * sysdeps/arm/feupdateenv.c: Cleanup.
5117         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5118         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5119         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5120         * sysdeps/arm/ftestexcept.c: Cleanup.
5121         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5122         * sysdeps/arm/setfpucw.c: Cleanup.
5123
5124 2014-05-09  Will Newton  <will.newton@linaro.org>
5125
5126         * sysdeps/arm/armv7/strcmp.S: New file.
5127         * NEWS: Mention addition of ARMv7 optimized strcmp.
5128
5129 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5130
5131         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5132         look for %.ac rather than %.in.
5133
5134         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5135         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5136         * sysdeps/mach/hurd/configure: Regenerated.
5137         * sysdeps/unix/sysv/linux/configure: Regenerated.
5138
5139         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5140
5141 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5142
5143         [BZ# 16922]
5144         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5145         (LONG_SUB): Ditto.
5146         (PTR_SUB): Ditto.
5147
5148 2014-05-07  Andreas Schwab  <schwab@suse.de>
5149
5150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5151         when skipping over non-matching result from nscd.
5152
5153 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5154
5155         [BZ #16876]
5156         * nptl/sockperf.c (client): Check socket return value.
5157
5158         [BZ #16877]
5159         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5160         nscd security class.
5161
5162 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5163
5164         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5165         * sysdeps/arm/unwind.h: ... here.
5166
5167 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5168
5169         [BZ# 16916]
5170         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5171         Define.
5172
5173 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5174
5175         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5176         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5177         multiarch strncpy for PPC64.
5178         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5179         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5181         multiarch optimizations.
5182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5183         (__libc_ifunc_impl_list): Likewise.
5184         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5185         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5186         multiarch stpncpy for PPC64.
5187         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5188         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5189
5190 2014-05-06  Andreas Schwab  <schwab@suse.de>
5191
5192         [BZ #16912]
5193         * gmon/mcount.c (_MCOUNT_DECL): Use
5194         atomic_compare_and_exchange_bool_acq instead of
5195         catomic_compare_and_exchange_bool_acq.
5196
5197 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5198
5199         * elf/Makefile (others, install-bin): Remove pldd.
5200         (pldd-modules): Variable removed.
5201         ($(objpfx)pldd): Target removed.
5202         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5203         (others, install-bin): Append pldd here.
5204         ($(objpfx)pldd): New target.
5205
5206         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5207         to 0, so the first #if test emitted later doesn't see it undefined.
5208         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5209         * sysdeps/gnu/errlist.c: Regenerated.
5210
5211 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5212
5213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5214         [libc_hidden_builtin_def]: Define to empty value.
5215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5216         [libc_hidden_builtin_def]: Likewise.
5217         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5218         [libc_hidden_builtin_def]: Likewise.
5219         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5220         [libc_hidden_builtin_def]: Likewise.
5221         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5222         __redirect_memcpy and define ifunc as default hidden symbol.
5223         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5224         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5225
5226 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5227
5228         * locale/iso-4217.def: Reintroduce XDR currency.
5229
5230 2014-05-04  Allan McRae  <allan@archlinux.org>
5231
5232         * po/eo.po: Update Esperanto translation from translation project.
5233
5234 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5235
5236         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5237         and FEATURE_INDEX_MAX to 1.
5238         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5239
5240 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5241
5242         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5243         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5244         * iconvdata/big5.c (ONE_DIRECTION): Define.
5245         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5246         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5247         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5248         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5249         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5250         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5251         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5252         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5253         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5254         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5255         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5256         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5257         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5258         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5259         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5260         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5261         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5262         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5263         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5264         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5265         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5266         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5267         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5268         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5269         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5270         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5271         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5272         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5273         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5274         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5275         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5276         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5277         * iconvdata/johab.c (ONE_DIRECTION): Define.
5278         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5279         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5280         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5281         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5282         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5283         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5284         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5285         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5286         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5287         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5288
5289 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5290
5291         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5292         (_IO_JUMPS_OFFSET): Define to 0.
5293
5294         * nptl/sysdeps/pthread/bits/libc-lock.h
5295         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5296         (__libc_lock_define_initialized_recursive): Always define using
5297         initializer.  Modern compilers treat uninitialized (implicit zero) and
5298         explicit zero initializers the same (i.e. put the datum in bss).
5299
5300 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5301
5302         * nscd/nscd-client.h: Include <string.h>.
5303
5304 2014-05-01  David S. Miller  <davem@davemloft.net>
5305
5306         [BZ #16885]
5307         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5308         multiple zero bytes exist at the end of a string.
5309         Reported by Aurelien Jarno <aurelien@aurel32.net>
5310
5311         * string/test-strcmp.c (check): Add explicit test for situations where
5312         there are multiple zero bytes after the first.
5313
5314 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5315
5316         [BZ #16890]
5317         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5318         when compiling wprintf.
5319         * stdio-common/tstdiomisc.c (t3): New function.
5320         (main): Call it.
5321
5322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5323
5324         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5325         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5326         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5327         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5328
5329 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5330
5331         * stdlib/longlong.h: Updated from GCC.
5332
5333 2014-05-01  Will Newton  <will.newton@linaro.org>
5334             Bernard Ogden  <bernie.ogden@linaro.org>
5335
5336         * NEWS: Update fixed bug list.
5337
5338         [BZ #15119]
5339         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5340
5341 2014-04-30  David S. Miller  <davem@davemloft.net>
5342
5343         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5344         (libc_feholdexcept_setround_sparc_ctx): New function.
5345         (libc_fesetenv_sparc_ctx): Likewise.
5346         (libc_feupdateenv_sparc_ctx): Likewise.
5347         (libc_feholdsetround_sparc_ctx): Likewise.
5348         (libc_feholdexcept_setround_ctx): Define.
5349         (libc_feholdexcept_setroundf_ctx): Likewise.
5350         (libc_feholdexcept_setroundl_ctx): Likewise.
5351         (libc_fesetenv_ctx): Likewise.
5352         (libc_fesetenvf_ctx): Likewise.
5353         (libc_fesetenvl_ctx): Likewise.
5354         (libc_feupdateenv_ctx): Likewise.
5355         (libc_feupdateenvf_ctx): Likewise.
5356         (libc_feupdateenvl_ctx): Likewise.
5357         (libc_feresetround_ctx): Likewise.
5358         (libc_feresetroundf_ctx): Likewise.
5359         (libc_feresetroundl_ctx): Likewise.
5360         (libc_feholdsetround_ctx): Likewise.
5361         (libc_feholdsetroundf_ctx): Likewise.
5362         (libc_feholdsetroundl_ctx): Likewise.
5363
5364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5365         with __USE_GNU instead of XOPEN cpp guards.
5366
5367         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5368         0.
5369
5370         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5371         with XOPEN cpp guards.
5372
5373 2014-04-30  Julian Brown  <julian@codesourcery.com>
5374
5375         [BZ #16888]
5376         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5377         handling.
5378
5379 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5380
5381         [BZ #9894]
5382         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5383         Change to 2.6.32.
5384         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5385         * sysdeps/unix/sysv/linux/configure: Regenerated.
5386         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5387         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5388         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5389         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5390         * README: Update reference to required Linux kernel version.
5391         * manual/install.texi (Linux): Update reference to required Linux
5392         kernel headers version.
5393         * INSTALL: Regenerated.
5394
5395         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5396         header inclusion.
5397         [POSIX] (limits.h): Likewise.
5398         [POSIX] (math.h): Likewise.
5399         [POSIX] (sys/wait.h): Likewise.
5400         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5401         function.
5402         [POSIX] (stddef.h): Do not allow header inclusion.
5403
5404 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5405
5406         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5407
5408 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5409
5410         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5411         Return immediately after lll_futex_wake.
5412
5413 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5414
5415         [BZ #16791]
5416         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5417         structure.
5418         (datahead_init_pos): Call datahead_init_common early.
5419         (datahead_init_neg): Likewise.
5420
5421         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5422         datahead_init_neg): New functions.
5423         * nscd/aicache.c (addhstaiX): Use them.
5424         * nscd/grpcache.c (cache_addgr): Likewise.
5425         * nscd/hstcache.c (cache_addhst): Likewise.
5426         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5427         * nscd/netgroupcache.c (do_notfound): Likewise.
5428         (addgetnetgrentX): Likewise.
5429         (addinnetgrX): Likewise.
5430         * nscd/pwdcache.c (cache_addpw): Likewise.
5431         * nscd/servicescache.c (cache_addserv): Likewise.
5432
5433 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5434             Atsushi Onoe  <atsushi@onoe.org>
5435
5436         [BZ #14308]
5437         [BZ #12994]
5438         [BZ #13651]
5439         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5440         one response is valid.
5441         * resolv/res_send.c (send_dg): Check for validity of other
5442         response if the current response is a referral.
5443
5444 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5445
5446         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5447
5448 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5449
5450         [BZ #16823]
5451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5452         Always divide by positive zero when computing -Inf result.
5453         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5454         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5455
5456 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5457
5458         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5459         FPSCR if value do not change.
5460         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5461         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5462         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5463         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5464         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5465         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5466         function.
5467
5468 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5469
5470         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5471         * sysdeps/unix/sysv/linux/hppa: Move directory from
5472         ports/systeps/unix/sysv/linux/hppa.
5473         * README: Update listing for hppa-*-linux-gnu.
5474
5475 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5476
5477         [BZ #16754]
5478         * manual/stdio.texi (Hook functions): Fix types of stream hook
5479         functions.
5480         [BZ #16854]
5481         * socket/sys/socket.h: Fix typo in comment.
5482
5483 2014-04-28  Wilco  <wdijkstr@arm.com>
5484
5485         * sysdeps/arm/fenv_private.h: New file.
5486         * sysdeps/arm/math_private.h: New file.
5487         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5488
5489 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5490
5491         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5492         with __int128_t.
5493         (La_x86_64_retval): Likewise.
5494
5495 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5496
5497         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5498         fpsr if value didn't change.
5499         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5500         to fpcr if value didn't change.
5501         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5502         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5503         fpsr or fpcr if value didn't change.
5504         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5505         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5506         fpcr if value didn't change.
5507         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5508         to fpsr if value didn't change.
5509
5510 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511
5512         * nptl/tst-sem3.c: Use test-skeleton.c
5513         (main): Rename to do_test.  Use return instead of
5514         exit.
5515         * nptl/tst-sem4.c: Use test-skeleton.c
5516         (main): Rename to do_test.
5517
5518 2014-04-22  David S. Miller  <davem@davemloft.net>
5519
5520         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5521         (struct sigaction): New struct member __glibc_reserved0, change
5522         type of sa_flags to int.
5523
5524 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5525
5526         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5527         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5528
5529 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5530
5531         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5532         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5533
5534 2014-04-22  Will Newton  <will.newton@linaro.org>
5535             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5536
5537         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5538         (__longjmp): Add longjmp and longjmp_target SystemTap
5539         probes.
5540         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5541         (__sigsetjmp): Add setjmp SystemTap probe.
5542
5543 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5544
5545         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5546         match manual order.
5547
5548 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5551
5552         * sysdeps/powerpc/fpu/fenv_private.h
5553         (libc_feholdexcept_setroundl_ctx): Define to
5554         libc_feholdexcept_setround_ppc_ctx.
5555         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5556         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5557         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5558         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5559
5560 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5561
5562         * sysdeps/aarch64/math-tests.h: New file.
5563
5564 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5565
5566         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5567         New.
5568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5569         Check and set bit_AVX2_Usable.
5570         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5571         macro.
5572         (bit_AVX2): Likewise.
5573         (index_AVX2_Usable): Likewise.
5574         (CPUID_AVX2): Likewise.
5575         (HAS_AVX2): Likewise.
5576
5577 2014-04-17  Will Newton  <will.newton@linaro.org>
5578
5579         * manual/setjmp.texi (System V contexts): Add note that
5580         calling setcontext on a context created by a call to a
5581         signal handler is undefined.  Update text to note that
5582         setcontext from a signal handler is possible but not
5583         recommended.
5584
5585         [BZ #16629]
5586         * stdlib/tst-setcontext.c: Include signal.h.
5587         (main): Check that the signal stack before and
5588         after swapcontext is the same.
5589
5590         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5591         Re-implement to restore registers in user code and avoid
5592         rt_sigreturn system call.
5593
5594 2014-04-17  Wilco  <wdijkstr@arm.com>
5595
5596         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5597         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5598         * math/test-fenv.c: Skip exception trap tests on targets which only
5599         support non-stop mode.
5600
5601 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5602             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5603
5604         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5605         (libc_feholdsetround_aarch64_ctx)
5606         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5607         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5608         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5609         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5610         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5611         (libc_feresetround_noexl_ctx): Define.
5612
5613 2014-04-16  Richard Henderson  <rth@redhat.com>
5614
5615         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5616
5617         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5618         unwind tables.
5619
5620         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5621         const from the non-libc, non-ldso copy.
5622
5623         * sysdeps/alpha/libm-test-ulps: Regenerate.
5624
5625 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5626             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5627
5628         * sysdeps/aarch64/fpu/math_private.h: New file.
5629
5630 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5631
5632         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5633
5634 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5635
5636         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5637         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5639         Intel MPX bound registers before _dl_profile_fixup.
5640         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5641         registers after _dl_profile_fixup.  Save and restore bound
5642         registers bnd0/bnd1 when calling _dl_call_pltexit.
5643         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5644         (LR_BND_OFFSET): Likewise.
5645         (LRV_BND0_OFFSET): Likewise.
5646         (LRV_BND1_OFFSET): Likewise.
5647
5648 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5649
5650         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5651         to...
5652         * sysdeps/mach/hurd/i386/tls.h: ... here.
5653         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5654         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5655         fields.
5656
5657 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5658
5659         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5660
5661 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5662
5663         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5664
5665 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5666
5667         [BZ #14770]
5668         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5669         * sysdeps/s390/configure: Regenerate.
5670
5671         [BZ #16824]
5672         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5673         Set round-to-nearest internally to reduce error accumulation.
5674
5675 2014-04-16  Alan Modra  <amodra@gmail.com>
5676
5677         [BZ #16740]
5678         [BZ #16619]
5679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5680         * math/libm-test.inc (frexp_test_data): Add tests.
5681         * NEWS: Update fixed bug list.
5682
5683 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5684
5685         * benchtests/Makefile: Depend on libraries in build directory.
5686         (bench-math): Separate out math tests.
5687         (bench-pthread): Separate out pthread tests.
5688         (bench): Include math and pthread tests.
5689
5690 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5691
5692         [BZ #16831]
5693         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5694         _dl_debug_initialize.
5695
5696         * configure.ac: Remove SELinux header check.
5697         * configure: Regenerate.
5698         * nscd/selinux.c (perms): Array of const char* to permission names.
5699         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5700         default policy. Call string_to_security_class and string_to_av_perm to
5701         translate strings. Enforce default policy and call avs_has_perm with
5702         results of translated strings.
5703
5704 2014-04-13  David S. Miller  <davem@davemloft.net>
5705
5706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5707
5708 2014-04-12  Allan McRae  <allan@archlinux.org>
5709
5710         [BZ #16838]
5711         * manual/string.texi (Collation Functions): Fix qsort argument
5712         order in example.
5713         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5714
5715 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5716
5717         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5718         Make the test a no-op if there are no exceptions defined.
5719
5720 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5721
5722         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5723         enable-hardcoded-path-in-tests
5724
5725 2014-04-11  Will Newton  <will.newton@linaro.org>
5726
5727         * benchtests/Makefile (extra-objs): Add json-lib.o.
5728         (bench-func): Tidy up JSON output.
5729         * benchtests/bench-skeleton.c: Include json-lib.h.
5730         (main): Use JSON library functions to do output of
5731         benchmark results.
5732         * benchtests/bench-timing-type.c (main): Output the
5733         timing type simply, leaving formatting to the user.
5734         * benchtests/json-lib.c: New file.
5735         * benchtests/json-lib.h: Likewise.
5736
5737 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5738
5739         [BZ #15215]
5740         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5741         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5742         memory barriers.  Add comments.
5743         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5744         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5745         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5746         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5747         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5748         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5749
5750 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5751
5752         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5753         * sysdeps/s390/s390-64/configure.ac: ... this ...
5754         * sysdeps/s390/configure.ac: ... to here.
5755         * sysdeps/s390/s390-32/configure: Delete file.
5756         * sysdeps/s390/s390-64/configure: Delete file.
5757         * sysdeps/s390/configure: Regenerate.
5758
5759 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5760
5761         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5762
5763 2014-04-11  Will Newton  <will.newton@linaro.org>
5764
5765         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5766         to zero if it is not defined elsewhere.  (mtrim): Test
5767         the value of MALLOC_DEBUG with #if rather than #ifdef.
5768
5769 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5770
5771         * benchtests/pthread_once-inputs: New file.
5772         * benchtests/pthread_once-source.c: New file.
5773         * benchtests/README: Update documentation.
5774
5775 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5776             H.J. Lu  <hongjiu.lu@intel.com>
5777
5778         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5779         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5780         * sysdeps/x86_64/configure: Regenerated.
5781         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5782         macro.
5783         (REGISTER_SAVE_RAX): Likewise.
5784         (REGISTER_SAVE_RCX): Likewise.
5785         (REGISTER_SAVE_RDX): Likewise.
5786         (REGISTER_SAVE_RSI): Likewise.
5787         (REGISTER_SAVE_RDI): Likewise.
5788         (REGISTER_SAVE_R8): Likewise.
5789         (REGISTER_SAVE_R9): Likewise.
5790         (REGISTER_SAVE_BND0): Likewise.
5791         (REGISTER_SAVE_BND1): Likewise.
5792         (REGISTER_SAVE_BND2): Likewise.
5793         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5794         bound registers when calling _dl_fixup.
5795
5796 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5797
5798         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5799         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5800         of its definition.
5801         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5802         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5803         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5804         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5805         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5806         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5807         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5808
5809 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5810
5811         [BZ #15514]
5812         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5813         pathconf(_PC_NAME_MAX).
5814
5815 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5816
5817         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5818         Remove macro usage.
5819         (__PTHREAD_SPINS): Move definition to ...
5820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5821         (__PTHREAD_SPINS): ... here.
5822         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5823         (__PTHREAD_SPIN): Likewise.
5824         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5825         (__PTHREAD_SPIN): Likewise.
5826         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5827         (__PTHREAD_SPIN): Likewise.
5828         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5829         (__PTHREAD_SPIN): Likewise.
5830         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5831         (__PTHREAD_SPIN): Likewise.
5832         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5833         (__PTHREAD_SPIN): Likewise.
5834         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5835         (__PTHREAD_SPIN): Likewise.
5836         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5837         (__PTHREAD_SPIN): Likewise.
5838         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5839         (__PTHREAD_SPIN): Likewise.
5840         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5841         (__PTHREAD_SPIN): Likewise.
5842         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5843         (__PTHREAD_SPIN): Likewise.
5844         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5845         (__PTHREAD_SPIN): Likewise.
5846
5847         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5848         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5849         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5850         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5851         imply folder.
5852         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5853         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5854         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5855         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5856         correct imply path.
5857         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5858         strlen symbol for non multi-arch builds.
5859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5860         missing hidden_def and weak_alias.
5861
5862 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5863
5864         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5865
5866 2014-04-07  Will Newton  <will.newton@linaro.org>
5867
5868         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5869         and contents.  [!_LIBC] Remove #ifndef and contents.
5870         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5871         * string/memccpy.c (__memccpy): Use ANSI prototype.
5872         * string/memfrob.c (memfrob): Likewise.
5873         * string/strcoll.c (STRCOLL): Likewise.
5874         * string/strlen.c (strlen): Likewise.
5875         * string/strtok.c (STRTOK): Likewise.
5876         * string/strcat.c: Remove unused #include of memcopy.h.
5877         (strcat): Use ANSI prototype.
5878         * string/strchr.c: Remove unused #include of memcopy.h.
5879         (strchr): Use ANSI prototype.
5880         * string/strcmp.c: Remove unused #include of memcopy.h.
5881         (strcmp): Use ANSI prototype.
5882         * string/strcpy.c: Remove unused #include of memcopy.h.
5883         (strcpy): Use ANSI prototype.
5884
5885 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5886
5887         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5888         * config.make.in (config-extra-cppflags): Set it from
5889         libc_extra_cppflags.
5890         * configure.ac (libc_extra_cflags): Make it accumulate over
5891         configure fragments.
5892         (libc_extra_cppflags): New flag.
5893         * configure. Regenerate.
5894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5895         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5896         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5898
5899         [BZ #16815]
5900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5901         result for FE_DOWNWARD rounding mode.
5902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5903         Likewise.
5904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5905
5906 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5907
5908         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5909         in function argument name.
5910
5911 2014-04-03  David Svoboda  <svoboda@cert.org>
5912
5913         [BZ #5666]
5914         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5915         explicitly.
5916
5917 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5918
5919         * elf/dl-unmap-segments.h: New file.
5920         * sysdeps/generic/ldsodefs.h
5921         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5922         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5923         * elf/dl-fptr.c: Likewise.
5924         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5925         * sysdeps/aarch64/tlsdesc.c: Likewise.
5926         * sysdeps/arm/tlsdesc.c: Likewise.
5927         * sysdeps/i386/tlsdesc.c: Likewise.
5928         * sysdeps/tile/dl-runtime.c: Likewise.
5929         * sysdeps/x86_64/tlsdesc.c: Likewise.
5930         * elf/dl-load.h: New file.
5931         * elf/dl-load.c: Include it.
5932         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5933         Macros moved to dl-load.h.
5934         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5935         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5936         Use _dl_unmap_segments in place of __munmap.
5937         Break out segment-mapping loop into ...
5938         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5939
5940 2014-04-03  Will Newton  <will.newton@linaro.org>
5941
5942         * elf/dl-lookup.c (do_lookup_x): Remove comment
5943         referring to nested function and move variable
5944         declarations down to before first use.
5945
5946 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5947
5948         [BZ #16799]
5949         [BZ #16800]
5950         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5951         with 0 numerator.
5952         * math/s_catanf.c (__catanf): Likewise.
5953         * math/s_catanh.c (__catanh): Likewise.
5954         * math/s_catanhf.c (__catanhf): Likewise.
5955         * math/s_catanhl.c (__catanhl): Likewise.
5956         * math/s_catanl.c (__catanl): Likewise.
5957         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5958         by positive zero when computing -Inf result.
5959         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5960         (catanh_test): Likewise.
5961         * sysdeps/i386/fpu/libm-test-ulps: Update.
5962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5963
5964         [BZ #16789]
5965         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5966         instead of using underflowing value in computing result.
5967         * math/s_clog10.c (__clog10): Likewise.
5968         * math/s_clog10f.c (__clog10f): Likewise.
5969         * math/s_clog10l.c (__clog10l): Likewise.
5970         * math/s_clogf.c (__clogf): Likewise.
5971         * math/s_clogl.c (__clogl): Likewise.
5972         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5973         (clog10_test): Likewise.
5974         * sysdeps/i386/fpu/libm-test-ulps: Update.
5975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5976
5977 2014-04-02  Alan Modra  <amodra@gmail.com>
5978
5979         [BZ #16739]
5980         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5981         output when value is near a power of two.  Use int64_t for lx and
5982         remove casts.  Use decimal rather than hex exponent constants.
5983         Don't use long double multiplication when double will suffice.
5984         * math/libm-test.inc (nextafter_test_data): Add tests.
5985         * NEWS: Add 16739 and 16786 to bug list.
5986
5987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5988
5989         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5990
5991 2014-04-01  Will Newton  <will.newton@linaro.org>
5992
5993         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5994         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5995
5996 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5997
5998         [BZ #13347]
5999         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6000         * nptl/tst-setuid2.c: New file.
6001         * nptl/Makefile (xtests): Add tst-setuid2.
6002
6003 2014-04-01  Alan Modra  <amodra@gmail.com>
6004
6005         [BZ #16786]
6006         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6007
6008 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6009
6010         [BZ #6803]
6011         [BZ #6804]
6012         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6013         set errno as appropriate.
6014         * math/w_scalbf.c (__scalbf): Likewise.
6015         * math/w_scalbl.c (__scalbl): Likewise.
6016         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6017         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6018         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6019         Add more NaN tests.
6020
6021         [BZ #16349]
6022         * math/w_atan2.c: Include <errno.h>.
6023         (__atan2): Set errno for result underflowing to zero.
6024         * math/w_atan2f.c: Include <errno.h>.
6025         (__atan2f): Set errno for result underflowing to zero.
6026         * math/w_atan2l.c: Include <errno.h>.
6027         (__atan2l): Set errno for result underflowing to zero.
6028         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6029         tests.
6030         * math/auto-libm-test-out: Regenerated.
6031
6032 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6033
6034         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6035         Encode instruction correctly in little endian.
6036         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6037         Likewise.
6038         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6039         Likewise.
6040         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6041         Likewise.
6042         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6043         Likewise.
6044
6045 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6046
6047         [BZ #9894]
6048         * sysdeps/unix/sysv/linux/kernel-features.h
6049         [__sparc__ && !__arch64__ && !__sparc_v9__]
6050         (__ASSUME_SET_ROBUST_LIST): Do not define.
6051         [__sparc__ && !__arch64__ && !__sparc_v9__]
6052         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6053         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6056         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6057         (__ASSUME_REQUEUE_PI): Likewise.
6058         (__ASSUME_SET_ROBUST_LIST): Likewise.
6059         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6060         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6061         Undefine.
6062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6063         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6064         Likewise.
6065         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6066         Likewise.
6067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6068         Likewise.
6069         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6070         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6071         Undefine.
6072         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6073         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6074         Likewise.
6075
6076         [BZ #16648]
6077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6078         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6079         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6080
6081 2014-03-31  Will Newton  <will.newton@linaro.org>
6082
6083         * benchtests/Makefile (bench): Add ffs and ffsll to list
6084         of tests.
6085         * benchtests/ffs-inputs: New file.
6086         * benchtests/ffsll-inputs: Likewise.
6087
6088 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6089
6090         [BZ #16770]
6091         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6092         too large before casting to int.
6093         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6094         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6095         * math/libm-test.inc (scalb_test_data): Add more tests.
6096
6097 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6098
6099         * benchtests/Makefile (DETAILED_OPT): New make option.
6100         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6101         set.
6102         * benchtests/bench-skeleton.c: Include stdbool.h.
6103         (main): Store and print timings per input.
6104         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6105         member to each argument value.
6106         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6107         (_print_arg_data): Initialize per-input timing to 0.
6108
6109         * benchtests/Makefile (timing-type): New binary.
6110         (bench-clean): Also remove bench-timing-type.
6111         (bench): New target for timing-type.
6112         (bench-func): Print output in JSON format.
6113         * benchtests/bench-skeleton.c (main): Print output in JSON
6114         format.
6115         * benchtests/bench-timing-type.c: New file.
6116         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6117         (TIMING_PRINT_STATS): Remove.
6118         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6119         name separately.
6120
6121         * benchtests/bench-modf.c: Remove.
6122         * benchtests/modf-inputs: New inputs file.
6123
6124 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6125
6126         [BZ #16362]
6127         * math/s_clog10.c (M_PI_LOG10E): New macro.
6128         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6129         imaginary parts are 0.
6130         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6131         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6132         imaginary parts are 0.
6133         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6134         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6135         imaginary parts are 0.
6136         * math/libm-test.inc (clog10_test_data): Update expected results
6137         for when real and imaginary parts are 0.
6138
6139 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6140
6141         * elf/dl-load.c: Finish conversion of __builtin_expect into
6142         __glibc_{un}likely.
6143
6144 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6145
6146         [BZ #16348]
6147         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6148         1+x for argument with exponent below -67.
6149         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6150         Likewise.
6151         * math/auto-libm-test-in: Add more tests of exp.
6152         * math/auto-libm-test-out: Regenerated.
6153
6154 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6155
6156         [BZ #16759]
6157         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6158         (nscd_getnetgrent): Use it.
6159
6160         [BZ #16760]
6161         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6162         of stpcpy.
6163
6164 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6165
6166         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6167         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6168         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6169         (lll_robust_unlock): Remove out of line section. Use cfi
6170         intrinsics.
6171         (LLL_STUB_UNWIND_INFO*): Remove.
6172         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6173         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6174         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6175         (lll_robust_unlock): Remove out of line section. Use cfi
6176         intrinsics.
6177         (LLL_STUB_UNWIND_INFO*): Remove.
6178
6179 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6180
6181         [BZ #16758]
6182         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6183         blank values.
6184
6185 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6186
6187         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6188
6189 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6190
6191         [BZ #16198]
6192         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6193         fnstenv.
6194         * math/test-fenv-preserve.c: New file.
6195         * math/Makefile (tests): Add test-fenv-preserve.
6196
6197 2014-03-26  Will Newton <will.newton@linaro.org>
6198
6199         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6200
6201 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6202
6203         * scripts/versionlist.awk: Partition the version sets and emit all
6204         GLIBC_* (sorted) before all others (sorted).
6205
6206 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6207
6208         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6209         GLIBC_2.2.5 version.
6210
6211 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6212
6213         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6214         calls.
6215
6216         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6217         previous change.
6218
6219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6220
6221 2014-03-25  Andreas Schwab  <schwab@suse.de>
6222
6223         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6224         label to be used after in6ailist is initialized.
6225
6226 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6227
6228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6229         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6230
6231 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6232
6233         [BZ #16357]
6234         [BZ #16599]
6235         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6236         min_plus_half.
6237         (fp_formats): Update initializers.
6238         (init_fp_formats): Initialize new field.
6239         (output_for_one_input_case): Allow underflow for results up to
6240         min_plus_half.
6241         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6242         * math/auto-libm-test-in: Don't mark some underflows from asin and
6243         atanh as spurious.
6244         * math/auto-libm-test-out: Regenerated.
6245         * sysdeps/i386/fpu/libm-test-ulps: Update.
6246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6247
6248 2014-03-25  Andreas Schwab  <schwab@suse.de>
6249
6250         * libio/Makefile (tst-ftell-partial-wide-ENV)
6251         (tst-ftell-active-handler-ENV): Define.
6252
6253 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6254
6255         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6256
6257 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6258
6259         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6260
6261 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6262
6263         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6264         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6265         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6266
6267 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6268
6269         [BZ #16634]
6270         * elf/dl-load.c (open_verify): Add mode parameter.
6271         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6272         (open_path): Change from boolean 'secure' to complete flag 'mode'
6273         (_dl_map_object): Adjust.
6274         * elf/Makefile (tests): Add tst-dlopen-aout.
6275         * elf/tst-dlopen-aout.c: New test.
6276
6277 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6278
6279         [BZ #16714]
6280         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6281         (struct stat): Rename member pad0 to __glibc_reserved0.
6282
6283         [BZ #16712]
6284         * sysdeps/s390/s390-32/bits/wordsize.h
6285         (__WORDSIZE32_SIZE_ULONG): New define.
6286         * sysdeps/s390/s390-64/bits/wordsize.h
6287         (__WORDSIZE32_SIZE_ULONG): Likewise.
6288         * sysdeps/generic/stdint.h (SIZE_MAX):
6289         Define as UL if __WORDSIZE32_SIZE_ULONG.
6290
6291         [BZ #16713]
6292         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6293         (__glibc_reserved0): New variable.
6294         (sa_flags): Change type to int.
6295
6296         * posix/Makefile (before-compile): Use += before-compile instead
6297         of a :=.
6298
6299         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6300         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6301
6302 2014-03-20  Andreas Schwab  <schwab@suse.de>
6303
6304         [BZ #16743]
6305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6306         non-matching result from nscd.
6307
6308 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6309
6310         * scripts/bench.py: Moved to ...
6311         * benchtests/scripts/bench.py: ... here.
6312         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6313
6314 2014-03-24  Andreas Schwab  <schwab@suse.de>
6315
6316         [BZ #16002]
6317         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6318         alloca_account and account alloca use for struct in6ailist.
6319
6320 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6321
6322         [BZ #16284]
6323         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6324         rounding mode to recompute results that overflow to infinity or
6325         underflow to zero.
6326         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6327         bug 16284.
6328         * math/auto-libm-test-out: Regenerated.
6329         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6330         (ccosh_test): Likewise.
6331         (csin_test_data): Use plus_oflow.
6332         (csin_test): Use ALL_RM_TEST.
6333         (csinh_test_data): Use plus_oflow.
6334         (csinh_test): Use ALL_RM_TEST.
6335         * sysdeps/i386/fpu/libm-test-ulps: Update.
6336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6337
6338 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6339
6340         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6341         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6342         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6343
6344         [BZ #16731]
6345         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6346         when x - 1 is zero.
6347         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6348         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6349         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6350         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6351         argument is 1.
6352         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6353         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6354         zero.
6355         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6356         * sysdeps/i386/fpu/libm-test-ulps: Update.
6357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6358
6359 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6360
6361         * scripts/bench.pl: Remove file.
6362         * scripts/bench.py: New benchmark script.
6363         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6364         * benchtests/README: Mention python dependency.
6365         * scripts/pylintrc: New file.
6366         * scripts/pylint: New file.
6367
6368         * bits/mathdef.h: Use #ifdef instead of #if.
6369         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6370         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6371         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6372         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6373         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6374         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6375
6376 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6377             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6378
6379         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6381         and strpbrk-ppc64 objects.
6382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6383         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6384         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6385         multiarch strpbrk for POWER7.
6386         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6387         multiarch strpbrk for PPC64.
6388         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6389         ifunc selector.
6390         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6391         strpbrk for POWER7.
6392
6393 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6394
6395         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6396         (atan_test): Likewise.
6397         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6398         (atanh_test): Use ALL_RM_TEST.
6399         (atan2_test_data): Likewise.
6400         (cabs_test): Likewise.
6401         (cacosh_test): Likewise.
6402         (carg_test): Likewise.
6403         (casin_test): Likewise.
6404         (casinh_test): Likewise.
6405         (cbrt_test): Likewise.
6406         (csqrt_test): Likewise.
6407         (erf_test): Likewise.
6408         (erfc_test): Likewise.
6409         (pow10_test): Likewise.
6410         (exp2_test): Likewise.
6411         (hypot_test): Likewise.
6412         (j0_test): Likewise.
6413         (j1_test): Likewise.
6414         (lgamma_test): Likewise.
6415         (gamma_test): Likewise.
6416         (sincos_test): Likewise.
6417         (tanh_test): Likewise.
6418         (y0_test): Likewise.
6419         (y1_test): Likewise.
6420         * sysdeps/i386/fpu/libm-test-ulps: Update.
6421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422
6423 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6424
6425         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6427         and strcspn-ppc64 objects.
6428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6429         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6430         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6431         multiarch strcspn for POWER7.
6432         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6433         multiarch strcspn for PPC64.
6434         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6435         ifunc selector.
6436         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6437         strcspn for POWER7.
6438
6439 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6440
6441         * math/gen-libm-test.pl (generate_testfile): Expect only function
6442         name as argument to AUTO_TESTS_* and pass results for all rounding
6443         modes to parse_args.
6444         (parse_auto_input): Separate inputs of automatic tests from
6445         outputs before storing in %auto_tests.
6446         * math/libm-test.inc (acos_test_data): Update call to
6447         AUTO_TESTS_f_f.
6448         (acos_test): Use ALL_RM_TEST.
6449         (acos_tonearest_test_data): Remove.
6450         (acos_test_tonearest): Likewise.
6451         (acos_towardzero_test_data): Likewise.
6452         (acos_test_towardzero): Likewise.
6453         (acos_downward_test_data): Likewise.
6454         (acos_test_downward): Likewise.
6455         (acos_upward_test_data): Likewise.
6456         (acos_test_upward): Likewise.
6457         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6458         (asin_test_data): Likewise.
6459         (asin_test): Use ALL_RM_TEST.
6460         (asin_tonearest_test_data): Remove.
6461         (asin_test_tonearest): Likewise.
6462         (asin_towardzero_test_data): Likewise.
6463         (asin_test_towardzero): Likewise.
6464         (asin_downward_test_data): Likewise.
6465         (asin_test_downward): Likewise.
6466         (asin_upward_test_data): Likewise.
6467         (asin_test_upward): Likewise.
6468         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6469         (atan_test_data): Likewise.
6470         (atanh_test_data): Likewise.
6471         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6472         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6473         (carg_test_data): Likewise.
6474         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6475         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6476         (ccosh_test_data): Likewise.
6477         (cexp_test_data): Likewise.
6478         (clog_test_data): Likewise.
6479         (clog10_test_data): Likewise.
6480         (cos_test_data): Update call to AUTO_TESTS_f_f.
6481         (cos_test): Use ALL_RM_TEST.
6482         (cos_tonearest_test_data): Remove.
6483         (cos_test_tonearest): Likewise.
6484         (cos_towardzero_test_data): Likewise.
6485         (cos_test_towardzero): Likewise.
6486         (cos_downward_test_data): Likewise.
6487         (cos_test_downward): Likewise.
6488         (cos_upward_test_data): Likewise.
6489         (cos_test_upward): Likewise.
6490         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6491         (cosh_test): Use ALL_RM_TEST.
6492         (cosh_tonearest_test_data): Remove.
6493         (cosh_test_tonearest): Likewise.
6494         (cosh_towardzero_test_data): Likewise.
6495         (cosh_test_towardzero): Likewise.
6496         (cosh_downward_test_data): Likewise.
6497         (cosh_test_downward): Likewise.
6498         (cosh_upward_test_data): Likewise.
6499         (cosh_test_upward): Likewise.
6500         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6501         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6502         (ctan_test_data): Likewise.
6503         (ctan_test): Use ALL_RM_TEST.
6504         (ctan_tonearest_test_data): Remove.
6505         (ctan_test_tonearest): Likewise.
6506         (ctan_towardzero_test_data): Likewise.
6507         (ctan_test_towardzero): Likewise.
6508         (ctan_downward_test_data): Likewise.
6509         (ctan_test_downward): Likewise.
6510         (ctan_upward_test_data): Likewise.
6511         (ctan_test_upward): Likewise.
6512         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6513         (ctanh_test): Use ALL_RM_TEST.
6514         (ctanh_tonearest_test_data): Remove.
6515         (ctanh_test_tonearest): Likewise.
6516         (ctanh_towardzero_test_data): Likewise.
6517         (ctanh_test_towardzero): Likewise.
6518         (ctanh_downward_test_data): Likewise.
6519         (ctanh_test_downward): Likewise.
6520         (ctanh_upward_test_data): Likewise.
6521         (ctanh_test_upward): Likewise.
6522         (erf_test_data): Update call to AUTO_TESTS_f_f.
6523         (erfc_test_data): Likewise.
6524         (exp_test_data): Likewise.
6525         (exp_test): Use ALL_RM_TEST.
6526         (exp_tonearest_test_data): Remove.
6527         (exp_test_tonearest): Likewise.
6528         (exp_towardzero_test_data): Likewise.
6529         (exp_test_towardzero): Likewise.
6530         (exp_downward_test_data): Likewise.
6531         (exp_test_downward): Likewise.
6532         (exp_upward_test_data): Likewise.
6533         (exp_test_upward): Likewise.
6534         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6535         (exp10_test): Use ALL_RM_TEST.
6536         (exp10_tonearest_test_data): Remove.
6537         (exp10_test_tonearest): Likewise.
6538         (exp10_towardzero_test_data): Likewise.
6539         (exp10_test_towardzero): Likewise.
6540         (exp10_downward_test_data): Likewise.
6541         (exp10_test_downward): Likewise.
6542         (exp10_upward_test_data): Likewise.
6543         (exp10_test_upward): Likewise.
6544         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6545         (expm1_test_data): Likewise.
6546         (expm1_test): Use ALL_RM_TEST.
6547         (expm1_tonearest_test_data): Remove.
6548         (expm1_test_tonearest): Likewise.
6549         (expm1_towardzero_test_data): Likewise.
6550         (expm1_test_towardzero): Likewise.
6551         (expm1_downward_test_data): Likewise.
6552         (expm1_test_downward): Likewise.
6553         (expm1_upward_test_data): Likewise.
6554         (expm1_test_upward): Likewise.
6555         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6556         (fma_test): Use ALL_RM_TEST.
6557         (fma_towardzero_test_data): Remove.
6558         (fma_test_towardzero): Likewise.
6559         (fma_downward_test_data): Likewise.
6560         (fma_test_downward): Likewise.
6561         (fma_upward_test_data): Likewise.
6562         (fma_test_upward): Likewise.
6563         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6564         (j0_test_data): Update call to AUTO_TESTS_f_f.
6565         (j1_test_data): Likewise.
6566         (jn_test_data): Update call to AUTO_TESTS_if_f.
6567         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6568         (log_test_data): Update call to AUTO_TESTS_f_f.
6569         (log10_test_data): Likewise.
6570         (log1p_test_data): Likewise.
6571         (log2_test_data): Likewise.
6572         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6573         (pow_tonearest_test_data): Likewise.
6574         (sin_test_data): Update call to AUTO_TESTS_f_f.
6575         (sin_test): Use ALL_RM_TEST.
6576         (sin_tonearest_test_data): Remove.
6577         (sin_test_tonearest): Likewise.
6578         (sin_towardzero_test_data): Likewise.
6579         (sin_test_towardzero): Likewise.
6580         (sin_downward_test_data): Likewise.
6581         (sin_test_downward): Likewise.
6582         (sin_upward_test_data): Likewise.
6583         (sin_test_upward): Likewise.
6584         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6585         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6586         (sinh_test): Use ALL_RM_TEST.
6587         (sinh_tonearest_test_data): Remove.
6588         (sinh_test_tonearest): Likewise.
6589         (sinh_towardzero_test_data): Likewise.
6590         (sinh_test_towardzero): Likewise.
6591         (sinh_downward_test_data): Likewise.
6592         (sinh_test_downward): Likewise.
6593         (sinh_upward_test_data): Likewise.
6594         (sinh_test_upward): Likewise.
6595         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6596         (sqrt_test): Use ALL_RM_TEST.
6597         (sqrt_tonearest_test_data): Remove.
6598         (sqrt_test_tonearest): Likewise.
6599         (sqrt_towardzero_test_data): Likewise.
6600         (sqrt_test_towardzero): Likewise.
6601         (sqrt_downward_test_data): Likewise.
6602         (sqrt_test_downward): Likewise.
6603         (sqrt_upward_test_data): Likewise.
6604         (sqrt_test_upward): Likewise.
6605         (tan_test_data): Update call to AUTO_TESTS_f_f.
6606         (tan_test): Use ALL_RM_TEST.
6607         (tan_tonearest_test_data): Remove.
6608         (tan_test_tonearest): Likewise.
6609         (tan_towardzero_test_data): Likewise.
6610         (tan_test_towardzero): Likewise.
6611         (tan_downward_test_data): Likewise.
6612         (tan_test_downward): Likewise.
6613         (tan_upward_test_data): Likewise.
6614         (tan_test_upward): Likewise.
6615         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6616         (tgamma_test_data): Likewise.
6617         (y0_test_data): Likewise.
6618         (y1_test_data): Likewise.
6619         (yn_test_data): Update call to AUTO_TESTS_if_f.
6620         (main): Do not call removed functions.
6621
6622 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6623
6624         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6625         (ldexp_test_data): Remove.
6626         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6627         scalbn_test_data.
6628         (scalb_test): Use ALL_RM_TEST.
6629
6630 2014-03-19  Andreas Schwab  <schwab@suse.de>
6631
6632         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6633
6634 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6635
6636         [BZ #16649]
6637         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6638         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6639         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6641         (__ASSUME_PREADV): Undefine.
6642         (__ASSUME_PWRITEV): Likewise.
6643
6644 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6645
6646         * bits/mman-linux.h: Add comment about non-Linux use.
6647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6648         bits/mman-linux.h resting place.
6649
6650         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6651         * bits/mman-linux.h: ... here.
6652
6653 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6654
6655         * conform/conformtest.pl: Add standard definition when calling C
6656         preprocessor on data files.
6657         (checknamespace): Remove unused variable.
6658
6659 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6660
6661         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6662         minus_oflow, plus_uflow and minus_uflow in expected results.
6663         * math/libm-test.inc (scalbn_test_data): Add more tests of
6664         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6665         minus_uflow.
6666         (scalbn_test): Use ALL_RM_TEST.
6667         (scalbln_test_data): Add more tests of negative arguments.  Use
6668         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6669         (scalbln_test): Use ALL_RM_TEST.
6670
6671 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6672
6673         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6674
6675 2014-03-18  Will Newton  <will.newton@linaro.org>
6676
6677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6678         inaccurate comment.
6679
6680 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6681
6682         * Makerules [!subdir] (check-abi): Exit with error status if a
6683         test failed.
6684
6685 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6686
6687         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6688         for rint.  Include results for all rounding modes.
6689         (nearbyint_test): Use ALL_RM_TEST.
6690         (rint_test_data): Include all tests used for nearbyint.
6691
6692 2014-03-17  Will Newton  <will.newton@linaro.org>
6693
6694         * nptl/sysdeps/pthread/pthread.h: Revert previous
6695         change.
6696
6697         * sysdeps/generic/ldsodefs.h: Revert previous
6698         change.
6699
6700         * libio/genops.c: Revert previous change.
6701         * libio/libioP.h: Likewise.
6702         * stdio-common/vfprintf.c: Likewise.
6703
6704         * sysdeps/generic/math_private.h: Revert previous
6705         change.
6706
6707         * sysdeps/generic/math_private.h: Check whether
6708         HAVE_RM_CTX is defined with #ifdef rather
6709         than #if.
6710
6711         * argp/argp-fmtstream.h: Check whether
6712         __STRICT_ANSI__ is defined with #ifdef rather
6713         than #if.
6714         * argp/argp.h: Likewise.
6715
6716         * libio/genops.c: Check whether
6717         _IO_JUMPS_OFFSET is defined with #ifdef rather
6718         than #if.
6719         * libio/libioP.h: Likewise.
6720         * stdio-common/vfprintf.c: Likewise.
6721
6722         * sysdeps/generic/ldsodefs.h: Check whether
6723         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6724         than #if.
6725
6726         * nptl/sysdeps/pthread/pthread.h: Check
6727         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6728         its value.
6729
6730 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6731
6732         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6733         setting O_APPEND.
6734         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6735         test case.
6736
6737         [BZ #16680]
6738         * libio/fileops.c (_IO_file_open): Seek to end of file but
6739         don't cache the offset.
6740         (get_file_offset): Remove function.
6741         (do_ftell): Use cached offset when available.
6742         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6743         don't cache the offset.
6744         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6745         case.
6746         (do_one_test): Call it.
6747         (do_ftell_test): Fix up expected old offset for a+ mode.
6748         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6749         available.
6750
6751         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6752         up test status with function return status.
6753         (do_write_test): Likewise.
6754         (do_append_test): Likewise.
6755
6756         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6757         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6758         Remove.
6759
6760 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6761
6762         * math/gen-libm-test.pl (parse_args): Handle results specified for
6763         each rounding mode separately.
6764         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6765         tests and results from lrint_tonearest_test_data,
6766         lrint_towardzero_test_data, lrint_downward_test_data and
6767         lrint_upward_test_data.
6768         (lrint_test): Use ALL_RM_TEST.
6769         (lrint_tonearest_test_data): Remove.
6770         (lrint_test_tonearest): Likewise.
6771         (lrint_towardzero_test_data): Likewise.
6772         (lrint_test_towardzero): Likewise.
6773         (lrint_downward_test_data): Likewise.
6774         (lrint_test_downward): Likewise.
6775         (lrint_upward_test_data): Likewise.
6776         (lrint_test_upward): Likewise.
6777         (llrint_test_data): Merge in per-rounding-mode tests and results
6778         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6779         llrint_downward_test_data and llrint_upward_test_data.
6780         (llrint_test): Use ALL_RM_TEST.
6781         (llrint_tonearest_test_data): Remove.
6782         (llrint_test_tonearest): Likewise.
6783         (llrint_towardzero_test_data): Likewise.
6784         (llrint_test_towardzero): Likewise.
6785         (llrint_downward_test_data): Likewise.
6786         (llrint_test_downward): Likewise.
6787         (llrint_upward_test_data): Likewise.
6788         (llrint_test_upward): Likewise.
6789         (rint_test_data): Merge in per-rounding-mode tests and results
6790         from rint_tonearest_test_data, rint_towardzero_test_data,
6791         rint_downward_test_data and rint_upward_test_data.  Add
6792         per-rounding-mode results for tests not in those arrays.
6793         (rint_test): Use ALL_RM_TEST.
6794         (rint_tonearest_test_data): Remove.
6795         (rint_test_tonearest): Likewise.
6796         (rint_towardzero_test_data): Likewise.
6797         (rint_test_towardzero): Likewise.
6798         (rint_downward_test_data): Likewise.
6799         (rint_test_downward): Likewise.
6800         (rint_upward_test_data): Likewise.
6801         (rint_test_upward): Likewise.
6802         (main): Don't call removed functions.
6803
6804 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6805
6806         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6807         "Compiled on ..." crapola.  It is anti-useful.
6808
6809 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6810
6811         * scripts/evaluate-test.sh: Handle fourth argument to determine
6812         whether test run should stop on failure.
6813         * Makeconfig (stop-on-test-failure): New variable.
6814         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6815         $(stop-on-test-failure).
6816         * Makefile (tests): Give a summary of results from testing and
6817         exit with failure status if they include an ERROR or FAIL.
6818         (xtests): Likewise.
6819         * manual/install.texi (Configuring and compiling): Mention
6820         stop-on-test-failure=y.
6821         * INSTALL: Regenerated.
6822
6823 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6824
6825         * scripts/versionlist.awk: New file.
6826         * Makerules [$(build-shared) = yes]
6827         (postclean-generated): Add Versions.def, not Versions.def.v and
6828         Versions.def.v.i.
6829         ($(common-objpfx)Versions.def.v.i): Target removed.
6830         ($(common-objpfx)Versions.def): New target.
6831         ($(common-objpfx)Versions.all): Depend on that rather that
6832         $(common-objpfx)Versions.def.v.
6833         * Versions.def: File removed.
6834
6835         * Makeconfig (+gccwarn): Add -Wundef.
6836         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6837         a dl-sysdep.h breaking its contract.
6838         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6839         * include/stackinfo.h: New file.
6840         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6841         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6842         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6843         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6844         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6845         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6846         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6847         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6848         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6849         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6850         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6851         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6852         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6853         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6854         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6855
6856 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6857
6858         [BZ #16707]
6859         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6860         implementation.
6861         * math/libm-test.inc (round_test_data): Add more tests.
6862
6863         [BZ #16706]
6864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6865         implementation.
6866         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6867
6868         [BZ #16701]
6869         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6870         implementation.
6871         * math/libm-test.inc (ceil_test_data): Add more tests.
6872
6873         * math/libm-test.inc (trunc_test_data): Add more tests related to
6874         BZ#16414.
6875
6876 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6877
6878         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6879         with #if rather than #ifdef.
6880         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6881
6882 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6883
6884         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6885         first.  Disable AVX-512 GCC support if assembler doesn't support
6886         it.
6887         * sysdeps/x86_64/configure: Regenerated.
6888
6889 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6890
6891         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6892         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6893         (__old_pthread_attr_setstack): Likewise.
6894         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6895         [!_STACK_GROWS_DOWN]: Likewise.
6896
6897 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6898
6899         * config.make.in (have-bash2): Delete.
6900         * configure.ac (libc_cv_have_bash2): Delete.
6901         * configure: Regenerate.
6902         * elf/Makefile (common-ldd-rewrite): Rename to ...
6903         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6904         (sh-ldd-rewrite): Delete.
6905         (bash-ldd-rewrite): Delete.
6906         (have-bash2): Delete checks.
6907         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6908         ldd-rewrite.
6909
6910         * config.make.in (have-ksh): Delete.
6911         (KSH): Delete.
6912         * configure.ac (libc_cv_have_ksh): Delete.
6913         * configure: Regenerate.
6914
6915         * elf/Makefile: Delete $(have-ksh) check.
6916         ($(objpfx)sotruss): Change KSH to BASH.
6917         * elf/sotruss.ksh: Rename to ...
6918         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6919         function style to match POSIX.  Drop ksh vim mode setting.
6920
6921         * manual/time.texi (Specifying the Time Zone with TZ): Change
6922         Tuesday to Thursday.
6923
6924         * debug/tst-longjmp_chk2.c: Update header comment.
6925         (stackoverflow_handler): Add comment.  Call assert on pass value.
6926
6927 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6928
6929         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6930         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6931         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6932         (La_x86_64_vector): Add zmm.
6933         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6934         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6935         ($(objpfx)tst-audit10): New target.
6936         ($(objpfx)tst-audit10.out): Likewise.
6937         (tst-audit10-ENV): New.
6938         (AVX512-CFLAGS): Likewise.
6939         (CFLAGS-tst-audit10.c): Likewise.
6940         (CFLAGS-tst-auditmod10a.c): Likewise.
6941         (CFLAGS-tst-auditmod10b.c): Likewise.
6942         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6943         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6944         * sysdeps/x86_64/configure: Regenerated.
6945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6946         AVX-512 zmm register support.
6947         (_dl_x86_64_save_sse): Likewise.
6948         (_dl_x86_64_restore_sse): Likewise.
6949         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6950         size vector registers.
6951         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6952         (ZMM_SIZE): Likewise.
6953         * sysdeps/x86_64/tst-audit10.c: New file.
6954         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6955         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6956
6957 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6958
6959         * configure.ac (HAVE_EHDR_START): New check.
6960         * configure: Regenerated.
6961         * config.h.in (HAVE_EHDR_START): New #undef.
6962         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6963         assuming the lowest-addressed segment maps the start of the file.
6964
6965 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6966
6967         * INSTALL: Regenerated.
6968
6969 2014-03-13  Will Newton  <will.newton@linaro.org>
6970
6971         * manual/setjmp.texi (System V contexts): Improve
6972         clarity and grammar of documentation.
6973
6974 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6975
6976         [BZ #16381]
6977         * elf/Makefile (tests): Add tst-pie2.
6978         (tests-pie): Add tst-pie2.
6979         * elf/tst-pie2.c: New file.
6980         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6981         for ET_EXEC.
6982         * elf/rtld.c (map_doit): Load executable as lt_executable.
6983         (dl_main): Likewise.
6984
6985 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6986
6987         [BZ #16642]
6988         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6989         (__ASSUME_PSELECT): Undefine.
6990
6991 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6992
6993         [BZ #16689]
6994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6995         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6996         static build.
6997         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6998         selector for static builds.
6999
7000 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7001
7002         [BZ #16695]
7003         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7004         key in the buffer.
7005
7006 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7007
7008         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7009         IFUNC selector for static builds.
7010
7011 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7012
7013         * sysdeps/mips/math_private.h [__mips_hard_float]
7014         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7015         libc_feresetround_mips_ctx.
7016         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7017         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7018         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7019
7020         [BZ #16677]
7021         * math/s_nextafter.c (__nextafter): Do not return value from
7022         overflowing computation.
7023         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7024         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7025         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7026         Likewise.
7027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7028         Likewise.
7029         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7030         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7031
7032 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7033
7034         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7035         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7036         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7037         the new mov targetting sp.
7038
7039 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7040
7041         [BZ #16683]
7042         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7043         Define it for static builds as well.
7044         (NO_BZERO_IMPL): Likewise.
7045
7046 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7047
7048         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7049         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7050         multiarch strspn for PPC64.
7051         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7052         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7054         (__libc_ifunc_impl_list): Likewise.
7055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7056         multiarch optimizations
7057         * string/strspn.c (strspn): Using macro to redefine symbol name.
7058
7059 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7060             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7061
7062         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7063         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7064         multiarch strncat for PPC64.
7065         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7066         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7068         (__libc_ifunc_impl_list): Likewise.
7069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7070         multiarch optimizations
7071
7072 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7073
7074         [BZ #16639]
7075         * nscd/nscd.service: Make service type forking.
7076
7077 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7078
7079         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7080         sign in non default rounding modes.
7081         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7082
7083 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7084
7085         * math/libm-test.inc (ALL_RM_TEST): New macro.
7086         (ceil_test): Use ALL_RM_TEST.
7087         (cimag_test): Likewise.
7088         (conj_test): Likewise.
7089         (copysign_test): Likewise.
7090         (cproj_test): Likewise.
7091         (creal_test): Likewise.
7092         (fabs_test): Likewise.
7093         (floor_test): Likewise.
7094         (fmax_test): Likewise.
7095         (fmin_test): Likewise.
7096         (fmod_test): Likewise.
7097         (fpclassify_test): Likewise.
7098         (frexp_test): Likewise.
7099         (ilogb_test): Likewise.
7100         (isfinite_test): Likewise.
7101         (finite_test): Likewise.
7102         (isgreater_test): Likewise.
7103         (isgreaterequal_test): Likewise.
7104         (isinf_test): Likewise.
7105         (isless_test): Likewise.
7106         (islessequal_test): Likewise.
7107         (islessgreater_test): Likewise.
7108         (isnan_test): Likewise.
7109         (isnormal_test): Likewise.
7110         (issignaling_test): Likewise.
7111         (isunordered_test): Likewise.
7112         (logb_test): Likewise.
7113         (logb_downward_test_data): Remove.
7114         (logb_test_downward): Likewise.
7115         (lround_test): Use ALL_RM_TEST.
7116         (llround_test): Likewise.
7117         (modf_test): Likewise.
7118         (nexttoward_test): Likewise.
7119         (remainder_test): Likewise.
7120         (drem_test): Likewise.
7121         (remainder_tonearest_test_data): Likewise.
7122         (remainder_test_tonearest): Likewise.
7123         (drem_test_tonearest): Likewise.
7124         (remainder_towardzero_test_data): Likewise.
7125         (remainder_test_towardzero): Likewise.
7126         (drem_test_towardzero): Likewise.
7127         (remainder_downward_test_data): Likewise.
7128         (remainder_test_downward): Likewise.
7129         (drem_test_downward): Likewise.
7130         (remainder_upward_test_data): Likewise.
7131         (remainder_test_upward): Likewise.
7132         (drem_test_upward): Likewise.
7133         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7134         (round_test): Use ALL_RM_TEST.
7135         (signbit_test): Likewise.
7136         (trunc_test): Likewise.
7137         (significand_test): Likewise.
7138         (main): Don't call removed functions.
7139
7140 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7141
7142         [BZ #16674]
7143         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7144         || __USE_XOPEN2K8].
7145         (ILL_ILLOPN): Likewise.
7146         (ILL_ILLADR): Likewise.
7147         (ILL_ILLTRP): Likewise.
7148         (ILL_PRVOPC): Likewise.
7149         (ILL_PRVREG): Likewise.
7150         (ILL_COPROC): Likewise.
7151         (ILL_BADSTK): Likewise.
7152         (FPE_INTDIV): Likewise.
7153         (FPE_INTOVF): Likewise.
7154         (FPE_FLTDIV): Likewise.
7155         (FPE_FLTOVF): Likewise.
7156         (FPE_FLTUND): Likewise.
7157         (FPE_FLTRES): Likewise.
7158         (FPE_FLTINV): Likewise.
7159         (FPE_FLTSUB): Likewise.
7160         (SEGV_MAPERR): Likewise.
7161         (SEGV_ACCERR): Likewise.
7162         (BUS_ADRALN): Likewise.
7163         (BUS_ADRERR): Likewise.
7164         (BUS_OBJERR): Likewise.
7165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7166         (TRAP_TRACE): Likewise.
7167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7168         __USE_XOPEN2K8].
7169         (CLD_KILLED): Likewise.
7170         (CLD_DUMPED): Likewise.
7171         (CLD_TRAPPED): Likewise.
7172         (CLD_STOPPED): Likewise.
7173         (CLD_CONTINUED): Likewise.
7174         (POLL_IN): Likewise.
7175         (POLL_OUT): Likewise.
7176         (POLL_MSG): Likewise.
7177         (POLL_ERR): Likewise.
7178         (POLL_PRI): Likewise.
7179         (POLL_HUP): Likewise.
7180         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7181         Likewise.
7182         (ILL_ILLOPN): Likewise.
7183         (ILL_ILLADR): Likewise.
7184         (ILL_ILLTRP): Likewise.
7185         (ILL_PRVOPC): Likewise.
7186         (ILL_PRVREG): Likewise.
7187         (ILL_COPROC): Likewise.
7188         (ILL_BADSTK): Likewise.
7189         (FPE_INTDIV): Likewise.
7190         (FPE_INTOVF): Likewise.
7191         (FPE_FLTDIV): Likewise.
7192         (FPE_FLTOVF): Likewise.
7193         (FPE_FLTUND): Likewise.
7194         (FPE_FLTRES): Likewise.
7195         (FPE_FLTINV): Likewise.
7196         (FPE_FLTSUB): Likewise.
7197         (SEGV_MAPERR): Likewise.
7198         (SEGV_ACCERR): Likewise.
7199         (BUS_ADRALN): Likewise.
7200         (BUS_ADRERR): Likewise.
7201         (BUS_OBJERR): Likewise.
7202         (BUS_MCEERR_AR): Likewise.
7203         (BUS_MCEERR_AO): Likewise.
7204         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7205         (TRAP_TRACE): Likewise.
7206         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7207         __USE_XOPEN2K8].
7208         (CLD_KILLED): Likewise.
7209         (CLD_DUMPED): Likewise.
7210         (CLD_TRAPPED): Likewise.
7211         (CLD_STOPPED): Likewise.
7212         (CLD_CONTINUED): Likewise.
7213         (POLL_IN): Likewise.
7214         (POLL_OUT): Likewise.
7215         (POLL_MSG): Likewise.
7216         (POLL_ERR): Likewise.
7217         (POLL_PRI): Likewise.
7218         (POLL_HUP): Likewise.
7219         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7220         (ILL_ILLOPN): Likewise.
7221         (ILL_ILLADR): Likewise.
7222         (ILL_ILLTRP): Likewise.
7223         (ILL_PRVOPC): Likewise.
7224         (ILL_PRVREG): Likewise.
7225         (ILL_COPROC): Likewise.
7226         (ILL_BADSTK): Likewise.
7227         (FPE_INTDIV): Likewise.
7228         (FPE_INTOVF): Likewise.
7229         (FPE_FLTDIV): Likewise.
7230         (FPE_FLTOVF): Likewise.
7231         (FPE_FLTUND): Likewise.
7232         (FPE_FLTRES): Likewise.
7233         (FPE_FLTINV): Likewise.
7234         (FPE_FLTSUB): Likewise.
7235         (SEGV_MAPERR): Likewise.
7236         (SEGV_ACCERR): Likewise.
7237         (BUS_ADRALN): Likewise.
7238         (BUS_ADRERR): Likewise.
7239         (BUS_OBJERR): Likewise.
7240         (BUS_MCEERR_AR): Likewise.
7241         (BUS_MCEERR_AO): Likewise.
7242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7243         (TRAP_TRACE): Likewise.
7244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7245         __USE_XOPEN2K8].
7246         (CLD_KILLED): Likewise.
7247         (CLD_DUMPED): Likewise.
7248         (CLD_TRAPPED): Likewise.
7249         (CLD_STOPPED): Likewise.
7250         (CLD_CONTINUED): Likewise.
7251         (POLL_IN): Likewise.
7252         (POLL_OUT): Likewise.
7253         (POLL_MSG): Likewise.
7254         (POLL_ERR): Likewise.
7255         (POLL_PRI): Likewise.
7256         (POLL_HUP): Likewise.
7257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7258         Likewise.
7259         (ILL_ILLOPN): Likewise.
7260         (ILL_ILLADR): Likewise.
7261         (ILL_ILLTRP): Likewise.
7262         (ILL_PRVOPC): Likewise.
7263         (ILL_PRVREG): Likewise.
7264         (ILL_COPROC): Likewise.
7265         (ILL_BADSTK): Likewise.
7266         (ILL_BADIADDR): Likewise.
7267         (ILL_BREAK): Likewise.
7268         (FPE_INTDIV): Likewise.
7269         (FPE_INTOVF): Likewise.
7270         (FPE_FLTDIV): Likewise.
7271         (FPE_FLTOVF): Likewise.
7272         (FPE_FLTUND): Likewise.
7273         (FPE_FLTRES): Likewise.
7274         (FPE_FLTINV): Likewise.
7275         (FPE_FLTSUB): Likewise.
7276         (FPE_DECOVF): Likewise.
7277         (FPE_DECDIV): Likewise.
7278         (FPE_DECERR): Likewise.
7279         (FPE_INVASC): Likewise.
7280         (FPE_INVDEC): Likewise.
7281         (SEGV_MAPERR): Likewise.
7282         (SEGV_ACCERR): Likewise.
7283         (SEGV_PSTKOVF): Likewise.
7284         (BUS_ADRALN): Likewise.
7285         (BUS_ADRERR): Likewise.
7286         (BUS_OBJERR): Likewise.
7287         (BUS_MCEERR_AR): Likewise.
7288         (BUS_MCEERR_AO): Likewise.
7289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7290         (TRAP_TRACE): Likewise.
7291         (TRAP_BRANCH): Likewise.
7292         (TRAP_HWBKPT): Likewise.
7293         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7294         __USE_XOPEN2K8].
7295         (CLD_KILLED): Likewise.
7296         (CLD_DUMPED): Likewise.
7297         (CLD_TRAPPED): Likewise.
7298         (CLD_STOPPED): Likewise.
7299         (CLD_CONTINUED): Likewise.
7300         (POLL_IN): Likewise.
7301         (POLL_OUT): Likewise.
7302         (POLL_MSG): Likewise.
7303         (POLL_ERR): Likewise.
7304         (POLL_PRI): Likewise.
7305         (POLL_HUP): Likewise.
7306         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7307         (ILL_ILLOPN): Likewise.
7308         (ILL_ILLADR): Likewise.
7309         (ILL_ILLTRP): Likewise.
7310         (ILL_PRVOPC): Likewise.
7311         (ILL_PRVREG): Likewise.
7312         (ILL_COPROC): Likewise.
7313         (ILL_BADSTK): Likewise.
7314         (FPE_INTDIV): Likewise.
7315         (FPE_INTOVF): Likewise.
7316         (FPE_FLTDIV): Likewise.
7317         (FPE_FLTOVF): Likewise.
7318         (FPE_FLTUND): Likewise.
7319         (FPE_FLTRES): Likewise.
7320         (FPE_FLTINV): Likewise.
7321         (FPE_FLTSUB): Likewise.
7322         (SEGV_MAPERR): Likewise.
7323         (SEGV_ACCERR): Likewise.
7324         (BUS_ADRALN): Likewise.
7325         (BUS_ADRERR): Likewise.
7326         (BUS_OBJERR): Likewise.
7327         (BUS_MCEERR_AR): Likewise.
7328         (BUS_MCEERR_AO): Likewise.
7329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7330         (TRAP_TRACE): Likewise.
7331         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7332         __USE_XOPEN2K8].
7333         (CLD_KILLED): Likewise.
7334         (CLD_DUMPED): Likewise.
7335         (CLD_TRAPPED): Likewise.
7336         (CLD_STOPPED): Likewise.
7337         (CLD_CONTINUED): Likewise.
7338         (POLL_IN): Likewise.
7339         (POLL_OUT): Likewise.
7340         (POLL_MSG): Likewise.
7341         (POLL_ERR): Likewise.
7342         (POLL_PRI): Likewise.
7343         (POLL_HUP): Likewise.
7344         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7345         (ILL_ILLOPN): Likewise.
7346         (ILL_ILLADR): Likewise.
7347         (ILL_ILLTRP): Likewise.
7348         (ILL_PRVOPC): Likewise.
7349         (ILL_PRVREG): Likewise.
7350         (ILL_COPROC): Likewise.
7351         (ILL_BADSTK): Likewise.
7352         (FPE_INTDIV): Likewise.
7353         (FPE_INTOVF): Likewise.
7354         (FPE_FLTDIV): Likewise.
7355         (FPE_FLTOVF): Likewise.
7356         (FPE_FLTUND): Likewise.
7357         (FPE_FLTRES): Likewise.
7358         (FPE_FLTINV): Likewise.
7359         (FPE_FLTSUB): Likewise.
7360         (SEGV_MAPERR): Likewise.
7361         (SEGV_ACCERR): Likewise.
7362         (BUS_ADRALN): Likewise.
7363         (BUS_ADRERR): Likewise.
7364         (BUS_OBJERR): Likewise.
7365         (BUS_MCEERR_AR): Likewise.
7366         (BUS_MCEERR_AO): Likewise.
7367         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7368         (TRAP_TRACE): Likewise.
7369         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7370         __USE_XOPEN2K8].
7371         (CLD_KILLED): Likewise.
7372         (CLD_DUMPED): Likewise.
7373         (CLD_TRAPPED): Likewise.
7374         (CLD_STOPPED): Likewise.
7375         (CLD_CONTINUED): Likewise.
7376         (POLL_IN): Likewise.
7377         (POLL_OUT): Likewise.
7378         (POLL_MSG): Likewise.
7379         (POLL_ERR): Likewise.
7380         (POLL_PRI): Likewise.
7381         (POLL_HUP): Likewise.
7382         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7383         (ILL_ILLOPN): Likewise.
7384         (ILL_ILLADR): Likewise.
7385         (ILL_ILLTRP): Likewise.
7386         (ILL_PRVOPC): Likewise.
7387         (ILL_PRVREG): Likewise.
7388         (ILL_COPROC): Likewise.
7389         (ILL_BADSTK): Likewise.
7390         (FPE_INTDIV): Likewise.
7391         (FPE_INTOVF): Likewise.
7392         (FPE_FLTDIV): Likewise.
7393         (FPE_FLTOVF): Likewise.
7394         (FPE_FLTUND): Likewise.
7395         (FPE_FLTRES): Likewise.
7396         (FPE_FLTINV): Likewise.
7397         (FPE_FLTSUB): Likewise.
7398         (SEGV_MAPERR): Likewise.
7399         (SEGV_ACCERR): Likewise.
7400         (BUS_ADRALN): Likewise.
7401         (BUS_ADRERR): Likewise.
7402         (BUS_OBJERR): Likewise.
7403         (BUS_MCEERR_AR): Likewise.
7404         (BUS_MCEERR_AO): Likewise.
7405         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7406         (TRAP_TRACE): Likewise.
7407         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7408         __USE_XOPEN2K8].
7409         (CLD_KILLED): Likewise.
7410         (CLD_DUMPED): Likewise.
7411         (CLD_TRAPPED): Likewise.
7412         (CLD_STOPPED): Likewise.
7413         (CLD_CONTINUED): Likewise.
7414         (POLL_IN): Likewise.
7415         (POLL_OUT): Likewise.
7416         (POLL_MSG): Likewise.
7417         (POLL_ERR): Likewise.
7418         (POLL_PRI): Likewise.
7419         (POLL_HUP): Likewise.
7420         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7421         (ILL_ILLOPN): Likewise.
7422         (ILL_ILLADR): Likewise.
7423         (ILL_ILLTRP): Likewise.
7424         (ILL_PRVOPC): Likewise.
7425         (ILL_PRVREG): Likewise.
7426         (ILL_COPROC): Likewise.
7427         (ILL_BADSTK): Likewise.
7428         (ILL_DBLFLT): Likewise.
7429         (ILL_HARDWALL): Likewise.
7430         (FPE_INTDIV): Likewise.
7431         (FPE_INTOVF): Likewise.
7432         (FPE_FLTDIV): Likewise.
7433         (FPE_FLTOVF): Likewise.
7434         (FPE_FLTUND): Likewise.
7435         (FPE_FLTRES): Likewise.
7436         (FPE_FLTINV): Likewise.
7437         (FPE_FLTSUB): Likewise.
7438         (SEGV_MAPERR): Likewise.
7439         (SEGV_ACCERR): Likewise.
7440         (BUS_ADRALN): Likewise.
7441         (BUS_ADRERR): Likewise.
7442         (BUS_OBJERR): Likewise.
7443         (BUS_MCEERR_AR): Likewise.
7444         (BUS_MCEERR_AO): Likewise.
7445         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7446         (TRAP_TRACE): Likewise.
7447         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7448         __USE_XOPEN2K8].
7449         (CLD_KILLED): Likewise.
7450         (CLD_DUMPED): Likewise.
7451         (CLD_TRAPPED): Likewise.
7452         (CLD_STOPPED): Likewise.
7453         (CLD_CONTINUED): Likewise.
7454         (POLL_IN): Likewise.
7455         (POLL_OUT): Likewise.
7456         (POLL_MSG): Likewise.
7457         (POLL_ERR): Likewise.
7458         (POLL_PRI): Likewise.
7459         (POLL_HUP): Likewise.
7460         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7461         (ILL_ILLOPN): Likewise.
7462         (ILL_ILLADR): Likewise.
7463         (ILL_ILLTRP): Likewise.
7464         (ILL_PRVOPC): Likewise.
7465         (ILL_PRVREG): Likewise.
7466         (ILL_COPROC): Likewise.
7467         (ILL_BADSTK): Likewise.
7468         (FPE_INTDIV): Likewise.
7469         (FPE_INTOVF): Likewise.
7470         (FPE_FLTDIV): Likewise.
7471         (FPE_FLTOVF): Likewise.
7472         (FPE_FLTUND): Likewise.
7473         (FPE_FLTRES): Likewise.
7474         (FPE_FLTINV): Likewise.
7475         (FPE_FLTSUB): Likewise.
7476         (SEGV_MAPERR): Likewise.
7477         (SEGV_ACCERR): Likewise.
7478         (BUS_ADRALN): Likewise.
7479         (BUS_ADRERR): Likewise.
7480         (BUS_OBJERR): Likewise.
7481         (BUS_MCEERR_AR): Likewise.
7482         (BUS_MCEERR_AO): Likewise.
7483         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7484         (TRAP_TRACE): Likewise.
7485         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7486         __USE_XOPEN2K8].
7487         (CLD_KILLED): Likewise.
7488         (CLD_DUMPED): Likewise.
7489         (CLD_TRAPPED): Likewise.
7490         (CLD_STOPPED): Likewise.
7491         (CLD_CONTINUED): Likewise.
7492         (POLL_IN): Likewise.
7493         (POLL_OUT): Likewise.
7494         (POLL_MSG): Likewise.
7495         (POLL_ERR): Likewise.
7496         (POLL_PRI): Likewise.
7497         (POLL_HUP): Likewise.
7498         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7499         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7500
7501         [BZ #16670]
7502         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7503         before #include of <time.h>.
7504         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7505         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7506         (test-xfail-UNIX98/sched.h/conform): Likewise.
7507
7508 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7509
7510         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7511         error absence of trapping exception support.
7512         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7513
7514 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7515
7516         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7517         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7518         * timezone/Makefile (testdata): Move definition above include of
7519         Rules.
7520         (test-zones): New variable.
7521         (tests-special): Add zone files.
7522         (build-testdata): Use $(evaluate-test).
7523
7524         * elf/Makefile (tests-special): Rename tests to end with .out.
7525         ($(objpfx)noload-mem): Likewise.
7526         ($(objpfx)tst-leaks1-mem): Likewise.
7527         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7528         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7529         $(objpfx)test-iconvconfig.out.
7530         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7531         set -e inside subshell and redirect output to file.
7532         * iconvdata/Makefile (generated): Rename tests to end with .out.
7533         Correct type.
7534         (tests-special): Rename tests to end with .out.
7535         ($(objpfx)mtrace-tst-loading): Likewise.
7536         * intl/Makefile (generated): Likewise.
7537         (tests-special): Likewise.
7538         ($(objpfx)mtrace-tst-gettext): Likewise.
7539         * misc/Makefile (generated): Likewise.
7540         (tests-special): Likewise.
7541         ($(objpfx)tst-error1-mem): Likewise.
7542         * nptl/Makefile (tests-special): Likewise.
7543         ($(objpfx)tst-stack3-mem): Likewise.
7544         (generated): Likewise.
7545         * posix/Makefile (generated): Likewise.
7546         (tests-special): Likewise.
7547         (xtests-special): Likewise.
7548         ($(objpfx)tst-fnmatch-mem): Likewise.
7549         ($(objpfx)bug-regex2-mem): Likewise.
7550         ($(objpfx)bug-regex14-mem): Likewise.
7551         ($(objpfx)bug-regex21-mem): Likewise.
7552         ($(objpfx)bug-regex31-mem): Likewise.
7553         ($(objpfx)tst-vfork3-mem): Likewise.
7554         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7555         ($(objpfx)tst-pcre-mem): Likewise.
7556         ($(objpfx)tst-boost-mem): Likewise.
7557         ($(objpfx)bug-ga2-mem): Likewise.
7558         ($(objpfx)bug-glob2-mem): Likewise.
7559         * resolv/Makefile (generate): Likewise.
7560         (tests-special): Likewise.
7561         (xtests-special): Likewise.
7562         (generated): Likewise.
7563         ($(objpfx)mtrace-tst-leaks): Likewise.
7564         ($(objpfx)mtrace-tst-leaks2): Likewise.
7565
7566         * scripts/merge-test-results.sh: New file.
7567         * Makefile (tests-special-notdir): New variable.
7568         (tests): Run merge-test-results.sh.
7569         (xtests): Likewise.
7570         * Rules (tests-special-notdir): New variable.
7571         (xtests-special-notdir): Likewise.
7572         (tests): Run merge-test-results.sh
7573         (xtests): Likewise.
7574
7575         * Makeconfig (test-xfail-name): New variable.
7576         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7577         compute variable name for expected failures.
7578         * conform/Makefile (conformtest-headers-data): New variable.
7579         (conformtest-standards): Likewise.
7580         (conformtest-headers-ISO): Likewise.
7581         (conformtest-headers-ISO99): Likewise.
7582         (conformtest-headers-ISO11): Likewise.
7583         (conformtest-headers-POSIX): Likewise.
7584         (conformtest-headers-XPG3): Likewise.
7585         (conformtest-headers-XPG4): Likewise.
7586         (conformtest-headers-UNIX98): Likewise.
7587         (conformtest-headers-XOPEN2K): Likewise.
7588         (conformtest-headers-POSIX2008): Likewise.
7589         (conformtest-headers-XOPEN2K8): Likewise.
7590         (conformtest-header-list-base): Likewise.
7591         (conformtest-header-list-tests): Likewise.
7592         (conformtest-header-base): Likewise.
7593         (conformtest-header-tests): Likewise.
7594         (tests-special): Add $(conformtest-header-list-tests).  If
7595         [$(fast-check) && !$(cross-compiling)], add
7596         $(conformtest-header-tests) instead of
7597         $(objpfx)run-conformtest.out.
7598         (generated): Add $(conformtest-header-list-base).  If
7599         [$(fast-check) && !$(cross-compiling)], add
7600         $(conformtest-header-base).  Remove previous setting.
7601         ($(conformtest-header-list-tests)): New target.
7602         (test-xfail-run-conformtest): Remove variable.
7603         ($(objpfx)run-conformtest.out): Remove target.
7604         (test-xfail-ISO11/complex.h/conform): New variable.
7605         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7606         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7607         (test-xfail-XPG3/varargs.h/conform): Likewise.
7608         (test-xfail-XPG4/varargs.h/conform): Likewise.
7609         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7610         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7611         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7612         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7613         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7614         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7615         (test-xfail-XPG3/ftw.h/conform): Likewise.
7616         (test-xfail-XPG3/grp.h/conform): Likewise.
7617         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7618         (test-xfail-XPG3/limits.h/conform): Likewise.
7619         (test-xfail-XPG3/pwd.h/conform): Likewise.
7620         (test-xfail-XPG3/search.h/conform): Likewise.
7621         (test-xfail-XPG3/signal.h/conform): Likewise.
7622         (test-xfail-XPG3/stdio.h/conform): Likewise.
7623         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7624         (test-xfail-XPG3/string.h/conform): Likewise.
7625         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7626         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7627         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7628         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7629         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7630         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7631         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7632         (test-xfail-XPG3/termios.h/conform): Likewise.
7633         (test-xfail-XPG3/time.h/conform): Likewise.
7634         (test-xfail-XPG3/unistd.h/conform): Likewise.
7635         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7636         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7637         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7638         (test-xfail-XPG4/netdb.h/conform): Likewise.
7639         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7640         (test-xfail-XPG4/signal.h/conform): Likewise.
7641         (test-xfail-XPG4/stdio.h/conform): Likewise.
7642         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7643         (test-xfail-XPG4/stropts.h/conform): Likewise.
7644         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7645         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7646         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7647         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7648         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7649         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7650         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7651         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7652         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7653         (test-xfail-XPG4/termios.h/conform): Likewise.
7654         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7655         (test-xfail-XPG4/unistd.h/conform): Likewise.
7656         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7657         (test-xfail-POSIX/sched.h/conform): Likewise.
7658         (test-xfail-POSIX/signal.h/conform): Likewise.
7659         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7660         (test-xfail-POSIX/tar.h/conform): Likewise.
7661         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7662         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7663         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7664         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7665         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7666         (test-xfail-UNIX98/sched.h/conform): Likewise.
7667         (test-xfail-UNIX98/signal.h/conform): Likewise.
7668         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7669         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7670         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7671         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7672         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7673         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7674         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7675         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7676         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7677         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7678         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7679         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7680         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7681         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7682         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7683         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7684         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7685         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7686         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7687         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7688         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7689         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7690         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7691         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7692         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7693         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7694         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7695         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7696         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7697         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7698         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7699         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7700         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7701         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7702         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7703         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7704         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7705         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7706         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7707         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7708         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7709         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7710         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7711         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7712         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7713         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7714         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7715         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7716         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7717         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7718         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7719         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7720         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7721         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7722         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7723         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7724         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7725         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7726         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7727         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7728         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7729         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7730         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7731         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7732         (conformtest-cc-flags): Likewise.
7733         ($(conformtest-header-tests): New target.
7734         * conform/check-header-lists.sh: New file.
7735         * conform/run-conformtest.sh: Remove.
7736
7737         * conform/conformtest.pl: Allow ' and \ in values given for
7738         constants.
7739         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7740         inclusion.
7741         [POSIX] (sys/types.h): Likewise.
7742         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7743         inclusion.
7744         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7745         inclusion.
7746         * conform/data/signal.h-data (SIGIO): Remove expectation.
7747         [XPG3] (SIGBUS): Do not expect.
7748         [POSIX || XPG3] (SIGPOLL): Likewise.
7749         [POSIX || XPG3] (SIGPROF): Likewise.
7750         [POSIX || XPG3] (SIGSYS): Likewise.
7751         [XPG3] (SIGTRAP): Likewise.
7752         [POSIX || XPG3] (SIGURG): Likewise.
7753         [POSIX || XPG3] (SIGVTALRM): Likewise.
7754         [POSIX || XPG3] (SIGXCPU): Likewise.
7755         [POSIX || XPG3] (SIGXFSZ): Likewise.
7756         [POSIX] (SA_SIGINFO): Expect.
7757         [XPG3] (siginfo_t): Do not expect type or contents.
7758         [POSIX] (si_pid): Do not expect element.
7759         [POSIX] (si_uid): Likewise.
7760         [POSIX] (si_addr): Likewise.
7761         [POSIX] (si_status): Likewise.
7762         [POSIX] (si_band): Likewise.
7763         [XPG4] (si_value): Likewise.
7764         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7765         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7766         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7767         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7768         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7769         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7770         [POSIX || XPG3] (ILL_COPROC): Likewise.
7771         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7772         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7773         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7774         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7775         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7776         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7777         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7778         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7779         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7780         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7781         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7782         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7783         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7784         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7785         [POSIX || XPG3] (CLD_EXITED): Likewise.
7786         [POSIX || XPG3] (CLD_KILLED): Likewise.
7787         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7788         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7789         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7790         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7791         [POSIX || XPG3] (POLL_IN): Likewise.
7792         [POSIX || XPG3] (POLL_OUT): Likewise.
7793         [POSIX || XPG3] (POLL_MSG): Likewise.
7794         [POSIX || XPG3] (POLL_ERR): Likewise.
7795         [POSIX || XPG3] (POLL_PRI): Likewise.
7796         [POSIX || XPG3] (POLL_HUP): Likewise.
7797         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7798         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7799         (SIG*): Do not allow.
7800         [XPG3] (si_*): Likewise.
7801         [XPG3] (SI_*): Likewise.
7802         [XPG3 || XPG4] (sigev_*): Likewise.
7803         [XPG3 || XPG4] (SIGEV_*): Likewise.
7804         [XPG3 || XPG4] (sival_*): Likewise.
7805         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7806         [POSIX || XPG3] (BUS_*): Likewise.
7807         [POSIX || XPG3] (CLD_*): Likewise.
7808         [POSIX || XPG3] (FPE_*): Likewise.
7809         [POSIX || XPG3] (ILL_*): Likewise.
7810         [POSIX || XPG3] (POLL_*): Likewise.
7811         [POSIX || XPG3] (SEGV_*): Likewise.
7812         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7813         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7814         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7815         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7816         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7817         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7818         Specify type and value.
7819         (TVERSLEN): Likewise.
7820         (REGTYPE): Likewise.
7821         (AREGTYPE): Likewise.
7822         (LNKTYPE): Likewise.
7823         (SYMTYPE): Likewise.
7824         (CHRTYPE): Likewise.
7825         (BLKTYPE): Likewise.
7826         (DIRTYPE): Likewise.
7827         (FIFOTYPE): Likewise.
7828         (CONTTYPE): Likewise.
7829         (TSUID): Likewise.
7830         (TSGID): Likewise.
7831         (TSVTX): Likewise.
7832         (TUREAD): Likewise.
7833         (TUWRITE): Likewise.
7834         (TUEXEC): Likewise.
7835         (TGREAD): Likewise.
7836         (TGWRITE): Likewise.
7837         (TGEXEC): Likewise.
7838         (TOREAD): Likewise.
7839         (TOWRITE): Likewise.
7840         (TOEXEC): Likewise.
7841         [POSIX] (TSVTX): Expect constant.
7842
7843 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7844
7845         * Makefile (tests): Change dependencies to ....
7846         (tests-special): ... additions to this variable.
7847         (tests): Depend on $(tests-special).
7848         * Makerules (check-abi-list): New variable.
7849         (check-abi): Depend on $(check-abi-list).
7850         [$(subdir) = elf] (tests-special): Add
7851         $(objpfx)check-abi-libc.out.
7852         [$(build-shared) = yes && subdir] (tests-special): Add
7853         $(check-abi-list).
7854         [$(build-shared) = yes && subdir] (tests): Do not depend on
7855         check-abi.
7856         * Rules (tests): Depend on $(tests-special).
7857         (xtests): Depend on $(xtests-special).
7858         * catgets/Makefile (tests): Change dependencies to ....
7859         (tests-special): ... additions to this variable.
7860         * conform/Makefile (tests): Change dependencies to ....
7861         (tests-special): ... additions to this variable.
7862         * elf/Makefile (tests): Change dependencies to ....
7863         (tests-special): ... additions to this variable.
7864         * grp/Makefile (tests): Change dependencies to ....
7865         (tests-special): ... additions to this variable.
7866         * iconv/Makefile (xtests): Change dependencies to ....
7867         (xtests-special): ... additions to this variable.
7868         * iconvdata/Makefile (tests): Change dependencies to ....
7869         (tests-special): ... additions to this variable.
7870         * intl/Makefile (tests): Change dependencies to ....
7871         (tests-special): ... additions to this variable.  Also add
7872         $(objpfx)tst-gettext.out.
7873         * io/Makefile (tests): Change dependencies to ....
7874         (tests-special): ... additions to this variable.
7875         * libio/Makefile (tests): Change dependencies to ....
7876         (tests-special): ... additions to this variable.
7877         * malloc/Makefile (tests): Change dependencies to ....
7878         (tests-special): ... additions to this variable.
7879         * misc/Makefile (tests): Change dependencies to ....
7880         (tests-special): ... additions to this variable.
7881         * nptl/Makefile (tests): Change dependencies to ....
7882         (tests-special): ... additions to this variable.
7883         * nptl_db/Makefile (tests): Change dependencies to ....
7884         (tests-special): ... additions to this variable.
7885         * posix/Makefile (tests): Change dependencies to ....
7886         (tests-special): ... additions to this variable.
7887         (xtests): Change dependencies to ....
7888         (xtests-special): ... additions to this variable.
7889         * resolv/Makefile (tests): Change dependencies to ....
7890         (tests-special): ... additions to this variable.
7891         (xtests): Change dependencies to ....
7892         (xtests-special): ... additions to this variable.
7893         * stdio-common/Makefile (tests): Change dependencies to ....
7894         (tests-special): ... additions to this variable.
7895         (do-tst-unbputc): Remove target.
7896         (do-tst-printf): Likewise.
7897         * stdlib/Makefile (tests): Change dependencies to ....
7898         (tests-special): ... additions to this variable.
7899         * string/Makefile (tests): Change dependencies to ....
7900         (tests-special): ... additions to this variable.
7901         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7902         (tests-special): ... additions to this variable.
7903
7904         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7905         whole file.
7906         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7907         whole file.
7908         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7909         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7910
7911         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7912         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7913         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7914         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7915         * conform/data/libgen.h-data [XPG3]: Likewise.
7916         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7917         * conform/data/ndbm.h-data [XPG3]: Likewise.
7918         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7919         * conform/data/netdb.h-data [XPG3]: Likewise.
7920         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7921         * conform/data/poll.h-data [XPG3]: Likewise.
7922         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7923         * conform/data/strings.h-data [XPG3]: Likewise.
7924         * conform/data/stropts.h-data [XPG3]: Likewise.
7925         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7926         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7927         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7928         Likewise.
7929         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7930         * conform/data/sys/time.h-data [XPG3]: Likewise.
7931         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7932         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7933         * conform/data/sys/un.h-data [XPG3]: Likewise.
7934         * conform/data/syslog.h-data [XPG3]: Likewise.
7935         * conform/data/ucontext.h-data [XPG3]: Likewise.
7936         * conform/data/utmpx.h-data [XPG3]: Likewise.
7937         * conform/data/varargs.h-data [UNIX98]: Enable file.
7938
7939         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7940
7941         * math/libm-test.inc (struct test_f_f_data): Move expected results
7942         into structure for each rounding mode.
7943         (struct test_ff_f_data): Likewise.
7944         (struct test_ff_f_data_nexttoward): Likewise.
7945         (struct test_fi_f_data): Likewise.
7946         (struct test_fl_f_data): Likewise.
7947         (struct test_if_f_data): Likewise.
7948         (struct test_fff_f_data): Likewise.
7949         (struct test_c_f_data): Likewise.
7950         (struct test_f_f1_data): Likewise.
7951         (struct test_fF_f1_data): Likewise.
7952         (struct test_ffI_f1_data): Likewise.
7953         (struct test_c_c_data): Likewise.
7954         (struct test_cc_c_data): Likewise.
7955         (struct test_f_i_data): Likewise.
7956         (struct test_ff_i_data): Likewise.
7957         (struct test_f_l_data): Likewise.
7958         (struct test_f_L_data): Likewise.
7959         (struct test_fFF_11_data): Likewise.
7960         (RM_): New macro.
7961         (RM_FE_DOWNWARD): Likewise.
7962         (RM_FE_TONEAREST): Likewise.
7963         (RM_FE_TOWARDZERO): Likewise.
7964         (RM_FE_UPWARD): Likewise.
7965         (RUN_TEST_LOOP_f_f): Update references to expected results.
7966         (RUN_TEST_LOOP_2_f): Likewise.
7967         (RUN_TEST_LOOP_fff_f): Likewise.
7968         (RUN_TEST_LOOP_c_f): Likewise.
7969         (RUN_TEST_LOOP_f_f1): Likewise.
7970         (RUN_TEST_LOOP_fF_f1): Likewise.
7971         (RUN_TEST_LOOP_fI_f1): Likewise.
7972         (RUN_TEST_LOOP_ffI_f1): Likewise.
7973         (RUN_TEST_LOOP_c_c): Likewise.
7974         (RUN_TEST_LOOP_cc_c): Likewise.
7975         (RUN_TEST_LOOP_f_i): Likewise.
7976         (RUN_TEST_LOOP_f_i_tg): Likewise.
7977         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7978         (RUN_TEST_LOOP_f_b): Likewise.
7979         (RUN_TEST_LOOP_f_b_tg): Likewise.
7980         (RUN_TEST_LOOP_f_l): Likewise.
7981         (RUN_TEST_LOOP_f_L): Likewise.
7982         (RUN_TEST_LOOP_fFF_11): Likewise.
7983         * math/gen-libm-test.pl (parse_args): Output four copies of
7984         expected results for each test.
7985
7986         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7987         (__ASSUME_UTIMES): Remove.
7988         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7989         (__ASSUME_UTIMES): Likewise.
7990
7991         * math/gen-auto-libm-tests.c: Update comment on output format.
7992         (output_for_one_input_case): Generate before-rounding and
7993         after-rounding information as conditions on output flags not
7994         floating-point format.
7995         * math/auto-libm-test-out: Regenerated.
7996         * math/gen-libm-test.pl (cond_value): New function.
7997         (or_cond_value): Use cond_value.
7998         (generate_testfile): Handle conditional exceptions.
7999
8000 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8001
8002         * math/libm-test.inc (max_valid_error): New variable.
8003         (init_max_error): Take new argument specifying whether function
8004         results are exactly determined.  Set max_valid_error and bound
8005         other variables for errors based on this argument.
8006         (set_max_error): Do not record results above max_valid_error.
8007         (check_float_internal): Only accept errors of up to 0.5ulps if
8008         also at most max_valid_error.
8009         (START): Take new argument EXACT and pass it to init_max_error.
8010         (acos_test): Update call to START.
8011         (acos_test_tonearest): Likewise.
8012         (acos_test_towardzero): Likewise.
8013         (acos_test_downward): Likewise.
8014         (acos_test_upward): Likewise.
8015         (acosh_test): Likewise.
8016         (asin_test): Likewise.
8017         (asin_test_tonearest): Likewise.
8018         (asin_test_towardzero): Likewise.
8019         (asin_test_downward): Likewise.
8020         (asin_test_upward): Likewise.
8021         (asinh_test): Likewise.
8022         (atan_test): Likewise.
8023         (atanh_test): Likewise.
8024         (atan2_test): Likewise.
8025         (cabs_test): Likewise.
8026         (cacos_test): Likewise.
8027         (cacosh_test): Likewise.
8028         (carg_test): Likewise.
8029         (casin_test): Likewise.
8030         (casinh_test): Likewise.
8031         (catan_test): Likewise.
8032         (catanh_test): Likewise.
8033         (cbrt_test): Likewise.
8034         (ccos_test): Likewise.
8035         (ccosh_test): Likewise.
8036         (ceil_test): Likewise.
8037         (cexp_test): Likewise.
8038         (cimag_test): Likewise.
8039         (clog_test): Likewise.
8040         (clog10_test): Likewise.
8041         (conj_test): Likewise.
8042         (copysign_test): Likewise.
8043         (cos_test): Likewise.
8044         (cos_test_tonearest): Likewise.
8045         (cos_test_towardzero): Likewise.
8046         (cos_test_downward): Likewise.
8047         (cos_test_upward): Likewise.
8048         (cosh_test): Likewise.
8049         (cosh_test_tonearest): Likewise.
8050         (cosh_test_towardzero): Likewise.
8051         (cosh_test_downward): Likewise.
8052         (cosh_test_upward): Likewise.
8053         (cpow_test): Likewise.
8054         (cproj_test): Likewise.
8055         (creal_test): Likewise.
8056         (csin_test): Likewise.
8057         (csinh_test): Likewise.
8058         (csqrt_test): Likewise.
8059         (ctan_test): Likewise.
8060         (ctan_test_tonearest): Likewise.
8061         (ctan_test_towardzero): Likewise.
8062         (ctan_test_downward): Likewise.
8063         (ctan_test_upward): Likewise.
8064         (ctanh_test): Likewise.
8065         (ctanh_test_tonearest): Likewise.
8066         (ctanh_test_towardzero): Likewise.
8067         (ctanh_test_downward): Likewise.
8068         (ctanh_test_upward): Likewise.
8069         (erf_test): Likewise.
8070         (erfc_test): Likewise.
8071         (exp_test): Likewise.
8072         (exp_test_tonearest): Likewise.
8073         (exp_test_towardzero): Likewise.
8074         (exp_test_downward): Likewise.
8075         (exp_test_upward): Likewise.
8076         (exp10_test): Likewise.
8077         (exp10_test_tonearest): Likewise.
8078         (exp10_test_towardzero): Likewise.
8079         (exp10_test_downward): Likewise.
8080         (exp10_test_upward): Likewise.
8081         (pow10_test): Likewise.
8082         (exp2_test): Likewise.
8083         (expm1_test): Likewise.
8084         (expm1_test_tonearest): Likewise.
8085         (expm1_test_towardzero): Likewise.
8086         (expm1_test_downward): Likewise.
8087         (expm1_test_upward): Likewise.
8088         (fabs_test): Likewise.
8089         (fdim_test): Likewise.
8090         (floor_test): Likewise.
8091         (fma_test): Likewise.
8092         (fma_test_towardzero): Likewise.
8093         (fma_test_downward): Likewise.
8094         (fma_test_upward): Likewise.
8095         (fmax_test): Likewise.
8096         (fmin_test): Likewise.
8097         (fmod_test): Likewise.
8098         (fpclassify_test): Likewise.
8099         (frexp_test): Likewise.
8100         (hypot_test): Likewise.
8101         (ilogb_test): Likewise.
8102         (isfinite_test): Likewise.
8103         (finite_test): Likewise.
8104         (isgreater_test): Likewise.
8105         (isgreaterequal_test): Likewise.
8106         (isinf_test): Likewise.
8107         (isless_test): Likewise.
8108         (islessequal_test): Likewise.
8109         (islessgreater_test): Likewise.
8110         (isnan_test): Likewise.
8111         (isnormal_test): Likewise.
8112         (issignaling_test): Likewise.
8113         (isunordered_test): Likewise.
8114         (j0_test): Likewise.
8115         (j1_test): Likewise.
8116         (jn_test): Likewise.
8117         (ldexp_test): Likewise.
8118         (lgamma_test): Likewise.
8119         (gamma_test): Likewise.
8120         (lrint_test): Likewise.
8121         (lrint_test_tonearest): Likewise.
8122         (lrint_test_towardzero): Likewise.
8123         (lrint_test_downward): Likewise.
8124         (lrint_test_upward): Likewise.
8125         (llrint_test): Likewise.
8126         (llrint_test_tonearest): Likewise.
8127         (llrint_test_towardzero): Likewise.
8128         (llrint_test_downward): Likewise.
8129         (llrint_test_upward): Likewise.
8130         (log_test): Likewise.
8131         (log10_test): Likewise.
8132         (log1p_test): Likewise.
8133         (log2_test): Likewise.
8134         (logb_test): Likewise.
8135         (logb_test_downward): Likewise.
8136         (lround_test): Likewise.
8137         (llround_test): Likewise.
8138         (modf_test): Likewise.
8139         (nearbyint_test): Likewise.
8140         (nextafter_test): Likewise.
8141         (nexttoward_test): Likewise.
8142         (pow_test): Likewise.
8143         (pow_test_tonearest): Likewise.
8144         (pow_test_towardzero): Likewise.
8145         (pow_test_downward): Likewise.
8146         (pow_test_upward): Likewise.
8147         (remainder_test): Likewise.
8148         (drem_test): Likewise.
8149         (remainder_test_tonearest): Likewise.
8150         (drem_test_tonearest): Likewise.
8151         (remainder_test_towardzero): Likewise.
8152         (drem_test_towardzero): Likewise.
8153         (remainder_test_downward): Likewise.
8154         (drem_test_downward): Likewise.
8155         (remainder_test_upward): Likewise.
8156         (drem_test_upward): Likewise.
8157         (remquo_test): Likewise.
8158         (rint_test): Likewise.
8159         (rint_test_tonearest): Likewise.
8160         (rint_test_towardzero): Likewise.
8161         (rint_test_downward): Likewise.
8162         (rint_test_upward): Likewise.
8163         (round_test): Likewise.
8164         (scalb_test): Likewise.
8165         (scalbn_test): Likewise.
8166         (scalbln_test): Likewise.
8167         (signbit_test): Likewise.
8168         (sin_test): Likewise.
8169         (sin_test_tonearest): Likewise.
8170         (sin_test_towardzero): Likewise.
8171         (sin_test_downward): Likewise.
8172         (sin_test_upward): Likewise.
8173         (sincos_test): Likewise.
8174         (sinh_test): Likewise.
8175         (sinh_test_tonearest): Likewise.
8176         (sinh_test_towardzero): Likewise.
8177         (sinh_test_downward): Likewise.
8178         (sinh_test_upward): Likewise.
8179         (sqrt_test): Likewise.
8180         (sqrt_test_tonearest): Likewise.
8181         (sqrt_test_towardzero): Likewise.
8182         (sqrt_test_downward): Likewise.
8183         (sqrt_test_upward): Likewise.
8184         (tan_test): Likewise.
8185         (tan_test_tonearest): Likewise.
8186         (tan_test_towardzero): Likewise.
8187         (tan_test_downward): Likewise.
8188         (tan_test_upward): Likewise.
8189         (tanh_test): Likewise.
8190         (tgamma_test): Likewise.
8191         (trunc_test): Likewise.
8192         (y0_test): Likewise.
8193         (y1_test): Likewise.
8194         (yn_test): Likewise.
8195         (significand_test): Likewise.
8196
8197         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8198         individual tests in comment.
8199         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8200         (prev_max_error): New variable.
8201         (prev_real_max_error): Likewise.
8202         (prev_imag_max_error): Likewise.
8203         (compare_ulp_data): Don't refer to test names in comment.
8204         (find_test_ulps): Remove function.
8205         (find_function_ulps): Likewise.
8206         (find_complex_function_ulps): Likewise.
8207         (init_max_error): Take function name as argument.  Look up ulps
8208         for that function.
8209         (print_ulps): Remove function.
8210         (print_max_error): Use prev_max_error instead of calling
8211         find_function_ulps.
8212         (print_complex_max_error): Use prev_real_max_error and
8213         prev_imag_max_error instead of calling find_complex_function_ulps.
8214         (check_float_internal): Take max_ulp parameter instead of calling
8215         find_test_ulps.  Don't call print_ulps.
8216         (check_float): Update call to check_float_internal.
8217         (check_complex): Update calls to check_float_internal.
8218         (START): Pass argument to init_max_error.
8219         * math/gen-libm-test.pl (%results): Don't include "kind"
8220         information.
8221         (parse_ulps): Don't handle ulps of individual tests.
8222         (print_ulps_file): Likewise.
8223         (output_ulps): Likewise.
8224         * math/README.libm-test: Update.
8225         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8226         individual tests.
8227         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8228         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8229         * sysdeps/arm/libm-test-ulps: Likewise.
8230         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8231         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8232         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8233         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8234         * sysdeps/microblaze/libm-test-ulps: Likewise.
8235         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8236         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8237         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8238         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8239         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8240         * sysdeps/sh/libm-test-ulps: Likewise.
8241         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8242         * sysdeps/tile/libm-test-ulps: Likewise.
8243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8244
8245 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8246
8247         * math/libm-test.inc (print_complex_max_error): Check separately
8248         whether real and imaginary errors are within allowed range and
8249         pass 0 to print_complex_function_ulps instead of value within
8250         allowed range.
8251
8252 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253
8254         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8255         formatting.
8256         (get_handles_fopen): Likewise.
8257         (do_write_test): Likewise.
8258
8259         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8260
8261         * libio/fileops.c (do_ftell): Use cached offset when
8262         available.
8263         * libio/iofwide.c (do_ftell_wide): Likewise.
8264         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8265         _IO_file_attach.
8266         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8267
8268         [BZ #16532]
8269         * libio/libioP.h (get_file_offset): New function.
8270         * libio/fileops.c (get_file_offset): Likewise.
8271         (do_ftell): Likewise.
8272         (_IO_new_file_seekoff): Split out ftell logic.
8273         * libio/wfileops.c (do_ftell_wide): Likewise.
8274         (_IO_wfile_seekoff): Split out ftell logic.
8275         * libio/tst-ftell-active-handler.c: New test case.
8276         * libio/Makefile (tests): Add it.
8277
8278 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8279
8280         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8281         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8282
8283 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8284
8285         [BZ #16639]
8286         * nscd/connections.c (nscd_init): Call do_exit.
8287         (start_threads): Call do_exit and notify_parent.
8288         (begin_drop_privileges): Call do_exit.
8289         (finish_drop_privileges): Likewise.
8290         * nscd/selinux.c (preserve_capabilities): Likewise.
8291         (install_real_capabilities): Likewise.
8292         (nscd_selinux_enabled): Likewise.
8293         (avc_create_thread): Likewise.
8294         (avc_alloc_lock): Likewise.
8295         (nscd_avc_init): Likewise.
8296         * nscd/nscd.c (parent_fd): New static variable.
8297         (main): Create a pipe between parent and child processes.
8298         Skip closing parent_fd.
8299         (monitor_child): New function.
8300         (do_exit): Likewise.
8301         (notify_parent): Likewise.
8302         * nscd/nscd.h (notify_parent): Likewise.
8303         (do_exit): Likewise.
8304
8305 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8306
8307         * malloc/malloc.c (__libc_calloc): Revert last change.
8308
8309 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8310
8311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8312
8313 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8314
8315         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8317         implementation.
8318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8319         (__libc_ifunc_impl_list): Likewise.
8320         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8321         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8322         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8323         * string/strrchr.c: Define STRRCHR.
8324
8325 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8326
8327         * benchtest/bench-strtok.c (simple_strtok): Delete.
8328         (strtok_string): Use as benchmark.
8329         * string/strtok (STRTOK): New macro.
8330
8331 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8332
8333         * manual/threads.texi: Add header and standard comments to all
8334         functions.
8335
8336         * elf/dl-lookup.c (check_match): New function.
8337         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8338         (do_lookup_x): Remove nested function check_match. Use non-nested
8339         function check_match.
8340
8341 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8342
8343         * csu/Makefile (generated, before-compile): Use += rather than =.
8344         * catgets/Makefile (generated, generated-dirs): Likewise.
8345         * debug/Makefile (generated): Likewise.
8346         * dlfcn/Makefile (generated): Likewise.
8347         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8348         * iconvdata/Makefile (before-compile, generated): Likewise.
8349         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8350         * libio/Makefile (generated): Likewise.
8351         * malloc/Makefile (generated): Likewise.
8352         * manual/Makefile (generated, generated-dirs): Likewise.
8353         * misc/Makefile (generated): Likewise.
8354         * posix/Makefile (generated): Likewise.
8355         * resolv/Makefile (generated): Likewise.
8356         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8357         * timezone/Makefile (generated, generated-dirs): Likewise.
8358
8359         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8360
8361 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8362
8363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8364         power8 implementation.
8365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8366         file: POWER8 llround ifunc implementation.
8367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8368         (__lllround): Add POWER8 implementation.
8369         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8370         POWER8 llround implementation.
8371
8372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8373         power8 implementation.
8374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8375         file: POWER8 llrint ifunc implementation.
8376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8377         Add POWER8 implementation.
8378         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8379         POWER8 llrint implementation.
8380
8381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8382         power8 implementation.
8383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8384         file: POWER8 finite ifunc implementation.
8385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8386         Add POWER8 implementation.
8387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8388         Likewise.
8389         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8390         POWER8 finite implementation.
8391         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8392
8393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8394         power8 implementation.
8395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8396         file: POWER8 isinf ifunc implementation.
8397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8398         POWER8 implementation.
8399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8400         Likewise.
8401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8402         isinf implementation.
8403         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8404
8405         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8406         (INIT_ARCH): Add hwcap2 initialization.
8407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8408         power8 implementation.
8409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8410         file: POWER8 isnan ifunc implementation.
8411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8412         POWER8 implementation.
8413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8414         Likewise.
8415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8416         isnan implementation.
8417         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8418
8419 2014-02-27  Joey Ye  <joey.ye@arm.com>
8420
8421         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8422         (_FP_NANFRAC_Q): Set to zero.
8423
8424 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8425
8426         [BZ #16623]
8427         * math/auto-libm-test-in: New test inputs.
8428         * math/auto-libm-test-out: Regenerate.
8429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8430         and DA.
8431         (__cos): Likewise.
8432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8433
8434 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8435
8436         * scripts/evaluate-test.sh: Take new argument indicating whether
8437         failure is expected.
8438         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8439         indicating whether failure is expected.
8440         * conform/Makefile (test-xfail-run-conformtest): New variable.
8441         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8442         level.
8443         * posix/Makefile (test-xfail-annexc): New variable.
8444         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8445
8446 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8447
8448         * argp/Makefile: Include Makeconfig immediately after defining
8449         subdir.
8450         * assert/Makefile: Likewise.
8451         * benchtests/Makefile: Likewise.
8452         * catgets/Makefile: Likewise.
8453         * conform/Makefile: Likewise.
8454         * crypt/Makefile: Likewise.
8455         * csu/Makefile: Likewise.
8456         (all): Remove target.
8457         * ctype/Makefile: Include Makeconfig immediately after defining
8458         subdir.
8459         * debug/Makefile: Likewise.
8460         * dirent/Makefile: Likewise.
8461         * dlfcn/Makefile: Likewise.
8462         * gmon/Makefile: Likewise.
8463         * gnulib/Makefile: Likewise.
8464         * grp/Makefile: Likewise.
8465         * gshadow/Makefile: Likewise.
8466         * hesiod/Makefile: Likewise.
8467         * hurd/Makefile: Likewise.
8468         (all): Remove target.
8469         * iconvdata/Makefile: Include Makeconfig immediately after
8470         defining subdir.
8471         * inet/Makefile: Likewise.
8472         * intl/Makefile: Likewise.
8473         * io/Makefile: Likewise.
8474         * libio/Makefile: Likewise.
8475         (all): Remove target.
8476         * locale/Makefile: Include Makeconfig immediately after defining
8477         subdir.
8478         * login/Makefile: Likewise.
8479         * mach/Makefile: Likewise.
8480         (all): Remove target.
8481         * malloc/Makefile: Include Makeconfig immediately after defining
8482         subdir.
8483         (all): Remove target.
8484         * manual/Makefile: Include Makeconfig immediately after defining
8485         subdir.
8486         * math/Makefile: Likewise.
8487         * misc/Makefile: Likewise.
8488         * nis/Makefile: Likewise.
8489         * nss/Makefile: Likewise.
8490         * po/Makefile: Likewise.
8491         (all): Remove target.
8492         * posix/Makefile: Include Makeconfig immediately after defining
8493         subdir.
8494         * pwd/Makefile: Likewise.
8495         * resolv/Makefile: Likewise.
8496         * resource/Makefile: Likewise.
8497         * rt/Makefile: Likewise.
8498         * setjmp/Makefile: Likewise.
8499         * shadow/Makefile: Likewise.
8500         * signal/Makefile: Likewise.
8501         * socket/Makefile: Likewise.
8502         * soft-fp/Makefile: Likewise.
8503         * stdio-common/Makefile: Likewise.
8504         * stdlib/Makefile: Likewise.
8505         * streams/Makefile: Likewise.
8506         * string/Makefile: Likewise.
8507         * sunrpc/Makefile: Likewise.
8508         (all): Remove target.
8509         * sysvipc/Makefile: Include Makeconfig immediately after defining
8510         subdir.
8511         * termios/Makefile: Likewise.
8512         * time/Makefile: Likewise.
8513         * timezone/Makefile: Likewise.
8514         (all): Remove target.
8515         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8516         subdir.
8517         * wctype/Makefile: Likewise.
8518
8519 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8520
8521         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8522         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8523         (libc_feholdexcept_setround_mips): Ditto.
8524         (libc_feholdsetround): New.
8525         (libc_feholdsetroundf): New.
8526         (libc_feholdsetroundl): New.
8527         (libc_feupdateenv_test_mips): New.
8528         (libc_feupdateenv_test): New.
8529         (libc_feupdateenv_testf): New.
8530         (libc_feupdateenv_testl): New.
8531         (libc_feresetround): New.
8532         (libc_feresetroundf): New.
8533         (libc_feresetroundl): New.
8534         (libc_fetestexcept_mips): New.
8535         (libc_fetestexcept): New.
8536         (libc_fetestexceptf): New.
8537         (libc_fetestexceptl): New.
8538         (HAVE_RM_CTX): New.
8539         (libc_feholdexcept_setround_mips_ctx): New.
8540         (libc_feholdexcept_setround_ctx): New.
8541         (libc_feholdexcept_setroundf_ctx): New.
8542         (libc_feholdexcept_setroundl_ctx): New.
8543         (libc_fesetenv_mips_ctx): New.
8544         (libc_fesetenv_ctx): New.
8545         (libc_fesetenv_ctxf): New.
8546         (libc_fesetenv_ctxl): New.
8547         (libc_feupdateenv_mips_ctx): New.
8548         (libc_feupdateenv_ctx): New.
8549         (libc_feupdateenvf_ctx): New.
8550         (libc_feupdateenvl_ctx): New.
8551         (libc_feholdsetround_mips_ctx): New.
8552         (libc_feholdsetround_ctx): New.
8553         (libc_feholdsetroundf_ctx): New.
8554         (libc_feholdsetroundl_ctx): New.
8555         (libc_feresetround_mips_ctx): New.
8556         (libc_feresetround_ctx): New.
8557         (libc_feresetroundf_ctx): New.
8558         (libc_feresetroundl_ctx): New.
8559
8560 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8561
8562         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8563
8564         * manual/ipc.texi: New file.
8565         * manual/Makefile (chapters): Add ipc.
8566         * manual/job.texi: Add "Inter-Process Communication" to next.
8567         * manual/process.texi: Add "Inter-Process Communication" to prev.
8568
8569 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8570
8571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8572
8573 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8574
8575         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8576
8577         * manual/arith.texi: Fix spaces after sentences.
8578         * manual/charset.texi: Likewise.
8579         * manual/errno.texi: Likewise.
8580         * manual/install.texi: Likewise.
8581         * manual/llio.texi: Likewise.
8582         * manual/locale.texi: Likewise.
8583         * manual/maint.texi: Likewise.
8584         * manual/math.texi: Likewise.
8585         * manual/memory.texi: Likewise.
8586         * manual/message.texi: Likewise.
8587         * manual/probes.texi: Likewise.
8588         * manual/resource.texi: Likewise.
8589         * manual/signal.texi: Likewise.
8590         * manual/socket.texi: Likewise.
8591         * manual/stdio.texi: Likewise.
8592         * manual/string.texi: Likewise.
8593         * manual/time.texi: Likewise.
8594         * manual/users.texi: Likewise.
8595
8596 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8597
8598         [BZ #16632]
8599         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8600         _DEFAULT_SOURCE is defined.
8601
8602 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8603             Carlos O'Donell  <carlos@redhat.com>
8604
8605         [BZ #16613]
8606         * elf/dl-tls.c (_dl_count_modids): New function.
8607         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8608         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8609         audit library and increment generation counter.
8610         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8611         * elf/tst-audit9.c: New file.
8612         * elf/tst-auditmod9a.c: New file.
8613         * elf/tst-auditmod9b.c: New file.
8614         * elf/Makefile: Add rules to build and run tst-audit9.
8615
8616 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8617
8618         [BZ #15347]
8619         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8620
8621 2014-02-25  Will Newton  <will.newton@linaro.org>
8622
8623         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8624         (__longjmp): Restore sp and lr before restoring callee
8625         saved registers.  Add longjmp and longjmp_target
8626         SystemTap probe point.
8627         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8628         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8629         Define to zero to match jmpbuf layout.
8630         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8631         (__sigsetjmp): Save sp and lr before saving callee
8632         saved registers.  Add setjmp SystemTap probe point.
8633
8634 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8635
8636         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8637
8638 2014-02-24  Andreas Schwab  <schwab@suse.de>
8639
8640         [BZ #15804]
8641         * elf/pldd.c (wait_for_ptrace_stop): New function.
8642         (main): Call it after attaching.
8643
8644 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8645
8646         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8647         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8648         Versions files is now verboten.
8649         * hurd/Versions (libc: GLIBC_2.0):
8650         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8651         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8652         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8653         * mach/Versions: Likewise.
8654
8655         * csu/Versions: Remove unused %include.
8656         * resolv/Versions: Likewise.
8657
8658 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8659
8660         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8661         ($(objpfx)check-local-headers.out): Likewise.
8662         ($(objpfx)begin-end-check.out): Likewise.
8663         * Makerules (check-abi-%.out): Likewise.
8664         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8665         ($(objpfx)test2.cat): Likewise.
8666         ($(objpfx)de/libc.cat): Likewise.
8667         ($(objpfx)test-gencat.out): Likewise.
8668         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8669         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8670         ($(objpfx)noload-mem): Likewise.
8671         ($(objpfx)tst-pathopt.out): Likewise.
8672         ($(objpfx)tst-rtld-load-self.out): Likewise.
8673         ($(objpfx)tst-array1-cmp.out): Likewise.
8674         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8675         ($(objpfx)tst-array2-cmp.out): Likewise.
8676         ($(objpfx)tst-array3-cmp.out): Likewise.
8677         ($(objpfx)tst-array4-cmp.out): Likewise.
8678         ($(objpfx)tst-array5-cmp.out): Likewise.
8679         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8680         ($(objpfx)check-textrel.out): Likewise.
8681         ($(objpfx)check-execstack.out): Likewise.
8682         ($(objpfx)check-localplt.out): Likewise.
8683         ($(objpfx)order2-cmp.out): Likewise.
8684         ($(objpfx)tst-leaks1-mem): Likewise.
8685         ($(objpfx)tst-leaks1-static-mem): Likewise.
8686         ($(objpfx)tst-initorder-cmp.out): Likewise.
8687         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8688         ($(objpfx)tst-unused-dep.out): Likewise.
8689         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8690         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8691         * iconv/Makefile (test-iconvconfig): Likewise.
8692         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8693         ($(objpfx)iconv-test.out): Likewise.
8694         ($(objpfx)tst-tables.out): Likewise.
8695         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8696         ($(objpfx)tst-gettext.out): Likewise.
8697         ($(objpfx)tst-translit.out): Likewise.
8698         ($(objpfx)tst-gettext2.out): Likewise.
8699         ($(objpfx)tst-gettext4.out): Likewise.
8700         ($(objpfx)tst-gettext6.out): Likewise.
8701         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8702         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8703         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8704         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8705         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8706         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8707         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8708         ($(objpfx)wordexp-tst.out): Likewise.
8709         ($(objpfx)annexc.out): Likewise.
8710         ($(objpfx)tst-fnmatch-mem): Likewise.
8711         ($(objpfx)bug-regex2-mem): Likewise.
8712         ($(objpfx)bug-regex14-mem): Likewise.
8713         ($(objpfx)bug-regex21-mem): Likewise.
8714         ($(objpfx)bug-regex31-mem): Likewise.
8715         ($(objpfx)tst-vfork3-mem): Likewise.
8716         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8717         ($(objpfx)tst-pcre-mem): Likewise.
8718         ($(objpfx)tst-boost-mem): Likewise.
8719         ($(objpfx)tst-getconf.out): Likewise.
8720         ($(objpfx)bug-ga2-mem): Likewise.
8721         ($(objpfx)bug-glob2-mem): Likewise.
8722         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8723         ($(objpfx)mtrace-tst-leaks2): Likewise.
8724         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8725         ($(objpfx)tst-printf.out): Likewise.
8726         ($(objpfx)tst-setvbuf1.out): Likewise.
8727         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8728         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8729         ($(objpfx)tst-fmtmsg.out): Likewise.
8730         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8731         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8732
8733         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8734         * bits/sigaction.h [__USE_MISC]: Likewise.
8735         * bits/waitstatus.h: Update #endif comments.
8736         * ctype/ctype.h: Likewise.
8737         * dirent/dirent.h: Likewise.
8738         [__USE_MISC]: Remove redundant conditionals.
8739         * grp/grp.h: Update #endif comments.
8740         [__USE_GNU]: Remove redundant conditionals.
8741         [__USE_MISC]: Likewise.
8742         * inet/netinet/in.h [__USE_GNU]: Likewise.
8743         * io/sys/stat.h [__USE_MISC]: Likewise.
8744         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8745         * libio/bits/stdio.h: Update #endif comments.
8746         [__USE_MISC]: Remove redundant conditionals.
8747         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8748         * libio/stdio.h: Update #endif comments.
8749         [__USE_MISC]: Remove redundant conditionals.
8750         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8751         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8752         * math/math.h: Update #else and #endif comments.
8753         [__USE_MISC]: Remove redundant conditionals.
8754         * misc/sys/uio.h: Update #endif comments.
8755         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8756         * posix/glob.h [__USE_MISC]: Likewise.
8757         * posix/sys/types.h: Update #endif comments.
8758         [__USE_MISC]: Remove redundant conditionals.
8759         * posix/sys/wait.h: Update #endif comments.
8760         [__USE_MISC]: Remove redundant conditionals.
8761         * posix/unistd.h: Update #endif comments.
8762         [__USE_MISC]: Remove redundant conditionals.
8763         * pwd/pwd.h [__USE_GNU]: Likewise.
8764         [__USE_MISC]: Likewise.
8765         * resolv/netdb.h [__USE_GNU]: Likewise.
8766         * signal/signal.h: Update #endif comments.
8767         [__USE_MISC]: Remove redundant conditionals.
8768         * stdlib/stdlib.h: Update #else and #endif comments.
8769         [__USE_MISC]: Remove redundant conditionals.
8770         [__USE_GNU]: Likewise.
8771         * string/bits/string2.h [__USE_MISC]: Likewise.
8772         * string/string.h: Update #endif comments.
8773         [__USE_MISC]: Remove redundant conditionals.
8774         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8775         Likewise.
8776         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8777         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8778         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8781         Likewise.
8782         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8783         comments.
8784         [__USE_MISC]: Remove redundant conditionals.
8785         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8786         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8787         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8788         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8789         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8792         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8793         Likewise.
8794         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8795         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8796         Likewise.
8797         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8798         Likewise.
8799         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8800         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8801         Likewise.
8802         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8803         Likewise.
8804         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8805         * sysdeps/x86/bits/string.h: Update #endif comments.
8806         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8807         conditionals.
8808         * time/sys/time.h: Update #endif comments.
8809         * time/time.h: Likewise.
8810         [__USE_MISC]: Remove redundant conditionals.
8811
8812 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8813
8814         [BZ #16600]
8815         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8816
8817 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8818
8819         * Versions.def (librt): Add GLIBC_2.17.
8820
8821 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8822
8823         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8824         synonym for _SYS_AUXV_H to allow direct inclusion.
8825         * sysdeps/sparc/bits/hwcap.h: Likewise.
8826         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8827         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8828         * sysdeps/sparc/sysdep.h: Likewise.
8829
8830 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8831
8832         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8833
8834 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8835
8836         * benchtests/bench-strrchr.c: Print length instead of position.
8837
8838 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8839
8840         [BZ #16611]
8841         * sysdeps/unix/sysv/linux/kernel-features.h
8842         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8843         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8844         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8845         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8846         Likewise.
8847         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8848         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8849         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8850         (__ASSUME_SENDMMSG): Define instead of using previous
8851         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8852         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8853         (__ASSUME_SENDMMSG_SYSCALL): Define.
8854         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8855         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8856         Likewise.
8857         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8858         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8859         Likewise.
8860         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8861         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8862         Likewise.
8863         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8864         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8865         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8866         [__ASSUME_SENDMMSG]: Change conditionals to
8867         [__ASSUME_SENDMMSG_SOCKETCALL].
8868         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8869         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8870         Define.
8871         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8872         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8873         Likewise.
8874         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8875         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8876         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8877         [!__ASSUME_SENDMMSG]: Change conditional to
8878         [!__ASSUME_SENDMMSG_SOCKETCALL].
8879         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8880         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8881         Define.
8882
8883         [BZ #16610]
8884         * sysdeps/unix/sysv/linux/kernel-features.h
8885         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8886         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8887         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8888         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8889         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8890         [__i386__ || __sparc__]
8891         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8892         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8893         (__ASSUME_RECVMMSG): Define instead of using previous
8894         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8895         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8896         (__ASSUME_RECVMMSG_SYSCALL): Define.
8897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8898         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8902         Likewise.
8903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8904         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8905         Likewise.
8906         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8907         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8908         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8909         [__ASSUME_RECVMMSG]: Change condition to
8910         [__ASSUME_RECVMMSG_SOCKETCALL].
8911         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8913         Define.
8914         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8919         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8920         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8921         [!__ASSUME_RECVMMSG]: Change condition to
8922         [!__ASSUME_RECVMMSG_SOCKETCALL].
8923         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8924         (__ASSUME_RECVMMSG_SYSCALL): Define.
8925
8926         [BZ #16609]
8927         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8928         __powerpc__ || __s390__ || __sh__ || __sparc__]
8929         (__ASSUME_SOCKETCALL): Define.
8930         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8931         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8932         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8933         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8934         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8935         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8936         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8937         (__ASSUME_ACCEPT4): Define instead of using previous
8938         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8939         __powerpc__ || __sparc__ || __s390__)] condition.
8940         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8941         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8942         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8943         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8944         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8945         [!__ASSUME_ACCEPT4]: Change condition to
8946         [!__ASSUME_ACCEPT4_SOCKETCALL].
8947         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8948         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8949         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8950         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8951         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8952         __ASSUME_ACCEPT4_SYSCALL.
8953         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8954         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8955         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8956         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8957         __ASSUME_ACCEPT4_SYSCALL.
8958         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8959         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8960         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8961         [__ASSUME_ACCEPT4]: Change condition to
8962         [__ASSUME_ACCEPT4_SOCKETCALL].
8963         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8964         (__ASSUME_SOCKETCALL): Define.
8965         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8967         (__ASSUME_SOCKETCALL): Define.
8968         (__ASSUME_ACCEPT4): Remove.
8969         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8970         Define.
8971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8972         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8973         Likewise.
8974         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8975         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8976
8977         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8978         macro.
8979         (HWCAP_ARM_LPAE): Likewise.
8980         (HWCAP_ARM_EVTSTRM): Likewise.
8981         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8982         Add vpfd32, lpae and evtstrm.
8983         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8984         Increase to 22.
8985
8986 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8987
8988         * math/auto-libm-test-in: Add tests of clog10.
8989         * math/auto-libm-test-out: Regenerated.
8990         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8991         * sysdeps/i386/fpu/libm-test-ulps: Update.
8992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8993
8994 2014-02-18  Andreas Schwab  <schwab@suse.de>
8995
8996         [BZ #16574]
8997         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8998         Store non-zero if the second buffer was newly allocated.
8999         (send_dg): Likewise.
9000         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9001         to send_vc and send_dg.
9002         (res_nsend): Pass NULL for ansp2_malloced.
9003         * resolv/res_query.c (__libc_res_nquery): Add parameter
9004         answerp2_malloced and pass it down to __libc_res_nsend.
9005         (res_nquery): Pass additional NULL to __libc_res_nquery.
9006         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9007         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9008         second answer buffer if answerp2_malloced was set.
9009         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9010         (__libc_res_nquerydomain): Add parameter
9011         answerp2_malloced and pass it down to __libc_res_nquery.
9012         (res_nquerydomain): Pass additional NULL to
9013         __libc_res_nquerydomain.
9014         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9015         additional NULL to __libc_res_nsend and __libc_res_nquery.
9016         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9017         additional NULL to __libc_res_nsearch.
9018         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9019         parameter of __libc_res_nsearch to check for separately allocated
9020         second buffer.
9021         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9022         __libc_res_nquery.
9023         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9024         additional NULL to __libc_res_nquery.
9025         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9026         __libc_res_nsearch.
9027         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9028         * include/resolv.h: Update prototypes of __libc_res_nquery,
9029         __libc_res_nsearch, __libc_res_nsend.
9030
9031 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9032
9033         * math/auto-libm-test-in: Add tests of fma.
9034         * math/auto-libm-test-out: Regenerated.
9035         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9036         (fma_towardzero_test_data): Likewise.
9037         (fma_downward_test_data): Likewise.
9038         (fma_upward_test_data): Likewise.
9039         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9040         mpc_mode.
9041         (rounding_modes): Add values for new field.
9042         (func_calc_method): Add value mpfr_fff_f.
9043         (func_calc_desc): Add mpfr_fff_f union field.
9044         (test_function): Add field exact_args.
9045         (FUNC): Add macro argument EXACT_ARGS.
9046         (FUNC_mpfr_f_f): Update call to FUNC.
9047         (FUNC_mpfr_f_f): Likewise.
9048         (FUNC_mpfr_ff_f): Likewise.
9049         (FUNC_mpfr_if_f): Likewise.
9050         (FUNC_mpc_c_f): Likewise.
9051         (FUNC_mpc_c_c): Likewise.
9052         (test_functions): Add fma.  Update calls to FUNC.
9053         (handle_input_arg): Add argument exact_args.
9054         (add_test): Update call to handle_input_arg.
9055         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9056         (output_for_one_input_case): Update call to calc_generic_results.
9057         Recalculate exact zero results in each rounding mode.
9058
9059         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9060         non-negative before setting low bit.
9061         * math/auto-libm-test-in: Mark one asin test possibly having
9062         spurious underflow.
9063         * math/auto-libm-test-out: Regenerated.
9064         * sysdeps/i386/fpu/libm-test-ulps: Update.
9065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9066
9067 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9068
9069         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9070         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9071         ports/sysdeps/unix/sysv/linux/microblaze.
9072         * README: Add missing listing for microblaze*-*-linux-gnu.
9073
9074 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9075
9076         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9077         * sysdeps/unix/sysv/linux/ia64: Move directory from
9078         ports/sysdeps/unix/sysv/linux/ia64.
9079         * README: Update listing for ia64-*-linux-gnu.
9080
9081 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9082             Joseph Myers  <joseph@codesourcery.com>
9083
9084         * Makeconfig (test-name): New variable.
9085         (evaluate-test): Likewise.
9086         * Makerules (do-test-clean): Remove .test-result files.
9087         (common-mostlyclean): Likewise.
9088         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9089         * scripts/evaluate-test.sh: New file.
9090
9091 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9092
9093         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9094         separate $(objpfx)tst-fopenloc-cmp.out and
9095         $(objpfx)tst-fopenloc-mem.out targets.
9096         (tests): Update dependencies.
9097         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9098         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9099         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9100         (tst-rxspencer-no-utf8-ARGS): New variable.
9101         (tst-rxspencer-no-utf8-ENV): Likewise.
9102         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9103         instead of $(objpfx)tst-rxspencer-mem.
9104         ($(objpfx)tst-rxspencer-mem): Change target to
9105         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9106         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9107         * posix/tst-rxspencer-no-utf8.c: New file.
9108
9109         * elf/Makefile ($(objpfx)order.out): Remove rule.
9110         [$(run-built-tests) = yes] (tests): Depend on
9111         $(objpfx)order-cmp.out.
9112         ($(objpfx)order-cmp.out): New rule.
9113         [$(run-built-tests) = yes] (tests): Depend on
9114         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9115         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9116         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9117         $(objpfx)tst-array5-static-cmp.out.
9118         ($(objpfx)tst-array1.out): Remove rule.
9119         ($(objpfx)tst-array1-cmp.out): New rule.
9120         ($(objpfx)tst-array1-static.out): Remove rule.
9121         ($(objpfx)tst-array1-static-cmp.out): New rule.
9122         ($(objpfx)tst-array2.out): Remove rule.
9123         ($(objpfx)tst-array2-cmp.out): New rule.
9124         ($(objpfx)tst-array3.out): Remove rule.
9125         ($(objpfx)tst-array3-cmp.out): New rule.
9126         ($(objpfx)tst-array4.out): Remove rule.
9127         ($(objpfx)tst-array4-cmp.out): New rule.
9128         ($(objpfx)tst-array5.out): Remove rule.
9129         ($(objpfx)tst-array5-cmp.out): New rule.
9130         ($(objpfx)tst-array5-static.out): Remove rule.
9131         ($(objpfx)tst-array5-static-cmp.out): New rule.
9132         [$(run-built-tests) = yes] (tests): Depend on
9133         $(objpfx)order2-cmp.out.
9134         ($(objpfx)order2.out): Remove rule.
9135         ($(objpfx)order2-cmp.out): New rule.
9136         ($(objpfx)tst-initorder.out): Remove rule.
9137         [$(run-built-tests) = yes] (tests): Depend on
9138         $(objpfx)tst-initorder-cmp.out.
9139         ($(objpfx)tst-initorder-cmp.out): New rule.
9140         ($(objpfx)tst-initorder2.out): Remove rule.
9141         [$(run-built-tests) = yes] (tests): Depend on
9142         $(objpfx)tst-initorder2-cmp.out.
9143         ($(objpfx)tst-initorder2-cmp.out): New rule.
9144         [$(run-built-tests) = yes] (tests): Depend on
9145         $(objpfx)tst-unused-dep-cmp.out.
9146         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9147         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9148         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9149         on $(objpfx)tst-setvbuf1-cmp.out.
9150         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9151         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9152         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9153         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9154         ($(objpfx)tst-svc.out): Remove rule.
9155         ($(objpfx)tst-svc-cmp.out): New rule.
9156
9157 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9158
9159         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9160         * ctype/ctype.h [__USE_MISC]: Likewise.
9161         * dirent/dirent.h [__USE_MISC]: Likewise.
9162         * grp/grp.h [__USE_MISC]: Likewise.
9163         * io/fcntl.h [__USE_MISC]: Likewise.
9164         * io/sys/stat.h [__USE_MISC]: Likewise.
9165         * libio/stdio.h [__USE_MISC]: Likewise.
9166         * posix/unistd.h [__USE_MISC]: Likewise.
9167         * pwd/pwd.h [__USE_MISC]: Likewise.
9168         * stdlib.h [__USE_MISC]: Likewise.
9169         * string/bits/string2.h [__USE_MISC]: Likewise.
9170         * string/string.h [__USE_MISC]: Likewise.
9171         * time/time.h [__USE_MISC]: Likewise.
9172
9173 2014-02-13  Andreas Schwab  <schwab@suse.de>
9174
9175         [BZ #16574]
9176         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9177         second answer buffer if it was separately allocated.
9178
9179 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9180
9181         * sysdeps/mips/math-tests.h: Include <features.h>.
9182         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9183         (ROUNDING_TESTS_long_double): Do not define.
9184         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9185         (EXCEPTION_TESTS_long_double): Likewise.
9186         * sysdeps/mips/mips64/libm-test-ulps: Update.
9187
9188         * include/features.h (__USE_BSD): Remove macro definitions.
9189         (__USE_SVID): Likewise.
9190         (_BSD_SOURCE): Likewise.
9191         (_SVID_SOURCE): Likewise.
9192         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9193         from definition of _DEFAULT_SOURCE.
9194         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9195         [_DEFAULT_SOURCE].
9196         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9197         * bits/mman.h [__USE_BSD]: Likewise.
9198         * bits/termios.h [__USE_BSD]: Likewise.
9199         * bits/waitstatus.h [__USE_BSD]: Likewise.
9200         * ctype/ctype.h [__USE_SVID]: Likewise.
9201         * dirent/dirent.h [__USE_BSD]: Likewise.
9202         * grp/grp.h [__USE_SVID]: Likewise.
9203         [__USE_BSD]: Likewise.
9204         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9205         * io/fcntl.h [__USE_BSD]: Likewise.
9206         * io/ftw.h [__USE_BSD]: Likewise.
9207         * io/sys/stat.h [__USE_BSD]: Likewise.
9208         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9209         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9210         * libio/stdio.h [__USE_SVID]: Likewise.
9211         [__USE_BSD]: Likewise.
9212         * math/math.h [__USE_SVID]: Likewise.
9213         [__USE_BSD]: Likewise.
9214         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9215         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9216         * misc/search.h [__USE_SVID]: Likewise.
9217         * misc/sys/mman.h [__USE_BSD]: Likewise.
9218         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9219         * misc/sys/uio.h [__USE_BSD]: Likewise.
9220         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9221         * posix/glob.h [__USE_BSD]: Likewise.
9222         * posix/regex.h [__USE_BSD]: Likewise.
9223         * posix/sys/types.h [__USE_BSD]: Likewise.
9224         [__USE_SVID]: Likewise.
9225         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9226         * posix/sys/wait.h [__USE_BSD]: Likewise.
9227         [__USE_SVID]: Likewise.
9228         * posix/unistd.h [__USE_BSD]: Likewise.
9229         [__USE_SVID]: Likewise.
9230         * pwd/pwd.h [__USE_SVID]: Likewise.
9231         * resolv/netdb.h [__USE_BSD]: Likewise.
9232         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9233         * signal/signal.h [__USE_BSD]: Likewise.
9234         [__USE_SVID]: Likewise.
9235         * socket/sys/socket.h [__USE_BSD]: Likewise.
9236         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9237         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9238         [__USE_SVID]: Likewise.
9239         * string/bits/string2.h [__USE_BSD]: Likewise.
9240         [__USE_SVID]: Likewise.
9241         * string/bits/string3.h [__USE_BSD]: Likewise.
9242         * string/endian.h [__USE_BSD]: Likewise.
9243         * string/string.h [__USE_SVID]: Likewise.
9244         [__USE_BSD]: Likewise.
9245         * string/strings.h [__USE_BSD]: Likewise.
9246         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9247         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9248         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9249         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9250         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9251         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9256         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9257         Likewise.
9258         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9259         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9260         Likewise.
9261         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9264         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9266         Likewise.
9267         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9268         Likewise.
9269         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9270         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9271         * termios/termios.h [__USE_BSD]: Likewise.
9272         * time/sys/time.h [__USE_BSD]: Likewise.
9273         * time/time.h [__USE_BSD]: Likewise.
9274         [__USE_SVID]: Likewise.
9275
9276         * Makefile (subdir_targets): Remove subdir_lint.out.
9277
9278         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9279         (do-tst-printf): Likewise.
9280         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9281         $(objpfx)tst-printf.out.
9282
9283         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9284
9285         * Makerules (check-abi-%): Change target to
9286         $(objpfx)check-abi-%.out.
9287         (check-abi target): Update dependencies.
9288         (check-abi-pattern variable): Redirect output of diff to $@.
9289         (check-abi variable): Likewise.
9290         * elf/Makefile (check-abi): Update dependencies.
9291
9292         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9293         unused.
9294         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9295         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9296         subnormal range.
9297         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9298         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9299         value has largest subnormal exponent.
9300         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9301         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9302         * sysdeps/aarch64/soft-fp/sfp-machine.h
9303         (_FP_TININESS_AFTER_ROUNDING): New macro.
9304         * sysdeps/alpha/soft-fp/sfp-machine.h
9305         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9306         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9307         Likewise.
9308         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9309         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9310         * sysdeps/mips/soft-fp/sfp-machine.h
9311         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9312         * sysdeps/powerpc/soft-fp/sfp-machine.h
9313         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9314         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9315         Likewise.
9316         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9317         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9318         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9319         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9320         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9321         Likewise.
9322
9323 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9324
9325         [BZ #16545]
9326         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9327         model 1.
9328
9329 2014-02-12  Richard Henderson  <rth@redhat.com>
9330
9331         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9332         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9333         * sysdeps/unix/sysv/linux/alpha: Move directory from
9334         ports/sysdeps/unix/sysv/linux/alpha.
9335         * README: Update listing for alpha-*-linux-gnu.
9336
9337 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9338
9339         * include/features.h: Update comment documenting feature test
9340         macros.
9341         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9342         _DEFAULT_SOURCE.
9343         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9344         (_SVID_SOURCE): Likewise.
9345         (_DEFAULT_SOURCE): Update description of default features.
9346         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9347         with _GNU_SOURCE.
9348         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9349         (S_ISVTX): Likewise.
9350         * manual/math.texi (Mathematical Constants): Likewise.
9351         * manual/signal.texi (Interrupted Primitives): Likewise.
9352         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9353         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9354         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9355         Don't refer to _SVID_SOURCE in warning text.
9356
9357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9358
9359         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9360         already defined.
9361         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9362         * sysdeps/mips/dl-lookup.c: Remove.
9363         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9364
9365 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9366
9367         [BZ #16447]
9368         * math/auto-libm-test-in: Add testcase for expl.
9369         * math/auto-libm-test-out: Regenerate.
9370         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9371         calculation of unsafe.
9372         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9373
9374 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9375
9376         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9377         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9378         ports/sysdeps/unix/sysv/linux/aarch64.
9379         * README: Update listing for aarch64*-*-linux-gnu.
9380
9381 2014-02-11  Will Newton  <will.newton@linaro.org>
9382
9383         * manual/probes.texi (Mathematical Function Probes): Use
9384         "triggered" instead of "hit".
9385
9386         * manual/probes.texi (Internal Probes): Add documentation
9387         of setjmp, longjmp and longjmp_target probes.
9388
9389         * include/stap-probe.h: Add comment about probe argument
9390         format.
9391
9392         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9393         definition.  (tr_where, tr_freehook, tr_mallochook,
9394         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9395
9396 2014-02-11  David S. Miller  <davem@davemloft.net>
9397
9398         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9399         processing int_tests.
9400
9401 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9402
9403         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9404         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9405         * sysdeps/unix/sysv/linux/mips: Move directory from
9406         ports/sysdeps/unix/sysv/linux/mips.
9407         * README: Update listing for mips-*-linux-gnu and
9408         mips64-*-linux-gnu.
9409
9410 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9411
9412         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9413         * sysdeps/unix/sysv/linux/m68k: Move directory from
9414         ports/sysdeps/unix/sysv/linux/m68k.
9415         * README: Update listing for m68k-*-linux-gnu.
9416
9417 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9418
9419         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9420         * sysdeps/unix/sysv/linux/generic: Move directory from
9421         ports/sysdeps/unix/sysv/linux/generic.
9422         * sysdeps/unix/sysv/linux/tile: Move directory from
9423         ports/sysdeps/unix/sysv/linux/tile.
9424         * README: Update listing for tile*-*-linux-gnu.
9425
9426 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9427
9428         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9429         __builtin_expect.
9430         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9431         * catgets/open_catalog.c (__open_catalog): Likewise.
9432         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9433         * debug/confstr_chk.c: Likewise.
9434         * debug/fread_chk.c (__fread_chk): Likewise.
9435         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9436         * debug/getgroups_chk.c: Likewise.
9437         * debug/mbsnrtowcs_chk.c: Likewise.
9438         * debug/mbsrtowcs_chk.c: Likewise.
9439         * debug/mbstowcs_chk.c: Likewise.
9440         * debug/memcpy_chk.c: Likewise.
9441         * debug/memmove_chk.c: Likewise.
9442         * debug/mempcpy_chk.c: Likewise.
9443         * debug/memset_chk.c: Likewise.
9444         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9445         * debug/strcat_chk.c (__strcat_chk): Likewise.
9446         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9447         * debug/strncat_chk.c (__strncat_chk): Likewise.
9448         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9449         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9450         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9451         * debug/wcpncpy_chk.c: Likewise.
9452         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9453         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9454         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9455         * debug/wcsncpy_chk.c: Likewise.
9456         * debug/wcsnrtombs_chk.c: Likewise.
9457         * debug/wcsrtombs_chk.c: Likewise.
9458         * debug/wcstombs_chk.c: Likewise.
9459         * debug/wmemcpy_chk.c: Likewise.
9460         * debug/wmemmove_chk.c: Likewise.
9461         * debug/wmempcpy_chk.c: Likewise.
9462         * debug/wmemset_chk.c: Likewise.
9463         * dirent/scandirat.c (SCANDIRAT): Likewise.
9464         * dlfcn/dladdr1.c (dladdr1): Likewise.
9465         * dlfcn/dladdr.c (dladdr): Likewise.
9466         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9467         * dlfcn/dlerror.c (__dlerror): Likewise.
9468         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9469         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9470         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9471         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9472         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9473         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9474         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9475         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9476         Likewise.
9477         * elf/dl-conflict.c: Likewise.
9478         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9479         * elf/dl-dst.h: Likewise.
9480         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9481         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9482         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9483         * elf/dl-init.c (call_init, _dl_init): Likewise.
9484         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9485         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9486         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9487         Likewise.
9488         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9489         Likewise.
9490         * elf/dl-minimal.c (__libc_memalign): Likewise.
9491         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9492         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9493         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9494         * elf/dl-sym.c (do_sym): Likewise.
9495         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9496         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9497         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9498         * elf/dl-writev.h (_dl_writev): Likewise.
9499         * elf/ldconfig.c (search_dir): Likewise.
9500         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9501         (dl_main): Likewise.
9502         * elf/setup-vdso.h (setup_vdso): Likewise.
9503         * grp/compat-initgroups.c (compat_call): Likewise.
9504         * grp/fgetgrent.c (fgetgrent): Likewise.
9505         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9506         * grp/putgrent.c (putgrent): Likewise.
9507         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9508         Likewise.
9509         * hurd/hurdinit.c: Likewise.
9510         * iconvdata/8bit-gap.c (struct): Likewise.
9511         * iconvdata/ansi_x3.110.c : Likewise.
9512         * iconvdata/big5.c : Likewise.
9513         * iconvdata/big5hkscs.c : Likewise.
9514         * iconvdata/cp1255.c: Likewise.
9515         * iconvdata/cp1258.c : Likewise.
9516         * iconvdata/cp932.c : Likewise.
9517         * iconvdata/euc-cn.c: Likewise.
9518         * iconvdata/euc-jisx0213.c : Likewise.
9519         * iconvdata/euc-jp.c: Likewise.
9520         * iconvdata/euc-jp-ms.c : Likewise.
9521         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9522         * iconvdata/gb18030.c : Likewise.
9523         * iconvdata/gbbig5.c (const): Likewise.
9524         * iconvdata/gbgbk.c: Likewise.
9525         * iconvdata/gbk.c : Likewise.
9526         * iconvdata/ibm1364.c : Likewise.
9527         * iconvdata/ibm930.c : Likewise.
9528         * iconvdata/ibm932.c: Likewise.
9529         * iconvdata/ibm933.c : Likewise.
9530         * iconvdata/ibm935.c : Likewise.
9531         * iconvdata/ibm937.c : Likewise.
9532         * iconvdata/ibm939.c : Likewise.
9533         * iconvdata/ibm943.c: Likewise.
9534         * iconvdata/iso_11548-1.c: Likewise.
9535         * iconvdata/iso-2022-cn.c : Likewise.
9536         * iconvdata/iso-2022-cn-ext.c : Likewise.
9537         * iconvdata/iso-2022-jp-3.c: Likewise.
9538         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9539         * iconvdata/iso-2022-kr.c : Likewise.
9540         * iconvdata/iso646.c (gconv_end): Likewise.
9541         * iconvdata/iso_6937-2.c : Likewise.
9542         * iconvdata/iso_6937.c : Likewise.
9543         * iconvdata/iso8859-1.c: Likewise.
9544         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9545         * iconvdata/shift_jisx0213.c : Likewise.
9546         * iconvdata/sjis.c : Likewise.
9547         * iconvdata/t.61.c : Likewise.
9548         * iconvdata/tcvn5712-1.c : Likewise.
9549         * iconvdata/tscii.c: Likewise.
9550         * iconvdata/uhc.c : Likewise.
9551         * iconvdata/unicode.c (gconv_end): Likewise.
9552         * iconvdata/utf-16.c (gconv_end): Likewise.
9553         * iconvdata/utf-32.c (gconv_end): Likewise.
9554         * iconvdata/utf-7.c (base64): Likewise.
9555         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9556         * iconv/gconv_close.c (__gconv_close): Likewise.
9557         * iconv/gconv_open.c (__gconv_open): Likewise.
9558         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9559         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9560         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9561         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9562         (ucs4le_internal_loop_single): Likewise.
9563         * iconv/iconv.c (iconv): Likewise.
9564         * iconv/iconv_close.c: Likewise.
9565         * iconv/loop.c (SINGLE): Likewise.
9566         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9567         * include/atomic.h: Likewise.
9568         * inet/inet6_option.c (option_alloc): Likewise.
9569         * intl/bindtextdom.c (set_binding_values): Likewise.
9570         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9571         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9572         * intl/localealias.c (read_alias_file): Likewise.
9573         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9574         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9575         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9576         * libio/fmemopen.c (fmemopen): Likewise.
9577         * libio/iofgets.c (_IO_fgets): Likewise.
9578         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9579         * libio/iofgetws.c (fgetws): Likewise.
9580         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9581         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9582         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9583         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9584         * locale/findlocale.c (_nl_find_locale): Likewise.
9585         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9586         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9587         Likewise.
9588         * locale/setlocale.c (setlocale): Likewise.
9589         * login/programs/pt_chown.c (main): Likewise.
9590         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9591         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9592         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9593         (mmap, mmap64, mremap, munmap): Likewise.
9594         * math/e_exp2l.c: Likewise.
9595         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9596         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9597         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9598         * math/s_catan.c (__catan): Likewise.
9599         * math/s_catanf.c (__catanf): Likewise.
9600         * math/s_catanh.c (__catanh): Likewise.
9601         * math/s_catanhf.c (__catanhf): Likewise.
9602         * math/s_catanhl.c (__catanhl): Likewise.
9603         * math/s_catanl.c (__catanl): Likewise.
9604         * math/s_ccosh.c (__ccosh): Likewise.
9605         * math/s_ccoshf.c (__ccoshf): Likewise.
9606         * math/s_ccoshl.c (__ccoshl): Likewise.
9607         * math/s_cexp.c (__cexp): Likewise.
9608         * math/s_cexpf.c (__cexpf): Likewise.
9609         * math/s_cexpl.c (__cexpl): Likewise.
9610         * math/s_clog10.c (__clog10): Likewise.
9611         * math/s_clog10f.c (__clog10f): Likewise.
9612         * math/s_clog10l.c (__clog10l): Likewise.
9613         * math/s_clog.c (__clog): Likewise.
9614         * math/s_clogf.c (__clogf): Likewise.
9615         * math/s_clogl.c (__clogl): Likewise.
9616         * math/s_csin.c (__csin): Likewise.
9617         * math/s_csinf.c (__csinf): Likewise.
9618         * math/s_csinh.c (__csinh): Likewise.
9619         * math/s_csinhf.c (__csinhf): Likewise.
9620         * math/s_csinhl.c (__csinhl): Likewise.
9621         * math/s_csinl.c (__csinl): Likewise.
9622         * math/s_csqrt.c (__csqrt): Likewise.
9623         * math/s_csqrtf.c (__csqrtf): Likewise.
9624         * math/s_csqrtl.c (__csqrtl): Likewise.
9625         * math/s_ctan.c (__ctan): Likewise.
9626         * math/s_ctanf.c (__ctanf): Likewise.
9627         * math/s_ctanh.c (__ctanh): Likewise.
9628         * math/s_ctanhf.c (__ctanhf): Likewise.
9629         * math/s_ctanhl.c (__ctanhl): Likewise.
9630         * math/s_ctanl.c (__ctanl): Likewise.
9631         * math/w_pow.c: Likewise.
9632         * math/w_powf.c: Likewise.
9633         * math/w_powl.c: Likewise.
9634         * math/w_scalb.c (sysv_scalb): Likewise.
9635         * math/w_scalbf.c (sysv_scalbf): Likewise.
9636         * math/w_scalbl.c (sysv_scalbl): Likewise.
9637         * misc/error.c (error_tail): Likewise.
9638         * misc/pselect.c (__pselect): Likewise.
9639         * nis/nis_callback.c (__nis_create_callback): Likewise.
9640         * nis/nis_call.c (__nisfind_server): Likewise.
9641         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9642         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9643         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9644         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9645         * nis/nis_lookup.c (nis_lookup): Likewise.
9646         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9647         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9648         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9649         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9650         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9651         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9652         * nis/nss_compat/compat-initgroups.c (add_group)
9653         (internal_getgrent_r): Likewise.
9654         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9655         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9656         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9657         (internal_getspnam_r): Likewise.
9658         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9659         (_nss_nis_getaliasbyname_r): Likewise.
9660         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9661         (_nss_nis_getntohost_r): Likewise.
9662         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9663         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9664         (_nss_nis_getgrgid_r): Likewise.
9665         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9666         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9667         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9668         (_nss_nis_gethostbyname4_r): Likewise.
9669         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9670         (initgroups_netid): Likewise.
9671         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9672         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9673         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9674         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9675         (_nss_nis_getprotobynumber_r): Likewise.
9676         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9677         (_nss_nis_getsecretkey): Likewise.
9678         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9679         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9680         (_nss_nis_getpwuid_r): Likewise.
9681         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9682         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9683         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9684         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9685         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9686         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9687         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9688         Likewise.
9689         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9690         (_nss_nisplus_getntohost_r): Likewise.
9691         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9692         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9693         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9694         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9695         Likewise.
9696         * nis/nss_nisplus/nisplus-initgroups.c
9697         (_nss_nisplus_initgroups_dyn): Likewise.
9698         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9699         (_nss_nisplus_getnetbyaddr_r): Likewise.
9700         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9701         (_nss_nisplus_getprotobynumber_r): Likewise.
9702         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9703         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9704         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9705         Likewise.
9706         * nis/nss_nisplus/nisplus-service.c
9707         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9708         (_nss_nisplus_getservbyport_r): Likewise.
9709         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9710         (_nss_nisplus_getspnam_r): Likewise.
9711         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9712         Likewise.
9713         * nscd/aicache.c (addhstaiX): Likewise.
9714         * nscd/cache.c (cache_search, prune_cache): Likewise.
9715         * nscd/connections.c (register_traced_file, send_ro_fd)
9716         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9717         (main_loop_epoll): Likewise.
9718         * nscd/grpcache.c (addgrbyX): Likewise.
9719         * nscd/hstcache.c (addhstbyX): Likewise.
9720         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9721         * nscd/mem.c (gc, mempool_alloc): Likewise.
9722         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9723         (addinnetgrX): Likewise.
9724         * nscd/nscd-client.h (__nscd_acquire_maplock)
9725         (__nscd_drop_map_ref): Likewise.
9726         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9727         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9728         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9729         Likewise.
9730         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9731         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9732         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9733         (__nscd_get_map_ref): Likewise.
9734         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9735         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9736         Likewise.
9737         * nscd/pwdcache.c (addpwbyX): Likewise.
9738         * nscd/selinux.c (preserve_capabilities): Likewise.
9739         * nscd/servicescache.c (addservbyX): Likewise.
9740         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9741         * posix/fnmatch.c (fnmatch): Likewise.
9742         * posix/getopt.c (_getopt_internal_r): Likewise.
9743         * posix/glob.c (glob, glob_in_dir): Likewise.
9744         * posix/wordexp.c (exec_comm_child): Likewise.
9745         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9746         (getanswer_r, gaih_getanswer_slice): Likewise.
9747         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9748         * resolv/res_init.c: Likewise.
9749         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9750         * resolv/res_query.c (__libc_res_nquery): Likewise.
9751         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9752         Likewise.
9753         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9754         * stdio-common/perror.c (perror): Likewise.
9755         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9756         * stdio-common/tmpnam.c (tmpnam): Likewise.
9757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9758         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9759         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9760         Likewise.
9761         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9762         * stdlib/putenv.c (putenv): Likewise.
9763         * stdlib/setenv.c (__add_to_environ): Likewise.
9764         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9765         * stdlib/strtol_l.c (INTERNAL): Likewise.
9766         * string/memmem.c (memmem): Likewise.
9767         * string/strerror.c (strerror): Likewise.
9768         * string/strnlen.c (__strnlen): Likewise.
9769         * string/test-memmem.c (simple_memmem): Likewise.
9770         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9771         * sunrpc/pm_getport.c (__get_socket): Likewise.
9772         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9773         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9774         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9775         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9776         Likewise.
9777         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9778         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9779         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9780         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9782         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9783         Likewise.
9784         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9785         Likewise.
9786         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9787         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9788         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9789         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9790         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9792         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9793         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9794         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9795         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9796         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9797         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9798         Likewise.
9799         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9800         Likewise.
9801         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9802         Likewise.
9803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9804         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9805         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9806         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9807         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9808         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9809         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9810         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9812         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9813         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9815         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9816         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9818         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9819         Likewise.
9820         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9821         Likewise.
9822         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9823         Likewise.
9824         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9825         Likewise.
9826         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9828         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9829         Likewise.
9830         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9831         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9832         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9833         * sysdeps/posix/sleep.c: Likewise.
9834         * sysdeps/posix/tempname.c: Likewise.
9835         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9836         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9837         Likewise.
9838         * sysdeps/powerpc/powerpc32/dl-machine.h
9839         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9840         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9842         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9843         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9844         Likewise.
9845         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9846         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9847         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9848         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9849         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9850         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9851         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9852         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9853         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9854         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9856         (elf_machine_lazy_rel): Likewise.
9857         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9858         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9859         (elf_machine_lazy_rel): Likewise.
9860         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9861         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9862         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9863         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9864         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9865         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9866         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9868         Likewise.
9869         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9870         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9871         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9872         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9873         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9874         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9875         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9876         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9877         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9878         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9879         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9880         Likewise.
9881         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9882         (__posix_fallocate64_l64): Likewise.
9883         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9884         (posix_fallocate): Likewise.
9885         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9888         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9889         (getifaddrs_internal): Likewise.
9890         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9891         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9892         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9893         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9894         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9895         (__posix_fallocate64_l64): Likewise.
9896         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9897         Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9900         (__get_clockfreq): Likewise.
9901         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9902         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9903         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9905         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9906         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9907         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9908         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9909         Likewise.
9910         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9911         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9912         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9913         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9914         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9915         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9916         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9917         Likewise.
9918         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9919         (posix_fallocate): Likewise.
9920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9921         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9922         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9923         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9924         (elf_machine_rela, elf_machine_rela_relative)
9925         (elf_machine_lazy_rel): Likewise.
9926         * time/asctime.c (asctime_internal): Likewise.
9927         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9928         * time/tzset.c (__tzset_parse_tz): Likewise.
9929         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9930         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9931         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9932         * wcsmbs/wcsmbsload.h: Likewise.
9933
9934         [BZ #15894]
9935         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9936
9937         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9938         (arena_get2): Remove THREAD_STATS conditionals.
9939         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9940         (__malloc_stats, int): Likewise.
9941
9942 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9943
9944         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9945         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9946
9947         * manual/setjmp.texi: Fix typos/grammar errors.
9948
9949         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9950         Only return early when n is <= 0.  Delete unused return statement.
9951
9952         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9953         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9954         * debug/tst-longjmp_chk3.c: New file.
9955
9956         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9957         (test_main): Replace code with set_fortify_handler call.
9958         * debug/test-strcpy_chk.c: Likewise.
9959         * debug/tst-chk1.c: Likewise.
9960         * debug/tst-longjmp_chk.c: Likewise.
9961         * test-skeleton.c: Include fcntl.h & paths.h
9962         (set_fortify_handler): Define.
9963
9964         * debug/tst-longjmp_chk.c: Add header comment and include
9965         ../test-skeleton.c.
9966         (do_test): Mark static.
9967         (TEST_FUNCTION): Define.
9968
9969         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9970         (IP_PMTUDISC_INTERFACE): Likewise.
9971         (IP_MULTICAST_IF): Likewise.
9972         (IP_MULTICAST_TTL): Likewise.
9973         (IP_MULTICAST_LOOP): Likewise.
9974         (IP_ADD_MEMBERSHIP): Likewise.
9975         (IP_DROP_MEMBERSHIP): Likewise.
9976         (IP_UNBLOCK_SOURCE): Likewise.
9977         (IP_BLOCK_SOURCE): Likewise.
9978         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9979         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9980         (IP_MSFILTER): Likewise.
9981         (MCAST_JOIN_GROUP): Likewise.
9982         (MCAST_BLOCK_SOURCE): Likewise.
9983         (MCAST_UNBLOCK_SOURCE): Likewise.
9984         (MCAST_LEAVE_GROUP): Likewise.
9985         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9986         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9987         (MCAST_MSFILTER): Likewise.
9988         (IP_MULTICAST_ALL): Likewise.
9989         (IP_UNICAST_IF): Likewise.
9990
9991         * timezone/Makefile: Delete $(have-ksh) check.
9992         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9993         * timezone/tzselect.ksh: Add +x mode bits.
9994
9995         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9996         (ANON_INODE_FS_MAGIC): Likewise.
9997         (BDEVFS_MAGIC): Likewise.
9998         (BINFMTFS_MAGIC): Likewise.
9999         (BTRFS_TEST_MAGIC): Likewise.
10000         (CRAMFS_MAGIC_WEND): Likewise.
10001         (DEBUGFS_MAGIC): Likewise.
10002         (ECRYPTFS_SUPER_MAGIC): Likewise.
10003         (EXT3_SUPER_MAGIC): Likewise.
10004         (EXT4_SUPER_MAGIC): Likewise.
10005         (FUTEXFS_SUPER_MAGIC): Likewise.
10006         (HOSTFS_SUPER_MAGIC): Likewise.
10007         (HUGETLBFS_MAGIC): Likewise.
10008         (MINIX3_SUPER_MAGIC): Likewise.
10009         (MTD_INODE_FS_MAGIC): Likewise.
10010         (NILFS_SUPER_MAGIC): Likewise.
10011         (OPENPROM_SUPER_MAGIC): Likewise.
10012         (PIPEFS_MAGIC): Likewise.
10013         (PSTOREFS_MAGIC): Likewise.
10014         (QNX6_SUPER_MAGIC): Likewise.
10015         (RAMFS_MAGIC): Likewise.
10016         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10017         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10018         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10019         (SECURITYFS_MAGIC): Likewise.
10020         (SELINUX_MAGIC): Likewise.
10021         (SMACK_MAGIC): Likewise.
10022         (SOCKFS_MAGIC): Likewise.
10023         (SQUASHFS_MAGIC): Likewise.
10024         (STACK_END_MAGIC): Likewise.
10025         (TMPFS_MAGIC): Likewise.
10026         (USBDEVICE_SUPER_MAGIC): Likewise.
10027         (V9FS_MAGIC): Likewise.
10028         (XENFS_SUPER_MAGIC): Likewise.
10029         (CRAMFS_MAGIC): Fix typo in comment.
10030         (EXT2_SUPER_MAGIC): Update comment.
10031         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10032
10033 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10034
10035         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10036         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10037         * sysdeps/unix/sysv/linux/arm: Move directory from
10038         ports/sysdeps/unix/sysv/linux/arm.
10039         * README: Update listing for arm-*-linux-gnueabi.
10040
10041         * README: Remove mention of am33.
10042
10043 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10044
10045         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10046         than the comma operator, to avoid "rhs of comma has no effect"
10047         compiler warnings.
10048         (__sigfillset, __sigandset, __sigorset): Likewise.
10049         * include/signal.h (__sigemptyset): Likewise.
10050         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10051
10052 2014-02-07  Allan McRae  <allan@archlinux.org>
10053
10054         * version.h (RELEASE): Set to "development".
10055         (VERSION): Set to "2.19.90"
10056         * NEWS: Add 2.20 section.
10057
10058 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10059
10060         [BZ #16529]
10061         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10062
10063 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10064
10065         * manual/contrib.texi: Update entry for Carlos O'Donell,
10066         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10067
10068 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10069
10070         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10071
10072         * sysdeps/unix/sysv/linux/kernel-features.h
10073         [__LINUX_KERNEL_VERSION >= 0x020621]
10074         (__ASSUME_PROC_PID_TASK_COMM): Define.
10075
10076 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077
10078         [BZ #16398]
10079         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10080         conversion when destination buffer does not have enough space.
10081         * libio/tst-ftell-partial-wide.c: New test case.
10082         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10083
10084         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10085         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10086         Leonard and Allan McRae.
10087
10088 2014-02-04  David S. Miller  <davem@davemloft.net>
10089
10090         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10091         32-bit.
10092
10093 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10094
10095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10096         New file
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10098         New file
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10100         New file.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10102         New file.
10103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10104         New file.
10105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10106         New file.
10107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10108         New file.
10109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10110         New file.
10111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10112         New file.
10113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10114         New file.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10116         New file.
10117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10118         New file.
10119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10120         New file.
10121
10122 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10123
10124         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10125         * shlib-versions: Likewise.
10126
10127 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10128             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10129
10130         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10131         (abilist-pattern): New variable, set to %-le.abilist.
10132
10133         * Makerules (abilist-pattern): New variable.
10134         (vpath): Use $(abilist-pattern) in place of %.abilist.
10135         (check-abi-% pattern rule): Likewise.
10136         (check-abi, update-abi): Likewise.
10137
10138 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10139
10140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10141
10142 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10143
10144         * manual/startup.texi: Add next, previous, and top entries for
10145         the `Program Arguments' and `Environment Variables' nodes.
10146
10147 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10148
10149         * manual/macros.texi: Add comments before MTASC-safety macros.
10150
10151         * manual/users.texi: Document MTASC-safety properties.
10152
10153         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10154         (pthread_getspecific, pthread_setspecific): Format with
10155         @deftypefun, and add @safety note.
10156         * manual/signal.texi: Move comments that analyze the above
10157         functions to their home place.
10158
10159 2014-02-03  Allan McRae  <allan@archlinux.org>
10160
10161         * po/sl.po: Update Slovenian translation from translation project.
10162
10163 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10164
10165         * manual/time.texi (timegm): Add missing blank after @c.
10166         Reported by Joseph Myers <joseph@codesourcery.com>.
10167
10168 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10169
10170         * manual/check-safety.sh: New.
10171         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10172
10173         * manual/terminal.texi: Document MTASC-safety properties.
10174
10175         * manual/filesys.texi: Document MTASC-safety properties.
10176
10177         * manual/errno.texi: Document MTASC-safety properties.
10178
10179         * manual/intro.texi: Document safety identifiers and
10180         conditionals.
10181
10182         * manual/string.texi (wcstok): Fix prototype.
10183         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10184
10185         * manual/time.texi: Document MTASC-safety properties.
10186
10187         * manual/string.texi: Document MTASC-safety properties.
10188
10189         * manual/threads.texi: Document MTASC-safety properties.
10190
10191         * manual/stdio.texi: Document MTASC-safety properties.
10192
10193         * manual/syslog.texi: Document MTASC-safety properties.
10194
10195         * manual/sysinfo.texi: Document MTASC-safety properties.
10196
10197         * manual/startup.texi: Document MTASC-safety properties.
10198
10199         * manual/socket.texi: Document MTASC-safety properties.
10200
10201         * manual/signal.texi: Document MTASC-safety properties.
10202
10203 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10204
10205         * manual/setjmp.texi: Document MTASC-safety properties.
10206
10207         * manual/search.texi: Document MTASC-safety properties.
10208
10209         * manual/resource.texi: Document MTASC-safety properties.
10210
10211         * manual/process.texi: Document MTASC-safety properties.
10212
10213         * manual/platform.texi: Document MTASC-safety properties.
10214
10215         * manual/pipe.texi: Document MTASC-safety properties.
10216
10217         * manual/pattern.texi: Document MTASC-safety properties.
10218
10219         * manual/message.texi: Document MTASC-safety properties.
10220
10221         [BZ #12751]
10222         * manual/memory.texi: Document MTASC-safety properties.
10223
10224         * manual/math.texi: Document MTASC-safety properties.
10225
10226         * manual/locale.texi: Document MTASC-safety properties.
10227
10228         * manual/llio.texi: Document MTASC-safety properties.
10229
10230         * manual/libdl.texi: New.
10231
10232         * manual/lang.texi: Document MTASC-safety properties.
10233
10234         * manual/job.texi: Document MTASC-safety properties.
10235
10236         * manual/getopt.texi: Document MTASC-safety properties.
10237
10238         * manual/ctype.texi: Document MTASC-safety properties.
10239
10240 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10241
10242         [BZ #16046]
10243         * csu/libc-tls.c (static_map): Remove variable.
10244         (__libc_setup_tls): Use main executable's link map for TLS data.
10245         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10246         casing for LM_ID_BASE and GL(dl_nns).
10247         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10248         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10249         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10250         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10251         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10252         member.
10253         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10254         l_phnum members.
10255
10256 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10257
10258         * manual/debug.texi: Document MTASC-safety properties.
10259
10260 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10261
10262         [BZ #16510]
10263         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10264         of __x86_64__ when disabling x87 inline functions.
10265
10266 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10267
10268         * manual/charset.texi: Document MTASC-safety properties.
10269
10270         * manual/crypt.texi: Document MTASC-safety properties.
10271
10272         * manual/conf.texi: Document MTASC-safety properties.
10273
10274         * manual/arith.texi: Document MTASC-safety properties.
10275
10276         * manual/argp.texi: Document MTASC-safety properties.
10277
10278         * manual/macros.texi: Introduce macros to document multi
10279         thread, asynchronous signal and asynchronous cancellation
10280         safety properties.
10281         * manual/intro.texi: Introduce the properties themselves.
10282
10283 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10284
10285         * sysdeps/sh/sh4/Makefile: New file.
10286
10287 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10288
10289         * math/gen-libm-test.pl ($srcdir): New variable.
10290         ($auto_input): Use it.
10291
10292 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10293
10294         [BZ #16506]
10295         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10296         access beyond array bounds when parsing netgroups file.
10297
10298         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10299         the old buffer before realloc.
10300
10301 2014-01-27  Allan McRae  <allan@archlinux.org>
10302
10303         * po/fr.po: Update French translation from translation project.
10304
10305 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10306
10307         * sysdeps/sh/libm-test-ulps: Regenerate.
10308
10309 2014-01-24  David S. Miller  <davem@davemloft.net>
10310
10311         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10312
10313 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10314
10315         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10316         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10317
10318 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10319
10320         [BZ #16474]
10321         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10322         string pointers after reallocation.
10323
10324 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10325
10326         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10327         __SH4A__ instead of __SH_FPU_ANY__.
10328
10329 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10330
10331         * sysdeps/sh/fpu_control.h: New file.
10332         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10333         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10334         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10335         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10336         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10337         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10338         * sysdeps/sh/sys/ucontext.h: Remove.
10339         * sysdeps/sh/sys: Remove directory.
10340
10341 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10342
10343         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10344         s390/sys/ucontext.h.
10345         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10346         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10347
10348 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10349
10350         [BZ #15605]
10351         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10352
10353 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10354
10355         [BZ#16431]
10356         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10357         Adjust the vDSO correctly for internal calls.
10358         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10359
10360 2014-01-20  Allan McRae  <allan@archlinux.org>
10361
10362         * po/ca.po: Update Catalan translation from translation project.
10363
10364 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10365
10366         * sysdeps/s390/sotruss-lib.c: New file.
10367
10368 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10369
10370         [BZ#16430]
10371         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10372         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10373         local calls issues by not having a PLT stub required for IFUNC calls.
10374         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10375
10376 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10377
10378         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10379         * math/test-fpucw-static.c: Likewise.
10380
10381 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10382
10383         [BZ #16453]
10384         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10385
10386 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10387
10388         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10389         implementation for powerpc.
10390
10391 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10392
10393         [BZ #14782]
10394         * sysdeps/posix/system.c (__libc_system): Do not enable
10395         asynchronous cancellation.
10396
10397 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10398
10399         [BZ #16427]
10400         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10401         handling only for numbers special also in the IEEE case.
10402
10403 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10404
10405         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10406
10407 2014-01-11  Allan McRae  <allan@archlinux.org>
10408
10409         * po/bg.po: Update Bulgarian translation from translation project.
10410
10411         * po/de.po: Update German translation from translation project.
10412
10413 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10414
10415         * sysdeps/generic/gcc-compat.h: New file.
10416
10417 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10418
10419         * benchtests/asin-inputs: Correct slow inputs.
10420         * benchtests/acos-inputs: Likewise.
10421
10422 2014-01-10  Allan McRae  <allan@archlinux.org>
10423
10424         * po:sv.po: Update Swedish translation from translation project.
10425
10426         * po/vi.po: Update Vietnamese translation from translation project.
10427
10428         * po/eo.po: Update Esperanto translation from translation project.
10429
10430         * po/cs.po: Update Czech translation from translation project.
10431
10432         * po/nl.po: Update Dutch translation from translation project.
10433
10434         * po/pl.po: Update Polish translation from translation project.
10435
10436         * po/ru.po: Update Russian translation from translation project.
10437
10438         * po/uk.po: Update Ukrainian translation from translation project.
10439
10440 2014-01-08  Brooks Moses  <bmoses@google.com>
10441
10442         * elf/dl-load.c: Fix comment typo.
10443
10444 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10445
10446         * po/header.pot: Rename to...
10447         * po/pot.header: ... this.
10448         * po/Makefile: Use pot.header.
10449
10450 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10451             Maxim Kuvyrkov  <maxim@kugelworks.com>
10452
10453         [BZ #16394]
10454         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10455         SRC and DEST against LEN.
10456
10457 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10458
10459         [BZ #16414]
10460         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10461         implementation.
10462         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10463
10464 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10465
10466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10467
10468 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10469
10470         [BZ #16408]
10471         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10472         for large positive arguments.
10473
10474 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10475
10476         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10477
10478         * math/auto-libm-test-in: Mark various tests with
10479         xfail-rounding:ldbl-128ibm.
10480         * math/auto-libm-test-out: Regenerated.
10481
10482         [BZ #16407]
10483         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10484         Increase overflow threshold.
10485
10486 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10487
10488         [BZ #14286]
10489         * stdio-common/vfprintf.c: Check for integer overflow.
10490
10491 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10492
10493         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10494         the first argument and return value of __tls_get_addr_internal.
10495
10496 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10497
10498         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10499         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10500
10501 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10502
10503         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10504         * sysdeps/s390/rtld-global-offsets.sym: New file.
10505         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10506         GLIBC_2.19 symbol.
10507         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10508         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10510         ... this.
10511         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10513         ... this.
10514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10515         Regenerate.
10516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10517         Regenerate.
10518         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10519         halfs of GPRs for high_gprs contexts.
10520         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10521         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10522         field.
10523         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10524         uc_flags field.
10525         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10526         64 bit versions:
10527         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10528         for high GPRs (uc_high_gprs) and for future extensions
10529         (__reserved).
10530         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10531         for future extensions (__reserved).
10532         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10533         64 bit versions:
10534         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10535         SC_HIGHGPRS offset definition.
10536         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10537         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10538
10539         * Versions.def: Add GLIBC_2.19 for libpthread.
10540         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10541         siglongjmp for libpthread with GLIBC_2.19 symver.
10542         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10543         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10544         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10545         * sysdeps/s390/__longjmp.c: New file.
10546         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10547         * sysdeps/s390/longjmp.c: New file.
10548         * sysdeps/s390/setjmp.S: New file.
10549         * sysdeps/s390/sigjmp.S: New file.
10550         * sysdeps/s390/v1-longjmp.c: New file.
10551         * sysdeps/s390/v1-setjmp.h: New file.
10552         * sysdeps/s390/v1-sigjmp.c: New file.
10553         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10554         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10555         GLIBC_2.19 version.
10556         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10557         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10558         versioned symbols for ____longjmp_chk.
10559         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10560         Likewise.
10561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10562         Regenerate.
10563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10564         Regenerate.
10565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10566         Regenerate.
10567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10568         Regenerate.
10569         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10570         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10571         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10572         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10573         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10574         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10575         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10576         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10577         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10578         * sysdeps/s390/rtld-__longjmp.c: New file.
10579         * sysdeps/s390/rtld-setjmp.S: New file.
10580
10581 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10582
10583         [BZ #16400]
10584         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10585         Return -__logl (x) for small positive arguments without evaluating
10586         a polynomial.
10587
10588 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10589
10590         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10591         Rename to ...
10592         (__ptrace_peeksiginfo_args): ... this.
10593         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10594         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10595         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10596
10597 2014-01-06  Allan McRae  <allan@archlinux.org>
10598
10599         * inet/netinet/in.h: Fix typo in comment.
10600
10601 2014-01-05  Andreas Jaeger  <aj@suse.de>
10602
10603         * sysdeps/i386/fpu/libm-test-ulps: Update.
10604
10605 2014-01-05  Allan McRae  <allan@archlinux.org>
10606
10607         * po/libc.pot: Regenerated.
10608
10609         * malloc/memusagestat.c: Fix gettext call formatting.
10610
10611 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10612
10613         * nscd/nscd.c: Improve usage() output.
10614
10615 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10616
10617         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10618         * sysdeps/unix/sysv/linux/configure: Regenerated.
10619         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10620         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10621
10622 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10623
10624         [BZ #16390]
10625         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10626         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10627
10628 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10629
10630         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10631         extra tokens at end of #undef directive.
10632         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10633         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10634         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10635
10636 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10637
10638         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10639
10640         * math/auto-libm-test-in: Mark various tests with
10641         xfail-rounding:ldbl-128ibm.
10642         * math/auto-libm-test-out: Regenerated.
10643
10644 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10645
10646         [BZ #16386]
10647         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10648         numbers with subnormal high part when calculating exponent.
10649
10650         [BZ #16385]
10651         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10652         fabs.
10653
10654         [BZ #16384]
10655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10656         M_LN2l.
10657         (__ieee754_acoshl): Use __log1pl not __log1p.
10658
10659 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10660
10661         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10662         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10663         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10664         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10665         (reused_arena, arena_get2): Convert to GNU style.
10666         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10667         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10668         (memalign_check, __malloc_set_state): Likewise.
10669         * malloc/mallocbug.c (main): Likewise.
10670         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10671         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10672         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10673         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10674         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10675         (__posix_memalign, malloc_info): Likewise.
10676         * malloc/malloc.h: Likewise.
10677         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10678         (mallochook, memalignhook, reallochook, mabort): Likewise.
10679         * malloc/mcheck.h: Likewise.
10680         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10681         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10682         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10683         * malloc/morecore.c (__default_morecore): Likewise.
10684         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10685         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10686         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10687         (print_and_abort): Likewise.
10688         * malloc/obstack.h: Likewise.
10689         * malloc/set-freeres.c (__libc_freeres): Likewise.
10690         * malloc/tst-mallocstate.c (main): Likewise.
10691         * malloc/tst-mtrace.c (main): Likewise.
10692         * malloc/tst-realloc.c (do_test): Likewise.
10693
10694 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10695
10696         [BZ #16366]
10697         * nscd/netgroupcache.c (do_notfound): New function.
10698         (addgetnetgrentX): Use it.
10699
10700         [BZ # 16365]
10701         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10702         NSS_STATUS_NOTFOUND.
10703
10704 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10705
10706         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708
10709 2014-01-01  Allan McRae  <allan@archlinux.org>
10710
10711         * scripts/update-copyrights: Update configure input file suffix.
10712
10713         * NEWS: Update copyright year.
10714         * catgets/gencat.c: Likewise.
10715         * csu/version.c: Likewise.
10716         * debug/catchsegv.sh: Likewise.
10717         * debug/pcprofiledump.c: Likewise.
10718         * debug/xtrace.sh: Likewise.
10719         * elf/ldconfig.c: Likewise.
10720         * elf/ldd.bash.in: Likewise.
10721         * elf/pldd.c: Likewise.
10722         * elf/sotruss.ksh: Likewise.
10723         * elf/sprof.c: Likewise.
10724         * iconv/iconv_prog.c: Likewise.
10725         * iconv/iconvconfig.c: Likewise.
10726         * locale/programs/locale.c: Likewise.
10727         * locale/programs/localedef.c: Likewise.
10728         * login/programs/pt_chown.c: Likewise.
10729         * malloc/memusage.sh: Likewise.
10730         * malloc/memusagestat.c: Likewise.
10731         * malloc/mtrace.pl: Likewise.
10732         * manual/libc.texinfo: Likewise.
10733         * nscd/nscd.c: Likewise.
10734         * nss/getent.c: Likewise.
10735         * nss/makedb.c: Likewise.
10736         * posix/getconf.c: Likewise.
10737         * scripts/test-installation.pl: Likewise.
10738
10739         * All files with FSF copyright notices: Update copyright dates
10740         using scripts/update-copyrights.
10741         * intl/plural.c: Regenerated.
10742         * locale/programs/charmap-kw.h: Likewise.
10743         * locale/programs/locfile-kw.h: Likewise.
10744
10745 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10746
10747         * sysdeps/unix/sysv/linux/configure: Regenerated.
10748         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10749         the linux/fanotify.h header.
10750         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10751         HAVE_LINUX_FANOTIFY_H is defined.
10752
10753 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10754
10755         * benchtests/cos-inputs: New inputs.
10756         * benchtests/sin-inputs: Likewise.
10757
10758         * benchtests/atan-inputs: New inputs. Fix name of multiple
10759         precision fallback inputs.
10760
10761         * benchtests/atanh-inputs: New inputs.
10762         * benchtests/tanh-inputs: Likewise.
10763
10764         * benchtests/acosh-inputs: New inputs.
10765         * benchtests/asinh-inputs: Likewise.
10766
10767         * benchtests/cosh-inputs: New inputs.
10768         * benchtests/sinh-inputs: Likewise.
10769
10770         * benchtests/acos-inputs: Add more inputs.
10771         * benchtests/asin-inputs: Likewise.
10772
10773 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10774
10775         [BZ #16375]
10776         * manual/arith.texi: Fix spelling.
10777         * manual/charset.texi: Likewise.
10778         * manual/errno.texi: Likewise.
10779         * manual/filesys.texi: Likewise.
10780         * manual/lang.texi: Likewise.
10781         * manual/llio.texi: Likewise.
10782         * manual/locale.texi: Likewise.
10783         * manual/message.texi: Likewise.
10784         * manual/resource.texi: Likewise.
10785         * manual/search.texi: Likewise.
10786         * manual/setjmp.texi: Likewise.
10787         * manual/stdio.texi: Likewise.
10788         * manual/string.texi: Likewise.
10789         * manual/sysinfo.texi: Likewise.
10790         * manual/time.texi: Likewise.
10791
10792 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10793
10794         * po/sl.po: New file.
10795
10796 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10797
10798         * .gitignore: Add core/.gdbinit/.gdb_history.
10799
10800 2013-12-27  Allan McRae  <allan@archlinux.org>
10801
10802         [BZ #16369]
10803         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10804         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10805
10806 2013-12-24  Brooks Moses  <bmoses@google.com>
10807
10808         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10809         all compilers that claim C++98 compliance, not just GCC.
10810         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10811         Likewise.
10812
10813 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10814
10815         * NEWS: Restore accidentally deleted bug-fix entries.
10816
10817 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10818             Ondřej Bílka  <neleai@seznam.cz>
10819
10820         [BZ #15073]
10821         * malloc/malloc.c (_int_free): Perform sanity check only if we
10822         have_lock.
10823
10824 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10825
10826         [BZ #12986]
10827         * manual/stdio.texi (String Input Conversions): Clarify that character
10828         classes are not supported.
10829
10830 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10831
10832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10833
10834 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10835
10836         [BZ #16337]
10837         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10838         Calculate results for small negative arguments directly rather
10839         than using reflection formula with special underflow handling.
10840
10841         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10842         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10843         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10844         (fchflags): Likewise.
10845         (revoke): Likewise.
10846         (setlogin): Likewise.
10847         (sigaltstack): Likewise.
10848         (wait4): Likewise.
10849         (sigblock): Remove.
10850         (sigsetmask): Likewise.
10851         (wait3): Likewise.
10852         (waitpid): Likewise.
10853         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10854         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10855         file.
10856         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10857         * sysdeps/unix/bsd/Makefile: ... here.
10858         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10859         * sysdeps/unix/bsd/Versions: ... here.
10860         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10861         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10862         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10863         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10864         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10865         * sysdeps/unix/bsd/sigblock.c: ... here.
10866         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10867         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10868         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10869         * sysdeps/unix/bsd/sigvec.c: ... here.
10870         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10871         * sysdeps/unix/bsd/tcdrain.c: ... here.
10872         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10873         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10874         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10875         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10876         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10877         * sysdeps/unix/bsd/wait.c: ... here.
10878         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10879         * sysdeps/unix/bsd/wait3.c: ... here.
10880         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10881         * sysdeps/unix/bsd/waitpid.c: ... here.
10882
10883 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10884
10885         [BZ #16356]
10886         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10887         round-to-nearest for [!USE_AS_EXPM1L].
10888         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10889         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10890         more tests of exp and exp10.  Expect some exp10 tests to miss
10891         exceptions or fail in directed rounding modes.
10892         * math/auto-libm-test-out: Regenerated.
10893         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10894         (exp10_test_tonearest): New function.
10895         (exp10_towardzero_test_data): New array.
10896         (exp10_test_towardzero): New function.
10897         (exp10_downward_test_data): New array.
10898         (exp10_test_downward): New function.
10899         (exp10_upward_test_data): New array.
10900         (exp10_test_upward): New function.
10901         (main): Call the new functions.
10902         * sysdeps/i386/fpu/libm-test-ulps: Update.
10903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904
10905 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10906
10907         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10908         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10909         * math/auto-libm-test-out: Regenerated.
10910         * math/libm-test.inc (acosh_test_data): Add more tests.
10911         (atanh_test_data): Likewise.
10912         (ceil_test_data): Likewise.
10913         (copysign_test_data): Likewise.
10914         * sysdeps/i386/fpu/libm-test-ulps: Update.
10915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916
10917         * timezone/checktab.awk: Update from tzcode 2013i.
10918         * timezone/private.h: Likewise.
10919         * timezone/scheck.c: Likewise.
10920         * timezone/tzfile.h: Likewise.
10921         * timezone/tzselect.ksh: Likewise.
10922         * timezone/zdump.c: Likewise.
10923         * timezone/zic.c: Likewise.
10924
10925         * math/auto-libm-test-in: Add tests of cpow.
10926         * math/auto-libm-test-out: Regenerated.
10927         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10928         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10929         mpc_cc_c.
10930         (func_calc_desc): Add mpc_cc_c union field.
10931         (test_functions): Add cpow.
10932         (special_fill_2pi): New function.
10933         (special_real_inputs): Add 2pi.
10934         (calc_generic_results): Handle mpc_cc_c.
10935         * sysdeps/i386/fpu/libm-test-ulps: Update.
10936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937
10938         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10939         csqrt, ctan and ctanh.
10940         * math/auto-libm-test-out: Regenerated.
10941         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10942         (TEST_COND_x86): Likewise.
10943         (ccos_test_data): Use AUTO_TESTS_c_c.
10944         (ccosh_test_data): Likewise.
10945         (cexp_test_data): Likewise.
10946         (clog_test_data): Likewise.
10947         (csqrt_test_data): Likewise.
10948         (ctan_test_data): Likewise.
10949         (ctan_tonearest_test_data): Likewise.
10950         (ctan_towardzero_test_data): Likewise.
10951         (ctan_downward_test_data): Likewise.
10952         (ctan_upward_test_data): Likewise.
10953         (ctanh_test_data): Likewise.
10954         (ctanh_tonearest_test_data): Likewise.
10955         (ctanh_towardzero_test_data): Likewise.
10956         (ctanh_downward_test_data): Likewise.
10957         (ctanh_upward_test_data): Likewise.
10958         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10959         mpc_c_c.
10960         (func_calc_desc): Add mpc_c_c union field.
10961         (FUNC_mpc_c_c): New macro.
10962         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10963         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10964         ctanh.
10965         (special_fill_min_subnorm_p120): New function.
10966         (special_real_inputs): Add min_subnorm_p120.
10967         (calc_generic_results): Handle mpc_c_c.
10968         * sysdeps/i386/fpu/libm-test-ulps: Update.
10969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10970
10971 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972
10973         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10974         (do_sin_slow): New functions.
10975         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10976         (cslow2, csloww1, csloww2): Use the new functions.
10977
10978         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10979         Use M to change sign of result instead of X.  Assume X is
10980         positive.
10981         (csloww1): Likewise.
10982         (__sin): Adjust.
10983         (__cos): Adjust.
10984
10985         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10986         arguments A and DA.
10987         (__sin): Adjust.
10988         (__cos): Likewise.
10989
10990         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10991         (__cos): Likewise.
10992         (sloww1): Don't adjust sign of DX.
10993         (csloww1): Likewise.
10994         (sloww2): Use X directly and don't adjust sign of DX.
10995         (csloww2): Likewise.
10996
10997 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10998
10999         * math/auto-libm-test-in: Add tests of cabs and carg.
11000         * math/auto-libm-test-out: Regenerated.
11001         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11002         (carg_test_data): Likewise.
11003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11004         mpc_c_f.
11005         (func_calc_desc): Add mpc_c_f union field.
11006         (test_functions): Add cabs and carg.
11007         (calc_generic_results): Handle mpc_c_f.
11008
11009         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11010         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11011         as a macro and a compat symbol.
11012         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11013         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11014         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11015         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11016         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11017         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11018         not use .hidden.
11019         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11020         Likewise.
11021         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11022         Likewise.
11023         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11024         Likewise.
11025         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11026         Likewise.
11027         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11028         Likewise.
11029         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11030         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11031         from GLIBC_2.3.2.
11032
11033 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11034
11035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11036
11037 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11038
11039         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11040         trailing whitespace removed.
11041         * scripts/config.guess: Update to version 2013-11-29.
11042         * scripts/config.sub: Update to version 2013-10-01.
11043
11044         * math/auto-libm-test-in: Add tests of sincos.
11045         * math/auto-libm-test-out: Regenerated.
11046         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11048         mpfr_f_11.
11049         (func_calc_desc): Add mpfr_f_11 union field.
11050         (test_functions): Add sincos.
11051         (calc_generic_results): Handle mpfr_f_11.
11052         * sysdeps/i386/fpu/libm-test-ulps: Update.
11053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054
11055 2013-12-19  Andreas Schwab  <schwab@suse.de>
11056
11057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11058         CALL_MCOUNT.
11059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11060         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11061         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11062
11063 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11064
11065         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11066         * sysdeps/i386/fpu/libm-test-ulps: Update.
11067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11068
11069         [BZ #16293]
11070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11071         round-to-nearest mode when using frndint.
11072         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11073         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11074         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11075         Likewise.
11076         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11077         sinh test to fail.
11078         * math/auto-libm-test-out: Regenerated.
11079         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11080         (TEST_COND_x86): Likewise.
11081         (expm1_tonearest_test_data): New array.
11082         (expm1_test_tonearest): New function.
11083         (expm1_towardzero_test_data): New array.
11084         (expm1_test_towardzero): New function.
11085         (expm1_downward_test_data): New array.
11086         (expm1_test_downward): New function.
11087         (expm1_upward_test_data): New array.
11088         (expm1_test_upward): New function.
11089         (main): Run the new test functions.
11090         * sysdeps/i386/fpu/libm-test-ulps: Update.
11091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11092
11093         * include/features.h: Update comment documenting feature test
11094         macros.  Mention _DEFAULT_SOURCE in comment.
11095         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11096         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11097         _BSD_SOURCE and _SVID_SOURCE.
11098         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11099         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11100         !_SVID_SOURCE]: Likewise.
11101         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11102         (__USE_POSIX_IMPLICITLY): Define.
11103         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11104         (_POSIX_SOURCE): Undefine and redefine.
11105         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11106         (_POSIX_C_SOURCE): Likewise.
11107         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11108         (Feature Test Macros): Update documentation of default features.
11109
11110 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11111
11112         * benchtests/Makefile: Add bench-strtok.
11113         * benchtests/bench-strtok.c: New file: strtok benchtest.
11114
11115 2013-12-19  Allan McRae  <allan@archlinux.org>
11116
11117         * manual/install.texi: Suppress menu for plain text output.
11118         * INSTALL: Regenerated.
11119
11120 2013-12-18  Brooks Moses  <bmoses@google.com>
11121
11122         [BZ #15846]
11123         * misc/getauxval.c: Include errno.h.
11124         (__getauxval): Set errno to ENOENT if the requested type is not
11125         found.
11126         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11127         don't declare with __attribute_const__.
11128         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11129         * manual/startup.texi: Document that getauxval sets errno.
11130
11131 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11132
11133         * math/auto-libm-test-in: Add tests of jn and yn.
11134         * math/auto-libm-test-out: Regenerated.
11135         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11136         (yn_test_data): Likewise.
11137         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11138         mpfr_if_f.
11139         (func_calc_desc): Add mpfr_if_f union field.
11140         (FUNC_mpfr_if_f): New macro.
11141         (test_functions): Add jn and yn.
11142         (calc_generic_results): Assert type of second input for
11143         mpfr_ff_f.  Handle mpfr_if_f.
11144         (output_for_one_input_case): Disable all checking for arguments
11145         fitting floating-point types in case of an integer argument.
11146         * sysdeps/i386/fpu/libm-test-ulps: Update.
11147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11148
11149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11150         Don't expect fegetround reference in libm.so.
11151
11152 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11153
11154         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11155         $(config-cflags-nofma).
11156
11157 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11158
11159         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11160         * math/auto-libm-test-out: Regenerated.
11161
11162         [BZ #16338]
11163         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11164         to determine exponent and adjust argument to have exponent of -1.
11165         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11166         log2.
11167         * math/auto-libm-test-out: Regenerated.
11168         * sysdeps/i386/fpu/libm-test-ulps: Update.
11169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11170
11171 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11172
11173         * manual/probes.texi: Remove cases when per-thread arenas are
11174         disabled.
11175
11176 2013-12-18  Andreas Schwab  <schwab@suse.de>
11177
11178         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11179         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11180         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11181         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11182         * sysdeps/i386/i686/multiarch/Makefile: Update.
11183         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11184
11185 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11186
11187         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11188         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11189
11190 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11191
11192         [BZ #15968]
11193         Support TZ transition times < 00:00:00.
11194         This is needed for version-3 tz-format files; it supports time
11195         stamps past 2037 for America/Godthab (the only entry in the tz
11196         database for which this change is relevant).
11197         * manual/time.texi (TZ Variable): Document transition times
11198         from -167:59:59 through -00:00:01.
11199         * time/tzset.c (tz_rule): Time of day is now signed.
11200         (__tzset_parse_tz): Parse negative time of day.
11201
11202         Document TZ transition times >= 25:00:00.
11203         * manual/time.texi (TZ Variable): Document transition times from
11204         25:00:00 through 167:59:59.  These are already supported, and this
11205         support will help with version-3 tz-format files.
11206
11207         * manual/time.texi (TZ Variable): Modernize North America example
11208         to reflect current (i.e., 2007-and-later) daylight saving rules.
11209
11210         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11211
11212 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11213
11214         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11215         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11218         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11219         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11220         * sysdeps/unix/bsd/clock.c: Likewise.
11221         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11222         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11223         * sysdeps/unix/bsd/init-posix.c: Likewise.
11224         * sysdeps/unix/bsd/poll.c: Likewise.
11225         * sysdeps/unix/bsd/ptsname.c: Likewise.
11226         * sysdeps/unix/bsd/seekdir.c: Likewise.
11227         * sysdeps/unix/bsd/setegid.c: Likewise.
11228         * sysdeps/unix/bsd/seteuid.c: Likewise.
11229         * sysdeps/unix/bsd/setgid.c: Likewise.
11230         * sysdeps/unix/bsd/setrgid.c: Likewise.
11231         * sysdeps/unix/bsd/setruid.c: Likewise.
11232         * sysdeps/unix/bsd/setsid.c: Likewise.
11233         * sysdeps/unix/bsd/setuid.c: Likewise.
11234         * sysdeps/unix/bsd/sigaction.c: Likewise.
11235         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11236         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11237         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11238         * sysdeps/unix/bsd/telldir.c: Likewise.
11239         * sysdeps/unix/bsd/times.c: Likewise.
11240         * sysdeps/unix/bsd/usleep.c: Likewise.
11241
11242         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11243         ($(objpfx)libbsd-compat.a): Remove rule.
11244
11245         * include/features.h (__FAVOR_BSD): Do not define.
11246         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11247         features conflicting with POSIX.
11248         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11249         (_BSD_SOURCE): Remove description of not being a subset of other
11250         feature test macros.
11251         * manual/job.texi (getpgrp): Do not document BSD version.
11252         (getpgid): Do not document by reference to BSD getpgrp.
11253         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11254         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11255         * signal/signal.h [__FAVOR_BSD]: Likewise.
11256         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11257         instead of making contents conditional on [__FAVOR_BSD].
11258         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11259
11260 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11261
11262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11263
11264 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11265
11266         [BZ #16314]
11267         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11268         values below 2**-450, not 2**-500.
11269         * math/auto-libm-test-in: Don't allow spurious underflow from
11270         hypot.
11271         * math/auto-libm-test-out: Regenerated.
11272
11273         [BZ #16316]
11274         [BZ #16330]
11275         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11276         values of ha and hb and sort them after adjusting subnormal
11277         arguments.
11278         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11279         Likewise.
11280         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11281         values of ea and eb and sort them after adjusting subnormal
11282         arguments.
11283         * math/auto-libm-test-in: Do not expect some hypot tests of
11284         subnormals to fail.  Add more hypot tests.
11285         * math/auto-libm-test-out: Regenerated.
11286
11287 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11288
11289         [BZ #13304]
11290         * sysdeps/sh/s_fma.c: New file.
11291         * sysdeps/sh/s_fmaf.c: New file.
11292         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11293         version.
11294         * sysdeps/sh/Implies: Add sh/soft-fp.
11295
11296 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11297
11298         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11299         level of indirection to members `objname', `errstring', `malloced'.
11300         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11301         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11302         it as the __longjmp argument (just pass 1 instead).
11303         (_dl_catch_error): Initialize C with argument pointers and address of
11304         volatile local ERRCODE rather than copying values out of C at return.
11305
11306 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11307
11308         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11309         * math/auto-libm-test-out: Regenerated.
11310         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11311         (hypot_test_data): Likewise.
11312         (pow_test_data): Likewise.
11313         (pow_tonearest_test_data): Likewise.
11314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11315         mpfr_ff_f.
11316         (func_calc_desc): Add mpfr_ff_f union field.
11317         (FUNC_mpfr_ff_f): New macro.
11318         (test_functions): Add atan2, hypot and pow.
11319         (special_fill_min): New function.
11320         (special_fill_minus_min): Likewise.
11321         (special_fill_min_subnorm): Likewise.
11322         (special_fill_minus_min_subnorm): Likewise.
11323         (special_real_inputs): Add min, -min, min_subnorm and
11324         -min_subnorm.
11325         (calc_generic_results): Handle mpfr_ff_f.
11326         * sysdeps/i386/fpu/libm-test-ulps: Update.
11327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11328
11329 2013-12-16  Will Newton  <will.newton@linaro.org>
11330
11331         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11332         (Aligned Memory Blocks): Add documentation for aligned_alloc
11333         and suggest it as an alternative to posix_memalign.
11334         (Hooks for Malloc): Document __memalign_hook is also called
11335         for aligned_alloc.  (Summary of Malloc): Add summary for
11336         aligned alloc.  Document __memalign_hook is also called
11337         for aligned_alloc.
11338
11339 2013-12-16  Will Newton  <will.newton@linaro.org>
11340
11341         * manual/memory.texi (Malloc Examples): Clarify default
11342         alignment documentation.  Suggest posix_memalign rather
11343         than memalign or valloc.
11344         (Aligned Memory Blocks): Remove suggestion to use memalign
11345         or valloc.  Remove obsolete comment about BSD.
11346         Document memalign errno values and mark the function obsolete.
11347         Document posix_memalign returned error codes.  Mark valloc
11348         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11349         called for posix_memalign and valloc.
11350         (Summary of Malloc): Add posix_memalign to function summary.
11351         __memalign_hook is also called for posix_memalign and valloc.
11352
11353 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11354
11355         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11356         TAYLOR_SIN.
11357         (__sin): Adjust.
11358         (__cos): Likewise.
11359         (sloww): Use mynumber union.  Expand ternary operator into
11360         if-else statements.
11361         (cslow): use mynumber union.
11362
11363 2013-12-16  Allan McRae  <allan@archlinux.org>
11364
11365         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11366         * configure: Regenerated.
11367
11368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11369
11370         [BZ #14120]
11371         * configure.ac: Added --enable-maintainer-mode. Check for
11372         autoconf when enabled.
11373         * configure: Regenerated.
11374
11375         * nscd/nscd.service: New file.
11376         * nscd/nscd.tmpfiles: New file.
11377
11378 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11379
11380         [BZ #12100]
11381         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11382         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11383         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11384         (strstr): Add __strstr_sse2_unaligned ifunc.
11385         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11386         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11387         (strcasestr): Remove __strcasestr_sse42 ifunc.
11388         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11391
11392 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11393
11394         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11395         * sysdeps/sh/bits/fenv.h: ... here.
11396         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11397
11398 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11399
11400         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11401
11402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11403         hypotf multiarch implementations.
11404         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11407         multiarch hypot for PPC64.
11408         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11411         multiarch hypotf for PPC64.
11412
11413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11414         modff multiarch implementations.
11415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11418         multiarch modf for PPC64.
11419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11422         multiarch modff for PPC64.
11423
11424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11425         and logl multiarch implementations.
11426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11429         multiarch logb for PPC64.
11430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11433         multiarch logb for PPC64.
11434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11437         multiarch logb for PPC64.
11438
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11440         isinff multiarch implementation.
11441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11442         file.
11443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11445         multiarch isinf for PPC64.
11446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11447         file.
11448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11449         multiarch isinff for PPC64.
11450
11451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11452         finitef multiarch implementation.
11453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11454         file.
11455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11457         multiarch finite for PPC64.
11458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11459         file.
11460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11461         multiarch finitef for PPC64.
11462
11463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11464         lrint multiarch implementation.
11465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11466         file.
11467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11469         multiarch llrint for PPC64.
11470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11471         multiarch lrint for PPC64.
11472
11473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11474         copysignf multiarch implementation.
11475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11476         file.
11477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11478         file.
11479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11480         multiarch copysign for PPC64.
11481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11482         multiarch copysignf for PPC64.
11483
11484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11485         multiarch implementation.
11486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11487         file.
11488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11489         file.
11490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11491         file.
11492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11493         file.
11494         multiarch llround for PPC64.
11495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11496         multiarch trunc for PPC64.
11497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11498         multiarch truncf for PPC64.
11499
11500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11501         multiarch implementation.
11502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11503         file.
11504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11505         file.
11506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11507         file.
11508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11509         file.
11510         multiarch llround for PPC64.
11511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11512         multiarch round for PPC64.
11513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11514         multiarch roundf for PPC64.
11515
11516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11517         multiarch implementation.
11518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11519         file.
11520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11521         file.
11522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11523         file.
11524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11525         file.
11526         multiarch llround for PPC64.
11527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11528         multiarch floor for PPC64.
11529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11530         multiarch floorf for PPC64.
11531
11532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11533         multiarch implementation.
11534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11535         file.
11536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11537         file.
11538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11539         file.
11540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11541         file.
11542         multiarch llround for PPC64.
11543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11544         multiarch ceil for PPC64.
11545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11546         multiarch ceilf for PPC64.
11547
11548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11549         multiarch implementation.
11550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11551         file.
11552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11553         file.
11554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11555         file.
11556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11557         multiarch llround for PPC64.
11558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11559         multiarch lround for PPC64.
11560
11561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11562         multiarch implementation.
11563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11566         file.
11567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11570         multiarch isnan for PPC64.
11571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11572         multiarch isnanf for PPC64.
11573
11574         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11575         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11576         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11577         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11578         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11580
11581         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11582         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11583         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11585
11586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11587         multiarch implementations.
11588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11589         (__libc_ifunc_impl_list): Likewise.
11590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11593         multiarch stpcpy for PPC64.
11594
11595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11596         multiarch implementations.
11597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11598         (__libc_ifunc_impl_list): Likewise.
11599         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11601         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11602         multiarch strcpy for PPC64.
11603
11604         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11605         redefine function name.
11606         (_wordcopy_fwd_dest_aligned): Likewise.
11607         (_wordcopy_bwd_aligned): Likewise.
11608         (_wordcopy_bwd_dest_aligned): Likewise.
11609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11610         multiarch implementations.
11611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11612         (__libc_ifunc_impl_list): Likewise.
11613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11617         multiarch wcscpy for PPC64.
11618
11619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11620         multiarch implementations.
11621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11622         (__libc_ifunc_impl_list): Likewise.
11623         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11627         multiarch wcscpy for PPC64.
11628
11629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11630         multiarch implementations.
11631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11632         (__libc_ifunc_impl_list): Likewise.
11633         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11637         multiarch wcsrchr for PPC64.
11638
11639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11640         multiarch implementations.
11641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11642         (__libc_ifunc_impl_list): Likewise.
11643         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11646         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11647         multiarch wcschr for PPC64.
11648
11649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11650         multiarch implementations.
11651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11652         (__libc_ifunc_impl_list): Likewise.
11653         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11654         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11656         multiarch strchrnul for PPC64.
11657
11658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11659         implementations.
11660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11661         (__libc_ifunc_impl_list): Likewise.
11662         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11663         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11664         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11665         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11666         strchr for PPC64.
11667
11668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11669         implementations.
11670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11671         (__libc_ifunc_impl_list): Likewise.
11672         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11675         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11676         strncmp for PPC64.
11677
11678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11679         multiarch implementations.
11680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11681         (__libc_ifunc_impl_list): Likewise.
11682         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11683         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11684         strncasecmp for PPC64.
11685         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11686         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11687         multiarch strncasecmp_l for PPC64.
11688
11689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11690         multiarch implementations.
11691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11692         (__libc_ifunc_impl_list): Likewise.
11693         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11695         multiarch strcasecmp for PPC64.
11696         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11697         file.
11698         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11699         multiarch strcasecmp_l for PPC64.
11700
11701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11702         implementations.
11703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11704         (__libc_ifunc_impl_list): Likewise.
11705         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11706         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11707         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11708         strnlen for PPC64.
11709
11710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11711         implementations.
11712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11713         (__libc_ifunc_impl_list): Likewise.
11714         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11715         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11716         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11717         strlen for PPC64.
11718
11719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11720         implementations.
11721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11722         (__libc_ifunc_impl_list): Likewise.
11723         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11726         rawmemrchr for PPC64.
11727
11728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11729         implementation.
11730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11731         (__libc_ifunc_impl_list): Likewise.
11732         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11733         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11734         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11735         memrchr for PPC64.
11736
11737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11738         implementation.
11739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11740         (__libc_ifunc_impl_list): Likewise.
11741         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11742         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11743         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11744         memchr for PPC64.
11745
11746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11747         implementation.
11748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11749         (__libc_ifunc_impl_list): Likewise.
11750         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11753         mempcpy for PPC64.
11754
11755         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11756         avoid cretion of __bzero symbol.
11757         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11758         Likewise.
11759         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11760         Likewise.
11761         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11762         Likewise.
11763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11764         multiarch implementations.
11765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11766         (__libc_ifunc_impl_list): Likewise.
11767         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11770         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11771         bzero for PPC32.
11772         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11773         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11774         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11775         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11776         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11777         memset for PPC64.
11778         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11779
11780         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11782         implementations.
11783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11784         (__libc_ifunc_impl_list): Likewise.
11785         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11788         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11789         memcmp for PPC64.
11790
11791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11792         multiarch for POWER/PPC64.
11793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11794         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11795         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11801         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11802         memcpy for PPC64.
11803
11804         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11805         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11806         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11807         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11808         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11809         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11810         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11811         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11812         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11813         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11814         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11815         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11816         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11817         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11818         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11826
11827 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11828
11829         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11830
11831 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11832
11833         * benchtests/Makefile (bench): Add exp2 and log2.
11834         (LDLIBS-bench-exp2): Add -lm.
11835         (LDLIBS-bench-log2): Likewise.
11836         * benchtests/exp2-inputs: New inputs file.
11837         * benchtests/log2-inputs: New inputs file.
11838         * benchtests/log-inputs: Add new inputs.
11839         * benchtests/tan-inputs: Likewise.
11840
11841 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11842
11843         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11844         definition...
11845         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11846         (csloww2): ... from here.
11847
11848         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11849         instead of structures.
11850         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11851         (POLYNOMIAL): Likewise.
11852         (TAYLOR_SLOW): Likewise.
11853         (__sin): Likewise.
11854         (__cos): Likewise.
11855         (slow1): Likewise.
11856         (slow2): Likewise.
11857         (sloww): Likewise.
11858         (sloww1); Likewise.
11859         (sloww2): Likewise.
11860         (bsloww1): Likewise.
11861         (bsloww2): Likewise.
11862         (cslow2): Likewise.
11863         (csloww): Likewise.
11864         (csloww1): Likewise.
11865         (csloww2): Likewise.
11866
11867 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11868
11869         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11870         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11871         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11872         * malloc/hooks.c (realloc_check): Likewise.
11873
11874         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11875         * malloc/arena.c: Remove PER_THREAD conditional.
11876         [!PER_THREAD]: Remove code.
11877         (ptmalloc_unlock_all2): Likewise.
11878         (ptmalloc_init): Likewise.
11879         (_int_new_arena): Likewise.
11880         (arena_get2): Likewise.
11881         * malloc/hooks.c (__malloc_get_state): Likewise.
11882         (__malloc_set_state): Likewise.
11883         * malloc/malloc.c: Likewise.
11884         (struct malloc_state): Likewise.
11885         (struct malloc_par): Likewise.
11886         (__libc_realloc): Likewise.
11887         (__libc_mallopt): Likewise.
11888
11889 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11890
11891         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11892
11893 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11894
11895         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11896         macro to a function.  Check for zero perturb_byte.
11897         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11898
11899         * malloc/malloc.c: (force_reg): Remove.
11900         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11901         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11902         force_reg by atomic_forced_read.
11903         * malloc/arena.c (ptmalloc_init): Likewise.
11904         * malloc/hooks.c (top_check): Likewise.
11905
11906 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11907
11908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11909
11910 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11911
11912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11913
11914 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11915
11916         * math/auto-libm-test-in: Add tests of lgamma.
11917         * math/auto-libm-test-out: Regenerated.
11918         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11919         (M_LOG_2_SQRT_PIl): Likewise.
11920         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11921         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11922         mpfr_f_f1.
11923         (func_calc_desc): Add mpfr_f_f1 union field.
11924         (ARGS1): New macro.
11925         (ARGS2): Likewise.
11926         (ARGS3): Likewise.
11927         (ARGS4): Likewise.
11928         (RET1): Likewise.
11929         (RET2): Likewise.
11930         (CALC): Likewise.
11931         (FUNC): Likewise.
11932         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11933         (test_functions): Add lgamma.
11934         (calc_generic_results): Handle mpfr_f_f1.
11935         * sysdeps/i386/fpu/libm-test-ulps: Update.
11936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11937
11938 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11939
11940         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11941         __mpn_add_n for PowerPC64/POWER7.
11942         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11943         __mpn_sub_n for PowerPC64/POWER7.
11944
11945         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11946         __mpn_addmul_1 for PowerPC64.
11947         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11948         __mpn_submul_1 for PowerPC64.
11949         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11950         for PowerPC64.
11951         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11952         for PowerPC64.
11953
11954 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11955
11956         [BZ #15089]
11957         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11958
11959 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11960
11961         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11962
11963         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11964         add multiarch folders.
11965         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11966         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11967         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11968         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11969         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11970         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11971         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11972         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11973         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11974         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11975         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11982
11983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11984         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11986         New file.
11987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11988         New file.
11989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11990         multiarch __ieee754_hypot for PowerPC32.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11992         New file.
11993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11994         New file.
11995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11996         multiarch __ieee754_hypotf for PowerPC32.
11997
11998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11999         long_double_symbol only if __logbl is defined.
12000         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12001         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12002         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12003         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12005         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12006         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12007         path for implementation.
12008         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12011         logb, and logbl multiarch implementations for PowerPC32.
12012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12013         file.
12014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12015         file.
12016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12017         multiarch logb for PowerPC32.
12018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12019         file.
12020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12021         file.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12023         multiarch logbf for PowerPC32.
12024         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12026         file.
12027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12028         multiarch logbl implementation for PowerPC32.
12029
12030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12031         and modff multiarch implementations.
12032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12033         New file.
12034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12035         New file.
12036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12037         multiarch modf for PowerPC32.
12038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12039         New file.
12040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12041         New file.
12042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12043         multiarch modff for PowerPC32.
12044
12045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12046         and lrintf multiarch implementations.
12047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12048         New file.
12049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12050         New file.
12051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12052         multiarch lrint for PowerPC32.
12053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12054         file: multiarch lrintf for PowerPC32.
12055
12056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12057         and lroundf multiarch implementations.
12058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12059         New file.
12060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12061         New file.
12062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12063         New file.
12064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12065         multiarch lround for PowerPC32.
12066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12067         file: multiarch lroundf for PowerPC32.
12068
12069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12070         copysign and copysignf multiarch implementations.
12071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12072         New file.
12073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12074         New file.
12075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12076         file: multiarch copysign for PowerPC32.
12077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12078         file: multiarch copysignf for PowerPC32.
12079
12080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12081         and truncf multiarch implementations.
12082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12083         New file.
12084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12085         file.
12086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12087         multiarch trunc for PowerPC32.
12088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12089         New file.
12090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12091         New file.
12092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12093         multiarch truncf for PowerPC32.
12094
12095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12096         and roundf multiarch implementations.
12097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12098         New file.
12099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12100         file.
12101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12102         multiarch round for PowerPC32.
12103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12104         New file.
12105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12106         New file.
12107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12108         multiarch roundf for PowerPC32.
12109
12110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12111         and floorf multiarch implementations.
12112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12113         New file.
12114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12115         file.
12116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12117         multiarch floor for PowerPC32.
12118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12119         New file.
12120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12121         New file.
12122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12123         multiarch floorf for PowerPC32.
12124
12125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12126         and ceilf multiarch implementations.
12127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12128         New file.
12129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12130         file.
12131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12132         multiarch ceil for PowerPC32.
12133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12134         New file.
12135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12136         file.
12137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12138         multiarch ceilf for PowerPC32.
12139
12140         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12141         is defined.
12142         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12143         FINITEF is defined.
12144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12145         and finitef multiarch implementations.
12146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12147         New file.
12148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12149         file.
12150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12151         multiarch finite for PowerPC32.
12152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12153         New file.
12154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12155         file: multiarch finitef for PowerPC32.
12156
12157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12158         and isinff multiarch implementations.
12159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12160         file.
12161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12162         file.
12163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12164         multiarch isinf for PowerPC32.
12165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12166         New file.
12167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12168         multiarch isinff for PowerPC32.
12169
12170         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12171         alias when __isnan is defined.
12172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12173         and isnanf multiarch implementations.
12174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12175         file.
12176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12177         file.
12178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12179         file.
12180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12181         file.
12182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12183         multiarch isnan for PowerPC32.
12184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12185         New file.
12186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12187         New file.
12188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12189         multiarch isnanf for PowerPC32.
12190
12191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12192         and sqrtf multiarch implementations.
12193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12194         file.
12195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12196         file.
12197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12198         multiarch sqrt for PowerPC32.
12199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12200         file.
12201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12202         file.
12203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12204         multiarch sqrtf for PowerPC32.
12205
12206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12207         and llroundf multiarch implementations.
12208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12209         New file.
12210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12211         New file.
12212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12213         New file.
12214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12215         file: multiarch llround for PowerPC32.
12216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12217         file: multiarch llroundf for PowerPC32.
12218
12219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12220         multiarch PowerPC32 fpu implementations.
12221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12222         New file.
12223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12224         New file.
12225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12226         multiarch llrint for PowerPC32.
12227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12228         New file.
12229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12230         New file.
12231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12232         file.
12233
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12235
12236         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12237         file.
12238         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12239         file.
12240         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12241         file.
12242         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12243         multiarch wordcopy for PPC32.
12244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12245         wordcopy objects.
12246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12247         (__libc_ifunc_impl_list): Likewise.
12248         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12249         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12250         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12251         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12252         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12253         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12254
12255         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12257         file.
12258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12259         file.
12260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12261         file.
12262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12263         multiarch wcscpy for PPC32.
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12265         multiarch objects.
12266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12267         (__libc_ifunc_impl_list): Likewise.
12268         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12269         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12270         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12271         sysdeps/powerpc/power6/wcscpy.c.
12272
12273         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12275         file.
12276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12277         file.
12278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12279         file.
12280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12281         multiarch wcsrchr for PPC32.
12282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12283         multiarch objects.
12284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12285         (__libc_ifunc_impl_list): Likewise.
12286         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12287         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12288         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12289         sysdeps/powerpc/power6/wcsrchr.c.
12290
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12292         file.
12293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12294         file.
12295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12297         multiarch wcschr for PPc32.
12298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12299         multiarch objects.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12301         (__libc_ifunc_impl_list): Likewise.
12302         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12303         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12304         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12305         sysdeps/powerpc/power6/wcschr.c.
12306
12307         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12308         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12309         file.
12310         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12311         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12312         file: multiarch strchr for PPC32.
12313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12314         multiarch objects.
12315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12316         (__libc_ifunc_impl_list): Likewise.
12317
12318         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12319         name.
12320         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12321         file.
12322         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12323         file.
12324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12325         multiarch strchrnul for PPC32.
12326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12327         multiarch objects.
12328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12329         (__libc_ifunc_impl_list): Likewise.
12330
12331         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12332         file.
12333         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12334         multiarch strncasecmp for PPC32.
12335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12336         file.
12337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12338         multiarch strncasecmp_l for PPC32.
12339         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12340         strncasecmp multiarch objects.
12341         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12342         (__libc_ifunc_impl_list): Likewise.
12343
12344         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12345         file.
12346         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12347         multiarch strncasecmp for PPC32.
12348         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12349         New file.
12350         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12351         multiarch strcasecmp_l for PPC32.
12352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12353         multiarch objects.
12354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12355         (__libc_ifunc_impl_list): Likewise.
12356
12357         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12358         file.
12359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12360         file.
12361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12362         multiarch strncmp for PPC32.
12363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12364         multiarch objects.
12365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12366         (__libc_ifunc_impl_list): Likewise.
12367
12368         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12369         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12370         file.
12371         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12374         multiarch objects.
12375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12376         (__libc_ifunc_impl_list): Likewise.
12377
12378         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12379         file.
12380         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12381         file.
12382         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12384         multiarch objects.
12385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12386         (__libc_ifunc_impl_list): Likewise.
12387
12388         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12389         file.
12390         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12391         file.
12392         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12393         multiarch rawmemchr for PPC32.
12394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12395         multiarch objects.
12396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12397         (__libc_ifunc_impl_list): Likewise.
12398
12399         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12400         file.
12401         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12402         file.
12403         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12404         file: memrchr multiarch for PPC32.
12405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12406         multiarch objects.
12407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12408         (__libc_ifunc_impl_list): Likewise.
12409
12410         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12412         file.
12413         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12415         multiarch memchr for PPC32.
12416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12417         multiarch objects.
12418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12419         (__libc_ifunc_impl_list): Likewise.
12420
12421         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12422         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12423         file.
12424         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12425         file.
12426         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12427         file: multiarch mempcpy for PPC32.
12428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12429         multiarch objects.
12430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12431         (__libc_ifunc_impl_list): Likewise.
12432
12433         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12437         multiarch bzero for PPC32.
12438         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12439         file.
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12441         file.
12442         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12443         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12444         file: multiarch memset for PPC32.
12445         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12447         memset multiarch objects.
12448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12449         (__libc_ifunc_impl_list): Likewise.
12450
12451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12452         file.
12453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12455         memcmp for PPC32.
12456         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12458         multiarch objects.
12459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12460         (__libc_ifunc_impl_list): Likewise.
12461
12462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12465         file.
12466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12467         file.
12468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12469         file.
12470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12471         multiarch memcpy for PPC32.
12472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12473         multiarch objects.
12474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12475         (__libc_ifunc_impl_list): Likewise.
12476
12477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12478         support multiarch for POWER/PPC32.
12479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12480         Likewise.
12481         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12483         Implies file to make multiarch folder appers before the fpu and
12484         default folder for power4 configuration.
12485
12486 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12487
12488         * scripts/bench.pl: Append volatile keyword to type.
12489
12490 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12491
12492         * sysdeps/sh/sotruss-lib.c: New file.
12493         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12494
12495 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12496
12497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12498
12499 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12500
12501         [BZ #6810]
12502         * math/w_tgamma.c: Include <errno.h>.
12503         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12504         * math/w_tgammaf.c: Include <errno.h>.
12505         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12506         * math/w_tgammal.c: Include <errno.h>.
12507         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12508         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12509         underflow.  Add more tgamma tests.
12510         * math/auto-libm-test-out: Regenerated.
12511         * sysdeps/i386/fpu/libm-test-ulps: Update.
12512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513
12514         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12515         sin, sinh, tan, tanh, tgamma, y0 and y1.
12516         * math/auto-libm-test-out: Regenerated.
12517         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12518         (TEST_COND_x86): Likewise.
12519         (M_E2l): Remove macro.
12520         (M_E3l): Likewise.
12521         (M_2_SQRT_PIl): Likewise.
12522         (M_SQRT_PIl): Likewise.
12523         (M_1_DIV_El): Likewise.
12524         (log_test_data): Use AUTO_TESTS_f_f.
12525         (log10_test_data): Likewise.
12526         (log1p_test_data): Likewise.
12527         (log2_test_data): Likewise.
12528         (sin_test_data): Likewise.
12529         (sin_tonearest_test_data): Likewise.
12530         (sin_towardzero_test_data): Likewise.
12531         (sin_downward_test_data): Likewise.
12532         (sin_upward_test_data): Likewise.
12533         (sinh_test_data): Likewise.
12534         (sinh_tonearest_test_data): Likewise.
12535         (sinh_towardzero_test_data): Likewise.
12536         (sinh_downward_test_data): Likewise.
12537         (sinh_upward_test_data): Likewise.
12538         (tan_test_data): Likewise.
12539         (tan_tonearest_test_data): Likewise.
12540         (tan_towardzero_test_data): Likewise.
12541         (tan_downward_test_data): Likewise.
12542         (tan_upward_test_data): Likewise.
12543         (tanh_test_data): Likewise.
12544         (tgamma_test_data): Likewise.
12545         (y0_test_data): Likewise.
12546         (y1_test_data): Likewise.
12547         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12548         (special_real_inputs): Add pi/4.
12549         * sysdeps/i386/fpu/libm-test-ulps: Update.
12550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551
12552 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12553
12554         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12555         "longjmp_target" static probes.
12556         (__longjmp): Rename to __longjmp_symbol.
12557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12558         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12559         on which longjmp to generate.
12560         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12561         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12562         probe.
12563         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12564         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12565         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12566         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12567         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12568         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12570         __longjmp_symbol based on which __longjmp to generate.
12571         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12572         probe.
12573         (setjmp): Rename to setjmp_symbol.
12574         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12575         (_setjmp): Rename to _setjmp_symbol.
12576         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12577         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12578         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12579         which setjmp to generate.
12580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12581         "longjmp_target" static probes.
12582
12583 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12584
12585         * benchtests/README: Add note about output arguments.
12586         * benchtests/bench-sincos.c: Remove file.
12587         * benchtests/sincos-inputs: New file.
12588         * scripts/bench.pl: Identify output arguments and define
12589         static variables for them.
12590
12591         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12592
12593         [BZ #15941]
12594         * Makefile (INSTALL): Add install-plain.texi as the primary
12595         dependency.
12596         * manual/install-plain.texi: New file.
12597         * manual/install.texi: Include node directive only for
12598         non-plaintext output.
12599
12600 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12601
12602         * stdlib/longlong.h: Update from GCC.
12603
12604         [BZ #6807]
12605         [BZ #15901]
12606         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12607         * math/w_j0f.c (y0f): Likewise.
12608         * math/w_j0l.c (__y0l): Likewise.
12609         * math/w_j1.c (y1): Likewise.
12610         * math/w_j1f.c (y1f): Likewise.
12611         * math/w_j1l.c (__y1l): Likewise
12612         * math/w_jn.c (yn): Likewise.
12613         * math/w_jnf.c (ynf): Likewise.
12614         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12615         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12616         value for Bessel function domain errors outside _SVID_ mode.
12617         Adjust sign of return value for yn (negative integer, 0).
12618         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12619         by zero in return for negative x and set sign appropriately for
12620         negative n.
12621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12622         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12623         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12624         expectations in error cases.
12625         (y1_test_data): Likewise.
12626         (yn_test_data): Likewise.
12627         * sysdeps/i386/fpu/libm-test-ulps: Update.
12628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629
12630 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12631
12632         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12633         "64" to "64-v1".  Add "64-v2".
12634         (abi-64-options): Rename to ...
12635         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12636         (abi-64-condition): Rename to ...
12637         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12638         (abi-64-ld-soname): Rename to ...
12639         (abi-64-v1-ld-soname): ... this.
12640         (abi-64-v2-options): Define.
12641         (abi-64-v2-condition): Likewise.
12642         (abi-64-v2-ld-soname): Likewise.
12643         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12644         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12648
12649 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12650             Alan Modra  <amodra@gmail.com>
12651
12652         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12653         New versions for use with the ELFv2 ABI.
12654         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12655         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12656         declaration.
12657         (struct La_ppc64v2_retval): Likewise.
12658         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12659         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12660         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12661         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12662         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12663         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12664         Do not save or restore CR.
12665         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12666         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12667         return values for ELFv2 ABI.  Fix location of FPR return registers.
12668         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12669         updated values for _CALL_ELF == 2.
12670         (La_regs, La_retval, int_retval): Likewise.
12671
12672 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12673
12674         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12675         (FRAME_MIN_SIZE_PARM): Likewise.
12676         (FRAME_BACKCHAIN): Likewise.
12677         (FRAME_CR_SAVE): Likewise.
12678         (FRAME_LR_SAVE): Likewise.
12679         (FRAME_TOC_SAVE): Likewise.
12680         (FRAME_PARM_SAVE): Likewise.
12681         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12682         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12683         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12684         (call_mcount_parm_offset): New macro.
12685         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12686         (PROF): Use symbolic stack frame offsets.
12687         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12688         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12689         Redefine in terms of FRAME_MIN_SIZE.
12690         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12691         (_dl_profile_resolve): Likewise.  Update comment.
12692         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12693         symbols stack frame offsets.
12694         (__sigsetjmp): Likewise.
12695         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12696         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12697         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12698         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12699
12700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12701         (FRAME_BACKCHAIN): Remove.
12702         (FRAME_CR_SAVE): Likewise.
12703         (FRAME_LR_SAVE): Likewise.
12704         (FRAME_COMPILER_DW): Likewise.
12705         (FRAME_LINKER_DW): Likewise.
12706         (FRAME_TOC_SAVE): Likewise.
12707         (FRAME_PARM_SAVE): Likewise.
12708         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12709         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12710         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12712         (CHECK_SP): Use symbolic stack frame offsets.
12713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12714         zone" instead of caller's parameter save area for temp storage.
12715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12716         Likewise.  Also, use symbolic stack frame offsets.
12717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12718         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12719         our own stack frame instead of the caller's.
12720         (__socket): Use symbolic stack frame offsets.
12721
12722 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12723             Alan Modra  <amodra@gmail.com>
12724
12725         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12726         Define.
12727         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12728         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12729         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12730         New function.
12731         (elf_machine_fixup_plt): Call it.
12732         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12733         reloc arguments.
12734         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12736         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12737         r2 before calling target.
12738
12739 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12740             Alan Modra  <amodra@gmail.com>
12741
12742         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12743         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12744         versions of macros to support ELFv2 ABI.
12745         (LOCALENTRY): New macro.
12746         (ENTRY, EALIGN): Use it.
12747         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12748         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12749         fall through into ENTRY entry point.
12750         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12751         Only define if _CALL_ELF != 2.
12752
12753         (elf_machine_matches_host): Verify ABI version matches.
12754         (RTLD_START): Use LOCALENTRY.
12755         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12756         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12757         (PLT_ENTRY_WORDS): New macro.
12758         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12759         (elf_machine_runtime_setup): Support ELFv2 ABI.
12760         (elf_machine_fixup_plt): Likewise.
12761         (elf_machine_plt_conflict): Likewise.
12762         (resolve_ifunc): Likewise.
12763         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12764         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12765         Likewise.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12767         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12769         (makecontext): Support ELFv2 ABI.
12770         * elf/elf.h (EF_PPC64_ABI): Define.
12771
12772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12773
12774         * sysdeps/powerpc/powerpc64/sysdep.h
12775         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12776         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12777         (ENTRY) [ASSEMBLER]: ... but instead here ...
12778         (EALIGN) [ASSEMBLER]: ... and here.
12779         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12780         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12781         (ENTRY_2) [!ASSEMBLER]: Use it.
12782         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12783         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12784         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12785         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12786         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12788         Use PPC64_LOAD_FUNCPTR.
12789
12790         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12791
12792 2013-12-04  Alan Modra  <amodra@gmail.com>
12793
12794         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12795         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12796         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12797         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12798
12799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12800         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12801         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12802         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12803         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12804         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12805
12806 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12807
12808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12809         (__makecontext): Fix incorrect CFI when backtracing out of
12810         context created via makecontext.
12811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12812         (__setcontext): Fix incorrect CFI during switch to new context.
12813         (__novec_setcontext): Likewise.
12814
12815 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12816
12817         [BZ #4772]
12818         * time/strptime_l.c (__strptime_internal): Allow modifiers
12819         in strptime.
12820         * time/tst-strptime.c (day_tests): Add testcase.
12821
12822 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12823
12824         * scripts/bench.pl: Skip over blank lines.
12825
12826 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12827
12828         [BZ #926]
12829         * manual/time.texi (Calendar Time): Clarify what timezone functions
12830         use.
12831
12832 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12833
12834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12835
12836 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12837
12838         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12839         implementation.
12840         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12841         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12842         * debug/memset_chk.c (__memset_chk): Likewise.
12843         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12844         * debug/strncpy_chk.c: Likewise.
12845
12846 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12847
12848         [BZ #15268]
12849         [BZ #15425]
12850         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12851         (__ieee754_exp): For possibly underflowing results, check size of
12852         result and force underflow exception if required.
12853         * math/auto-libm-test-in: Add more tests of exp.
12854         * math/auto-libm-test-out: Regenerated.
12855         * sysdeps/i386/fpu/libm-test-ulps: Update.
12856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12857
12858         [BZ #16283]
12859         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12860         * math/w_exp2f.c (__exp2f): Likewise.
12861         * math/w_exp2l.c (__exp2l): Likewise.
12862         * math/auto-libm-test-in: Do not allow missing errno on exp2
12863         underflow.
12864         * math/auto-libm-test-out: Regenerated.
12865
12866 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12867
12868         [BZ #16274]
12869         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12870         handle filename validation.
12871         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12872         (do_open): Delete.
12873
12874 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12875
12876         [BZ #6786]
12877         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12878         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12879         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12880         <float.h>.
12881         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12883         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12884         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12885         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12887         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12888         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12889         Add more erfc tests.
12890         * math/auto-libm-test-out: Regenerated.
12891         * sysdeps/i386/fpu/libm-test-ulps: Update.
12892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12893
12894         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12895         exp2, expm1, j0 and j1.
12896         * math/auto-libm-test-out: Regenerated.
12897         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12898         (erfc_test_data): Likewise.
12899         (exp_test_data): Likewise.
12900         (exp_tonearest_test_data): Likewise.
12901         (exp_towardzero_test_data): Likewise.
12902         (exp_downward_test_data): Likewise.
12903         (exp_upward_test_data): Likewise.
12904         (exp10_test_data): Likewise.
12905         (exp2_test_data): Likewise.
12906         (expm1_test_data): Likewise.
12907         (j0_test_data): Likewise.
12908         (j1_test_data): Likewise.
12909         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12910         (input_flag_type): Add flag_xfail_rounding.
12911         (input_flags): Add xfail-rounding.
12912         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12913         (output_for_one_input_case): Handle flag_xfail_rounding.
12914         * sysdeps/i386/fpu/libm-test-ulps: Update.
12915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12916
12917 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12918
12919         [BZ #16289]
12920         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12921         division by 0.
12922
12923 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12924
12925         [BZ #16195]
12926         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12927         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12928         (STAP_PROBE0): New macro.
12929         (STAP_PROBE1): Likewise.
12930         (STAP_PROBE2): Likewise.
12931         (STAP_PROBE3): Likewise.
12932         (STAP_PROBE4): Likewise.
12933
12934 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12935
12936         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12937
12938 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12939
12940         * benchtests/Makefile (bench): Add sqrt.
12941         (LDLIBS-bench-sqrt): New.
12942         * benchtests/sqrt-input: New.
12943
12944 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12945
12946         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12947         (GAIH_EAI): Likewise.
12948         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12949         (gaih_inet): Likewise.
12950         (getaddrinfo): Don't use GAIH_EAI.
12951
12952         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12953         (struct gaih): Remove definition.
12954
12955 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12956
12957         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12958         Use HERRNOP directly.
12959
12960 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12961
12962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12963
12964 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12965
12966         * math/gen-auto-libm-tests.c (test_functions): Add more
12967         single-argument functions.
12968         (special_fill_pi_2): New function.
12969         (special_fill_minus_pi_2): Likewise.
12970         (special_fill_pi_6): Likewise.
12971         (special_fill_minus_pi_6): Likewise.
12972         (special_fill_pi_3): Likewise.
12973         (special_fill_2pi_3): Likewise.
12974         (special_fill_e): Likewise.
12975         (special_fill_1_e): Likewise.
12976         (special_fill_e_minus_1): Likewise.
12977         (special_real_inputs): Add more special inputs.
12978         (output_for_one_input_case): Do not require ERANGE on underflow to
12979         zero if round-to-nearest result does not underflow to zero, unless
12980         exact results required.
12981         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12982         atan, atanh, cbrt, cos and cosh.
12983         * math/auto-libm-test-out: Regenerated.
12984         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12985         (acos_tonearest_test_data): Likewise.
12986         (acos_towardzero_test_data): Likewise.
12987         (acos_downward_test_data): Likewise.
12988         (acos_upward_test_data): Likewise.
12989         (acosh_test_data): Likewise.
12990         (asin_test_data): Likewise.
12991         (asin_tonearest_test_data): Likewise.
12992         (asin_towardzero_test_data): Likewise.
12993         (asin_upward_test_data): Likewise.
12994         (asinh_test_data): Likewise.
12995         (atan_test_data): Likewise.
12996         (atanh_test_data): Likewise.
12997         (cbrt_test_data): Likewise.
12998         (cos_test_data): Likewise.
12999         (cos_tonearest_test_data): Likewise.
13000         (cos_towardzero_test_data): Likewise.
13001         (cos_downward_test_data): Likewise.
13002         (cos_upward_test_data): Likewise.
13003         (cosh_test_data): Likewise.
13004         (cosh_tonearest_test_data): Likewise.
13005         (cosh_towardzero_test_data): Likewise.
13006         (cosh_downward_test_data): Likewise.
13007         (cosh_upward_test_data): Likewise.
13008         * sysdeps/i386/fpu/libm-test-ulps: Update.
13009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13010
13011 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13012
13013         [BZ #6787]
13014         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13015         * math/w_exp10f.c (__exp10f): Likewise.
13016         * math/w_exp10l.c (__exp10l): Likewise.
13017         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13018         errno settings in existing tests.
13019
13020         [BZ #14032]
13021         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13022         precision control set to double precision.
13023         * sysdeps/i386/fpu/w_sqrt.c: New file.
13024         * math/auto-libm-test-in: Add more tests.
13025         * math/auto-libm-test-out: Update.
13026
13027         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13028         (sqrt_test_tonearest): New function.
13029         (sqrt_towardzero_test_data): New variable.
13030         (sqrt_test_towardzero): New function.
13031         (sqrt_downward_test_data): New variable.
13032         (sqrt_test_downward): New function.
13033         (sqrt_upward_test_data): New variable.
13034         (sqrt_test_upward): New function.
13035         (main): Call the new functions.
13036
13037         * math/gen-auto-libm-tests.c: New file.
13038         * math/auto-libm-test-in: Likewise.
13039         * math/auto-libm-test-out: New generated file.
13040         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13041         variables.
13042         (%beautify): Add generated representations of zero.
13043         (top level): Set $auto_input and call parse_auto_input.
13044         (beautify): Remove trailing "f" from hex float constants.
13045         (parse_args): Handle XFAIL_TEST.
13046         (convert_condition): New function.
13047         (or_value): Likewise.
13048         (or_cond_value): Likewise.
13049         (generate_testfile): Handle AUTO_TESTS_* lines.
13050         (parse_auto_input): New function.
13051         * math/libm-test.inc (XFAIL_TEST): New macro.
13052         (ERRNO_UNCHANGED): Update value.
13053         (ERRNO_EDOM): Likewise.
13054         (ERRNO_ERANGE): Likewise.
13055         (IGNORE_RESULT): Likewise.
13056         (TEST_COND_flt_32): New macro.
13057         (TEST_COND_dbl_64): Likewise.
13058         (TEST_COND_ldbl_96_intel): Likewise.
13059         (TEST_COND_ldbl_96_m68k): Likewise.
13060         (TEST_COND_ldbl_128): Likewise.
13061         (TEST_COND_ldbl_128ibm): Likewise.
13062         (TEST_COND_long32): Likewise.
13063         (TEST_COND_long64): Likewise.
13064         (TEST_COND_before_rounding): Likewise.
13065         (TEST_COND_after_rounding): Likewise.
13066         (enable_test): Handle XFAIL_TEST flag.
13067         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13068         with finite results.
13069         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13070         auto-libm-test-out.
13071
13072 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13073             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13074
13075         [BZ #16214]
13076         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13077         __tls_get_addr_internal instead of __tls_get_offset in order to
13078         avoid GOT pointer dependency.  Make rtld export
13079         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13080         __tls_get_addr since we are a __tls_get_offset platform.
13081         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13082         GOT pointer being set up before.
13083         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13084
13085 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13086
13087         * manual/math.texi (Errors in Math Functions): Document accuracy
13088         goals.
13089
13090         [BZ #15004]
13091         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13092         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13093         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13094         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13095         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13096         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13097         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13098         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13099         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13100         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13101         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13102         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13103         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13104         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13105         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13106         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13107
13108         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13109         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13110         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13111         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13112         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13113         Likewise.
13114         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13115         Likewise.
13116         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13117         Likewise.
13118         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13119         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13120         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13121         atomic-feupdateenv and flt-rounds.
13122         * sysdeps/powerpc/nofpu/Versions (libc): Add
13123         __atomic_feholdexcept, __atomic_feclearexcept,
13124         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13125         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13126         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13127         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13128         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13129         here.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13131         Update.
13132
13133         * manual/arith.texi (FP Exceptions): Document that exceptions may
13134         not be raised when matherr is used.
13135         (Math Error Reporting): Document overflow in directed rounding
13136         modes.  Document that errno may not be set when finite values are
13137         returned on overflow.  Document intent to set errno on underflow
13138         only for underflow to zero.
13139
13140         [BZ #16271]
13141         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13142         round-to-nearest then adjust result for other rounding modes.
13143         * include/fenv.h (fegetround): Use libm_hidden_proto.
13144         * math/fegetround.c (fegetround): Use libm_hidden_def.
13145         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13146         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13147         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13148         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13149         Likewise.
13150         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13151         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13152         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13153         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13154
13155 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13156
13157         [BZ #16077]
13158         * nss/Versions (libnss_files): Add
13159         _nss_files_gethostbyname3_r.
13160         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13161         New function.
13162         (HOST_DB_LOOKUP): Remove macro.
13163         (_nss_files_gethostbyname_r): Implement function without the
13164         HOST_DB_LOOKUP macro.
13165         (_nss_files_gethostbyname2_r): Likewise.
13166
13167 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13168
13169         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13170
13171 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13172
13173         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13174         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13175         warning.
13176
13177 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13178
13179         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13180         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13181         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13182         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13183         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13184         __fe_nomask_env_priv and attribute_hidden.
13185         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13186         (libc_feupdateenv_test_ppc): Likewise.
13187         (libc_feresetround_ppc): Likewise.
13188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13189         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13190         compat_symbol macro.
13191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13192         (__fe_nomask_env): Likewise.
13193         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13194
13195 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13196
13197         * string/Makefile: Remove ifunc tests.
13198         * string/test-string.h: Define TEST_IFUNC.
13199         * string/test-bcopy-ifunc.c: Remove.
13200         * string/test-bzero-ifunc.c: Likewise.
13201         * string/test-memccpy-ifunc.c: Likewise.
13202         * string/test-memchr-ifunc.c: Likewise.
13203         * string/test-memcmp-ifunc.c: Likewise.
13204         * string/test-memcpy-ifunc.c: Likewise.
13205         * string/test-memmem-ifunc.c: Likewise.
13206         * string/test-memmove-ifunc.c: Likewise.
13207         * string/test-mempcpy-ifunc.c: Likewise.
13208         * string/test-memrchr-ifunc.c: Likewise.
13209         * string/test-memset-ifunc.c: Likewise.
13210         * string/test-rawmemchr-ifunc.c: Likewise.
13211         * string/test-stpcpy-ifunc.c: Likewise.
13212         * string/test-stpncpy-ifunc.c: Likewise.
13213         * string/test-strcasecmp-ifunc.c: Likewise.
13214         * string/test-strcasestr-ifunc.c: Likewise.
13215         * string/test-strcat-ifunc.c: Likewise.
13216         * string/test-strchr-ifunc.c: Likewise.
13217         * string/test-strchrnul-ifunc.c: Likewise.
13218         * string/test-strcmp-ifunc.c: Likewise.
13219         * string/test-strcpy-ifunc.c: Likewise.
13220         * string/test-strcspn-ifunc.c: Likewise.
13221         * string/test-strlen-ifunc.c: Likewise.
13222         * string/test-strncasecmp-ifunc.c: Likewise.
13223         * string/test-strncat-ifunc.c: Likewise.
13224         * string/test-strncmp-ifunc.c: Likewise.
13225         * string/test-strncpy-ifunc.c: Likewise.
13226         * string/test-strnlen-ifunc.c: Likewise.
13227         * string/test-strpbrk-ifunc.c: Likewise.
13228         * string/test-strrchr-ifunc.c: Likewise.
13229         * string/test-strspn-ifunc.c: Likewise.
13230         * string/test-strstr-ifunc.c: Likewise.
13231
13232 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13233
13234         * benchtests/Makefile: Remove ifunc tests.
13235         * benchtests/bench-string.h: Define TEST_IFUNC.
13236         * benchtests/bench-bcopy-ifunc.c: Remove.
13237         * benchtests/bench-bzero-ifunc.c: Likewise.
13238         * benchtests/bench-memccpy-ifunc.c: Likewise.
13239         * benchtests/bench-memchr-ifunc.c: Likewise.
13240         * benchtests/bench-memcmp-ifunc.c: Likewise.
13241         * benchtests/bench-memcpy-ifunc.c: Likewise.
13242         * benchtests/bench-memmem-ifunc.c: Likewise.
13243         * benchtests/bench-memmove-ifunc.c: Likewise.
13244         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13245         * benchtests/bench-memrchr-ifunc.c: Likewise.
13246         * benchtests/bench-memset-ifunc.c: Likewise.
13247         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13248         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13249         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13250         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13251         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13252         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13253         * benchtests/bench-strcat-ifunc.c: Likewise.
13254         * benchtests/bench-strchr-ifunc.c: Likewise.
13255         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13256         * benchtests/bench-strcmp-ifunc.c: Likewise.
13257         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13258         * benchtests/bench-strcpy-ifunc.c: Likewise.
13259         * benchtests/bench-strcspn-ifunc.c: Likewise.
13260         * benchtests/bench-strlen-ifunc.c: Likewise.
13261         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13262         * benchtests/bench-strncat-ifunc.c: Likewise.
13263         * benchtests/bench-strncmp-ifunc.c: Likewise.
13264         * benchtests/bench-strncpy-ifunc.c: Likewise.
13265         * benchtests/bench-strnlen-ifunc.c: Likewise.
13266         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13267         * benchtests/bench-strrchr-ifunc.c: Likewise.
13268         * benchtests/bench-strsep-ifunc.c: Likewise.
13269         * benchtests/bench-strspn-ifunc.c: Likewise.
13270         * benchtests/bench-strstr-ifunc.c: Likewise.
13271
13272 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13273
13274         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13275
13276 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13277
13278         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13279         * rt/aio.h: Likewise.
13280         * sysdeps/gnu/bits/utmp.h: Likewise.
13281         * sysdeps/gnu/bits/utmpx.h: Likewise.
13282         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13283         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13284         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13285         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13286         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13287         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13288         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13289         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13290         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13291         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13292         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13294         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13296         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13297         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13298         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13299         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13300         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13301         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13302         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13303         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13304         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13305         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13306         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13308         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13309         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13310         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13311         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13312         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13313         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13314         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13315         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13316         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13317         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13318         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13319         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13320         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13321         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13322         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13323         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13324
13325 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13326
13327         [BZ #16245]
13328         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13329         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13330
13331 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13332
13333         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13334         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13335         Likewise.
13336
13337 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13338
13339         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13340         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13341         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13342         (__fesetround): Remove define.
13343         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13344         rounding and exceptions handling.
13345         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13346         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13347         (__fe_nomask_env): Likewise.
13348         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13349         __fegetround instead of fegetround.
13350         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13351         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13352
13353 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13354
13355         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13356         it's there.
13357
13358         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13359
13360 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13361
13362         [BZ #11157]
13363         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13364         (encrypt_r): Likewise.
13365         * malloc/obstack.h (obstack_free): Likewise.
13366         * posix/unistd.h (encrypt): Likewise.
13367
13368 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13369
13370         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13371         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13372         DL_CALL_DT_FINI() that call the functions directly.
13373         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13374         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13375         * elf/dl-fini.c: Likewise.
13376
13377 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13378
13379         * malloc/hooks.c (memalign_check): Add alignment rounding.
13380         * malloc/malloc.c (_mid_memalign): New function.
13381         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13382         Implement by calling _mid_memalign.
13383         * manual/probes.texi (Memory Allocation Probes): Remove
13384         memory_valloc_retry and memory_pvalloc_retry.
13385
13386 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13387
13388         * locale/programs/locarchive.c (open_archive): Add const
13389         qualifier to ARCHIVEFNAME and copy default fname to
13390         DEFAULT_FNAME.
13391
13392         [BZ #15601]
13393         * libio/tst-widetext.input: Rename Oriya to Odia.
13394         * locale/iso-639.def: Likewise.
13395
13396         * manual/probes.texi (Mathematical Function Probes): Add
13397         documentation for sin, cos, asin and acos probes.
13398         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13399         (__sin32): Add slowasin probe.
13400         (__cos32): Add slowacos probe.
13401         (__mpsin): Add slowsin probe.
13402         (__mpcos): Add slowcos probe.
13403
13404 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13405
13406         [BZ #15483]
13407         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13408         thread-local __sim_exceptions_thread and global
13409         __sim_exceptions_global.
13410         (__sim_disabled_exceptions): Change to thread-local
13411         __sim_disabled_exceptions_thread and global
13412         __sim_disabled_exceptions_global.
13413         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13414         and global __sim_round_mode_global.
13415         (__simulate_exceptions): Use thread-local floating-point state and
13416         set global state from it as needed.
13417         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13418         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13419         __sim_round_mode_thread.
13420         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13421         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13422         and global __sim_exceptions_global.
13423         (__sim_disabled_exceptions): Change to thread-local
13424         __sim_disabled_exceptions_thread and global
13425         __sim_disabled_exceptions_global.
13426         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13427         and global __sim_round_mode_global.
13428         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13429         (SIM_SET_GLOBAL): Likewise.
13430         * sysdeps/powerpc/soft-fp/sfp-machine.h
13431         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13432         __sim_round_mode_thread.
13433         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13434         __sim_disabled_exceptions_thread.
13435         (__sim_exceptions): Change to __sim_exceptions_thread.
13436         (__sim_disabled_exceptions): Change to
13437         __sim_disabled_exceptions_thread.
13438         (__sim_round_mode): Change to __sim_round_mode_thread.
13439         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13440         thread-local floating-point state and set global state from it as
13441         needed.
13442         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13443         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13444         (__sim_disabled_exceptions): Remove extern declaration.
13445         (feenableexcept): Use thread-local floating-point state and set
13446         global state from it as needed.
13447         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13448         extern declaration.
13449         (__sim_disabled_exceptions): Likewise.
13450         (__sim_round_mode): Likewise.
13451         (__fegetenv): Use thread-local floating-point state.
13452         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13453         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13454         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13455         floating-point state and set global state from it as needed.
13456         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13457         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13458         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13459         Likewise.
13460         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13461         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13462         Likewise.
13463         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13464         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13465         Use __sim_round_mode_thread.
13466         * math/test-fenv-tls.c: New file.
13467         * math/Makefile (tests): Add test-fenv-tls.
13468         ($(objpfx)test-fenv-tls): Depend on
13469         $(common-objpfx)nptl/libpthread.so.
13470
13471 2013-11-19  Andreas Schwab  <schwab@suse.de>
13472
13473         * locale/programs/locale.c (show_info): Decode wordarray elements.
13474         * locale/categories.def (LC_MONETARY): Add element for
13475         _NL_MONETARY_CRNCYSTR.
13476         * locale/C-monetary.c (conversion_rate): New variable.
13477         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13478         element.
13479
13480 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13481
13482         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13483         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13484
13485 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13486
13487         * elf/Makefile (tst-auxv): New test.
13488         * elf/tst-auxv.c: New
13489         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13490
13491 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13492
13493         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13494         (hidden_proto): Caller changed.
13495         (hidden_tls_proto): New macro.
13496         (libc_hidden_tls_proto): Likewise.
13497         (rtld_hidden_tls_proto): Likewise.
13498         (libm_hidden_tls_proto): Likewise.
13499         (libresolv_hidden_tls_proto): Likewise.
13500         (librt_hidden_tls_proto): Likewise.
13501         (libdl_hidden_tls_proto): Likewise.
13502         (libnss_files_hidden_tls_proto): Likewise.
13503         (libnsl_hidden_tls_proto): Likewise.
13504         (libnss_nisplus_hidden_tls_proto): Likewise.
13505         (libutil_hidden_tls_proto): Likewise.
13506
13507 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13508
13509         [BZ #10253]
13510         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13511         (decompose_rpath): Defer expansion to fillin_rpath.
13512         (_dl_init_paths): Pass linkmap to fillin_rpath.
13513
13514 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13515
13516         * benchtests/Makefile: Add strsep.
13517         * benchtests/bench-strsep.c: New file: strsep benchtest.
13518         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13519
13520 2013-11-18  Andreas Schwab  <schwab@suse.de>
13521
13522         * locale/programs/locale.c (show_info) [case byte]: Check for
13523         '\377' instead of '\177'.
13524         * locale/C-monetary.c (not_available): Always use "\377".
13525         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13526         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13527         detect unavailable sign_posn locale elements.
13528         * locale/localeconv.c (__localeconv): For grouping and
13529         mon_grouping handle "\177" and "\377" like no grouping.
13530         (INT_ELEM): New macro.  Use it to set all numeric members.
13531         * locale/programs/ld-monetary.c (monetary_read)
13532         <tok_mon_grouping>: Normalize single -1 to the empty string.
13533         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13534         Likewise.
13535
13536 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13537
13538         [BZ #16055]
13539         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13540         when we match (nil).
13541         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13542
13543 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13544
13545         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13546         (NO_TEST_INLINE): Update value.
13547         (ERRNO_UNCHANGED): Likewise.
13548         (ERRNO_EDOM): Likewise.
13549         (ERRNO_ERANGE): Likewise.
13550         (IGNORE_RESULT): Likewise.
13551         (check_float_internal): Check signs of NaN results if
13552         TEST_NAN_SIGN used.
13553         (check_complex): Pass TEST_NAN_SIGN flag through to second
13554         check_float_internal call.
13555         (copysign_test_data): Add tests with quiet NaNs as second
13556         argument.  Use TEST_NAN_SIGN.
13557         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13558         TEST_NAN_SIGN.
13559         (signbit_test_data): Add tests of quiet NaN argument.
13560         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13561
13562         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13563         $ignore_result.
13564         (parse_args): Handle function results specified as IGNORE.
13565         * math/libm-test.inc (IGNORE_RESULT): New macro.
13566         (check_float_internal): Do not check numerical result if flag
13567         IGNORE_RESULT set.
13568         (check_complex): Pass through IGNORE_RESULT to second
13569         check_float_internal call.
13570         (check_int): Do not check numerical result if flag IGNORE_RESULT
13571         set.
13572         (check_long): Likewise.
13573         (check_bool): Likewise.
13574         (check_longlong): Likewise.
13575         (lrint_test_data): Add tests of infinite and NaN arguments.
13576         (lrint_tonearest_test_data): Likewise.
13577         (lrint_towardzero_test_data): Likewise.
13578         (lrint_downward_test_data): Likewise.
13579         (lrint_upward_test_data): Likewise.
13580         (llrint_test_data): Likewise.
13581         (llrint_tonearest_test_data): Likewise.
13582         (llrint_towardzero_test_data): Likewise.
13583         (llrint_downward_test_data): Likewise.
13584         (llrint_upward_test_data): Likewise.
13585         (lround_test_data): Likewise.
13586         (llround_test_data): Likewise.
13587
13588         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13589         (ERRNO_UNCHANGED): Update value.
13590         (ERRNO_EDOM): Likewise.
13591         (ERRNO_ERANGE): Likewise.
13592         (NO_TEST_INLINE_FLOAT): New macro.
13593         (NO_TEST_INLINE_DOUBLE): Likewise.
13594         (enable_test): New function.
13595         (RUN_TEST_f_f): Check enable_test before running test.
13596         (RUN_TEST_2_f): Likewise.
13597         (RUN_TEST_fff_f): Likewise.
13598         (RUN_TEST_c_f): Likewise.
13599         (RUN_TEST_f_f1): Likewise.
13600         (RUN_TEST_fF_f1): Likewise.
13601         (RUN_TEST_fI_f1): Likewise.
13602         (RUN_TEST_ffI_f1): Likewise.
13603         (RUN_TEST_c_c): Likewise.
13604         (RUN_TEST_cc_c): Likewise.
13605         (RUN_TEST_f_i): Likewise.
13606         (RUN_TEST_f_i_tg): Likewise.
13607         (RUN_TEST_ff_i_tg): Likewise.
13608         (RUN_TEST_f_b): Likewise.
13609         (RUN_TEST_f_b_tg): Likewise.
13610         (RUN_TEST_f_l): Likewise.
13611         (RUN_TEST_f_L): Likewise.
13612         (RUN_TEST_fFF_11): Likewise.
13613         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13614         conditionals.
13615         (cosh_test_data): Likewise.
13616         (exp_test_data): Likewise.
13617         (expm1_test_data): Likewise.
13618         (hypot_test_data): Likewise.
13619         (pow_test_data): Likewise.
13620         (sinh_test_data): Likewise.
13621         (tanh_test_data): Likewise.
13622         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13623         flags argument.
13624
13625         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13626         tests with quiet NaN input and output.
13627         (acosh_test_data): Likewise.
13628         (asin_test_data): Likewise.
13629         (asinh_test_data): Likewise.
13630         (atan_test_data): Likewise.
13631         (atanh_test_data): Likewise.
13632         (atan2_test_data): Likewise.
13633         (cbrt_test_data): Likewise.
13634         (cos_test_data): Likewise.
13635         (cosh_test_data): Likewise.
13636         (erf_test_data): Likewise.
13637         (erfc_test_data): Likewise.
13638         (exp_test_data): Likewise.
13639         (exp10_test_data): Likewise.
13640         (exp2_test_data): Likewise.
13641         (expm1_test_data): Likewise.
13642         (hypot_test_data): Likewise.
13643         (j0_test_data): Likewise.
13644         (j1_test_data): Likewise.
13645         (jn_test_data): Likewise.
13646         (lgamma_test_data): Likewise.
13647         (log_test_data): Likewise.
13648         (log10_test_data): Likewise.
13649         (log1p_test_data): Likewise.
13650         (log2_test_data): Likewise.
13651         (pow_test_data): Likewise.
13652         (scalb_test_data): Likewise.
13653         (sin_test_data): Likewise.
13654         (sincos_test_data): Likewise.
13655         (sinh_test_data): Likewise.
13656         (tan_test_data): Likewise.
13657         (tanh_test_data): Likewise.
13658         (tgamma_test_data): Likewise.
13659         (y0_test_data): Likewise.
13660         (y1_test_data): Likewise.
13661         (yn_test_data): Likewise.
13662
13663         [BZ #16167]
13664         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13665         argument being NaN and avoid computations with second argument in
13666         that case.
13667         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13668         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13669         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13670
13671 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13672
13673         * locale/iso-639.def: Add Chitwani Tharu (the).
13674
13675 2013-11-14  Andreas Schwab  <schwab@suse.de>
13676
13677         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13678         word instead of empty string.
13679
13680 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13681
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13683         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13685         (__fe_nomask_env): Likewise.
13686
13687 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13688
13689         * benchtests/bench-timing.h: Include time.h.
13690
13691 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13692
13693         [BZ #15997]
13694         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13695         to 3.4.0 for x32.
13696         * sysdeps/unix/sysv/linux/configure: Regenerated.
13697
13698 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13699
13700         [BZ #16151]
13701         * stdlib/strtod_l.c (round_and_return): Do not consider
13702         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13703         exponent one less than half the least subnormal exponent.
13704         * stdlib/test-strtod-round-data: Add more tests.
13705         * stdlib/tst-strtod-round.c (tests): Regenerated.
13706
13707 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13708
13709         [BZ #14143]
13710         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13711         (__fe_mask_env): Likewise.
13712         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13713         libm_hidden_proto and add function prototype.
13714         (__fe_mask_env): Add function prototype.
13715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13716         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13718         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13720         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13721
13722 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13723
13724         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13725         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13726
13727 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13728
13729         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13730         of htab_find_slot().
13731
13732 2013-11-11  David S. Miller  <davem@davemloft.net>
13733
13734         [BZ #16150]
13735         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13736         symbol in the non-vis3 case in static builds.
13737         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13738         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13739         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13740         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13741
13742 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13743
13744         [BZ #387]
13745         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13746         it is empty.
13747
13748 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13749
13750         * benchtests/Makefile: Add bench-strtod.
13751         * benchtests/bench-strtod.c: New file: strtod benchtest
13752
13753 2013-11-11  Andreas Schwab  <schwab@suse.de>
13754
13755         [BZ #16153]
13756         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13757         terminating NUL in key length.
13758
13759 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13760
13761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13762         Add artificial ODP entry for vDSO symbol for PPC64.
13763         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13764         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13765
13766 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13767
13768         [BZ #15374]
13769         * nss/getent.c (services_keys): Recognize services starting with digit.
13770
13771 2013-11-06  David S. Miller  <davem@davemloft.net>
13772
13773         [BZ #15985]
13774         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13775         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13776
13777 2013-11-06  Will Newton  <will.newton@linaro.org>
13778
13779         * manual/memory.texi (Malloc Examples): Remove register
13780         keyword from examples.
13781
13782 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13783
13784         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13785
13786 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13787
13788         [BZ #6981]
13789         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13790         depending on [__GCC_IEC_559 > 0].
13791         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13792         depending on [__GCC_IEC_559_COMPLEX > 0].
13793
13794 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13795
13796         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13797         to iso-639.def.
13798
13799 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13800
13801         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13802
13803 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13804
13805         [BZ #16112]
13806         * malloc/malloc (malloc_info): Do not handle first bin as
13807         special case.
13808
13809 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13810
13811         * locale/iso-639.def: Add Central Nahuatl (nhn).
13812
13813 2013-11-01  Bruno Haible  <bruno@clisp.org>
13814
13815         [BZ #7003]
13816         * manual/math.texi (BSD Random): Specify range upper bound as
13817         in POSIX.
13818
13819 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13820
13821         * locale/iso-639.def: Add Meadow Mari (mhr).
13822
13823 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13824
13825         [BZ #14752], [BZ #15763]
13826         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13827         Validate name.
13828         * rt/tst_shm.c: Add test for escaping directory.
13829
13830 2013-10-31  Andreas Schwab  <schwab@suse.de>
13831
13832         [BZ #15917]
13833         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13834         followed by 'x' as part of digit sequence.
13835         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13836
13837 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13838
13839         [BZ #16037]
13840         * configure.ac: allow GNU Make 4.0 and greater.
13841         * configure: Regenerated.
13842
13843 2013-10-30  Will Newton  <will.newton@linaro.org>
13844
13845         [BZ #16038]
13846         * malloc/hooks.c (memalign_check): Limit alignment to the
13847         maximum representable power of two.
13848         * malloc/malloc.c (__libc_memalign): Likewise.
13849         * malloc/tst-memalign.c (do_test): Add test for very
13850         large alignment values.
13851         * malloc/tst-posix_memalign.c (do_test): Likewise.
13852
13853 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13854
13855         [BZ #11087]
13856         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13857         (munmap_chunk): Likewise.
13858         (mremap_chunk): Likewise.
13859
13860 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13861
13862         [BZ #15799]
13863         * stdlib/div.c (div): Remove obsolete code.
13864         * stdlib/ldiv.c (ldiv): Likewise.
13865         * stdlib/lldiv.c (lldiv): Likewise.
13866
13867 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13868
13869         [BZ #16071]
13870         * nss/nss_files/files-XXX.c (get_contents_ret): New
13871         enumerator.
13872         (get_contents): New function.
13873         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13874
13875 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13876
13877         * configure.in: Moved to ...
13878         * configure.ac: ... here. Change reference to configure.in
13879         to configure.ac.
13880         * sysdeps/arm/preconfigure.ac: ... here.
13881         configure.in to configure.ac.
13882         * sysdeps/gnu/configure.in: Moved to ...
13883         * sysdeps/gnu/configure.ac: ... here.
13884         * sysdeps/i386/configure.in: Moved to ...
13885         * sysdeps/i386/configure.ac: ... here.
13886         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13887         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13888         * sysdeps/mach/configure.in: Moved to ...
13889         * sysdeps/mach/configure.ac: ... here.
13890         * sysdeps/mach/hurd/configure.in: Moved to ...
13891         * sysdeps/mach/hurd/configure.ac: ... here.
13892         * sysdeps/powerpc/configure.in: Moved to ...
13893         * sysdeps/powerpc/configure.ac: ... here.
13894         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13895         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13896         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13897         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13898         * sysdeps/s390/s390-32/configure.in: Moved to ...
13899         * sysdeps/s390/s390-32/configure.ac: ... here.
13900         * sysdeps/s390/s390-64/configure.in: Moved to ...
13901         * sysdeps/s390/s390-64/configure.ac: ... here.
13902         * sysdeps/sh/configure.in: Moved to ...
13903         * sysdeps/sh/configure.ac: ... here.
13904         * sysdeps/sparc/configure.in: Moved to ...
13905         * sysdeps/sparc/configure.ac: ... here.
13906         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13907         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13908         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13909         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13910         * sysdeps/x86_64/configure.in: Moved to ...
13911         * sysdeps/x86_64/configure.ac: ... here.
13912         * sysdeps/x86_64/preconfigure.in: Moved to ...
13913         * sysdeps/x86_64/preconfigure.ac: ... here.
13914         * aclocal.m4: Change reference to configure.in to configure.ac.
13915         * config.h.in: Likewise.
13916         * manual/install.texi: Likewise.
13917         * manual/maint.texi: Likewise.
13918         * Makefile: Likewise.
13919         * malloc/Makefile: Likewise.
13920         * nscd/Makefile: Likewise.
13921         * Makeconfig: Change reference to configure.in and
13922         preconfigure.in to configure.ac and preconfigure.ac
13923         respectively.
13924         * INSTALL: Regenerated.
13925         * configure: Likewise.
13926         * sysdeps/gnu/configure: Likewise.
13927         * sysdeps/i386/configure: Likewise.
13928         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13929         * sysdeps/mach/configure: Likewise.
13930         * sysdeps/mach/hurd/configure: Likewise.
13931         * sysdeps/powerpc/configure: Likewise.
13932         * sysdeps/powerpc/powerpc32/configure: Likewise.
13933         * sysdeps/powerpc/powerpc64/configure: Likewise.
13934         * sysdeps/s390/s390-32/configure: Likewise.
13935         * sysdeps/s390/s390-64/configure: Likewise.
13936         * sysdeps/sh/configure: Likewise.
13937         * sysdeps/sparc/configure: Likewise.
13938         * sysdeps/unix/sysv/linux/configure: Likewise.
13939         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13940         * sysdeps/x86_64/configure: Likewise.
13941         * sysdeps/x86_64/preconfigure: Likewise.
13942
13943 2013-10-29  Andreas Schwab  <schwab@suse.de>
13944
13945         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13946
13947 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13948
13949         * benchtests/pow-inputs: Add new inputs.
13950
13951         * benchtests/exp-inputs: Add new inputs.
13952
13953         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13954         conditional check for return value.
13955         (__cos32): Likewise.
13956
13957 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13958
13959         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13960         to provide a boost for large inputs with word alignment.
13961         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13962         implementation based on optimized PPC64 strcpy.
13963         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13964         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13965         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13966         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13967
13968 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13969
13970         [BZ #2801]
13971         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13972
13973 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13974
13975         [BZ #14876]
13976         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13977         * time/tst-strptime.c (day_tests): Add testcase.
13978
13979 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13980
13981         [BZ #14029]
13982         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13983
13984 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13985
13986         [BZ #16074]
13987         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13988         MAP_FAILED on error.
13989
13990 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13991
13992         [BZ #16072]
13993         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13994         heap for large requests.
13995
13996 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13997
13998         [BZ #9954]
13999         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14000         result if the result has no associated interface.
14001         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14002         interface for all 127.X.Y.Z addresses.
14003
14004 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14005
14006         * locale/iso-639.def: Add Ligurian (lij)
14007
14008 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14009
14010         [BZ #15825]
14011         * sunrpc/rpc_main.c: Document rpcgen -5.
14012
14013 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14014
14015         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14016
14017 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14018
14019         [BZ #10278]
14020         * posix/glob.c: Match only directories when trailing slash is present.
14021         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14022         (main): Add testcase.
14023
14024 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14025
14026         [BZ #15670]
14027         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14028
14029 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14030
14031         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14032         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14033         AUTH_DES and cindex for FIPS 140-2.
14034         (DES Encryption): Add cindex FIPS 46-3.
14035
14036         * locale/locarchive.h (struct locarhandle): Add fname.
14037         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14038         if an optional argument was specified to --list-archive,
14039         otherwise NULL.
14040         * locale/programs/locarchive.c (show_archive_content): Take new
14041         argument fname and pass it via ah.fname to open_archive.
14042         * locale/programs/localedef.h: Update decl.
14043         (open_archive): If AH->fname is non-null, open that file
14044         rather than the default file name, and don't ignore ENOENT.
14045         (create_archive): Set AH.fname to NULL.
14046         (delete_locales_from_archive): Likewise.
14047         (add_locales_to_archive): Likewise.
14048         * locale/programs/locfile.c (write_all_categories): Likewise.
14049
14050 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14051             Aldy Hernandez  <aldyh@redhat.com>
14052
14053         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14054         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14055         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14056         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14057         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14058         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14061         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14062         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14064         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14066         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14067         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14068         Likewise.
14069         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14070         Likewise.
14071         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14072         Likewise.
14073         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14074         Likewise.
14075         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14076         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14077         Likewise.
14078         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14079         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14080         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14081         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14082         Likewise.
14083         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14084         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14085         * sysdeps/powerpc/preconfigure: Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14087         Likewise.
14088         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14089         Replace contents of file by #include of <fenv_libc.h>.
14090         * sysdeps/powerpc/soft-fp/sfp-machine.h
14091         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14092         and <sys/prctl.h>.
14093         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14100         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14106         Allow copysignl PLT reference to be missing.
14107
14108 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14109             Joseph Myers  <joseph@codesourcery.com
14110
14111         [BZ #15948]
14112         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14113         single character.
14114         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14115
14116 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14117
14118         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14119         * elf/tst-tls1.c: Likewise.
14120         * elf/tst-tls10.h: Likewise.
14121         * elf/tst-tls14.c: Likewise.
14122         * elf/tst-tls2.c: Likewise.
14123         * elf/tst-tls3.c: Likewise.
14124         * elf/tst-tls4.c: Likewise.
14125         * elf/tst-tls5.c: Likewise.
14126         * elf/tst-tls6.c: Likewise.
14127         * elf/tst-tls7.c: Likewise.
14128         * elf/tst-tls8.c: Likewise.
14129         * elf/tst-tls9.c: Likewise.
14130         * elf/tst-tlsmod1.c: Likewise.
14131         * elf/tst-tlsmod13.c: Likewise.
14132         * elf/tst-tlsmod13a.c: Likewise.
14133         * elf/tst-tlsmod14a.c: Likewise.
14134         * elf/tst-tlsmod16a.c: Likewise.
14135         * elf/tst-tlsmod16b.c: Likewise.
14136         * elf/tst-tlsmod2.c: Likewise.
14137         * elf/tst-tlsmod3.c: Likewise.
14138         * elf/tst-tlsmod4.c: Likewise.
14139         * elf/tst-tlsmod5.c: Likewise.
14140         * elf/tst-tlsmod6.c: Likewise.
14141
14142 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14143
14144         [BZ #12486]
14145         * malloc/malloc.c: remove checks for statistics.
14146
14147 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14148
14149         [BZ #15277]
14150         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14151         * inet/tst-network.c: Add testcase.
14152
14153 2013-10-17  Andreas Schwab  <schwab@suse.de>
14154
14155         [BZ #15218]
14156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14157         to determine canonical name.
14158
14159 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14160
14161         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14162         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14163         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14164         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14166         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14167         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14168         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14169         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14170         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14172         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14173         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14174         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14176         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14179         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14180         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14181         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14182         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14184         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14185         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14186         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14187         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14188         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14189         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14190         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14191         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14193         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14194         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14195         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14196         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14197         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14198         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14199         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14201         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14202         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14205         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14206         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14208         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14209         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14210         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14211         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14212         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14213         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14214         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14216         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14218         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14219
14220 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14221
14222         [BZ #16041]
14223         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14224         make result into a quiet NaN.
14225
14226 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14227
14228         * soft-fp/adddf3.c: Fix horizontal whitespace.
14229         * soft-fp/addsf3.c: Likewise.
14230         * soft-fp/addtf3.c: Likewise.
14231         * soft-fp/divdf3.c: Likewise.
14232         * soft-fp/divsf3.c: Likewise.
14233         * soft-fp/divtf3.c: Likewise.
14234         * soft-fp/double.h: Likewise.
14235         * soft-fp/eqdf2.c: Likewise.
14236         * soft-fp/eqsf2.c: Likewise.
14237         * soft-fp/eqtf2.c: Likewise.
14238         * soft-fp/extenddftf2.c: Likewise.
14239         * soft-fp/extended.h: Likewise.
14240         * soft-fp/extendsfdf2.c: Likewise.
14241         * soft-fp/extendsftf2.c: Likewise.
14242         * soft-fp/extendxftf2.c: Likewise.
14243         * soft-fp/fixdfdi.c: Likewise.
14244         * soft-fp/fixdfsi.c: Likewise.
14245         * soft-fp/fixdfti.c: Likewise.
14246         * soft-fp/fixsfdi.c: Likewise.
14247         * soft-fp/fixsfsi.c: Likewise.
14248         * soft-fp/fixsfti.c: Likewise.
14249         * soft-fp/fixtfdi.c: Likewise.
14250         * soft-fp/fixtfsi.c: Likewise.
14251         * soft-fp/fixtfti.c: Likewise.
14252         * soft-fp/fixunsdfdi.c: Likewise.
14253         * soft-fp/fixunsdfsi.c: Likewise.
14254         * soft-fp/fixunsdfti.c: Likewise.
14255         * soft-fp/fixunssfdi.c: Likewise.
14256         * soft-fp/fixunssfsi.c: Likewise.
14257         * soft-fp/fixunssfti.c: Likewise.
14258         * soft-fp/fixunstfdi.c: Likewise.
14259         * soft-fp/fixunstfsi.c: Likewise.
14260         * soft-fp/fixunstfti.c: Likewise.
14261         * soft-fp/floatdidf.c: Likewise.
14262         * soft-fp/floatdisf.c: Likewise.
14263         * soft-fp/floatditf.c: Likewise.
14264         * soft-fp/floatsidf.c: Likewise.
14265         * soft-fp/floatsisf.c: Likewise.
14266         * soft-fp/floatsitf.c: Likewise.
14267         * soft-fp/floattidf.c: Likewise.
14268         * soft-fp/floattisf.c: Likewise.
14269         * soft-fp/floattitf.c: Likewise.
14270         * soft-fp/floatundidf.c: Likewise.
14271         * soft-fp/floatundisf.c: Likewise.
14272         * soft-fp/floatunditf.c: Likewise.
14273         * soft-fp/floatunsidf.c: Likewise.
14274         * soft-fp/floatunsisf.c: Likewise.
14275         * soft-fp/floatunsitf.c: Likewise.
14276         * soft-fp/floatuntidf.c: Likewise.
14277         * soft-fp/floatuntisf.c: Likewise.
14278         * soft-fp/floatuntitf.c: Likewise.
14279         * soft-fp/fmadf4.c: Likewise.
14280         * soft-fp/fmasf4.c: Likewise.
14281         * soft-fp/fmatf4.c: Likewise.
14282         * soft-fp/gedf2.c: Likewise.
14283         * soft-fp/gesf2.c: Likewise.
14284         * soft-fp/getf2.c: Likewise.
14285         * soft-fp/ledf2.c: Likewise.
14286         * soft-fp/lesf2.c: Likewise.
14287         * soft-fp/letf2.c: Likewise.
14288         * soft-fp/muldf3.c: Likewise.
14289         * soft-fp/mulsf3.c: Likewise.
14290         * soft-fp/multf3.c: Likewise.
14291         * soft-fp/negdf2.c: Likewise.
14292         * soft-fp/negsf2.c: Likewise.
14293         * soft-fp/negtf2.c: Likewise.
14294         * soft-fp/op-1.h: Likewise.
14295         * soft-fp/op-2.h: Likewise.
14296         * soft-fp/op-4.h: Likewise.
14297         * soft-fp/op-8.h: Likewise.
14298         * soft-fp/op-common.h: Likewise.
14299         * soft-fp/quad.h: Likewise.
14300         * soft-fp/single.h: Likewise.
14301         * soft-fp/soft-fp.h: Likewise.
14302         * soft-fp/sqrtdf2.c: Likewise.
14303         * soft-fp/sqrtsf2.c: Likewise.
14304         * soft-fp/sqrttf2.c: Likewise.
14305         * soft-fp/subdf3.c: Likewise.
14306         * soft-fp/subsf3.c: Likewise.
14307         * soft-fp/subtf3.c: Likewise.
14308         * soft-fp/truncdfsf2.c: Likewise.
14309         * soft-fp/trunctfdf2.c: Likewise.
14310         * soft-fp/trunctfsf2.c: Likewise.
14311         * soft-fp/trunctfxf2.c: Likewise.
14312         * soft-fp/unorddf2.c: Likewise.
14313         * soft-fp/unordsf2.c: Likewise.
14314         * soft-fp/unordtf2.c: Likewise.
14315
14316 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14317
14318         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14319         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14320
14321 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14322
14323         * elf/dl-libc.c: Clear initfini list after freeing.
14324
14325 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14326
14327         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14328         * soft-fp/addsf3.c: Likewise.
14329         * soft-fp/addtf3.c: Likewise.
14330         * soft-fp/divdf3.c: Likewise.
14331         * soft-fp/divsf3.c: Likewise.
14332         * soft-fp/divtf3.c: Likewise.
14333         * soft-fp/double.h: Likewise.
14334         * soft-fp/eqdf2.c: Likewise.
14335         * soft-fp/eqsf2.c: Likewise.
14336         * soft-fp/eqtf2.c: Likewise.
14337         * soft-fp/extenddftf2.c: Likewise.
14338         * soft-fp/extended.h: Likewise.
14339         * soft-fp/extendsfdf2.c: Likewise.
14340         * soft-fp/extendsftf2.c: Likewise.
14341         * soft-fp/extendxftf2.c: Likewise.
14342         * soft-fp/fixdfdi.c: Likewise.
14343         * soft-fp/fixdfsi.c: Likewise.
14344         * soft-fp/fixdfti.c: Likewise.
14345         * soft-fp/fixsfdi.c: Likewise.
14346         * soft-fp/fixsfsi.c: Likewise.
14347         * soft-fp/fixsfti.c: Likewise.
14348         * soft-fp/fixtfdi.c: Likewise.
14349         * soft-fp/fixtfsi.c: Likewise.
14350         * soft-fp/fixtfti.c: Likewise.
14351         * soft-fp/fixunsdfdi.c: Likewise.
14352         * soft-fp/fixunsdfsi.c: Likewise.
14353         * soft-fp/fixunsdfti.c: Likewise.
14354         * soft-fp/fixunssfdi.c: Likewise.
14355         * soft-fp/fixunssfsi.c: Likewise.
14356         * soft-fp/fixunssfti.c: Likewise.
14357         * soft-fp/fixunstfdi.c: Likewise.
14358         * soft-fp/fixunstfsi.c: Likewise.
14359         * soft-fp/fixunstfti.c: Likewise.
14360         * soft-fp/floatdidf.c: Likewise.
14361         * soft-fp/floatdisf.c: Likewise.
14362         * soft-fp/floatditf.c: Likewise.
14363         * soft-fp/floatsidf.c: Likewise.
14364         * soft-fp/floatsisf.c: Likewise.
14365         * soft-fp/floatsitf.c: Likewise.
14366         * soft-fp/floattidf.c: Likewise.
14367         * soft-fp/floattisf.c: Likewise.
14368         * soft-fp/floattitf.c: Likewise.
14369         * soft-fp/floatundidf.c: Likewise.
14370         * soft-fp/floatundisf.c: Likewise.
14371         * soft-fp/floatunsidf.c: Likewise.
14372         * soft-fp/floatunsisf.c: Likewise.
14373         * soft-fp/floatuntidf.c: Likewise.
14374         * soft-fp/floatuntisf.c: Likewise.
14375         * soft-fp/floatuntitf.c: Likewise.
14376         * soft-fp/fmadf4.c: Likewise.
14377         * soft-fp/fmasf4.c: Likewise.
14378         * soft-fp/fmatf4.c: Likewise.
14379         * soft-fp/gedf2.c: Likewise.
14380         * soft-fp/gesf2.c: Likewise.
14381         * soft-fp/getf2.c: Likewise.
14382         * soft-fp/ledf2.c: Likewise.
14383         * soft-fp/lesf2.c: Likewise.
14384         * soft-fp/letf2.c: Likewise.
14385         * soft-fp/muldf3.c: Likewise.
14386         * soft-fp/mulsf3.c: Likewise.
14387         * soft-fp/multf3.c: Likewise.
14388         * soft-fp/negdf2.c: Likewise.
14389         * soft-fp/negsf2.c: Likewise.
14390         * soft-fp/negtf2.c: Likewise.
14391         * soft-fp/op-1.h: Likewise.
14392         * soft-fp/op-2.h: Likewise.
14393         * soft-fp/op-4.h: Likewise.
14394         * soft-fp/op-8.h: Likewise.
14395         * soft-fp/op-common.h: Likewise.
14396         * soft-fp/quad.h: Likewise.
14397         * soft-fp/single.h: Likewise.
14398         * soft-fp/soft-fp.h: Likewise.
14399         * soft-fp/sqrtdf2.c: Likewise.
14400         * soft-fp/sqrtsf2.c: Likewise.
14401         * soft-fp/sqrttf2.c: Likewise.
14402         * soft-fp/subdf3.c: Likewise.
14403         * soft-fp/subsf3.c: Likewise.
14404         * soft-fp/subtf3.c: Likewise.
14405         * soft-fp/truncdfsf2.c: Likewise.
14406         * soft-fp/trunctfdf2.c: Likewise.
14407         * soft-fp/trunctfsf2.c: Likewise.
14408         * soft-fp/trunctfxf2.c: Likewise.
14409         * soft-fp/unorddf2.c: Likewise.
14410         * soft-fp/unordsf2.c: Likewise.
14411         * soft-fp/unordtf2.c: Likewise.
14412
14413 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14414
14415         [BZ #15672]
14416         * misc/error.c (error_tail): Fix possible buffer overflow.
14417
14418 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14419
14420         [BZ #13028]
14421         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14422         address.
14423
14424 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14425
14426         [BZ #832]
14427         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14428         testing pipefail option.
14429
14430 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14431
14432         * soft-fp/double.h: Indent preprocessor directives inside #if.
14433         * soft-fp/extended.h: Likewise.
14434         * soft-fp/op-2.h: Likewise.
14435         * soft-fp/op-4.h: Likewise.
14436         * soft-fp/op-common.h: Likewise.
14437         * soft-fp/quad.h: Likewise.
14438         * soft-fp/single.h: Likewise.
14439         * soft-fp/soft-fp.h: Likewise.
14440
14441 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14442
14443         * iconv/iconv_prog.c: Fix typos.
14444         * stdio-common/psiginfo-data.h: Likewise.
14445
14446 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14447
14448         [BZ #15764]
14449         * locale/setlocale.c: Fix typo.
14450
14451 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14452
14453         [BZ #16036]
14454         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14455         signaling NaN arguments.
14456         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14457         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14458
14459         [BZ #14910]
14460         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14461         unordered operands.
14462         * soft-fp/gesf2.c (__gesf2): Likewise.
14463         * soft-fp/getf2.c (__getf2): Likewise.
14464         * soft-fp/ledf2.c (__ledf2): Likewise.
14465         * soft-fp/lesf2.c (__lesf2): Likewise.
14466         * soft-fp/letf2.c (__letf2): Likewise.
14467
14468         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14469         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14470         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14471         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14472         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14473         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14474         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14475         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14476         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14477         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14478         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14479         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14480         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14481         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14482         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14483         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14484         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14485         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14486         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14487         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14488         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14489         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14490         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14491         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14492         * soft-fp/floattidf.c (__floattidf): Likewise.
14493         * soft-fp/floattisf.c (__floattisf): Likewise.
14494         * soft-fp/floattitf.c (__floattitf): Likewise.
14495         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14496         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14497         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14498         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14499         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14500         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14501         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14502         * soft-fp/gesf2.c (__gesf2): Likewise.
14503         * soft-fp/getf2.c (__getf2): Likewise.
14504         * soft-fp/ledf2.c (__ledf2): Likewise.
14505         * soft-fp/lesf2.c (__lesf2): Likewise.
14506         * soft-fp/letf2.c (__letf2): Likewise.
14507
14508         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14509         Undefine and redefine.
14510         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14511         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14512         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14513         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14514         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14515         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14516         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14517         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14518         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14519         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14520         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14521         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14522         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14523         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14524         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14525
14526         [BZ #16032]
14527         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14528         without decrementing exponent if mantissa >= that for the
14529         denominator, not >.
14530         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14531         denominator, not >.  Decrement exponent in < case instead of
14532         incrementing in >= case.
14533         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14534         without decrementing exponent if mantissa >= that for the
14535         denominator, not >.
14536
14537         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14538         computing saturated result for unsigned overflow.
14539
14540 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14541             Jeff Law  <law@redhat.com>
14542
14543         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14544         (atan2Mp): Add systemtap probe marker.
14545         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14546         (__ieee754_log): Add systemtap probe marker.
14547         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14548         (atanMp): Add systemtap probe marker.
14549         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14550         (tanMp): Add systemtap probe marker.
14551         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14552         (__slowexp): Add systemtap probe marker.
14553         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14554         (__slowpow): Add systemtap probe marker.
14555         * manual/probes.texi: Document probes.
14556
14557 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14558
14559         [BZ #15362]
14560         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14561         written.
14562         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14563         written.
14564         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14565         written to buffer but not flushed.
14566         * libio/iofwrite_u.c:  Likewise.
14567         * libio/iopadn.c:  Return bytes returned even if EOF was
14568         encountered.
14569         * libio/iowpadn.c:  Likewise.
14570         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14571         if _IO_padn does not write the whole buffer.
14572         [!COMPILE_WPRINTF] (PAD): Likewise.
14573
14574 2013-10-10  David S. Miller  <davem@davemloft.net>
14575
14576         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14577         directory block.
14578
14579 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14580
14581         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14582         instead of FSF address.
14583         * soft-fp/fixdfti.c: Likewise.
14584         * soft-fp/fixsfti.c: Likewise.
14585         * soft-fp/fixtfti.c: Likewise.
14586         * soft-fp/fixunsdfti.c: Likewise.
14587         * soft-fp/fixunssfti.c: Likewise.
14588         * soft-fp/fixunstfti.c: Likewise.
14589         * soft-fp/floattidf.c: Likewise.
14590         * soft-fp/floattisf.c: Likewise.
14591         * soft-fp/floattitf.c: Likewise.
14592         * soft-fp/floatuntidf.c: Likewise.
14593         * soft-fp/floatuntisf.c: Likewise.
14594         * soft-fp/floatuntitf.c: Likewise.
14595         * soft-fp/trunctfxf2.c: Likewise.
14596
14597         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14598         * soft-fp/fixdfti.c: Likewise.
14599         * soft-fp/fixsfti.c: Likewise.
14600         * soft-fp/fixtfti.c: Likewise.
14601         * soft-fp/fixunsdfti.c: Likewise.
14602         * soft-fp/fixunssfti.c: Likewise.
14603         * soft-fp/fixunstfti.c: Likewise.
14604         * soft-fp/floattidf.c: Likewise.
14605         * soft-fp/floattisf.c: Likewise.
14606         * soft-fp/floattitf.c: Likewise.
14607         * soft-fp/floatuntidf.c: Likewise.
14608         * soft-fp/floatuntisf.c: Likewise.
14609         * soft-fp/floatuntitf.c: Likewise.
14610         * soft-fp/trunctfxf2.c: Likewise.
14611
14612 2013-10-10  David S. Miller  <davem@davemloft.net>
14613
14614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14615
14616 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14617
14618         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14619         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14620         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14621         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14622         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14623         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14624         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14625
14626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14627         for NaNs before doing comparisons on argument.
14628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14629         Likewise.
14630
14631 2013-10-10  Will Newton  <will.newton@linaro.org>
14632
14633         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14634         passed to _int_memalign does not overflow.
14635
14636 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14637
14638         * scripts/bench.pl: Add include-sources directive.
14639         * benchtests/README: Update documentation.
14640
14641 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14642
14643         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14644         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14645         instead of FP_INIT_ROUNDMODE.
14646         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14647         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14648
14649         [BZ #16034]
14650         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14651         copy class of input value.
14652         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14653         not handle exceptions.
14654         * soft-fp/negsf2.c (__negsf2): Likewise.
14655         * soft-fp/negtf2.c (__negtf2): Likewise.
14656         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14657
14658 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14659
14660         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14661         semicolon.  From Linux kernel.
14662
14663 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14664
14665         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14666
14667 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14668
14669         [BZ #156]
14670         * manual/socket.texi: Added statement about buffer
14671         for gethostbyname2_r.
14672
14673 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14674
14675         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14676         Use .p2align directive instead, throughout.
14677         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14678         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14682         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14683         * sysdeps/x86_64/strchr.S: Likewise.
14684         * sysdeps/x86_64/strrchr.S: Likewise.
14685
14686 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14687
14688         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14689
14690         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14691
14692         * sysdeps/generic/math_private.h (__mpsin1): Remove
14693         declaration.
14694         (__mpcos1): Likewise.
14695         (__mpsin): New argument __range_reduce.
14696         (__mpcos): Likewise.
14697         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14698         (slow): Use __mpsin and __mpcos.
14699         (slow1): Likewise.
14700         (slow2): Likewise.
14701         (sloww): Likewise.
14702         (sloww1): Likewise.
14703         (sloww2): Likewise.
14704         (bsloww): Likewise.
14705         (bsloww1): Likewise.
14706         (bsloww2): Likewise.
14707         (cslow2): Likewise.
14708         (csloww): Likewise.
14709         (csloww1): Likewise.
14710         (csloww2): Likewise.
14711         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14712         range_reduce.  Merge in __mpsin1.
14713         (__mpcos): Likewise.
14714         (__mpsin1): Remove.
14715         (__mpcos1): Likewise.
14716
14717 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14718
14719         * locale/loadlocale.c (_nl_intern_locale_data): Use
14720         LOCFILE_ALIGNED_P.
14721         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14722         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14723         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14724         obstack data is appropriately aligned.
14725         (obstack_int32_grow_fast): Likewise.
14726         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14727         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14728         (add_locale_uint32_array): Likewise.
14729
14730 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14731
14732         * benchtests/Makefile: Remove ARGLIST and RET variables.
14733         ($(objpfx)bench-%.c): Pass only function name to the script.
14734         * benchtests/README: Update documentation.
14735         * benchtests/acos-inputs: Add new directives.
14736         * benchtests/acosh-inputs: Likewise.
14737         * benchtests/asin-inputs: Likewise.
14738         * benchtests/asinh-inputs: Likewise.
14739         * benchtests/atan-inputs: Likewise.
14740         * benchtests/atanh-inputs: Likewise.
14741         * benchtests/cos-inputs: Likewise.
14742         * benchtests/cosh-inputs: Likewise.
14743         * benchtests/exp-inputs: Likewise.
14744         * benchtests/log-inputs: Likewise.
14745         * benchtests/pow-inputs: Likewise.
14746         * benchtests/rint-inputs: Likewise.
14747         * benchtests/sin-inputs: Likewise.
14748         * benchtests/sinh-inputs: Likewise.
14749         * benchtests/tan-inputs: Likewise.
14750         * benchtests/tanh-inputs: Likewise.
14751         * scripts/bench.pl: Add support for new directives.
14752
14753 2013-10-07  Alan Modra  <amodra@gmail.com>
14754
14755         * README: Fix careless merge.
14756
14757 2013-10-05  Alan Modra  <amodra@gmail.com>
14758
14759         * NEWS: Mention powerpc64le support and bugs fixed.
14760         * README: Both big-endian and little-endian powerpc64 supported.
14761
14762 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14763
14764         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14765         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14766         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14767         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14768
14769 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14770
14771         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14772         match prototype.
14773
14774 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14775
14776         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14777         Move -mhard-float appending from
14778         ports/sysdeps/powerpc/powerpc32/Makefile.
14779         [$(with-fp) = yes] (ASFLAGS): Likewise.
14780         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14781         * sysdeps/powerpc/nofpu: Move directory from
14782         ports/sysdeps/powerpc/nofpu.
14783         * sysdeps/powerpc/soft-fp: Move directory from
14784         ports/sysdeps/powerpc/soft-fp.
14785         * sysdeps/powerpc/powerpc32/405: Move directory from
14786         ports/sysdeps/powerpc/powerpc32/405.
14787         * sysdeps/powerpc/powerpc32/440: Move directory from
14788         ports/sysdeps/powerpc/powerpc32/440.
14789         * sysdeps/powerpc/powerpc32/464: Move directory from
14790         ports/sysdeps/powerpc/powerpc32/464.
14791         * sysdeps/powerpc/powerpc32/476: Move directory from
14792         ports/sysdeps/powerpc/powerpc32/476.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14794         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14796         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14798         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14800         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14802         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14803         * README: Update for powerpc-*-linux-gnu software floating point
14804         support in libc.
14805
14806         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14807         case to powerpc/powerpc32*.
14808         * sysdeps/unix/sysv/linux/configure: Regenerated.
14809
14810         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14811         (_FPU_MASK_OM): Define as 0x04.
14812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14814         0x00c10080.
14815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14816         0x0000003c.
14817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14818
14819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14820         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14821         getcontext_e500.
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14823         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14824         setcontext_e500.
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14826         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14827         and setcontext_e500.
14828
14829 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14830
14831         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14832
14833 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14834
14835         * manual/threads.texi (Default Thread Attributes): Fix typo.
14836
14837 2013-10-04  Will Newton  <will.newton@linaro.org>
14838
14839         * malloc/Makefile: Add tst-memalign.
14840         * malloc/tst-memalign.c: New file.
14841
14842         * malloc/tst-posix_memalign.c: Add comments.
14843         (do_test): Add comments and call free on all potentially
14844         allocated pointers. Add space after cast.
14845
14846         * malloc/tst-pvalloc.c: Add comments.
14847         (do_test): Add comments and call free on all potentially
14848         allocated pointers. Remove duplicate check for NULL pointer.
14849         Add space after cast.
14850
14851         * malloc/tst-valloc.c: Add comments.
14852         (do_test): Add comments and call free on all potentially
14853         allocated pointers. Remove duplicate check for NULL pointer.
14854         Add space after cast.
14855
14856 2013-10-04  Alan Modra  <amodra@gmail.com>
14857
14858         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14859         Use stdint types in rather than __attribute__((mode())).
14860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14861
14862 2013-10-04  Alan Modra  <amodra@gmail.com>
14863
14864         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14865         Correct handling of unaligned relocs for little-endian.
14866         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14867
14868 2013-10-04  Alan Modra  <amodra@gmail.com>
14869
14870         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14871         * configure: Regenerate.
14872         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14873         * shlib-versions: Likewise.
14874
14875 2013-10-04  Alan Modra  <amodra@gmail.com>
14876
14877         * string/tester.c (test_memrchr): Increment reported test cycle.
14878
14879 2013-10-04  Alan Modra  <amodra@gmail.com>
14880
14881         * string/test-memcpy.c (do_one_test): When reporting errors, print
14882         string address and don't overrun end of string.
14883
14884 2013-10-04  Alan Modra  <amodra@gmail.com>
14885
14886         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14887         insrdi.  Make better use of reg selection to speed exit slightly.
14888         Schedule entry path a little better.  Remove useless "are we done"
14889         checks on entry to main loop.  Handle wrapping around zero address.
14890         Correct main loop count.  Handle single left-over word from main
14891         loop inline rather than by using loop_small.  Remove extra word
14892         case in loop_small caused by wrong loop count.  Add little-endian
14893         support.
14894         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14896         cache hint.
14897         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14898         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14899         support.  Avoid rlwimi.
14900         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14901
14902 2013-10-04  Alan Modra  <amodra@gmail.com>
14903
14904         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14905         insrdi.  Formatting.
14906         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14907         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14908         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14909         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14910         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14911         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14912
14913 2013-10-04  Alan Modra  <amodra@gmail.com>
14914
14915         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14917         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14918         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14919         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14920         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14921         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14922         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14923         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14924         use of regs.  Use power7 mtocrf.  Tidy function tails.
14925
14926 2013-10-04  Alan Modra  <amodra@gmail.com>
14927
14928         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14929         Formatting.  Consistently use rXXX register defines or rN defines.
14930         Use early exit labels that avoid restoring unused non-volatile regs.
14931         Make cr field use more consistent with rWORDn compares.  Rename
14932         regs used as shift registers for unaligned loop, using rN defines
14933         for short lifetime/multiple use regs.
14934         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14936         addi 1,1,64 to pop stack frame.  Simplify return value code.
14937         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14938
14939 2013-10-04  Alan Modra  <amodra@gmail.com>
14940
14941         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14942         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14943         rather than rlwimi.
14944         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14946         little-endian support.  Correct typos.
14947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14948         rather than rlwimi.
14949         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14950         in loop and entry code to keep "and." results.
14951         (strchr): Add little-endian support.  Comment.  Move cntlzd
14952         earlier in tail.
14953         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14954
14955 2013-10-04  Alan Modra  <amodra@gmail.com>
14956
14957         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14958         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14959         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14960         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14961
14962 2013-10-04  Alan Modra  <amodra@gmail.com>
14963
14964         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14965         (rTMP): Define as r11.
14966         (strcmp): Add little-endian support.  Optimise tail.
14967         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14968         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14969         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14970         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14971         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14972         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14974
14975 2013-10-04  Alan Modra  <amodra@gmail.com>
14976
14977         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14978         little-endian support.  Remove unnecessary "are we done" tests.
14979         Handle "s" wrapping around zero and extremely large "size".
14980         Correct main loop count.  Handle single left-over word from main
14981         loop inline rather than by using small_loop.  Correct comments.
14982         Delete "zero" tail, use "end_max" instead.
14983         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14984
14985 2013-10-04  Alan Modra  <amodra@gmail.com>
14986
14987         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14988         support.  Don't branch over align.
14989         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14990         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14991         support.  Rearrange tmp reg use to suit.  Comment.
14992         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14993
14994 2013-10-04  Alan Modra  <amodra@gmail.com>
14995
14996         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14997
14998 2013-10-04  Alan Modra  <amodra@gmail.com>
14999
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15001         conditional form of branch and link when obtaining pc.
15002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15003
15004 2013-10-04  Alan Modra  <amodra@gmail.com>
15005
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15007         HIWORD/LOWORD.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15010
15011 2013-10-04  Alan Modra  <amodra@gmail.com>
15012
15013         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15014         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15015         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15016         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15017         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15018         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15019         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15020         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15021         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15022         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15023
15024 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15025             Alistair Popple <alistair@ozlabs.au.ibm.com>
15026             Alan Modra <amodra@gmail.com>
15027
15028         [BZ #15723]
15029         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15030         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15031         _dl_hwcap access for little-endian.
15032         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15033         destroy vmx regs when saving unaligned.
15034         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15035         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15036         destroy vmx regs when saving unaligned.
15037
15038 2013-10-04  Alan Modra  <amodra@gmail.com>
15039
15040         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15041         Don't use a union to pack hi/low value.
15042
15043 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15044
15045         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15046         for little-endian.
15047         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15049         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15050         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15051         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15052
15053 2013-10-04  Alan Modra  <amodra@gmail.com>
15054
15055         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15056         constants to usual value for .cst8 section, and remove redundant
15057         high address load.
15058         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15059         constant for 0x1p52.  Load little-endian words of double from
15060         correct stack offsets.
15061
15062 2013-10-04  Alan Modra  <amodra@gmail.com>
15063
15064         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15065         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15066         words of double from correct stack offsets.
15067         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15068         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15069         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15070         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15072         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15074         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15075         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15076         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15079         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15080         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15082         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15083         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15084
15085 2013-10-04  Alan Modra  <amodra@gmail.com>
15086
15087         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15088         64-bit int/double union.
15089         (_FPU_SETCW): Likewise.
15090         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15091         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15092
15093 2013-10-04  Alan Modra  <amodra@gmail.com>
15094
15095         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15096         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15097
15098 2013-10-04  Alan Modra  <amodra@gmail.com>
15099
15100         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15101         use vector int constants.
15102         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15103
15104 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15105
15106         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15107         array with long long.
15108         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15109         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15110         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15111         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15112         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15113         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15114         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15115         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15116         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15117         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15118         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15119         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15120         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15121
15122 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15123
15124         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15125         (__signbit): Likewise.  Correct for little-endian.
15126         (__signbitl): Call __signbit.
15127         (lrint): Correct for little-endian.
15128         (lrintf): Call lrint.
15129
15130 2013-10-04  Alan Modra  <amodra@gmail.com>
15131
15132         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15133         union 32-bit int array member with 64-bit int array.
15134         (t515, tm256): Double rather than long double.
15135         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15136
15137 2013-10-04  Alan Modra  <amodra@gmail.com>
15138
15139         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15140         Delete.
15141         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15143         version of math_ldbl.h.
15144
15145 2013-10-04  Alan Modra  <amodra@gmail.com>
15146
15147         [BZ #15734], [BZ #15735]
15148         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15149         all uses of ieee875 long double macros and unions.  Simplify test
15150         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15151         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15152         normalize after ldbl_extract_mantissa, and don't add hidden bit
15153         already handled.  Don't treat low word of ieee854 mantissa like
15154         low word of IBM long double and mask off bit when testing for
15155         zero.
15156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15157         all uses of ieee875 long double macros and unions.  Simplify tests
15158         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15159         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15160         two1022, instead use their values.  Recognise that tests for large
15161         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15162         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15163         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15164         test for 0.0L and nan.  Correct negation.
15165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15166         ieee875 long double macros and unions.  Correct output for large
15167         magnitude x.  Correct absolute value calculation.
15168         (__erfcl): Likewise.
15169         * math/libm-test.inc: Add tests for errors discovered in IBM long
15170         double versions of fmodl, remainderl, erfl and erfcl.
15171
15172 2013-10-04  Alan Modra  <amodra@gmail.com>
15173
15174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15175         all uses of ieee854 long double macros and unions.  Simplify tests
15176         for long doubles that are fully specified by the high double.
15177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15178         Likewise.
15179         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15180         Remove dead code too.
15181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15182         (__ieee754_ynl): Likewise.
15183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15184         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15185         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15186         Remove dead code too.
15187         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15188         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15190         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15191         Simplify.
15192         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15193         Simplify.
15194         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15195         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15197         Comment on variable precision.
15198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15199         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15200         Likewise.
15201         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15205         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15206
15207 2013-10-04  Alan Modra  <amodra@gmail.com>
15208
15209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15211         all uses of ieee854 long double macros and unions.
15212         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15216         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15218         Likewise.
15219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15225         Simplify sign and nan test too.
15226         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15227         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15228         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15229         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15230         Likewise.
15231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15232         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15233         Likewise.
15234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15235         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15236         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15237         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15238         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15240
15241 2013-10-04  Alan Modra  <amodra@gmail.com>
15242
15243         * stdio-common/printf_size.c (__printf_size): Don't use
15244         union ieee854_long_double in fpnum union.
15245         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15246         signbit macro to retrieve sign from long double.
15247         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15248         retrieve sign from long double.
15249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15250         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15253         * math/test-misc.c (main): Don't use union ieee854_long_double.
15254
15255 2013-10-04  Alan Modra  <amodra@gmail.com>
15256
15257         [BZ #15680]
15258         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15259         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15260         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15261         calculation.  Remove unnecessary test for denormal exponent.
15262         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15263         Correct handling of denormals.  Avoid undefined shift behaviour.
15264         Correct normalisation of low mantissa when low double is denormal.
15265         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15266         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15267         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15268         Correct normalisation of low mantissa.  Test for overflow of high
15269         mantissa and normalise.
15270         (ldbl_nearbyint): Use more readable constant for two52.
15271         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15272         (__mpn_construct_long_double): Fix test for overflow of high
15273         mantissa and correct normalisation.  Avoid undefined shift.
15274
15275 2013-10-04  Alan Modra  <amodra@gmail.com>
15276
15277         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15278         (union ibm_extended_long_double): Define as an array of ieee754_double.
15279         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15280         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15281         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15282         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15284         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15285         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15286         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15287         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15288         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15289         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15290
15291 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15292
15293         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15294         page size instead of calling getpagesize.
15295
15296         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15297         (LOCFILE_ALIGN_MASK): Likewise.
15298         (LOCFILE_ALIGN_UP): Likewise.
15299         (LOCFILE_ALIGNED_P): Likewise.
15300         * locale/programs/ld-collate.c (collate_output): Use the new
15301         macros instead of __alignof__ (int32_t).
15302         * locale/weight.h (findidx): Likewise.
15303
15304 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15305
15306         [BZ #431]
15307         * manual/string.texi: Fix strncat and wcsncat.
15308
15309 2013-10-03  Brooks Moses  <bmoses@google.com>
15310
15311         [BZ #15915]
15312         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15313         * Makerules: ...here, and adjust associated comments.
15314
15315 2013-10-02  Will Newton  <will.newton@linaro.org>
15316
15317         * malloc/Makefile: Add tst-pvalloc.
15318         * malloc/tst-pvalloc.c: New file.
15319
15320 2013-10-02  Will Newton  <will.newton@linaro.org>
15321
15322         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15323         improve test coverage.
15324
15325 2013-10-02  Will Newton  <will.newton@linaro.org>
15326
15327         * malloc/Makefile: Add tst-posix_memalign.
15328         * malloc/tst-posix_memalign.c: New file.
15329
15330 2013-10-01  Eric Blake  <eblake@redhat.com>
15331
15332         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15333         Use __THROWNL rather than __THROW on static functions.
15334
15335 2013-09-30  Petr Machata  <pmachata@redhat.com>
15336
15337         * elf/elf.h (R_AARCH64_ABS16): New macro.
15338         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15339         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15340         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15341         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15342         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15343         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15344         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15345         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15346         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15347         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15348         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15349         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15350         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15351         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15352         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15353         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15354         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15355         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15356         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15357         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15358         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15359         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15360         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15361         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15362         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15363         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15364         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15365         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15366         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15367         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15368         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15370         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15372         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15373         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15375         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15377         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15379         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15381         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15383         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15385         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15387         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15388         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15389         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15390         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15391         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15392         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15393         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15394         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15395         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15396         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15397         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15398         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15400         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15402         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15404         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15406         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15408         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15409         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15410         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15411         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15412         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15413         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15414         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15415         (R_AARCH64_TLSDESC_LDR): Likewise.
15416         (R_AARCH64_TLSDESC_ADD): Likewise.
15417         (R_AARCH64_TLSDESC_CALL): Likewise.
15418
15419 2013-09-30  Andreas Schwab  <schwab@suse.de>
15420
15421         [BZ #15048]
15422         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15423         the nss database lookup.
15424         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15426
15427 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15428
15429         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15430
15431 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15432
15433         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15434         ${Bash-specific parameter/pattern/string} parameter expansion.
15435         * sysdeps/unix/make-syscalls.sh: Likewise.
15436
15437 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15438
15439         * sysdeps/sh/stackguard-macros.h: New file.
15440
15441 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15442
15443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15444         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15445         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15446         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15447         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15448         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15449
15450 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15451
15452         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15453         Fix thread ID register.
15454
15455 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15456
15457         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15458         [POSIX || UNIX98]: Require rather than permitting all symbols from
15459         <time.h>.
15460         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15461         element of struct sched_param.
15462         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15463         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15464         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15465         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15466         constant.
15467
15468 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15469
15470         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15471         argument calculation.
15472
15473 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15474
15475         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15476         Expect macro.
15477         [POSIX] (pthread_attr_t): Do not require type.
15478         [POSIX] (pthread_cond_t): Likewise.
15479         [POSIX] (pthread_condattr_t): Likewise.
15480         [POSIX] (pthread_key_t): Likewise.
15481         [POSIX] (pthread_mutex_t): Likewise.
15482         [POSIX] (pthread_mutexattr_t): Likewise.
15483         [POSIX] (pthread_once_t): Likewise.
15484         [POSIX] (pthread_t): Likewise.
15485         [POSIX-based standards] (pthread_atfork): Expect function.
15486
15487 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15488             Richard Sandiford  <richard@codesourcery.com>
15489
15490         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15491         (swap_endianness_p): New extern variable.
15492         (set_big_endian): New inline function.
15493         (maybe_swap_uint32): Likewise.
15494         (maybe_swap_uint32_array): Likewise.
15495         (maybe_swap_uint32_obstack): Likewise.
15496         * locale/programs/locfile.c: Include <stdbool.h>.
15497         (swap_endianness_p): New variable.
15498         (add_locale_uint32): Call maybe_swap_uint32.
15499         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15500         (write_locale_data): Call maybe_swap_uint32_array.
15501         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15502         maybe_swap_uint32.
15503         (obstack_int32_grow_fast): Likewise.
15504         (output_weightwc): Call maybe_swap_uint32_obstack.
15505         (collate_output): Likewise.
15506         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15507         (OPT_LITTLE_ENDIAN): Likewise.
15508         (options): Add --little-endian and --big-endian options.
15509         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15510         * locale/programs/locarchive.c: Include "locfile.h".
15511         (GET): New macro.
15512         (SET): Likewise.
15513         (INC): Likewise.
15514         (create_archive): Use the new macros to access fields of
15515         structures directly mapped from or written to locale archives.
15516         (oldlocrecentcmp): Likewise.
15517         (enlarge_archive): Likewise.
15518         (insert_name): Likewise.
15519         (add_alias): Likewise.
15520         (add_locale): Likewise.
15521         (delete_locales_from_archive): Likewise.
15522         (show_archive_content): Likewise.
15523         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15524         locale data.
15525
15526 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15527
15528         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15529         http://www.gnu.org/doc/freemanuals.texi.
15530         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15531
15532 2013-09-24  Will Newton  <will.newton@linaro.org>
15533
15534         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15535         macro.
15536
15537 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15538
15539         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15540         unsigned char.
15541
15542 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15543
15544         * manual/threads.texi (POSIX Threads): Fix a typo.
15545
15546 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15547
15548         [BZ #14547]
15549         * string/tst-strcoll-overflow.c: New test case.
15550         * string/Makefile (xtests): Add tst-strcoll-overflow.
15551         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15552         cache if string sizes may cause integer overflow.
15553
15554         [BZ #14547]
15555         * string/strcoll_l.c (coll_seq): New members rule, idx,
15556         save_idx and back_us.
15557         (get_next_seq_nocache): New function.
15558         (do_compare_nocache): New function.
15559         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15560         when malloc fails.
15561
15562 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15563
15564         [BZ #15754]
15565         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15566         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15567         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15568
15569         [BZ #15754]
15570         * elf/Makefile (tests): Add tst-ptrguard1.
15571         (tests-static): Add tst-ptrguard1-static.
15572         (tst-ptrguard1-ARGS): Define.
15573         (tst-ptrguard1-static-ARGS): Define.
15574         * elf/tst-ptrguard1.c: New file.
15575         * elf/tst-ptrguard1-static.c: New file.
15576         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15577         * sysdeps/i386/stackguard-macros.h: Likewise.
15578         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15579         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15580         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15581         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15582         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15583         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15584
15585 2013-09-23  Hector Marco  <hecmargi@upv.es>
15586             Ismael Ripoll  <iripoll@disca.upv.es>
15587             Carlos O'Donell  <carlos@redhat.com>
15588
15589         [BZ #15754]
15590         * sysdeps/generic/stackguard-macros.h: Define
15591         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15592         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15593         Define __pointer_chk_guard_local.
15594         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15595         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15596
15597 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15598
15599         [BZ #15859]
15600         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15601
15602 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15603
15604         * include/string.h (__ffs): Declare as hidden.
15605         * string/ffs.c (__ffs): Define as hidden.
15606         * sysdeps/i386/ffs.c (__ffs): Likewise.
15607         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15608         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15609         * sysdeps/s390/ffs.c (__ffs): Likewise.
15610         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15611
15612 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15613
15614         * NEWS: Mention malloc probes.
15615
15616         * malloc/arena.c (new_heap): New memory_heap_new probe.
15617         (grow_heap): New memory_heap_more probe.
15618         (shrink_heap): New memory_heap_less probe.
15619         (heap_trim): New memory_heap_free probe.
15620         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15621         (systrim): New memory_sbrk_less probe.
15622         * manual/probes.texi: Document them.
15623
15624         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15625         * manual/probes.texi: Document it.
15626
15627         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15628         (__libc_realloc): Add memory_realloc_retry probe.
15629         (__libc_memalign): Add memory_memalign_retry probe.
15630         (__libc_valloc): Add memory_valloc_retry probe.
15631         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15632         (__libc_calloc): Add memory_calloc_retry probe.
15633         * manual/probes.texi: Document them.
15634
15635         * malloc/arena.c (get_free_list): Add probe
15636         memory_arena_reuse_free_list.
15637         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15638         and memory_arena_reuse.
15639         (arena_get2) [!PER_THREAD]: Likewise.
15640         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15641         memory_arena_reuse_realloc.
15642         * manual/probes.texi: Document them.
15643
15644         * malloc/malloc.c (__libc_free): Add
15645         memory_mallopt_free_dyn_thresholds probe.
15646         (__libc_mallopt): Add multiple memory_mallopt probes.
15647         * manual/probes.texi: Document them.
15648
15649         * malloc/malloc.c: Include stap-probe.h.
15650         (__libc_mallopt): Add memory_mallopt probe.
15651         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15652         * manual/probes.texi: New.
15653         * manual/Makefile (chapters): Add probes.
15654         * manual/threads.texi: Set next node.
15655
15656 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15657
15658         [BZ #15963, #13985]
15659         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15660         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15661         Add `Chinese' to `nan' entry name.
15662
15663 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15664
15665         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15666         (POLYNOMIAL): Likewise.
15667         (TAYLOR_SINCOS): Likewise.
15668         (TAYLOR_SLOW): Likewise.
15669         (__sin): Use TAYLOR_SINCOS.
15670         (__cos): Likewise.
15671         (slow): Use TAYLOR_SLOW.
15672         (sloww): Likewise.
15673         (bsloww): Likewise.
15674         (csloww): Likewise.
15675
15676 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15677
15678         * stdlib/strtod_l.c: Fix buffer overrun.
15679
15680 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15681
15682         * benchtests/Makefile (bench): Add sincos.
15683         * benchtests/bench-sincos.c: New file.
15684
15685         * math/libm-test.inc (cos_test_data): New test inputs.
15686         (sin_test_data): Likewise.
15687
15688         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15689         macro.
15690         (__sin): Use it.
15691         (__cos): Likewise.
15692         (slow1): Likewise.
15693         (slow2): Likewise.
15694         (sloww1): Likewise.
15695         (sloww2): Likewise.
15696         (bsloww1): Likewise.
15697         (bsloww2): Likewise.
15698         (cslow2): Likewise.
15699         (csloww1): Likewise.
15700         (csloww2): Likewise.
15701
15702         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15703         function.
15704         (__sin): Use it.
15705         (__cos): Likewise.
15706
15707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15708         gotos.
15709         (__cos): Likewise.
15710
15711 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15712
15713         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15714         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15715         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15716         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15717         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15718         * elf/cache.c (print_entry): Handle the new cache flags.
15719
15720 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15721             Aldy Hernandez  <aldyh@redhat.com>
15722
15723         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15724         Change condition to [_SOFT_FLOAT].
15725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15737         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15740         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15741         declaration.
15742
15743 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15744
15745         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15746         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15747         (__longjmp): Use LOAD_GP to load saved GPRs.
15748         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15749         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15750         (__sigsetjmp): Use SAVE_GP to save GPRs.
15751
15752         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15753         Do not append -msoft-float.
15754         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15755
15756 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15757
15758         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15759
15760 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15761
15762         [BZ #15966]
15763         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15764         (_FPU_GETCW): Use initial "__" on variable and field names but not
15765         on macro parameter name.
15766         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15767         parentheses around reference to macro parameter.
15768
15769 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15770
15771         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15772         prototype.
15773         (ctype_startup): Use uint32_t in cast and sizeof for
15774         ctype->charnames.
15775
15776 2013-09-11  Jia Liu  <proljc@gmail.com>
15777
15778         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15779         __daddr_t_defined.
15780         [__FreeBSD__]: Likewise.
15781
15782 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15783
15784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15785         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15786         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15787         (strchr): Remove __strchr_sse42 ifunc selection.
15788         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15789         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15790
15791 2013-09-11  Will Newton  <will.newton@linaro.org>
15792
15793         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15794         parameter to RES. Remove hardcoded 1000 value.
15795         * benchtests/bench-skeleton.c (main): Pass RES parameter
15796         to TIMING_INIT and multiply result by 1000.
15797
15798 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15799
15800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15801
15802 2013-09-11  Andreas Schwab  <schwab@suse.de>
15803
15804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15805         if not defined.
15806         (O_TMPFILE) [__USE_GNU]: Define.
15807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15808         Define.
15809
15810 2013-09-11  Will Newton  <will.newton@linaro.org>
15811
15812         [BZ #15857]
15813         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15814         does not overflow.
15815
15816 2013-09-11  Will Newton  <will.newton@linaro.org>
15817
15818         [BZ #15856]
15819         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15820         does not overflow.
15821
15822 2013-09-11  Will Newton  <will.newton@linaro.org>
15823
15824         [BZ #15855]
15825         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15826         does not overflow.
15827
15828 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15829
15830         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15831         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15832         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15833         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15834         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15835
15836 2013-09-10  Allan McRae  <allan@archlinux.org>
15837
15838         [BZ #15748]
15839         * manual/arith.texi (Parsing of Floats): Clarify
15840         cross-reference.
15841
15842         [BZ #15849]
15843         * manual/install.texi (Running make install): Mention
15844         --enable-pt-chown.
15845         * INSTALL: Regenerated.
15846
15847 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15848
15849         * csu/init-first.c (_init): Remove the !SHARED condition around
15850         FPU control word initialization.
15851         * elf/dl-support.c (_dl_fpu_control): New variable.
15852         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15853         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15854         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15855         * math/test-fpucw-static.c: New file.
15856         * math/test-fpucw-ieee.c: New file.
15857         * math/test-fpucw-ieee-static.c: New file.
15858         * math/Makefile (tests): Add `test-fpucw-ieee' and
15859         `$(tests-static)'.
15860         (tests-static): New variable.
15861         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15862         dependency to...
15863         [($(build-shared),yes)]
15864         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15865         ... this.
15866         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15867         New dependency.
15868
15869 2013-09-09  Allan McRae  <allan@archlinux.org>
15870
15871         [BZ #15939]
15872         * manual/string.texi (Collation Functions): Fix typo in
15873         strcoll example.
15874         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15875
15876         [BZ #15893]
15877         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15878
15879         [BZ #15892]
15880         * libio/memstream.c (open_memstream): Fix memory leak.
15881         * libio/wmemstream.c (open_wmemstream): Likewise.
15882
15883         [BZ #15895]
15884         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15885
15886 2013-09-09  Will Newton  <will.newton@linaro.org>
15887
15888         * malloc/Makefile: Add tst-realloc to tests.
15889         * malloc/tst-realloc.c: New file.
15890
15891 2013-09-09  Allan McRae  <allan@archlinux.org>
15892
15893         [BZ #15844]
15894         * COPYING: Update from GNU website to fix FSF address.
15895         * COPYING.LIB: Likewise.
15896
15897 2013-09-06  David S. Miller  <davem@davemloft.net>
15898
15899         * po/zh_TW.po: Update Chinese (traditional) translation from
15900         translation project.
15901
15902 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15903             Joseph Myers  <joseph@codesourcery.com>
15904
15905         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15906         "localeinfo.h".
15907         (obstack_chunk_alloc): New macro.
15908         (obstack_chunk_free): Likewise.
15909         (record_offset): New function.
15910         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
15925         iovec.
15926         * locale/programs/locfile.h: Include "obstack.h".
15927         (struct locale_file): Change to store locale file contents instead
15928         of header.
15929         (init_locale_data): New prototype.
15930         (align_locale_data): Likewise.
15931         (add_locale_empty): Likewise.
15932         (add_locale_raw_data): Likewise.
15933         (add_locale_raw_obstack): Likewise.
15934         (add_locale_string): Likewise.
15935         (add_locale_wstring): Likewise.
15936         (add_locale_uint32): Likewise.
15937         (add_locale_uint32_array): Likewise.
15938         (add_locale_char): Likewise.
15939         (start_locale_structure): Likewise.
15940         (end_locale_structure): Likewise.
15941         (start_locale_prelude): Likewise.
15942         (end_locale_prelude): Likewise.
15943         (write_locale_data): Update prototype.
15944         * locale/programs/3level.h (struct TABLE): Remove result field.
15945         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15946         Use new locale_file interface.
15947         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15948         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15949         * locale/programs/ld-address.c (address_output): Use new
15950         locale_file interface.
15951         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15952         NO_ADD_LOCALE.
15953         (collate_finish): Don't call collseq_table_finalize.
15954         (collate_output): Use new locale_file interface.
15955         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15956         in file.
15957         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15958         (TABLE): Move defines earlier in file.
15959         (ELEMENT): Likewise.
15960         (DEFAULT): Likewise.
15961         (wctrans_table_add): Move macro and inline function earlier in
15962         file.
15963         (struct wctype_table): Move type earlier in file.
15964         (add_locale_wctype_table): New static prototype.
15965         (struct locale_ctype_t): Use logical types instead of struct iovec
15966         pointers for members.
15967         (ctype_output): Use new locale_file interface.
15968         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15969         new locale_file interface.
15970         (allocate_arrays): Update for use of new locale_file interface.
15971         * locale/programs/ld-identification.c (identification_output): Use
15972         new locale_file interface.
15973         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15974         * locale/programs/ld-messages.c (messages_output): Likewise.
15975         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15976         * locale/programs/ld-name.c (name_output): Likewise.
15977         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15978         * locale/programs/ld-paper.c (paper_output): Likewise.
15979         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15980         * locale/programs/ld-time.c (time_output): Likewise.
15981
15982 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15983
15984         * benchtests/Makefile: Add memrchr benchmark.
15985         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15986         benchmark as memrchr.
15987         * benchtests/bench-memrchr-ifunc.c: New file.
15988         * benchtests/bench-memrchr.c: New file.
15989
15990 2013-09-06   Will Newton  <will.newton@linaro.org>
15991
15992         * benchtests/Makefile (string-bench): Add memcpy.
15993
15994 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15995             Cong Wang  <amwang@redhat.com>
15996
15997         [BZ #15850]
15998         * sysdeps/unix/sysv/linux/bits/in.h
15999         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16000         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16001         before __USE_KERNEL_IPV6_DEFS uses.
16002         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16003         IPPROTO_BEETPH.
16004         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16005         sockaddr_in6, or ipv6_mreq.
16006
16007 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16008
16009         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16010         memory access for final bytes in some large inputs.
16011         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16012
16013 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16014
16015         * string/test-memrchr.c: New file.
16016         * string/test-memrchr-ifunc.c: New file.
16017         * string/Makefile: Add new memrchr testcase.
16018
16019 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16020
16021         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16022         fanotify_init returns EPERM.
16023
16024 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16025
16026         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16027         errors.
16028         (top level): Treat second token from macro or constant entries for
16029         allowed headers as allowed.
16030         * include/complex.h: Condition internal declarations on
16031         [!_ISOMAC].
16032         * include/fenv.h: Condition include of <stdbool.h> and internal
16033         declarations on [!_ISOMAC].
16034
16035 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16036
16037         [BZ #15923]
16038         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16039
16040 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16041
16042         * configure.in (--enable-versioning): Remove configure option.
16043         (libc_cv_asm_symver_directive): Remove configure test.
16044         (libc_cv_ld_version_script_option): Likewise.
16045         (VERSIONING): Remove variable and AC_SUBST.
16046         (DO_VERSIONING): Remove AC_DEFINE.
16047         * configure: Regenerated.
16048         * config.h.in (DO_VERSIONING): Remove macro.
16049         * Makerules [$(versioning) = yes]: Change conditionals to
16050         [$(build-shared) = yes].
16051         * config.make.in (versioning): Remove variable.
16052         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16053         [$(build-shared) = yes].
16054         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16055         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16056         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16057         [$(build-shared) = yes].
16058         * extra-lib.mk [$(versioning) = yes]: Likewise.
16059         * hurd/Makefile [$(versioning) = yes]: Likewise.
16060         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16061         [SHARED].
16062         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16063         [SHARED].
16064         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16065         [SHARED && !NO_HIDDEN].
16066         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16067         [SHARED].
16068         [SHARED && DO_VERSIONING]: Likewise..
16069         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16070         [$(build-shared) = yes].
16071         * manual/install.texi (--disable-versioning): Remove
16072         documentation.
16073         * INSTALL: Regenerated.
16074         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16075         to [SHARED].
16076         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16077         [$(build-shared) = yes].
16078         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16079         * sysdeps/i386/i686/multiarch/strstr-c.c
16080         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16081         [SHARED && !NO_HIDDEN].
16082         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16083         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16084         * sysdeps/powerpc/powerpc32/dl-machine.c
16085         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16086         * sysdeps/powerpc/powerpc32/sysdep.h
16087         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16088         to [SHARED && PIC && !NO_HIDDEN].
16089         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16090         conditional to [SHARED].
16091
16092 2013-09-04   Will Newton  <will.newton@linaro.org>
16093
16094         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16095         * benchtests/bench-string.h: Include bench-timing.h instead
16096         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16097         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16098         call to HP_TIMING_DIFF_INIT.
16099         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16100         instead of hp-timing.h macros.
16101         * benchtests/bench-memchr.c: Likewise.
16102         * benchtests/bench-memcmp.c: Likewise.
16103         * benchtests/bench-memcpy.c: Likewise.
16104         * benchtests/bench-memmem.c: Likewise.
16105         * benchtests/bench-memmove.c: Likewise.
16106         * benchtests/bench-memset.c: Likewise.
16107         * benchtests/bench-rawmemchr.c: Likewise.
16108         * benchtests/bench-strcasecmp.c: Likewise.
16109         * benchtests/bench-strcasestr.c: Likewise.
16110         * benchtests/bench-strcat.c: Likewise.
16111         * benchtests/bench-strchr.c: Likewise.
16112         * benchtests/bench-strcmp.c: Likewise.
16113         * benchtests/bench-strcpy.c: Likewise.
16114         * benchtests/bench-strcpy_chk.c: Likewise.
16115         * benchtests/bench-strlen.c: Likewise.
16116         * benchtests/bench-strncasecmp.c: Likewise.
16117         * benchtests/bench-strncat.c: Likewise.
16118         * benchtests/bench-strncmp.c: Likewise.
16119         * benchtests/bench-strncpy.c: Likewise.
16120         * benchtests/bench-strnlen.c: Likewise.
16121         * benchtests/bench-strpbrk.c: Likewise.
16122         * benchtests/bench-strrchr.c: Likewise.
16123         * benchtests/bench-strspn.c: Likewise.
16124         * benchtests/bench-strstr.c: Likewise.
16125
16126 2013-09-04  Will Newton  <will.newton@linaro.org>
16127
16128         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16129
16130 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16131
16132         [BZ #15427]
16133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16134         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16135         * math/libm-test.inc (lgamma_test_data): Add more tests.
16136         * sysdeps/i386/fpu/libm-test-ulps: Update.
16137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16138
16139 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16140
16141         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16143         Add ifunc.
16144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16145         Add strcmp-sse2-unaligned
16146         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16147
16148 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16149
16150         * Versions.def (libc): Add GLIBC_2.19.
16151
16152 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16153
16154         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16155         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16156
16157 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16158
16159         [BZ #14155]
16160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16161         intermediate calculations in recurrence.
16162         (__ieee754_ynf): Likewise.
16163         * math/libm-test.inc (jn_test_data): Do not allow spurious
16164         underflow exception.  Add more tests.
16165         (yn_test_data): Add more tests.
16166         * sysdeps/i386/fpu/libm-test-ulps: Update.
16167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16168
16169 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16170
16171         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16172
16173 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16174
16175         * csu/init-first.c: Fix then/than typos.
16176         * locale/programs/ld-collate.c: Likewise.
16177         * locale/programs/linereader.h: Likewise.
16178         * manual/charset.texi: Likewise.
16179         * manual/filesys.texi: Likewise.
16180         * manual/stdio.texi: Likewise.
16181         * manual/string.texi: Likewise.
16182         * stdlib/fmtmsg.c: Likewise.
16183         * sysdeps/i386/stpncpy.S: Likewise.
16184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16186         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16187         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16188
16189 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16190
16191         * elf/dl-open.c: Fix typos.
16192         * iconvdata/gbbig5.c: Likewise.
16193         * iconvdata/iso-2022-jp.c: Likewise.
16194         * iconv/gconv_int.h: Likewise.
16195         * iconv/loop.c: Likewise.
16196         * nis/rpcsvc/nis.h: Likewise.
16197         * resolv/ns_name.c: Likewise.
16198         * stdio-common/vfscanf.c: Likewise.
16199         * streams/stropts.h: Likewise.
16200         * sunrpc/rpc_thread.c: Likewise.
16201         * sysdeps/i386/strpbrk.S: Likewise.
16202         * sysdeps/ieee754/k_standard.c: Likewise.
16203         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16205         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16206         * sysdeps/mach/hurd/profil.c: Likewise.
16207         * sysdeps/s390/dl-procinfo.h: Likewise.
16208         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16209         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16210         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16211         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16213
16214 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16215
16216         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16218
16219 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16220
16221         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16222         aix specific files.
16223         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16226         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16228         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16231
16232 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16233             Roland McGrath  <roland@hack.frob.com>
16234
16235         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16236         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16237
16238 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16239
16240         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16241         __executable_start symbol instead of _start.
16242
16243 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16244
16245         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16246         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16247         Move macros to...
16248         * sysdeps/gnu/ldsodefs.h: ... this new file.
16249
16250         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16251         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16252         instead of ELFOSABI_LINUX.
16253
16254         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16255         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16256         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16257         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16258         Likewise.
16259         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16260         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16261         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16262         Likewise.
16263         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16264         (ibm_extended_long_double): Add ieee_nan member.
16265         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16266         (do_test): New function.
16267
16268         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16269         TEST_TRUNC.
16270         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16271         functions, renamed from truncdfsf_test, trunctfsf_test,
16272         trunctfdf_test.
16273         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16274         functions.
16275         (do_test): Run all these.
16276
16277 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16278
16279         * argp/argp-help.c: Fix typos.
16280         * argp/argp-parse.c: Likewise.
16281         * debug/backtracesyms.c: Likewise.
16282         * elf/elf.h: Likewise.
16283         * malloc/malloc.c: Likewise.
16284         * nis/nis_print.c: Likewise.
16285         * resolv/res_comp.c: Likewise.
16286         * stdlib/stdlib.h: Likewise.
16287         * sunrpc/clnt_tcp.c: Likewise.
16288         * sunrpc/clnt_udp.c: Likewise.
16289         * sunrpc/clnt_unix.c: Likewise.
16290         * sysdeps/unix/bsd/ptsname.c: Likewise.
16291         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16292         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16294         Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16296         Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16298         Likewise.
16299         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16300
16301 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16302
16303         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16305
16306 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16307
16308         [BZ #15897]
16309         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16310         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16311         ($(objpfx)bug-dl-leaf): New rule.
16312         ($(objpfx)bug-dl-leaf.so): Likewise.
16313         ($(objpfx)bug-dl-leaf.out): Likewise.
16314         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16315         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16316         * dlfcn/bug-dl-leaf.c: New test.
16317         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16318         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16319         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16320         (dlclose): Likewise.
16321         (dlmopen): Likewise.
16322
16323 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16324
16325         * include/netdb.h [!_ISOMAC]:
16326         Don't include <tls.h>.
16327         (h_errno, __libc_h_errno): Move declaration and macros out of
16328         [_LIBC_REENTRANT].
16329
16330         * include/resolv.h [_RESOLV_H_]:
16331         Don't include <tls.h>.
16332         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16333         * resolv/res_libc.c: Don't include <tls.h>.
16334         (_res): Use __attribute__ ((nocommon)) in place of
16335         __attribute__ ((section (".bss"))).
16336
16337         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16338         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16339
16340         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16341
16342         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16343         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16344
16345         * resolv/res_mkquery.c: Include <sys/time.h>.
16346
16347         * inet/ifreq.c: Moved to ...
16348         * sysdeps/unix/ifreq.c: ... here.
16349         * inet/ifreq.c: New file, true stub version.
16350
16351         * socket/sa_len.c: New file.
16352         * socket/Makefile (aux): Add it.
16353         * sysdeps/unix/sysv/linux/Makefile
16354         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16355         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16356         and #include <socket/sa_len.c>.
16357         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16358         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16359
16360         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16361         * bits/socket.h: ... here.
16362
16363         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16364         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16365         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16366
16367 2013-08-27  Andreas Schwab  <schwab@suse.de>
16368
16369         [BZ #15736]
16370         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16371         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16372         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16373         * string/test-strcasecmp.c (test_main): Run tests in several
16374         locales.
16375         * string/test-strncasecmp.c (test_main): Likewise.
16376
16377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16378         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16379         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16381         (__strncasecmp_ssse3) [PIC]: Likewise.
16382
16383 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16384
16385         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16386
16387         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16388         instead of explicitly declaring xdecrypt.
16389         * nis/nss_nis/nis-publickey.c: Likewise.
16390
16391 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16392
16393         [BZ #15890]
16394         * nscd/aicache.c: Include res_hconf.h.
16395         (addhstaiX): Initialize res_hconf.
16396
16397 2013-08-26  Andreas Schwab  <schwab@suse.de>
16398
16399         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16400         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16401
16402 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16403
16404         * nscd/aicache.c (addhstaiX): Fix indentation.
16405
16406 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16407
16408         * configure.ac: Quote $build_pt_chown test.
16409         * configure: Regenerated.
16410
16411 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16412
16413         [BZ #15532]
16414         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16415         * math/s_cexpf.c (__cexpf): Likewise.
16416         * math/s_cexpl.c (__cexpl): Likewise.
16417         * math/libm-test.inc (cexp_test_data): Correct expected return
16418         value for NaN + i0.  Add another test.
16419
16420 2013-08-22  David S. Miller  <davem@davemloft.net>
16421
16422         * po/ca.po: Update Catalan translation from translation project.
16423         * po/uk.po: Add Ukrainian translations from translation project.
16424
16425 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16426
16427         [BZ #15797]
16428         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16429         is infinite, not alongside NaN test.
16430         * math/s_fdimf.c (__fdimf): Likewise.
16431         * math/s_fdiml.c (__fdiml): Likewise.
16432         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16433         errno is unchanged.
16434
16435 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16436
16437         * argp/argp-help.c: Fix typos.
16438         * crypt/speeds.c: Likewise.
16439         * csu/check_fds.c: Likewise.
16440         * elf/dl-load.c: Likewise.
16441         * elf/dl-open.c: Likewise.
16442         * elf/reldep3.c: Likewise.
16443         * elf/reldep.c: Likewise.
16444         * elf/sprof.c: Likewise.
16445         * iconv/iconv_charmap.c: Likewise.
16446         * iconv/skeleton.c: Likewise.
16447         * iconv/strtab.c: Likewise.
16448         * io/lockf64.c: Likewise.
16449         * libio/libioP.h: Likewise.
16450         * resolv/gai_notify.c: Likewise.
16451         * resolv/ns_name.c: Likewise.
16452         * resolv/ns_samedomain.c: Likewise.
16453         * resolv/res_send.c: Likewise.
16454         * stdlib/random.c: Likewise.
16455         * sunrpc/rpc/xdr.h: Likewise.
16456         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16457         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16458         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16459         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16460         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16461         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16463         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16464         * sysdeps/mach/hurd/check_fds.c: Likewise.
16465         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16466         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16468         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16470         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16471         * sysdeps/pthread/aio_notify.c: Likewise.
16472         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16473         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16474         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16475         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16476         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16477
16478 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16479
16480         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16481         version if bit_Slow_SSE4_2 is set.
16482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16483         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16484
16485 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16486
16487         [BZ #15867]
16488         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16489         trampoline stack frame information.
16490         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16491         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16492         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16493         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16494         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16495         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16496         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16497         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16498         sa_flags value.
16499         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16500         interrupting a syscall and set with option SA_SIGINFO.
16501
16502 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16503
16504         [BZ #15531]
16505         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16506         argument is infinite.
16507         * math/s_cprojf.c (__cprojf): Likewise.
16508         * math/s_cprojl.c (__cprojl): Likewise.
16509         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16510         * math/libm-test.inc (cproj_test_data): Add more tests.
16511
16512         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16513
16514         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16515         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16516         size.  Use __ffs to determine corresponding shift.
16517
16518 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16519             Roland McGrath  <roland@hack.frob.com>
16520
16521         * Makefile (INSTALL): Remove trailing blank lines from output of
16522         makeinfo.
16523
16524 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16525
16526         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16527         Align 32 bit compat elf_greg to 8 bytes.
16528
16529 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16530
16531         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16532
16533 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16534
16535         * string/strcoll_l.c (coll_seq): New structure.
16536         (get_next_seq_cached): New function.
16537         (get_next_seq): New function.
16538         (do_compare): New function.
16539         (STRCOLL): Use GNU style definition.  Simplify implementation
16540         by using get_next_seq, get_next_seq_cached and do_compare.
16541
16542 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16543
16544         [BZ #14699]
16545         CVE-2013-4237
16546         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16547         member.
16548         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16549         member.
16550         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16551         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16552         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16553         conditional.
16554         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16555         GETDENTS_64BIT_ALIGNED.
16556         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16557         * manual/filesys.texi (Reading/Closing Directory): Document
16558         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16559         strongly.
16560         * manual/conf.texi (Limits for Files): Add portability note to
16561         NAME_MAX, PATH_MAX.
16562         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16563
16564 2013-08-13  Andreas Schwab  <schwab@suse.de>
16565
16566         [BZ #15749]
16567         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16568         of fabs.
16569         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16570         LDBL_MAX_EXP >= 16384]: Add tests for it.
16571
16572 2013-08-12  David S. Miller  <davem@davemloft.net>
16573
16574         * version.h (RELEASE): Set to "development".
16575         (VERSION): Set to "2.18.90".
16576         * NEWS: Add 2.19 section.
16577
16578 2013-08-03  David S. Miller  <davem@davemloft.net>
16579
16580         * po/ko.po: Update Korean translation from translation project.
16581
16582 2013-08-01  David S. Miller  <davem@davemloft.net>
16583
16584         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16585         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16586         Bilka.
16587
16588 2013-07-30  David S. Miller  <davem@davemloft.net>
16589
16590         * po/fr.po: Update French translation from translation project.
16591
16592 2013-07-28  David S. Miller  <davem@davemloft.net>
16593
16594         * po/cs.po: Update Czech translation from translation project.
16595
16596         * po/sv.po: Update Swedish translation from translation project.
16597
16598 2013-07-27  David S. Miller  <davem@davemloft.net>
16599
16600         * po/eo.po: Update Esperanto translation from translation project.
16601
16602         * po/vi.po: Update Vietnamese translation from translation project.
16603
16604         * po/de.po: Update German translation from translation project.
16605
16606 2013-07-26  David S. Miller  <davem@davemloft.net>
16607
16608         * po/bg.po: Update Bulgarian translation from translation project.
16609
16610         * po/nl.po: Update Dutch translation from translation project.
16611         * po/pl.po: Update Polish translation from translation project.
16612         * po/ru.po: Update Russian translation from translation project.
16613
16614 2013-07-24  David S. Miller  <davem@davemloft.net>
16615
16616         * po/libc.pot: Update.
16617
16618 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16619
16620         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16621         variable page size.
16622         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16623         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16624         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16625
16626 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16627
16628         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16629
16630 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16631             Andreas Schwab  <schwab@suse.de>
16632             Roland McGrath  <roland@hack.frob.com>
16633             Joseph Myers  <joseph@codesourcery.com>
16634             Carlos O'Donell  <carlos@redhat.com>
16635
16636         [BZ #15755]
16637         * config.h.in: Define HAVE_PT_CHOWN.
16638         * config.make.in (build-pt-chown): New variable.
16639         * configure.in (--enable-pt_chown): New configure option.
16640         * configure: Regenerate.
16641         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16642         build-pt-chown is enabled.
16643         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16644         pt_chown to fix pty ownership.
16645         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16646         CLOSE_ALL_FDS.
16647         * manual/install.texi (Configuring and compiling): Mention
16648         --enable-pt_chown. Add @findex for grantpt.
16649         * INSTALL: Regenerate.
16650
16651 2013-07-20  David S. Miller  <davem@davemloft.net>
16652
16653         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16654         difference between 32-bit and 64-bit.
16655
16656 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16657
16658         [BZ #15711]
16659         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16660         Avoid system header dependency with -ffreestanding.
16661         ($(objpfx)bits/syscall%d): Likewise.
16662
16663 2013-07-13  David S. Miller  <davem@davemloft.net>
16664
16665         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16666         underflows from atanl/atan2l due to bug 15319.
16667         (casinh_test_data): Likewise.
16668
16669 2013-07-07  David S. Miller  <davem@davemloft.net>
16670
16671         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16672
16673 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16674
16675         * sysdeps/i386/fpu/libm-test-ulps: Update.
16676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16677
16678 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16679
16680         * configure.in (--enable-lock-elision): Fix message text.
16681         * INSTALL: Regenerate.
16682         * configure: Regenerate.
16683
16684 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16685
16686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16687
16688 2013-07-03  Andreas Jaeger  <aj@suse.de>
16689
16690         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16691         define.
16692         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16693         (ptrace_peeksiginfo_args): Add.
16694         (__ptrace_peeksiginfo_flags): Add.
16695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16698
16699 2013-07-03  Allan McRae  <allan@archlinux.org>
16700
16701         * sysdeps/i386/fpu/libm-test-ulps: Update.
16702
16703 2013-07-02  David S. Miller  <davem@davemloft.net>
16704
16705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16706
16707 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16708
16709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16710
16711 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16712
16713         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16715
16716 2013-07-02  Andi Kleen <ak@linux.intel.com>
16717
16718         * config.h.in (ENABLE_LOCK_ELISION): Add.
16719         * configure.in (--enable-lock-elision): Add option.
16720         * manual/install.texi: Document --enable lock elision.
16721         * configure: Regenerate
16722         * INSTALL: Regenerate.
16723
16724 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16725
16726         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16727         SSE4.2 strcasecmp for libc.a.
16728         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16729
16730 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16731
16732         [BZ #13304]
16733         * soft-fp/op-common.h (_FP_FMA): New macro.
16734         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16735         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16736         (_FP_MUL_MEAT_1_imm): ... here.
16737         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16738         (_FP_MUL_MEAT_1_wide): ... here.
16739         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16740         (_FP_MUL_MEAT_1_hard): ... here.
16741         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16742         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16743         (_FP_MUL_MEAT_2_wide): ... here.
16744         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16745         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16746         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16747         (_FP_MUL_MEAT_2_gmp): ... here.
16748         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16749         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16750         (_FP_MUL_MEAT_4_wide): ... here.
16751         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16752         (_FP_MUL_MEAT_4_gmp): ... here.
16753         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16754         (_FP_WFRACBITS_DW_S): Likewise.
16755         (_FP_WFRACXBITS_DW_S): Likewise.
16756         (_FP_HIGHBIT_DW_S): Likewise.
16757         (FP_FMA_S): Likewise.
16758         (_FP_FRAC_HIGH_DW_S): Likewise.
16759         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16760         (_FP_WFRACBITS_DW_D): Likewise.
16761         (_FP_WFRACXBITS_DW_D): Likewise.
16762         (_FP_HIGHBIT_DW_D): Likewise.
16763         (FP_FMA_D): Likewise.
16764         (_FP_FRAC_HIGH_DW_D): Likewise.
16765         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16766         (_FP_WFRACBITS_DW_E): Likewise.
16767         (_FP_WFRACXBITS_DW_E): Likewise.
16768         (_FP_HIGHBIT_DW_E): Likewise.
16769         (FP_FMA_E): Likewise.
16770         (_FP_FRAC_HIGH_DW_E): Likewise.
16771         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16772         (_FP_WFRACBITS_DW_Q): Likewise.
16773         (_FP_WFRACXBITS_DW_Q): Likewise.
16774         (_FP_HIGHBIT_DW_Q): Likewise.
16775         (FP_FMA_Q): Likewise.
16776         (_FP_FRAC_HIGH_DW_Q): Likewise.
16777         * soft-fp/fmasf4.c: New file.
16778         * soft-fp/fmadf4.c: Likewise.
16779         * soft-fp/fmatf4.c: Likewise.
16780
16781 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16782
16783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16784         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16785         Silvermont.
16786         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16787         macro.
16788         (index_Slow_SSE4_2): Likewise.
16789         (index_Prefer_PMINUB_for_stringop): Likewise.
16790         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16791         bit_Slow_SSE4_2 is set.
16792         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16793         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16794
16795 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16796
16797         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16798         rtld_global._dl_hwcap2.
16799         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16800         POWER8.
16801         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16802         POWER8 feature descriptions defined in _dl_hwcap2.
16803         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16804         string handling for POWER8 feature bits.
16805         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16806         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16807         _dl_powerpc_cap_flags.
16808         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16809         * sysdeps/powerpc/rtld-global-offsets.sym
16810         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16811         _dl_hwcap2 in the rtld_global_ro structure.
16812
16813 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16814
16815         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16816         hardware capabilities in support of AT_HWCAP2.
16817         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16818         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16819         GLRO(dl_hwcap2).
16820         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16821         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16822         explicitly the unknown a_type display mechanism is used.
16823         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16824         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16825         struct member.
16826         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16827         to macro prototype for AT_HWCAP2 support.
16828         * sysdeps/i386/dl-procinfo.h: Likewise.
16829         * sysdeps/s390/dl-procinfo.h: Likewise.
16830         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16831         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16832         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16833         return -1 for unknown a_type display fallback.
16834         * sysdeps/sparc/dl-procinfo.h: Likewise.
16835         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16836         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16837
16838 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16839
16840         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16841         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16842
16843 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16844
16845         [BZ #12492]
16846         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16847         mprotect making __stack_prot writable.
16848
16849 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16850             Joseph Myers  <joseph@codesourcery.com>
16851
16852         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16853         as being properly aligned.
16854
16855 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16856
16857         * dlfcn/modstatic5.c: New file.
16858         * dlfcn/tststatic5.c: New file.
16859         * dlfcn/Makefile (tests): Add tststatic5.
16860         (tests-static): Likewise.
16861         (modules-names): Add modstatic5.
16862         (tststatic5-ENV): New variable.
16863         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16864
16865         [BZ #15022]
16866         * elf/dl-support.c (_dl_main_map): New variable.
16867         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16868         (_dl_nns, _dl_load_adds): Set to 1.
16869         (_dl_initial_searchlist): Refer to _dl_main_map.
16870         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16871         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16872         call to _dl_get_origin.
16873         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16874         around call_map.
16875         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16876         * dlfcn/modstatic3.c: New file.
16877         * dlfcn/tststatic3.c: New file.
16878         * dlfcn/tststatic4.c: New file.
16879         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16880         (tests-static): Likewise.
16881         (modules-names): Add modstatic3.
16882         (tststatic3-ENV, tststatic4-ENV): New variables.
16883         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16884         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16885
16886 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16887
16888         * configure.in (CC): Require GCC version 4.4 or later.
16889         * configure: Regenerated.
16890         * manual/install.texi (Tools for Compilation): Update GCC version
16891         requirement.
16892         * INSTALL: Regenerated.
16893
16894 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16895
16896         [BZ #15674]
16897         * string/test-memcmp.c (check2): New.
16898         (main): Call check2.
16899
16900         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16901
16902 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16903
16904         [BZ #15022]
16905         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16906         over to...
16907         (dl_open_worker) [!SHARED]: ... here.
16908
16909 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16910
16911         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16912
16913 2013-06-25  Richard Henderson  <rth@redhat.com>
16914
16915         * locale/programs/locarchive.c: Include <libc-internal.h>
16916
16917 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16918
16919         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16920         trailing whitespace removed.
16921
16922 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16923
16924         [BZ #10283]
16925         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16926         * locale/programs/locarchive.c: Include libc-mmap.h.
16927         (prepare_address_space): Take two new outputs (the mmap base and len).
16928         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16929         values.
16930         (create_archive): Declare new mmap base and len values for
16931         prepare_address_space, and store the result in ah.
16932         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16933         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16934         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16935         Declare new mmap base and len values for
16936         prepare_address_space, and store the result in new_ah.
16937         (open_archive): Declare new mmap base and len values for
16938         prepare_address_space, and store the result in ah.
16939         (close_archive): If ah->mmap_base is not NULL, use that and
16940         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16941         * sysdeps/generic/libc-mmap.h: New file.
16942
16943 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16944
16945         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16946         (ALIGN_UP): Likewise.
16947         (PTR_ALIGN_DOWN): Likewise.
16948         (PTR_ALIGN_UP): Likewise.
16949
16950 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16951
16952         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16953         entry mapped to PPC_PLATFORM_POWER8.
16954         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16955         POWER8.
16956         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16957         (_dl_string_platform): Add case for exporting platform position for
16958         POWER8.
16959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16960         search path to sysdeps/powerpc/powerpc32/power8 directory.
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16962         search path to sysdeps/powerpc/powerpc64/power8 directory.
16963         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16964         power7 directories.
16965         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16966         power7 directories.
16967
16968 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16969
16970         * INSTALL: Regenerate.
16971
16972         * nscd/connections.c (nscd_init): Fix comment.
16973
16974 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16975
16976         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16977
16978         [BZ #15667]
16979         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16980         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16981
16982 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16983
16984         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16985         DL_DST_REQ_STATIC.
16986         (DL_DST_REQ_STATIC): Remove macro.
16987
16988 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16989
16990         [BZ #7006]
16991         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16992         with a shift of 0 bits.
16993
16994 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16995
16996         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16997         $(tststatic-ENV).
16998
16999 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17000
17001         [BZ #15655]
17002         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17003
17004 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17005
17006         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17007         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17008         accepts -fno-tree-loop-distribute-patterns.
17009         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17010         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17011         recursive call.
17012         * string/memset.c (memset): Likewise.
17013         * string/test-memmove.c (simple_memmove): Disable loop transformation
17014         to library calls.
17015         * string/test-memset.c (simple_memset): Likewise.
17016         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17017         * benchtests/bench-memset.c (simple_memset): Likewise.
17018         * configure: Regenerated.
17019
17020 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17021
17022         * math/test-misc.c (main): Ignore fesetround failure when failures
17023         of subsequent rounding tests would be ignored.
17024
17025         [BZ #15654]
17026         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17027         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17028         * math/fegetenv.c (__fegetenv): Return 0.
17029         * math/fegetexcept.c (fegetexcept): Return 0.
17030         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17031         FE_TONEAREST.
17032         * math/feholdexcpt.c (feholdexcept): Return 0.
17033         * math/fesetenv.c (__fesetenv): Return 0.
17034         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17035         argument FE_TONEAREST.
17036         * math/feupdateenv.c (__feupdateenv): Return 0.
17037         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17038
17039 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17040
17041         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17042         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17043         ($(objpfx)rtld-%.os rules): Use them.
17044
17045 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17046
17047         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17048         fields.
17049
17050 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17051
17052         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17053         length of target pattern, then descending length of dependency pattern.
17054         * configure.in (AWK): Require gawk 3.1.2 or newer.
17055         * manual/install.texi (Tools for Compilation): Say that we do.
17056         * configure: Regenerated.
17057
17058         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17059         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17060         * scripts/sysd-rules.awk: ... this new script.
17061         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17062         than a glob-style pattern.
17063
17064 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17065
17066         * math/test-misc.c (main): Do not treat incorrectly rounded
17067         conversions as failure unless ROUNDING_TESTS passes.
17068
17069 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17070
17071         [BZ #15631]
17072         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17073         restore exception state around main square root computation, then
17074         check for inexactness explicitly.
17075
17076         * math/libm-test.inc (fma_test_data): Add another test.
17077
17078 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17079
17080         * manual/threads.texi (Non-POSIX Extensions): New document
17081         node.  Document pthread_getattr_default_np and
17082         pthread_setattr_default_np.
17083
17084         * Versions.def (libpthread): Add GLIBC_2.18.
17085         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17087         Likewise.
17088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17089         Likewise.
17090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17091         Likewise.
17092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17093         Likewise.
17094         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17095         Likewise.
17096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17097         Likewise.
17098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17099         Likewise.
17100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17101         Likewise.
17102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17103         Likewise.
17104
17105 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17106
17107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17108         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17109
17110 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17111             H.J. Lu  <hjl.tools@gmail.com>
17112
17113         [BZ #15627]
17114         * sysdeps/x86_64/rtld-memset.c: Remove file.
17115         * sysdeps/x86_64/rtld-memset.S: New file.
17116
17117 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17118
17119         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17120         (test_in_one_mode): Take arguments for whether the rounding mode
17121         is supported for each floating-point type.
17122         (do_test): Pass new arguments to test_in_one_mode using
17123         ROUNDING_TESTS.
17124
17125 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17126
17127         * posix/tst-waitid.c (do_test): Distinguish different instances of
17128         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17129         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17130         before entering the kernel for waitpid.
17131
17132 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17133
17134         * NEWS: Fix note on clock function precision.  Text by Roland
17135         McGrath.
17136
17137 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17138
17139         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17140         it into place only when and if the sanity check passes.
17141
17142 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17143
17144         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17145         output for whether conversion result is exact.  Take argument
17146         indicating whether type is IBM long double.
17147         (round_for_all): Change need_exact field to ibm_ld.
17148         * stdlib/tst-strtod-round.c (struct exactness): New type.
17149         (struct test): Change bool ld_ok field to struct exactness exact.
17150         (TEST): Update all definitions for change to field.
17151         (tests): Regenerate array contents.
17152         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17153         field value.  Check for IBM long double here.
17154         (do_test): Update calls to test_in_one_mode.
17155
17156 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17157
17158         [BZ #12515]
17159         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17160         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17161
17162 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17163
17164         [BZ #15605]
17165         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17166         generated by the compiler on loop optimizations.
17167         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17168         general definitions.
17169
17170 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17171
17172         * math/bug-nextafter.c: Include <math-tests.h>.
17173         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17174         the relevant type.
17175         * math/bug-nexttoward.c: Include <math-tests.h>.
17176         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17177         the relevant type.
17178         * math/test-misc.c: Include <math-tests.h>.
17179         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17180         the relevant type.
17181
17182 2013-06-12  Andreas Jaeger  <aj@suse.de>
17183
17184         * po/ia.po: Update Interlingua translation from translation
17185         project.
17186
17187 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17188
17189         * include/fenv.h: Include stdbool.h.
17190         (struct rm_ctx): New structure.
17191         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17192         Define macro.
17193         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17194         (SET_RESTORE_ROUNDF): Likewise.
17195         (SET_RESTORE_ROUNDL): Likewise.
17196         (SET_RESTORE_ROUND_NOEX): Likewise.
17197         (SET_RESTORE_ROUND_NOEXF): Likewise.
17198         (SET_RESTORE_ROUND_NOEXL): Likewise.
17199         (SET_RESTORE_ROUND_53BIT): Likewise.
17200         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17201         (libc_feresetround_noexf_ctx): Likewise.
17202         (libc_feresetround_noexl_ctx): Likewise.
17203         (libc_feholdsetround_53bit_ctx): Likewise.
17204         (libc_feresetround_53bit_ctx): Likewise.
17205         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17206         (libc_feholdexcept_setround_sse_ctx): New function.
17207         (libc_fesetenv_sse_ctx): Likewise.
17208         (libc_feupdateenv_sse_ctx): Likewise.
17209         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17210         (libc_feholdexcept_setround_387_ctx): Likewise.
17211         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17212         (libc_feholdsetround_387_prec_ctx): Likewise.
17213         (libc_feholdsetround_387_ctx): Likewise.
17214         (libc_feholdsetround_387_53bit_ctx): Likewise.
17215         (libc_feholdsetround_sse_ctx): Likewise.
17216         (libc_feresetround_sse_ctx): Likewise.
17217         (libc_feresetround_387_ctx): Likewise.
17218         (libc_feupdateenv_387_ctx): Likewise.
17219         (libc_feholdexcept_setroundf_ctx): Define macro.
17220         (libc_fesetenvf_ctx): Likewise.
17221         (libc_feupdateenvf_ctx): Likewise.
17222         (libc_feholdsetroundf_ctx): Likewise.
17223         (libc_feresetroundf_ctx): Likewise.
17224         (libc_feholdexcept_setround_ctx): Likewise.
17225         (libc_fesetenv_ctx): Likewise.
17226         (libc_feupdateenv_ctx): Likewise.
17227         (libc_feholdsetround_ctx): Likewise.
17228         (libc_feresetround_ctx): Likewise.
17229         (libc_feholdexcept_setroundl_ctx): Likewise.
17230         (libc_feupdateenvl_ctx): Likewise.
17231         (libc_feholdsetroundl_ctx): Likewise.
17232         (libc_feresetroundl_ctx): Likewise.
17233         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17234         (libc_feresetround_53bit_ctx): Likewise.
17235
17236 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17237
17238         * locale/iso-639.def: Convert to UTF-8.
17239
17240 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17241
17242         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17243         (EXCEPTION_TESTS_double): Likewise.
17244         (EXCEPTION_TESTS_long_double): Likewise.
17245         (EXCEPTION_TESTS): Likewise.
17246         * math/libm-test.inc (test_exceptions): Only test exceptions if
17247         EXCEPTION_TESTS (FLOAT).
17248
17249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17250
17251         * benchtests/Makefile (string-bench): Add strcpy_chk and
17252         stpcpy_chk.
17253         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17254         * benchtests/bench-stpcpy_chk.c: New file.
17255         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17256         * benchtests/bench-strcpy_chk.c: New file.
17257         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17258         code.
17259         (do_test): Likewise.
17260
17261 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17262
17263         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17264         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17265         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17266         with tabs where appropriate.
17267         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17268         dl-procinfo.h.
17269         [PPC_PLATFORM_PPC440]: Likewise.
17270         [PPC_PLATFORM_PPC464]: Likewise.
17271         [PPC_PLATFORM_PPC476]: Likewise.
17272         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17273         ppc464, and ppc476 platform strings merging from ports/
17274         dl-procinfo.h.
17275
17276 2013-06-11  Andreas Schwab  <schwab@suse.de>
17277
17278         [BZ #14991]
17279         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17280         (from_ucs4_idx): Regenerate.
17281         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17282         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17283         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17284         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17285         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17286         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17287         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17288         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17289         from FROM_LOOP and TO_LOOP specific macros.
17290         (BODY): Handle combining characters.
17291         * iconvdata/BIG5HKSCS.irreversible: Update.
17292         * iconvdata/BIG5HKSCS.precomposed: New file.
17293         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17294         characters.
17295         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17296
17297 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17298
17299         * include/sys/time.h: Fix indentation and add copyright header.
17300
17301         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17302         (do_test): Likewise.
17303         * string/test-memchr.c (do_one_test): Likewise.
17304         (do_test): Likewise.
17305         * string/test-memcmp.c (do_one_test): Likewise.
17306         (do_test): Likewise.
17307         * string/test-memcpy.c (do_one_test): Likewise.
17308         (do_test): Likewise.
17309         * string/test-memmem.c (do_one_test): Likewise.
17310         (do_test): Likewise.
17311         (do_random_tests): Likewise.
17312         * string/test-memmove.c (do_one_test): Likewise.
17313         (do_test): Likewise.
17314         * string/test-memset.c (do_one_test): Likewise.
17315         (do_test): Likewise.
17316         * string/test-rawmemchr.c (do_one_test): Likewise.
17317         (do_test): Likewise.
17318         * string/test-strcasecmp.c (do_one_test): Likewise.
17319         (do_test): Likewise.
17320         * string/test-strcasestr.c (do_one_test): Likewise.
17321         (do_test): Likewise.
17322         * string/test-strcat.c (do_one_test): Likewise.
17323         (do_test): Likewise.
17324         * string/test-strchr.c (do_one_test): Likewise.
17325         (do_test): Likewise.
17326         * string/test-strcmp.c (do_one_test): Likewise.
17327         (do_test): Likewise.
17328         * string/test-strcpy.c (do_one_test): Likewise.
17329         (do_test): Likewise.
17330         * string/test-string.h: Likewise.
17331         (test_init): Likewise.
17332         * string/test-strlen.c (do_one_test): Likewise.
17333         (do_test): Likewise.
17334         * string/test-strncasecmp.c (do_one_test): Likewise.
17335         (do_test): Likewise.
17336         * string/test-strncat.c (do_one_test): Likewise.
17337         (do_test): Likewise.
17338         * string/test-strncmp.c (do_one_test): Likewise.
17339         (do_test_limit): Likewise.
17340         (do_test): Likewise.
17341         * string/test-strncpy.c (do_one_test): Likewise.
17342         (do_test): Likewise.
17343         * string/test-strnlen.c (do_one_test): Likewise.
17344         (do_test): Likewise.
17345         * string/test-strpbrk.c (do_one_test): Likewise.
17346         (do_test): Likewise.
17347         * string/test-strrchr.c (do_one_test): Likewise.
17348         (do_test): Likewise.
17349         * string/test-strspn.c (do_one_test): Likewise.
17350         (do_test): Likewise.
17351         * string/test-strstr.c (do_one_test): Likewise.
17352         (do_test): Likewise.
17353
17354         * benchtests/Makefile (string-bench): Add string benchmarks.
17355         * benchtests/bench-bcopy-ifunc.c: New file.
17356         * benchtests/bench-bcopy.c: New file.
17357         * benchtests/bench-bzero-ifunc.c: New file.
17358         * benchtests/bench-bzero.c: New file.
17359         * benchtests/bench-memccpy-ifunc.c: New file.
17360         * benchtests/bench-memccpy.c: New file.
17361         * benchtests/bench-memchr-ifunc.c: New file.
17362         * benchtests/bench-memchr.c: New file.
17363         * benchtests/bench-memcmp-ifunc.c: New file.
17364         * benchtests/bench-memcmp.c: New file.
17365         * benchtests/bench-memmem-ifunc.c: New file.
17366         * benchtests/bench-memmem.c: New file.
17367         * benchtests/bench-memmove-ifunc.c: New file.
17368         * benchtests/bench-memmove.c: New file.
17369         * benchtests/bench-mempcpy-ifunc.c: New file.
17370         * benchtests/bench-mempcpy.c: New file.
17371         * benchtests/bench-memset-ifunc.c: New file.
17372         * benchtests/bench-memset.c: New file.
17373         * benchtests/bench-rawmemchr-ifunc.c: New file.
17374         * benchtests/bench-rawmemchr.c: New file.
17375         * benchtests/bench-stpcpy-ifunc.c: New file.
17376         * benchtests/bench-stpcpy.c: New file.
17377         * benchtests/bench-stpncpy-ifunc.c: New file.
17378         * benchtests/bench-stpncpy.c: New file.
17379         * benchtests/bench-strcasecmp-ifunc.c: New file.
17380         * benchtests/bench-strcasecmp.c: New file.
17381         * benchtests/bench-strcasestr-ifunc.c: New file.
17382         * benchtests/bench-strcasestr.c: New file.
17383         * benchtests/bench-strcat-ifunc.c: New file.
17384         * benchtests/bench-strcat.c: New file.
17385         * benchtests/bench-strchr-ifunc.c: New file.
17386         * benchtests/bench-strchr.c: New file.
17387         * benchtests/bench-strchrnul-ifunc.c: New file.
17388         * benchtests/bench-strchrnul.c: New file.
17389         * benchtests/bench-strcmp-ifunc.c: New file.
17390         * benchtests/bench-strcmp.c: New file.
17391         * benchtests/bench-strcpy-ifunc.c: New file.
17392         * benchtests/bench-strcpy.c: New file.
17393         * benchtests/bench-strcspn-ifunc.c: New file.
17394         * benchtests/bench-strcspn.c: New file.
17395         * benchtests/bench-strlen-ifunc.c: New file.
17396         * benchtests/bench-strlen.c: New file.
17397         * benchtests/bench-strncasecmp-ifunc.c: New file.
17398         * benchtests/bench-strncasecmp.c: New file.
17399         * benchtests/bench-strncat-ifunc.c: New file.
17400         * benchtests/bench-strncat.c: New file.
17401         * benchtests/bench-strncmp-ifunc.c: New file.
17402         * benchtests/bench-strncmp.c: New file.
17403         * benchtests/bench-strncpy-ifunc.c: New file.
17404         * benchtests/bench-strncpy.c: New file.
17405         * benchtests/bench-strnlen-ifunc.c: New file.
17406         * benchtests/bench-strnlen.c: New file.
17407         * benchtests/bench-strpbrk-ifunc.c: New file.
17408         * benchtests/bench-strpbrk.c: New file.
17409         * benchtests/bench-strrchr-ifunc.c: New file.
17410         * benchtests/bench-strrchr.c: New file.
17411         * benchtests/bench-strspn-ifunc.c: New file.
17412         * benchtests/bench-strspn.c: New file.
17413         * benchtests/bench-strstr-ifunc.c: New file.
17414         * benchtests/bench-strstr.c: New file.
17415
17416         * benchtests/Makefile: Disable parallel execution of targets.
17417         (string-bench): Add memcpy.
17418         (benchset): New variable to store a list of benchmark sets.
17419         (bench-func): Renamed from bench.
17420         (bench-set): New target.
17421         (bench): Depend on bench-func and bench-set.
17422         * benchtests/README: Add section on benchmark sets.
17423         * benchtests/bench-memcpy-ifunc.c: New file.
17424         * benchtests/bench-memcpy.c: New file.
17425         * benchtests/bench-string.h: New file.
17426
17427 2013-06-11  Andreas Schwab  <schwab@suse.de>
17428
17429         [BZ #15577]
17430         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17431         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17432         values in the triple.
17433         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17434         terminator in the group key.
17435
17436 2013-06-11  Andreas Jaeger  <aj@suse.de>
17437
17438         * po/zh_TW.po: Update Chinese (traditional) translation from
17439         translation project.
17440
17441 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17442
17443         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17444         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17445         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17446         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17447         (clock_getcpuclockid): Likewise.
17448         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17449         Add weak_alias and libc_hidden_def.
17450         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17451         * rt/clock_gettime.c (clock_gettime): Rename to
17452         __clock_gettime.  Add weak_alias and libc_hidden_def.
17453         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17454         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17455         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17456         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17457         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17458         Likewise.
17459         * rt/clock_settime.c (clock_settime): Rename to
17460         __clock_settime.  Add weak_alias and libc_hidden_def.
17461         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17462
17463 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17464
17465         * mach/err_boot.sub: Remove trailing whitespace.
17466         * mach/err_ipc.sub: Likewise.
17467         * mach/err_mach.sub: Likewise.
17468
17469         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17470         (ROUNDING_TESTS_double): Likewise.
17471         (ROUNDING_TESTS_long_double): Likewise.
17472         (ROUNDING_TESTS): Likewise.
17473         * math/libm-test.inc: Include <math-tests.h>.
17474         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17475         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17476         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17477         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17478
17479 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17480
17481         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17482         of assigning.
17483
17484 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17485
17486         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17487         otherwise empty TRANS lines.
17488         * sysdeps/gnu/errlist.c: Regenerated.
17489
17490         * catgets/gencat.c (error_print): Use (void) in function
17491         definition.
17492         * crypt/crypt_util.c (__init_des): Likewise.
17493         * crypt/speeds.c (Stop): Likewise.
17494         (main): Likewise.
17495         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17496         * inet/ruserpass.c (token): Likewise.
17497         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17498         * intl/localealias.c (extend_alias_table): Likewise.
17499         * intl/plural-exp.c (init_germanic_plural): Likewise.
17500         * libio/fcloseall.c (__fcloseall): Likewise.
17501         * libio/genops.c (_IO_flush_all): Likewise.
17502         (_IO_flush_all_linebuffered): Likewise.
17503         (_IO_cleanup): Likewise.
17504         (_IO_iter_begin): Likewise.
17505         (_IO_iter_end): Likewise.
17506         (_IO_list_lock): Likewise.
17507         (_IO_list_unlock): Likewise.
17508         (_IO_list_resetlock): Likewise.
17509         * libio/getchar.c (getchar): Likewise.
17510         * libio/getchar_u.c (getchar_unlocked): Likewise.
17511         * libio/getwchar.c (getwchar): Likewise.
17512         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17513         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17514         * login/getpt.c (__getpt): Likewise.
17515         * login/tst-utmp.c (main): Likewise.
17516         * malloc/hooks.c (__malloc_check_init): Likewise.
17517         * malloc/malloc.c (__malloc_stats): Likewise.
17518         * malloc/mtrace.c (tr_break): Likewise.
17519         (mtrace): Likewise.
17520         (muntrace): Likewise.
17521         * misc/fstab.c (endfsent): Likewise.
17522         * misc/getclktck.c (__getclktck): Likewise.
17523         * misc/getdtsz.c (__getdtablesize): Likewise.
17524         * misc/gethostid.c (gethostid): Likewise.
17525         * misc/getpagesize.c (__getpagesize): Likewise.
17526         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17527         (__get_nprocs): Likewise.
17528         (__get_phys_pages): Likewise.
17529         (__get_avphys_pages): Likewise.
17530         * misc/getttyent.c (getttyent): Likewise.
17531         (setttyent): Likewise.
17532         (endttyent): Likewise.
17533         * misc/getusershell.c (getusershell): Likewise.
17534         (endusershell): Likewise.
17535         (setusershell): Likewise.
17536         (initshells): Likewise.
17537         * misc/hsearch.c (__hdestroy): Likewise.
17538         * misc/sync.c (sync): Likewise.
17539         * misc/syslog.c (closelog_internal): Likewise.
17540         (closelog): Likewise.
17541         * misc/ttyslot.c (ttyslot): Likewise.
17542         * misc/vhangup.c (vhangup): Likewise.
17543         * posix/fork.c (__fork): Likewise.
17544         * posix/getegid.c (__getegid): Likewise.
17545         * posix/geteuid.c (__geteuid): Likewise.
17546         * posix/getgid.c (__getgid): Likewise.
17547         * posix/getpid.c (__getpid): Likewise.
17548         * posix/getppid.c (__getppid): Likewise.
17549         * posix/getuid.c (__getuid): Likewise.
17550         * posix/pause.c (pause): Likewise.
17551         * posix/setpgrp.c (setpgrp): Likewise.
17552         * posix/setsid.c (__setsid): Likewise.
17553         * posix/test-vfork.c (noop): Likewise.
17554         * resolv/gethnamaddr.c (_endhtent): Likewise.
17555         (_gethtent): Likewise.
17556         (ht_endhostent): Likewise.
17557         (gethostent): Likewise.
17558         (dns_service): Likewise.
17559         * stdlib/drand48.c (drand48): Likewise.
17560         * stdlib/lrand48.c (lrand48): Likewise.
17561         * stdlib/mrand48.c (mrand48): Likewise.
17562         * stdlib/rand.c (rand): Likewise.
17563         * stdlib/random.c (__random): Likewise.
17564         * stdlib/setenv.c (clearenv): Likewise.
17565         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17566         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17567         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17568         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17569         (__get_nprocs): Likewise.
17570         (__get_phys_pages): Likewise.
17571         (__get_avphys_pages): Likewise.
17572         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17573         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17574         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17575         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17576         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17577         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17578         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17579         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17580         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17581         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17582         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17583         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17584         * sysdeps/posix/clock.c (clock): Likewise.
17585         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17586         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17587         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17588         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17589         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17590         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17591         (__get_nprocs_conf): Likewise.
17592         (__get_phys_pages): Likewise.
17593         (__get_avphys_pages): Likewise.
17594         * time/clock.c (clock): Likewise.
17595         * time/tzset.c (__tzname_max): Likewise.
17596
17597 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17598
17599         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17600         (__bswap_32): Do not use "register".
17601         * crypt/crypt.c (_ufc_doit_r): Likewise.
17602         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17603         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17604         * gmon/gmon.c (__monstartup): Likewise.
17605         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17606         * hurd/hurdmalloc.c (more_memory): Likewise.
17607         (malloc): Likewise.
17608         (free): Likewise.
17609         (realloc): Likewise.
17610         (malloc_fork_prepare): Likewise.
17611         (malloc_fork_parent): Likewise.
17612         (malloc_fork_child): Likewise.
17613         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17614         (_svcauth_des): Likewise.
17615         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17616         * inet/inet_net.c (inet_network): Likewise.
17617         * inet/inet_netof.c (inet_netof): Likewise.
17618         * inet/rcmd.c (__validuser2_sa): Likewise.
17619         * io/fts.c (fts_open): Likewise.
17620         (fts_load): Likewise.
17621         (fts_close): Likewise.
17622         (fts_read): Likewise.
17623         (fts_children): Likewise.
17624         (fts_build): Likewise.
17625         (fts_stat): Likewise.
17626         (fts_sort): Likewise.
17627         (fts_alloc): Likewise.
17628         (fts_lfree): Likewise.
17629         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17630         (_IO_file_xsgetn): Likewise.
17631         (_IO_file_xsgetn_mmap): Likewise.
17632         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17633         (_IO_cookie_write): Likewise.
17634         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17635         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17636         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17637         * malloc/obstack.c (_obstack_begin): Likewise.
17638         (_obstack_begin_1): Likewise.
17639         (_obstack_newchunk): Likewise.
17640         (_obstack_allocated_p): Likewise.
17641         (obstack_free): Likewise.
17642         (_obstack_memory_used): Likewise.
17643         * misc/getttyent.c (getttynam): Likewise.
17644         (getttyent): Likewise.
17645         (skip): Likewise.
17646         (value): Likewise.
17647         * misc/getusershell.c (initshells): Likewise.
17648         * misc/syslog.c (__vsyslog_chk): Likewise.
17649         * misc/ttyslot.c (ttyslot): Likewise.
17650         * nis/nis_hash.c (__nis_hash): Likewise.
17651         * posix/fnmatch_loop.c (FCT): Likewise.
17652         * posix/getconf.c (print_all): Likewise.
17653         (main): Likewise.
17654         * posix/getopt.c (exchange): Likewise.
17655         * posix/glob.c (globfree): Likewise.
17656         (prefix_array): Likewise.
17657         (__glob_pattern_type): Likewise.
17658         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17659         (NS_GET32): Likewise.
17660         (NS_PUT16): Likewise.
17661         (NS_PUT32): Likewise.
17662         * resolv/gethnamaddr.c (getanswer): Likewise.
17663         (gethostbyname2): Likewise.
17664         (gethostbyaddr): Likewise.
17665         (_gethtent): Likewise.
17666         (_gethtbyname2): Likewise.
17667         (_gethtbyaddr): Likewise.
17668         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17669         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17670         * resolv/res_init.c (__res_vinit): Likewise.
17671         (net_mask): Likewise.
17672         * resolv/res_mkquery.c (outchar): Likewise.
17673         (PRINT): Likewise.
17674         * stdio-common/printf_fp.c (outchar): Likewise.
17675         (PRINT): Likewise.
17676         * stdio-common/printf_fphex.c (outchar): Likewise.
17677         (PRINT): Likewise.
17678         * stdio-common/printf_size.c (outchar): Likewise.
17679         (PRINT): Likewise.
17680         * stdio-common/test_rdwr.c (main): Likewise.
17681         * stdio-common/tfformat.c (matches): Likewise.
17682         * stdio-common/vfprintf.c (outchar): Likewise.
17683         (printf_unknown): Likewise.
17684         (buffered_vfprintf): Likewise.
17685         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17686         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17687         (ReadFile): Likewise.
17688         * stdlib/qsort.c (SWAP): Likewise.
17689         (_quicksort): Likewise.
17690         * stdlib/setenv.c (__add_to_environ): Likewise.
17691         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17692         * stdlib/strtol_l.c (__strtol_l): Likewise.
17693         * stdlib/tst-strtod.c (main): Likewise.
17694         * stdlib/tst-strtol.c (main): Likewise.
17695         * stdlib/tst-strtoll.c (main): Likewise.
17696         * string/bits/string2.h (__strcmp_cc): Likewise.
17697         (__strcmp_cg): Likewise.
17698         (__strcspn_c1): Likewise.
17699         (__strcspn_c2): Likewise.
17700         (__strcspn_c3): Likewise.
17701         (__strspn_c1): Likewise.
17702         (__strspn_c2): Likewise.
17703         (__strspn_c3): Likewise.
17704         (__strsep_1c): Likewise.
17705         (__strsep_2c): Likewise.
17706         (__strsep_3c): Likewise.
17707         * string/memccpy.c (__memccpy): Likewise.
17708         * string/stpcpy.c (__stpcpy): Likewise.
17709         * string/strcmp.c (strcmp): Likewise.
17710         * string/strrchr.c (strrchr): Likewise.
17711         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17712         Likewise.
17713         * sysdeps/mach/hurd/getcwd.c
17714         (_hurd_canonicalize_directory_name_internal): Likewise.
17715         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17716         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17717         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17718         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17719         Likewise, in both definitions.
17720         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17721         definitions.
17722         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17723         64] (__bswap_64): Likewise.
17724         * time/test_time.c (main): Likewise.
17725         * time/tzfile.c (__tzfile_read): Likewise.
17726         (__tzfile_compute): Likewise.
17727         * time/tzset.c (__tzset_parse_tz): Likewise.
17728         (tzset_internal): Likewise.
17729         (compute_change): Likewise.
17730         * wcsmbs/wcscat.c (__wcscat): Likewise.
17731         * wcsmbs/wcschr.c (wcschr): Likewise.
17732         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17733         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17734         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17735         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17736         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17737         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17738         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17739         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17740         * wcsmbs/wmemset.c (wmemset): Likewise.
17741
17742 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17743
17744         * scripts/config.guess: Update to version 2013-05-16.
17745         * scripts/config.sub: Update to version 2013-04-24.
17746         * scripts/install-sh: Update to version 2011-11-20.07.
17747         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17748         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17749
17750 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17751
17752         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17753         * elf/sln.c: Likewise.
17754         * hurd/hurd/ioctl.h: Likewise.
17755         * hurd/hurdmalloc.c: Likewise.
17756         * hurd/xattr.c: Likewise.
17757         * include/shlib-compat.h: Likewise.
17758         * inet/ruserpass.c: Likewise.
17759         * libio/iofgets_u.c: Likewise.
17760         * libio/iofgetws_u.c: Likewise.
17761         * locale/programs/ld-identification.c: Likewise.
17762         * locale/programs/ld-time.c: Likewise.
17763         * mach/msg-destroy.c: Likewise.
17764         * nss/nss_files/files-netgrp.c: Likewise.
17765         * resolv/res_data.c: Likewise.
17766         * soft-fp/op-1.h: Likewise.
17767         * soft-fp/op-2.h: Likewise.
17768         * soft-fp/op-4.h: Likewise.
17769         * soft-fp/op-common.h: Likewise.
17770         * stdio-common/printf_fphex.c: Likewise.
17771         * stdlib/strtod_l.c: Likewise.
17772         * sunrpc/rpc/clnt.h: Likewise.
17773         * sysdeps/generic/framestate.c: Likewise.
17774         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17775         * sysdeps/i386/bsd-setjmp.S: Likewise.
17776         * sysdeps/i386/__longjmp.S: Likewise.
17777         * sysdeps/i386/setjmp.S: Likewise.
17778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17779         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17781         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17782         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17787         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17788         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17789         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17790         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17791         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17792         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17793         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17794         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17795         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17796         * sysdeps/ieee754/support.c: Likewise.
17797         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17798         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17799         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17800         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17801         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17802         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17803         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17804         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17805         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17806         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17807         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17808         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17809         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17812         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17813         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17815
17816 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17817
17818         * posix/transbug.c: Remove executable mode.
17819
17820 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17821
17822         * crypt/speeds.c: Remove trailing whitespace.
17823         * dlfcn/default.c: Likewise.
17824         * elf/ifuncdep2.c: Likewise.
17825         * elf/ifuncmain1.c: Likewise.
17826         * elf/ifuncmain1vis.c: Likewise.
17827         * elf/testobj.h: Likewise.
17828         * elf/tst-stackguard1.c: Likewise.
17829         * gmon/sys/gmon.h: Likewise.
17830         * hurd/hurdmsg.c: Likewise.
17831         * hurd/new-fd.c: Likewise.
17832         * hurd/ports-get.c: Likewise.
17833         * iconvdata/ibm1008_420.c: Likewise.
17834         * inet/tst-getni1.c: Likewise.
17835         * inet/tst-getni2.c: Likewise.
17836         * libio/ioungetc.c: Likewise.
17837         * libio/wfiledoalloc.c: Likewise.
17838         * manual/libm-err-tab.pl: Likewise.
17839         * math/w_dremf.c: Likewise.
17840         * misc/ftruncate.c: Likewise.
17841         * posix/bug-glob2.c: Likewise.
17842         * posix/tst-pcre.c: Likewise.
17843         * posix/wait4.c: Likewise.
17844         * resolv/README: Likewise.
17845         * resolv/res_debug.h: Likewise.
17846         * resolv/tst-inet_ntop.c: Likewise.
17847         * setjmp/bug269-setjmp.c: Likewise.
17848         * soft-fp/extended.h: Likewise.
17849         * soft-fp/op-1.h: Likewise.
17850         * soft-fp/op-2.h: Likewise.
17851         * soft-fp/op-4.h: Likewise.
17852         * soft-fp/op-8.h: Likewise.
17853         * soft-fp/testit.c: Likewise.
17854         * stdio-common/bug16.c: Likewise.
17855         * stdlib/random.c: Likewise.
17856         * sunrpc/rpcsvc/rquota.x: Likewise.
17857         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17858         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17860         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17861         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17862         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17863         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17866         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17867         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17868         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17869         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17870         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17873         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17874         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17875         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17876         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17877         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17879         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17880         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17885         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17886         * sysdeps/ieee754/s_lib_version.c: Likewise.
17887         * sysdeps/mach/hurd/check_fds.c: Likewise.
17888         * sysdeps/mach/hurd/getsockname.c: Likewise.
17889         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17890         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17891         * sysdeps/powerpc/bits/link.h: Likewise.
17892         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17893         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17894         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17895         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17896         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17897         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17898         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17899         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17900         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17901         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17902         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17903         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17904         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17905         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17906         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17907         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17908         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17913         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17914         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17915         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17916         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17917         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17919         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17921         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17926         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17927         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17928         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17929         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17930         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17931         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17932         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17933         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17934         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17935         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17936         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17937         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17938         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17939         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17940         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17941         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17942         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17944         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17945         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17946         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17947         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17948         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17949         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17950         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17951         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17954         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17955         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17956         * sysdeps/powerpc/sysdep.h: Likewise.
17957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17958         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17959         * sysdeps/sh/dl-trampoline.S: Likewise.
17960         * sysdeps/sh/memset.S: Likewise.
17961         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17962         * sysdeps/sh/strlen.S: Likewise.
17963         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17964         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17965         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17966         * sysdeps/sparc/sparc32/rem.S: Likewise.
17967         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17968         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17969         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17970         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17971         * sysdeps/sparc/sparc32/urem.S: Likewise.
17972         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17973         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17974         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17975         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17976         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17977         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17978         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17979         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17980         * sysdeps/unix/bsd/times.c: Likewise.
17981         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17982         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17986         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17987         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17988         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17990         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17991         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17992         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17993         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17994         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17995         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17996         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17997         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17998         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17999         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18000         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18001         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18002         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18003         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18004         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18005         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18006         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18007         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18008         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18009         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18010         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18011         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18012         * sysdeps/x86_64/strcspn.S: Likewise.
18013
18014 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18015
18016         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18017         generated file.  Regenerate properly from gen-translit.pl.
18018         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18019         locale/C-translit.h.
18020
18021 2013-06-05  Andreas Schwab  <schwab@suse.de>
18022
18023         [BZ #15100]
18024         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18025         week as 6 instead of -1.
18026         * time/tst-strptime.c (day_tests): Add test case.
18027
18028 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029
18030         * sysdeps/generic/math_private.h
18031         (libc_feholdexcept_setround_53bit): Replace with
18032         libc_feholdsetround_53bit.
18033         (libc_feupdateenv_53bit): Replace with
18034         libc_feresetround_53bit.
18035         (SET_RESTORE_ROUND_53BIT): Adjust.
18036
18037 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18038
18039         * string/test-strchrnul.c: Add copyright header.
18040
18041         * posix/tst-getaddrinfo4.c: Increase test timeout.
18042
18043 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18044
18045         [BZ #15536]
18046         * math/libm-test.inc (MAX_EXP): Remove
18047         (MIN_EXP): Define.
18048         (ulp): Use MIN_EXP - MANT_DIG.
18049         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18050
18051 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18052
18053         * po/be.po: Revert last change.
18054         * po/zh_CN.po: Likewise.
18055         * po/header.pot: Likewise.
18056
18057 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18058
18059         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18060         link-libc-deps to empty as target-specific variable.
18061         * Makerules (link-libc-args): New variable.
18062         (libc-for-link): Likewise.
18063         (link-libc-deps): Likewise.
18064         (lib%.so): Depend on $(link-libc-deps).  Link with
18065         $(link-libc-args).
18066         (build-module): Link with $(link-libc-args).
18067         (build-module-asneeded): Likewise.
18068         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18069         list of objects.
18070         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18071         target-specific variable.
18072         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18073         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18074         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18075         libc.
18076         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18077         libc and ld.so.
18078         ($(objpfx)libpcprofile.so): Likewise.
18079         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18080         libc_nonshared.a.
18081         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18082         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18083         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18084         $(link-libc-deps).
18085         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18086         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18087         * login/Makefile ($(objpfx)libutil.so): Likewise.
18088         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18089         * math/Makefile ($(objpfx)libm.so): Likewise.
18090         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18091         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18092         variable instead of depending directly on libc.
18093         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18094         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18095         $(link-libc-deps).
18096         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18097         libc.
18098         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18099         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18100         ($(objpfx)libanl.so): Likewise.
18101         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18102         ld.so.
18103         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18104         $(link-libc-deps).
18105         * sysdeps/i386/fpu/Makefile: Remove file.
18106         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18107         ($(objpfx)libm.so): Remove dependency on ld.so.
18108
18109 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18110
18111         [BZ # 15553]
18112         * nis/yp_xdr.c (XDRMAXNAME): Define.
18113         (XDRMAXRECORD): Define.
18114         (xdr_domainname): Use XDRMAXNAME.
18115         (xdr_mapname): Likewise.
18116         (xdr_peername): Likewise.
18117         (xdr_keydat): Use XDRMAXRECORD.
18118         (xdr_valdat): Likewise.
18119
18120 2013-05-30  Jeff Law  <law@redhat.com>
18121
18122         [BZ #14256]
18123         * manual/errno.texi (ESTALE): Update to account for more than
18124         just NFS file systems.
18125         * sysdeps/gnu/errlist.c: Regenerated.
18126
18127 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18128
18129         [BZ #15465]
18130         * elf/Makefile (tests): Add tst-null-argv.
18131         (modules-names):  Add tst-null-argv-lib.
18132         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18133         (tst-null-argv-ENV): Set environment for tst-null-argv.
18134         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18135         (RTLD_PROGNAME): New macro.
18136         * elf/tst-null-argv.c: New test case.
18137         * elf/tst-null-argv-lib.c: Library for test case.
18138         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18139         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18140         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18141         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18142         * elf/dl-init.c (call_init): Likewise.
18143         (_dl_init): Likewise.
18144         * elf/dl-load.c (print_search_path): Likewise.
18145         (_dl_map_object): Likewise.
18146         * elf/dl-lookup.c (do_lookup_x): Likewise.
18147         (add_dependency): Likewise.
18148         (_dl_lookup_symbol_x): Likewise.
18149         (_dl_debug_bindings): Likewise.
18150         * elf/dl-open.c (_dl_show_scope): Likewise.
18151         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18152         * elf/dl-version.c (match_symbol): Likewise.
18153         (_dl_check_map_versions): Likewise.
18154         * elf/rtld.c (dl_main): Likewise.
18155         (print_unresolved): Use RTLD_PROGNAME.
18156         (print_missing_version): Likewise.
18157         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18158         (elf_machine_rela): Likewise.
18159         * sysdeps/powerpc/powerpc32/dl-machine.c
18160         (__process_machine_rela): Likewise.
18161         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18162         Likewise.
18163         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18164         Likewise.
18165         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18166         Likewise.
18167         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18169         Likewise.
18170         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18171         Likewise.
18172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18173
18174 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18175
18176         * po/be.po: Add descriptive title.
18177         * po/zh_CN.po: Likewise.
18178         * po/header.pot: Likewise.
18179
18180 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18181
18182         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18183         error message.
18184         (enlarge_archive): Likewise.
18185
18186 2013-05-28  Ben North  <ben@redfrontdoor.org>
18187
18188         * manual/arith.texi (frexp): It is the magnitude of the return
18189         value which lies in [0.5, 1), not the return value itself.
18190
18191 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18192
18193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18194
18195 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18196
18197         * stdio-common/bug26.c (main): Correct fscanf template.
18198
18199         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18200         declare _dl_skip_args.
18201
18202         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18203         Don't declare.
18204
18205         * manual/platform.texi: Add missing @end deftypefun.
18206
18207 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18208
18209         [BZ #15529]
18210         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18211         bit of mantissa of 2^16382.
18212         * math/libm-test.inc (hypot_test_data): Add more tests.
18213
18214         * math/libm-test.inc: Add drem and pow10 to list of tested
18215         functions.
18216         (pow10_test): New function.
18217         (drem_test): Likewise.
18218         (drem_test_tonearest): Likewise.
18219         (drem_test_towardzero): Likewise.
18220         (drem_test_downward): Likewise.
18221         (drem_test_upward): Likewise.
18222         (main): Call the new functions.
18223
18224         * math/libm-test.inc (finite_test_data): Remove.
18225         (finite_test): Run tests from isfinite_test_data.
18226         (gamma_test_data): Remove.
18227         (gamma_test): Run tests from lgamma_test_data.
18228         * sysdeps/i386/fpu/libm-test-ulps: Update.
18229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18230
18231 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18232
18233         * manual/platform.texi: Add PowerPC PPR function set documentation.
18234         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18235         implementation.
18236
18237 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18238
18239         * math/libm-test.inc (MAX_EXP): Define.
18240         (ULPDIFF): Define.
18241         (ulp): New function.
18242         (check_float_internal): Use ULPDIFF.
18243         (cpow_test): Disable failing test.
18244         (check_ulp): Test ulp() implemetnation.
18245         (main): Call check_ulp before starting tests.
18246
18247 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18248
18249         * math/gen-libm-test.pl (generate_testfile): Do not handle
18250         START_DATA and END_DATA.
18251         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18252         END_DATA.
18253         (acos_tonearest_test_data): Likewise.
18254         (acos_towardzero_test_data): Likewise.
18255         (acos_downward_test_data): Likewise.
18256         (acos_upward_test_data): Likewise.
18257         (acosh_test_data): Likewise.
18258         (asin_test_data): Likewise.
18259         (asin_tonearest_test_data): Likewise.
18260         (asin_towardzero_test_data): Likewise.
18261         (asin_downward_test_data): Likewise.
18262         (asin_upward_test_data): Likewise.
18263         (asinh_test_data): Likewise.
18264         (atan_test_data): Likewise.
18265         (atanh_test_data): Likewise.
18266         (atan2_test_data): Likewise.
18267         (cabs_test_data): Likewise.
18268         (cacos_test_data): Likewise.
18269         (cacosh_test_data): Likewise.
18270         (carg_test_data): Likewise.
18271         (casin_test_data): Likewise.
18272         (casinh_test_data): Likewise.
18273         (catan_test_data): Likewise.
18274         (catanh_test_data): Likewise.
18275         (cbrt_test_data): Likewise.
18276         (ccos_test_data): Likewise.
18277         (ccosh_test_data): Likewise.
18278         (ceil_test_data): Likewise.
18279         (cexp_test_data): Likewise.
18280         (cimag_test_data): Likewise.
18281         (clog_test_data): Likewise.
18282         (clog10_test_data): Likewise.
18283         (conj_test_data): Likewise.
18284         (copysign_test_data): Likewise.
18285         (cos_test_data): Likewise.
18286         (cos_tonearest_test_data): Likewise.
18287         (cos_towardzero_test_data): Likewise.
18288         (cos_downward_test_data): Likewise.
18289         (cos_upward_test_data): Likewise.
18290         (cosh_test_data): Likewise.
18291         (cosh_tonearest_test_data): Likewise.
18292         (cosh_towardzero_test_data): Likewise.
18293         (cosh_downward_test_data): Likewise.
18294         (cosh_upward_test_data): Likewise.
18295         (cpow_test_data): Likewise.
18296         (cproj_test_data): Likewise.
18297         (creal_test_data): Likewise.
18298         (csin_test_data): Likewise.
18299         (csinh_test_data): Likewise.
18300         (csqrt_test_data): Likewise.
18301         (ctan_test_data): Likewise.
18302         (ctan_tonearest_test_data): Likewise.
18303         (ctan_towardzero_test_data): Likewise.
18304         (ctan_downward_test_data): Likewise.
18305         (ctan_upward_test_data): Likewise.
18306         (ctanh_test_data): Likewise.
18307         (ctanh_tonearest_test_data): Likewise.
18308         (ctanh_towardzero_test_data): Likewise.
18309         (ctanh_downward_test_data): Likewise.
18310         (ctanh_upward_test_data): Likewise.
18311         (erf_test_data): Likewise.
18312         (erfc_test_data): Likewise.
18313         (exp_test_data): Likewise.
18314         (exp_tonearest_test_data): Likewise.
18315         (exp_towardzero_test_data): Likewise.
18316         (exp_downward_test_data): Likewise.
18317         (exp_upward_test_data): Likewise.
18318         (exp10_test_data): Likewise.
18319         (exp2_test_data): Likewise.
18320         (expm1_test_data): Likewise.
18321         (fabs_test_data): Likewise.
18322         (fdim_test_data): Likewise.
18323         (finite_test_data): Likewise.
18324         (floor_test_data): Likewise.
18325         (fma_test_data): Likewise.
18326         (fma_towardzero_test_data): Likewise.
18327         (fma_downward_test_data): Likewise.
18328         (fma_upward_test_data): Likewise.
18329         (fmax_test_data): Likewise.
18330         (fmin_test_data): Likewise.
18331         (fmod_test_data): Likewise.
18332         (fpclassify_test_data): Likewise.
18333         (frexp_test_data): Likewise.
18334         (gamma_test_data): Likewise.
18335         (hypot_test_data): Likewise.
18336         (ilogb_test_data): Likewise.
18337         (isfinite_test_data): Likewise.
18338         (isgreater_test_data): Likewise.
18339         (isgreaterequal_test_data): Likewise.
18340         (isinf_test_data): Likewise.
18341         (isless_test_data): Likewise.
18342         (islessequal_test_data): Likewise.
18343         (islessgreater_test_data): Likewise.
18344         (isnan_test_data): Likewise.
18345         (isnormal_test_data): Likewise.
18346         (issignaling_test_data): Likewise.
18347         (isunordered_test_data): Likewise.
18348         (j0_test_data): Likewise.
18349         (j1_test_data): Likewise.
18350         (jn_test_data): Likewise.
18351         (ldexp_test_data): Likewise.
18352         (lgamma_test_data): Likewise.
18353         (lrint_test_data): Likewise.
18354         (lrint_tonearest_test_data): Likewise.
18355         (lrint_towardzero_test_data): Likewise.
18356         (lrint_downward_test_data): Likewise.
18357         (lrint_upward_test_data): Likewise.
18358         (llrint_test_data): Likewise.
18359         (llrint_tonearest_test_data): Likewise.
18360         (llrint_towardzero_test_data): Likewise.
18361         (llrint_downward_test_data): Likewise.
18362         (llrint_upward_test_data): Likewise.
18363         (log_test_data): Likewise.
18364         (log10_test_data): Likewise.
18365         (log1p_test_data): Likewise.
18366         (log2_test_data): Likewise.
18367         (logb_test_data): Likewise.
18368         (logb_downward_test_data): Likewise.
18369         (lround_test_data): Likewise.
18370         (llround_test_data): Likewise.
18371         (modf_test_data): Likewise.
18372         (nearbyint_test_data): Likewise.
18373         (nextafter_test_data): Likewise.
18374         (nexttoward_test_data): Likewise.
18375         (pow_test_data): Likewise.
18376         (pow_tonearest_test_data): Likewise.
18377         (pow_towardzero_test_data): Likewise.
18378         (pow_downward_test_data): Likewise.
18379         (pow_upward_test_data): Likewise.
18380         (remainder_test_data): Likewise.
18381         (remainder_tonearest_test_data): Likewise.
18382         (remainder_towardzero_test_data): Likewise.
18383         (remainder_downward_test_data): Likewise.
18384         (remainder_upward_test_data): Likewise.
18385         (remquo_test_data): Likewise.
18386         (rint_test_data): Likewise.
18387         (rint_tonearest_test_data): Likewise.
18388         (rint_towardzero_test_data): Likewise.
18389         (rint_downward_test_data): Likewise.
18390         (rint_upward_test_data): Likewise.
18391         (round_test_data): Likewise.
18392         (scalb_test_data): Likewise.
18393         (scalbn_test_data): Likewise.
18394         (scalbln_test_data): Likewise.
18395         (signbit_test_data): Likewise.
18396         (sin_test_data): Likewise.
18397         (sin_tonearest_test_data): Likewise.
18398         (sin_towardzero_test_data): Likewise.
18399         (sin_downward_test_data): Likewise.
18400         (sin_upward_test_data): Likewise.
18401         (sincos_test_data): Likewise.
18402         (sinh_test_data): Likewise.
18403         (sinh_tonearest_test_data): Likewise.
18404         (sinh_towardzero_test_data): Likewise.
18405         (sinh_downward_test_data): Likewise.
18406         (sinh_upward_test_data): Likewise.
18407         (sqrt_test_data): Likewise.
18408         (tan_test_data): Likewise.
18409         (tan_tonearest_test_data): Likewise.
18410         (tan_towardzero_test_data): Likewise.
18411         (tan_downward_test_data): Likewise.
18412         (tan_upward_test_data): Likewise.
18413         (tanh_test_data): Likewise.
18414         (tgamma_test_data): Likewise.
18415         (trunc_test_data): Likewise.
18416         (y0_test_data): Likewise.
18417         (y1_test_data): Likewise.
18418         (yn_test_data): Likewise.
18419         (significand_test_data): Likewise.
18420
18421         * math/gen-libm-test.pl (@functions): Remove variable.
18422         (generate_testfile): Don't handle START and END lines.
18423         * math/libm-test.inc (START): New macro.
18424         (END): Likewise.
18425         (END_COMPLEX): Likewise.
18426         (acos_test): Use END macro without arguments.
18427         (acos_test_tonearest): Likewise.
18428         (acos_test_towardzero): Likewise.
18429         (acos_test_downward): Likewise.
18430         (acos_test_upward): Likewise.
18431         (acosh_test): Likewise.
18432         (asin_test): Likewise.
18433         (asin_test_tonearest): Likewise.
18434         (asin_test_towardzero): Likewise.
18435         (asin_test_downward): Likewise.
18436         (asin_test_upward): Likewise.
18437         (asinh_test): Likewise.
18438         (atan_test): Likewise.
18439         (atanh_test): Likewise.
18440         (atan2_test): Likewise.
18441         (cabs_test): Likewise.
18442         (cacos_test): Use END_COMPLEX macro without arguments.
18443         (cacosh_test): Likewise.
18444         (carg_test): Use END macro without arguments.
18445         (casin_test): Use END_COMPLEX macro without arguments.
18446         (casinh_test): Likewise.
18447         (catan_test): Likewise.
18448         (catanh_test): Likewise.
18449         (cbrt_test): Use END macro without arguments.
18450         (ccos_test): Use END_COMPLEX macro without arguments.
18451         (ccosh_test): Likewise.
18452         (ceil_test): Use END macro without arguments.
18453         (cexp_test): Use END_COMPLEX macro without arguments.
18454         (cimag_test): Use END macro without arguments.
18455         (clog_test): Use END_COMPLEX macro without arguments.
18456         (clog10_test): Likewise.
18457         (conj_test): Likewise.
18458         (copysign_test): Use END macro without arguments.
18459         (cos_test): Likewise.
18460         (cos_test_tonearest): Likewise.
18461         (cos_test_towardzero): Likewise.
18462         (cos_test_downward): Likewise.
18463         (cos_test_upward): Likewise.
18464         (cosh_test): Likewise.
18465         (cosh_test_tonearest): Likewise.
18466         (cosh_test_towardzero): Likewise.
18467         (cosh_test_downward): Likewise.
18468         (cosh_test_upward): Likewise.
18469         (cpow_test): Use END_COMPLEX macro without arguments.
18470         (cproj_test): Likewise.
18471         (creal_test): Use END macro without arguments.
18472         (csin_test): Use END_COMPLEX macro without arguments.
18473         (csinh_test): Likewise.
18474         (csqrt_test): Likewise.
18475         (ctan_test): Likewise.
18476         (ctan_test_tonearest): Likewise.
18477         (ctan_test_towardzero): Likewise.
18478         (ctan_test_downward): Likewise.
18479         (ctan_test_upward): Likewise.
18480         (ctanh_test): Likewise.
18481         (ctanh_test_tonearest): Likewise.
18482         (ctanh_test_towardzero): Likewise.
18483         (ctanh_test_downward): Likewise.
18484         (ctanh_test_upward): Likewise.
18485         (erf_test): Use END macro without arguments.
18486         (erfc_test): Likewise.
18487         (exp_test): Likewise.
18488         (exp_test_tonearest): Likewise.
18489         (exp_test_towardzero): Likewise.
18490         (exp_test_downward): Likewise.
18491         (exp_test_upward): Likewise.
18492         (exp10_test): Likewise.
18493         (exp2_test): Likewise.
18494         (expm1_test): Likewise.
18495         (fabs_test): Likewise.
18496         (fdim_test): Likewise.
18497         (finite_test): Likewise.
18498         (floor_test): Likewise.
18499         (fma_test): Likewise.
18500         (fma_test_towardzero): Likewise.
18501         (fma_test_downward): Likewise.
18502         (fma_test_upward): Likewise.
18503         (fmax_test): Likewise.
18504         (fmin_test): Likewise.
18505         (fmod_test): Likewise.
18506         (fpclassify_test): Likewise.
18507         (frexp_test): Likewise.
18508         (gamma_test): Likewise.
18509         (hypot_test): Likewise.
18510         (ilogb_test): Likewise.
18511         (isfinite_test): Likewise.
18512         (isgreater_test): Likewise.
18513         (isgreaterequal_test): Likewise.
18514         (isinf_test): Likewise.
18515         (isless_test): Likewise.
18516         (islessequal_test): Likewise.
18517         (islessgreater_test): Likewise.
18518         (isnan_test): Likewise.
18519         (isnormal_test): Likewise.
18520         (issignaling_test): Likewise.
18521         (isunordered_test): Likewise.
18522         (j0_test): Likewise.
18523         (j1_test): Likewise.
18524         (jn_test): Likewise.
18525         (ldexp_test): Likewise.
18526         (lgamma_test): Likewise.
18527         (lrint_test): Likewise.
18528         (lrint_test_tonearest): Likewise.
18529         (lrint_test_towardzero): Likewise.
18530         (lrint_test_downward): Likewise.
18531         (lrint_test_upward): Likewise.
18532         (llrint_test): Likewise.
18533         (llrint_test_tonearest): Likewise.
18534         (llrint_test_towardzero): Likewise.
18535         (llrint_test_downward): Likewise.
18536         (llrint_test_upward): Likewise.
18537         (log_test): Likewise.
18538         (log10_test): Likewise.
18539         (log1p_test): Likewise.
18540         (log2_test): Likewise.
18541         (logb_test): Likewise.
18542         (logb_test_downward): Likewise.
18543         (lround_test): Likewise.
18544         (llround_test): Likewise.
18545         (modf_test): Likewise.
18546         (nearbyint_test): Likewise.
18547         (nextafter_test): Likewise.
18548         (nexttoward_test): Likewise.
18549         (pow_test): Likewise.
18550         (pow_test_tonearest): Likewise.
18551         (pow_test_towardzero): Likewise.
18552         (pow_test_downward): Likewise.
18553         (pow_test_upward): Likewise.
18554         (remainder_test): Likewise.
18555         (remainder_test_tonearest): Likewise.
18556         (remainder_test_towardzero): Likewise.
18557         (remainder_test_downward): Likewise.
18558         (remainder_test_upward): Likewise.
18559         (remquo_test): Likewise.
18560         (rint_test): Likewise.
18561         (rint_test_tonearest): Likewise.
18562         (rint_test_towardzero): Likewise.
18563         (rint_test_downward): Likewise.
18564         (rint_test_upward): Likewise.
18565         (round_test): Likewise.
18566         (scalb_test): Likewise.
18567         (scalbn_test): Likewise.
18568         (scalbln_test): Likewise.
18569         (signbit_test): Likewise.
18570         (sin_test): Likewise.
18571         (sin_test_tonearest): Likewise.
18572         (sin_test_towardzero): Likewise.
18573         (sin_test_downward): Likewise.
18574         (sin_test_upward): Likewise.
18575         (sincos_test): Likewise.
18576         (sinh_test): Likewise.
18577         (sinh_test_tonearest): Likewise.
18578         (sinh_test_towardzero): Likewise.
18579         (sinh_test_downward): Likewise.
18580         (sinh_test_upward): Likewise.
18581         (sqrt_test): Likewise.
18582         (tan_test): Likewise.
18583         (tan_test_tonearest): Likewise.
18584         (tan_test_towardzero): Likewise.
18585         (tan_test_downward): Likewise.
18586         (tan_test_upward): Likewise.
18587         (tanh_test): Likewise.
18588         (tgamma_test): Likewise.
18589         (trunc_test): Likewise.
18590         (y0_test): Likewise.
18591         (y1_test): Likewise.
18592         (yn_test): Likewise.
18593         (significand_test): Likewise.
18594
18595 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18596
18597         [BZ #15381]
18598         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18599
18600 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18601
18602         [BZ #14894]
18603         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18604         __ppc_mdoio and __ppc_mdoom.
18605         * manual/platform.texi: Document new functions __ppc_yield,
18606         __ppc_mdoio and __ppc_mdoom.
18607
18608 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18609
18610         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18611         (main): Mention "tls" pseudo-hwcap is legacy.
18612         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18613
18614 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18615
18616         * math/gen-libm-test.pl (parse_args): Output only string of
18617         arguments as text for test name, not full call or descriptions of
18618         tests for extra outputs.
18619         (generate_testfile): Do not pass function name to parse_args.
18620         Generate this_func variable from START.
18621         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18622         field to arg_str.
18623         (struct test_ff_f_data): Likewise.
18624         (test_ff_f_data_nexttoward): Likewise.
18625         (struct test_fi_f_data): Likewise.
18626         (struct test_fl_f_data): Likewise.
18627         (struct test_if_f_data): Likewise.
18628         (struct test_fff_f_data): Likewise.
18629         (struct test_c_f_data): Likewise.
18630         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18631         (struct test_fF_f1_data): Likewise.
18632         (struct test_ffI_f1_data): Likewise.
18633         (struct test_c_c_data): Rename test_name field to arg_str.
18634         (struct test_cc_c_data): Likewise.
18635         (struct test_f_i_data): Likewise.
18636         (struct test_ff_i_data): Likewise.
18637         (struct test_f_l_data): Likewise.
18638         (struct test_f_L_data): Likewise.
18639         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18640         and extra2_name.
18641         (COMMON_TEST_SETUP): New macro.
18642         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18643         (COMMON_TEST_CLEANUP): Likewise.
18644         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18645         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18646         macros.
18647         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18648         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18649         macros.
18650         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18651         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18652         cleanup macros.
18653         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18654         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18655         macros.
18656         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18657         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18658         macros.
18659         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18660         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18661         cleanup macros.
18662         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18663         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18664         cleanup macros.
18665         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18666         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18667         cleanup macros.
18668         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18669         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18670         macros.
18671         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18672         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18673         macros.
18674         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18675         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18676         macros.
18677         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18678         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18679         cleanup macros.
18680         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18681         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18682         cleanup macros.
18683         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18684         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18685         macros.
18686         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18687         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18688         cleanup macros.
18689         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18690         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18691         macros.
18692         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18693         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18694         macros.
18695         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18696         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18697         cleanup macros.
18698         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18699
18700 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18701
18702         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18703         to _sifields.sigfault.
18704         (si_addr_lsb): Define new macro.
18705         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18707         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18708
18709 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18710
18711         [BZ #15441]
18712         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18713         returns -1.
18714         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18715         null return -1.
18716         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18717         loading the domain.
18718
18719 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18720
18721         * math/gen-libm-test.pl (parse_args): Do not include expected
18722         result in test name.
18723         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18725         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18726         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18727         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18729
18730 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731
18732         * benchtests/Makefile: Sort function entries.
18733
18734         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18735         tanh, asinh, acosh, atanh.
18736         * benchtests/acos-inputs: New file.
18737         * benchtests/acosh-inputs: New file.
18738         * benchtests/asin-inputs: New file.
18739         * benchtests/asinh-inputs: New file.
18740         * benchtests/atanh-inputs: New file.
18741         * benchtests/cosh-inputs: New file.
18742         * benchtests/log-inputs: New file.
18743         * benchtests/sinh-inputs: New file.
18744         * benchtests/tanh-inputs: New file.
18745
18746 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18747
18748         [BZ #15339]
18749         * posix/tst-getaddrinfo4.c: New test.
18750         * posix/Makefile (tests): Add it.
18751
18752 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18753
18754         [BZ #15339]
18755         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18756         when no services were used.
18757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18758         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18759
18760 2013-05-21  Andreas Schwab  <schwab@suse.de>
18761
18762         [BZ #15014]
18763         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18764         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18765         successful.
18766         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18767         redundant variable declarations and reallocation of buffer when
18768         parsing as IPv6 address.  Always set NSS status when called from
18769         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18770         buffer too small.  Correct computation of needed size.
18771         * nss/Makefile (tests): Add test-digits-dots.
18772         * nss/test-digits-dots.c: New test.
18773
18774 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18775
18776         * benchtests/Makefile: Remove instructions for adding
18777         benchmark tests.
18778         * benchtests/README: New file to explain how to execute and
18779         enhance the benchmark tests.
18780
18781 2013-05-21  Andreas Schwab  <schwab@suse.de>
18782
18783         [BZ #15493]
18784         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18785         * setjmp/tst-sigsetjmp.c: New test.
18786
18787 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18788
18789         * sysdeps/x86_64/memset.S (memset): New implementation.
18790         (__bzero): Likewise.
18791         (__memset_tail): New function.
18792
18793 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18794
18795         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18796         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18797         __memcpy_sse2_unaligned ifunc selection.
18798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18799         Add memcpy-sse2-unaligned.S.
18800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18801         Add: __memcpy_sse2_unaligned.
18802
18803 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18804
18805         [BZ #15490]
18806         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18807         math_force_eval before restoring floating-point envrionment.
18808         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18810         Likewise.
18811         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18812         <math_private.h>.
18813         (__nearbyintl): Use math_force_eval before restoring
18814         floating-point environment.
18815         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18816
18817         * math/gen-libm-test.pl (special_functions): Remove.
18818         (parse_args): Don't handle TEST_extra.  Handle functions with no
18819         return value.
18820         * math/libm-test.inc (struct test_sincos_data): Replace with
18821         struct test_fFF_11_data.
18822         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18823         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18824         (sincos_test_data): Change element type to struct
18825         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18826         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18827         RUN_TEST_LOOP_sincos.
18828         * math/README.libm-test: Don't mention special handling of
18829         individual functions.
18830         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18832         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18833         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18834         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18836
18837         * math/gen-libm-test.pl (get_variable): Remove function.
18838         (parse_args): Don't show pointer parameters to call in test
18839         names.  Use "extra output N" in test names for extra outputs
18840         rather than naming variables.
18841
18842 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18843
18844         [BZ #15488]
18845         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18846         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18847         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18848         double tests.
18849         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18850         disable.
18851         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18852         check_long_double.
18853
18854         * math/gen-libm-test.pl (@tests): Remove variable.
18855         ($count): Likewise.
18856         (new_test): Remove function.
18857         (show_exceptions): New function.
18858         (special_functions): Use show_exceptions instead of new_test.
18859         (parse_args): Likewise.
18860         (generate_testfile): Pass only function name in generated call to
18861         print_max_error or print_complex_max_error.
18862         (get_ulps): Do not handle complex tests specially.
18863         (output_test): Rename to ...
18864         (get_all_ulps_for_test): ... this.  Return a string rather than
18865         printing to a file.  Require ulps to be present.
18866         (output_ulps): Generate arrays rather than #defines.
18867         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18868         (struct ulp_data): New type.
18869         (BUILD_COMPLEX_ULP): Remove macro.
18870         (compare_ulp_data): New function.
18871         (find_ulps): Likewise.
18872         (find_test_ulps): Likewise.
18873         (find_function_ulps): Likewise.
18874         (find_complex_function_ulps): Likewise.
18875         (print_max_error): Determine allowed ulps using
18876         find_function_ulps.
18877         (print_complex_max_error): Determine allowed ulps using
18878         find_complex_function_ulps.
18879         (check_float_internal): Determine max ulps using find_test_ulps.
18880         (check_float): Do not take max_ulp parameter.  Update call to
18881         check_float_internal.
18882         (check_complex): Likewise.
18883         (check_int): Do not take max_ulp parameter.
18884         (check_long): Likewise.
18885         (check_bool): Likewise.
18886         (check_longlong): Likewise.
18887         (struct test_f_f_data): Remove max_ulp field.
18888         (struct test_ff_f_data): Likewise.
18889         (struct test_ff_f_data_nexttoward): Likewise.
18890         (struct test_fi_f_data): Likewise.
18891         (struct test_fl_f_data): Likewise.
18892         (struct test_if_f_data): Likewise.
18893         (struct test_fff_f_data): Likewise.
18894         (struct test_c_f_data): Likewise.
18895         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18896         (struct test_fF_f1_data): Likewise.
18897         (struct test_ffI_f1_data): Likewise.
18898         (struct test_c_c_data): Remove max_ulp field.
18899         (struct test_cc_c_data): Likewise.
18900         (struct test_f_i_data): Likewise.
18901         (struct test_ff_i_data): Likewise.
18902         (struct test_f_l_data): Likewise.
18903         (struct test_f_L_data): Likewise.
18904         (struct test_sincos_data): Likewise.
18905         (RUN_TEST_f_f): Do not handle ulps.
18906         (RUN_TEST_LOOP_f_f): Likewise.
18907         (RUN_TEST_2_f): Likewise.
18908         (RUN_TEST_LOOP_2_f): Likewise.
18909         (RUN_TEST_fff_f): Likewise.
18910         (RUN_TEST_LOOP_fff_f): Likewise.
18911         (RUN_TEST_c_f): Likewise.
18912         (RUN_TEST_LOOP_c_f): Likewise.
18913         (RUN_TEST_f_f1): Likewise.
18914         (RUN_TEST_LOOP_f_f1): Likewise.
18915         (RUN_TEST_fF_f1): Likewise.
18916         (RUN_TEST_LOOP_fF_f1): Likewise.
18917         (RUN_TEST_fI_f1): Likewise.
18918         (RUN_TEST_LOOP_fI_f1): Likewise.
18919         (RUN_TEST_ffI_f1): Likewise.
18920         (RUN_TEST_LOOP_ffI_f1): Likewise.
18921         (RUN_TEST_c_c): Likewise.
18922         (RUN_TEST_LOOP_c_c): Likewise.
18923         (RUN_TEST_cc_c): Likewise.
18924         (RUN_TEST_LOOP_cc_c): Likewise.
18925         (RUN_TEST_f_i): Likewise.
18926         (RUN_TEST_LOOP_f_i): Likewise.
18927         (RUN_TEST_f_i_tg): Likewise.
18928         (RUN_TEST_LOOP_f_i_tg): Likewise.
18929         (RUN_TEST_ff_i_tg): Likewise.
18930         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18931         (RUN_TEST_f_b): Likewise.
18932         (RUN_TEST_LOOP_f_b): Likewise.
18933         (RUN_TEST_f_b_tg): Likewise.
18934         (RUN_TEST_LOOP_f_b_tg): Likewise.
18935         (RUN_TEST_f_l): Likewise.
18936         (RUN_TEST_LOOP_f_l): Likewise.
18937         (RUN_TEST_f_L): Likewise.
18938         (RUN_TEST_LOOP_f_L): Likewise.
18939         (RUN_TEST_sincos): Likewise.
18940         (RUN_TEST_LOOP_sincos): Likewise.
18941
18942 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18943
18944         [BZ #15480]
18945         [BZ #15485]
18946         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18947         main case of finite arguments, set rounding mode to FE_TONEAREST
18948         and discard exceptions.
18949         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18950         exceptions.
18951         (remainder_tonearest_test_data): New variable.
18952         (remainder_test_tonearest): New function.
18953         (remainder_towardzero_test_data): New variable.
18954         (remainder_test_towardzero): New function.
18955         (remainder_downward_test_data): New variable.
18956         (remainder_test_downward): New function.
18957         (remainder_upward_test_data): New variable.
18958         (remainder_test_upward): New function.
18959         (main): Call the new test functions.
18960
18961         * math/libm-test.inc (struct test_f_f1_data): Remove field
18962         extra_init.
18963         (struct test_fF_f1_data): Likewise.
18964         (struct test_ffI_f1_data): Likewise.
18965         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18966         based on value of EXTRA_EXPECTED.
18967         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18968         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18969         EXTRA_VAR based on value of EXTRA_EXPECTED.
18970         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18971         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18972         EXTRA_VAR based on value of EXTRA_EXPECTED.
18973         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18974         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18975         EXTRA_VAR based on value of EXTRA_EXPECTED.
18976         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18977         * math/gen-libm-test.pl (parse_args): Don't output initializers
18978         for extra output values.
18979
18980         * math/libm-test.inc (check_int): Expect result to be exactly
18981         equal to expected value and do not handle ulps.
18982         (check_long): Likewise.
18983         (check_longlong): Likewise.
18984
18985         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18986         exceptions.
18987         (cimag_test_data): Likewise.
18988         (conj_test_data): Likewise.
18989         (copysign_test_data): Likewise.
18990         (cproj_test_data): Likewise.
18991         (creal_test_data): Likewise.
18992         (fabs_test_data): Likewise.
18993         (fdim_test_data): Likewise.
18994         (finite_test_data): Likewise.
18995         (floor_test_data): Likewise.
18996         (fmax_test_data): Likewise.
18997         (fmin_test_data): Likewise.
18998         (fmod_test_data): Likewise.
18999         (fpclassify_test_data): Likewise.
19000         (frexp_test_data): Likewise.
19001         (ilogb_test_data): Likewise.
19002         (isfinite_test_data): Likewise.
19003         (isgreater_test_data): Likewise.
19004         (isgreaterequal_test_data): Likewise.
19005         (isinf_test_data): Likewise.
19006         (isless_test_data): Likewise.
19007         (islessequal_test_data): Likewise.
19008         (islessgreater_test_data): Likewise.
19009         (isnan_test_data): Likewise.
19010         (isnormal_test_data): Likewise.
19011         (issignaling_test_data): Likewise.
19012         (isunordered_test_data): Likewise.
19013         (ldexp_test_data): Likewise.
19014         (lrint_test_data): Likewise.
19015         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19016         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19017         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19018         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19019         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19020         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19021         test input.
19022         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19023         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19024         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19025         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19026         that test input.
19027         (lrint_downward_test_data): Test for "inexact" exceptions.
19028         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19029         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19030         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19031         test input.
19032         (lrint_upward_test_data): Test for "inexact" exceptions.
19033         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19034         test input.
19035         (llrint_test_data): Test for "inexact" exceptions.
19036         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19037         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19038         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19039         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19040         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19041         (llrint_downward_test_data): Test for "inexact" exceptions.
19042         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19043         (llrint_upward_test_data): Test for "inexact" exceptions.
19044         (logb_test_data): Likewise.
19045         (logb_downward_test_data): Likewise.
19046         (nextafter_test_data): Likewise.
19047         (nexttoward_test_data): Likewise.
19048         (remainder_test_data): Likewise.
19049         (remquo_test_data): Likewise.
19050         (scalbn_test_data): Likewise.
19051         (scalbln_test_data): Likewise.
19052         (signbit_test_data): Likewise.
19053         (sqrt_test_data): Likewise.
19054         (significand_test_data): Likewise.
19055
19056 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19057
19058         [BZ #15424]
19059         * benchtests/bench-modf.c (struct args): Mark arg0 as
19060         volatile.
19061         * scripts/bench.pl: Mark members of struct args as volatile.
19062
19063 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19064
19065         [BZ # 15497]
19066         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19067         negative infinity on POWER6 or lower.
19068         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19069
19070 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19071
19072         [BZ #15442]
19073         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19074         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19075         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19076         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19077         (_FP_SETQNAN): New macro.
19078         (_FP_SETQNAN_SEMIRAW): Likewise.
19079         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19080         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19081         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19082         (FP_EXTEND): Use _FP_FRAC_SNANP.
19083         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19084         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19085         into account.
19086         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19087         New macro.
19088         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19089         Likewise.
19090
19091 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19092
19093         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19094         with DIVIDE_BY_ZERO_EXCEPTION.
19095         (gamma_test_data): Likewise.
19096         (lgamma_test_data): Likewise.
19097         (log_test_data): Likewise.
19098         (log10_test_data): Likewise.
19099         (log2_test_data): Likewise.
19100         (tgamma_test_data): Likewise.
19101
19102         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19103         (acos_test_tonearest): Likewise.
19104         (acos_test_towardzero): Likewise.
19105         (acos_test_downward): Likewise.
19106         (acos_test_upward): Likewise.
19107         (acosh_test): Likewise.
19108         (asin_test): Likewise.
19109         (asin_test_tonearest): Likewise.
19110         (asin_test_towardzero): Likewise.
19111         (asin_test_downward): Likewise.
19112         (asin_test_upward): Likewise.
19113         (asinh_test): Likewise.
19114         (atan_test): Likewise.
19115         (atanh_test): Likewise.
19116         (atan2_test): Likewise.
19117         (cabs_test): Likewise.
19118         (cacos_test): Likewise.
19119         (cacosh_test): Likewise.
19120         (casin_test): Likewise.
19121         (casinh_test): Likewise.
19122         (catan_test): Likewise.
19123         (catanh_test): Likewise.
19124         (cbrt_test): Likewise.
19125         (ccos_test): Likewise.
19126         (ccosh_test): Likewise.
19127         (cexp_test): Likewise.
19128         (clog_test): Likewise.
19129         (clog10_test): Likewise.
19130         (cos_test): Likewise.
19131         (cos_test_tonearest): Likewise.
19132         (cos_test_towardzero): Likewise.
19133         (cos_test_downward): Likewise.
19134         (cos_test_upward): Likewise.
19135         (cosh_test): Likewise.
19136         (cosh_test_tonearest): Likewise.
19137         (cosh_test_towardzero): Likewise.
19138         (cosh_test_downward): Likewise.
19139         (cosh_test_upward): Likewise.
19140         (cpow_test): Likewise.
19141         (csin_test): Likewise.
19142         (csinh_test): Likewise.
19143         (csqrt_test): Likewise.
19144         (ctan_test): Likewise.
19145         (ctan_test_tonearest): Likewise.
19146         (ctan_test_towardzero): Likewise.
19147         (ctan_test_downward): Likewise.
19148         (ctan_test_upward): Likewise.
19149         (ctanh_test): Likewise.
19150         (ctanh_test_tonearest): Likewise.
19151         (ctanh_test_towardzero): Likewise.
19152         (ctanh_test_downward): Likewise.
19153         (ctanh_test_upward): Likewise.
19154         (erf_test): Likewise.
19155         (erfc_test): Likewise.
19156         (exp_test): Likewise.
19157         (exp_test_tonearest): Likewise.
19158         (exp_test_towardzero): Likewise.
19159         (exp_test_downward): Likewise.
19160         (exp_test_upward): Likewise.
19161         (exp10_test): Likewise.
19162         (exp2_test): Likewise.
19163         (expm1_test): Likewise.
19164         (fmod_test): Likewise.
19165         (gamma_test): Likewise.
19166         (hypot_test): Likewise.
19167         (j0_test): Likewise.
19168         (j1_test): Likewise.
19169         (jn_test): Likewise.
19170         (lgamma_test): Likewise.
19171         (log_test): Likewise.
19172         (log10_test): Likewise.
19173         (log1p_test): Likewise.
19174         (log2_test): Likewise.
19175         (logb_test_downward): Likewise.
19176         (pow_test): Likewise.
19177         (pow_test_tonearest): Likewise.
19178         (pow_test_towardzero): Likewise.
19179         (pow_test_downward): Likewise.
19180         (pow_test_upward): Likewise.
19181         (remainder_test): Likewise.
19182         (remquo_test): Likewise.
19183         (sin_test): Likewise.
19184         (sin_test_tonearest): Likewise.
19185         (sin_test_towardzero): Likewise.
19186         (sin_test_downward): Likewise.
19187         (sin_test_upward): Likewise.
19188         (sincos_test): Likewise.
19189         (sinh_test): Likewise.
19190         (sinh_test_tonearest): Likewise.
19191         (sinh_test_towardzero): Likewise.
19192         (sinh_test_downward): Likewise.
19193         (sinh_test_upward): Likewise.
19194         (sqrt_test): Likewise.
19195         (tan_test): Likewise.
19196         (tan_test_tonearest): Likewise.
19197         (tan_test_towardzero): Likewise.
19198         (tan_test_downward): Likewise.
19199         (tan_test_upward): Likewise.
19200         (tanh_test): Likewise.
19201         (tgamma_test): Likewise.
19202         (y0_test): Likewise.
19203         (y1_test): Likewise.
19204         (yn_test): Likewise.
19205
19206         * math/gen-libm-test.pl (adjust_arg): Remove function.
19207         (special_function): Remove argument $in_func.  Only handle
19208         generating output for tables of tests, not inside functions.
19209         (parse_args): Likewise.
19210         (generate_testfile): Remove variable $in_func.  Update call to
19211         parse_args.
19212         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19213         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19214         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19215         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19216         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19217         (MAX_VALUE_INIT): Rename macro to max_value.
19218         (MIN_VALUE_INIT): Rename macro to min_value.
19219         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19220         (plus_zero): Remove variable.
19221         (minus_zero): Likewise.
19222         (plus_infty): Likewise.
19223         (minus_infty): Likewise.
19224         (qnan_value): Likewise.
19225         (max_value): Likewise.
19226         (min_value): Likewise.
19227         (min_subnorm_value): Likewise.
19228
19229 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19230
19231         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19232         uint64_t or uint32_t usage.
19233         * crypt/sha256-block.c: Likewise.
19234         * crypt/sha256-crypt.c: Likewise.
19235         * crypt/sha256.c: Likewise.
19236         * crypt/sha512-block.c: Likewise.
19237         * crypt/sha512-crypt.c: Likewise.
19238         * crypt/sha512.c: Likewise.
19239         * debug/backtrace-tst.c: Likewise.
19240         * debug/pcprofiledump.c: Likewise.
19241         * elf/cache.c: Likewise.
19242         * elf/dl-cache.c: Likewise.
19243         * elf/dl-misc.c: Likewise.
19244         * elf/dl-profile.c: Likewise.
19245         * elf/dl-support.c: Likewise.
19246         * elf/ldconfig.c: Likewise.
19247         * elf/sprof.c: Likewise.
19248         * iconv/dummy-repertoire.c: Likewise.
19249         * iconv/iconv_charmap.c: Likewise.
19250         * iconv/skeleton.c: Likewise.
19251         * iconvdata/8bit-generic.c: Likewise.
19252         * iconvdata/cp737.h: Likewise.
19253         * iconvdata/cp775.h: Likewise.
19254         * iconvdata/ibm1008.h: Likewise.
19255         * iconvdata/ibm1025.h: Likewise.
19256         * iconvdata/ibm1046.h: Likewise.
19257         * iconvdata/ibm1097.h: Likewise.
19258         * iconvdata/ibm1112.h: Likewise.
19259         * iconvdata/ibm1122.h: Likewise.
19260         * iconvdata/ibm1123.h: Likewise.
19261         * iconvdata/ibm1124.h: Likewise.
19262         * iconvdata/ibm1129.h: Likewise.
19263         * iconvdata/ibm1130.h: Likewise.
19264         * iconvdata/ibm1132.h: Likewise.
19265         * iconvdata/ibm1133.h: Likewise.
19266         * iconvdata/ibm1137.h: Likewise.
19267         * iconvdata/ibm1140.h: Likewise.
19268         * iconvdata/ibm1141.h: Likewise.
19269         * iconvdata/ibm1142.h: Likewise.
19270         * iconvdata/ibm1143.h: Likewise.
19271         * iconvdata/ibm1144.h: Likewise.
19272         * iconvdata/ibm1145.h: Likewise.
19273         * iconvdata/ibm1146.h: Likewise.
19274         * iconvdata/ibm1147.h: Likewise.
19275         * iconvdata/ibm1148.h: Likewise.
19276         * iconvdata/ibm1149.h: Likewise.
19277         * iconvdata/ibm1153.h: Likewise.
19278         * iconvdata/ibm1154.h: Likewise.
19279         * iconvdata/ibm1155.h: Likewise.
19280         * iconvdata/ibm1156.h: Likewise.
19281         * iconvdata/ibm1157.h: Likewise.
19282         * iconvdata/ibm1158.h: Likewise.
19283         * iconvdata/ibm1160.h: Likewise.
19284         * iconvdata/ibm1161.h: Likewise.
19285         * iconvdata/ibm1162.h: Likewise.
19286         * iconvdata/ibm1163.h: Likewise.
19287         * iconvdata/ibm1164.h: Likewise.
19288         * iconvdata/ibm1166.h: Likewise.
19289         * iconvdata/ibm1167.h: Likewise.
19290         * iconvdata/ibm12712.h: Likewise.
19291         * iconvdata/ibm1390.h: Likewise.
19292         * iconvdata/ibm1399.h: Likewise.
19293         * iconvdata/ibm16804.h: Likewise.
19294         * iconvdata/ibm4517.h: Likewise.
19295         * iconvdata/ibm4899.h: Likewise.
19296         * iconvdata/ibm4909.h: Likewise.
19297         * iconvdata/ibm4971.h: Likewise.
19298         * iconvdata/ibm5347.h: Likewise.
19299         * iconvdata/ibm803.h: Likewise.
19300         * iconvdata/ibm856.h: Likewise.
19301         * iconvdata/ibm901.h: Likewise.
19302         * iconvdata/ibm902.h: Likewise.
19303         * iconvdata/ibm9030.h: Likewise.
19304         * iconvdata/ibm9066.h: Likewise.
19305         * iconvdata/ibm921.h: Likewise.
19306         * iconvdata/ibm922.h: Likewise.
19307         * iconvdata/ibm9448.h: Likewise.
19308         * iconvdata/isiri-3342.h: Likewise.
19309         * iconvdata/jis0201.h: Likewise.
19310         * include/link.h: Likewise.
19311         * include/netdb.h: Likewise.
19312         * inet/check_native.c: Likewise.
19313         * inet/check_pf.c: Likewise.
19314         * inet/getipv4sourcefilter.c: Likewise.
19315         * inet/getnameinfo.c: Likewise.
19316         * inet/getsourcefilter.c: Likewise.
19317         * inet/htonl.c: Likewise.
19318         * inet/setipv4sourcefilter.c: Likewise.
19319         * inet/setsourcefilter.c: Likewise.
19320         * inet/test-inet6_opt.c: Likewise.
19321         * inet/tst-network.c: Likewise.
19322         * locale/C-collate.c: Likewise.
19323         * locale/C-ctype.c: Likewise.
19324         * locale/C-time.c: Likewise.
19325         * locale/C-translit.h: Likewise.
19326         * locale/loadarchive.c: Likewise.
19327         * locale/programs/3level.h: Likewise.
19328         * locale/programs/charmap.c: Likewise.
19329         * locale/programs/charmap.h: Likewise.
19330         * locale/programs/ld-address.c: Likewise.
19331         * locale/programs/ld-collate.c: Likewise.
19332         * locale/programs/ld-ctype.c: Likewise.
19333         * locale/programs/ld-identification.c: Likewise.
19334         * locale/programs/ld-measurement.c: Likewise.
19335         * locale/programs/ld-messages.c: Likewise.
19336         * locale/programs/ld-monetary.c: Likewise.
19337         * locale/programs/ld-name.c: Likewise.
19338         * locale/programs/ld-numeric.c: Likewise.
19339         * locale/programs/ld-paper.c: Likewise.
19340         * locale/programs/ld-telephone.c: Likewise.
19341         * locale/programs/ld-time.c: Likewise.
19342         * locale/programs/linereader.c: Likewise.
19343         * locale/programs/locale.c: Likewise.
19344         * locale/programs/locarchive.c: Likewise.
19345         * locale/programs/locfile.h: Likewise.
19346         * locale/programs/repertoire.c: Likewise.
19347         * locale/programs/simple-hash.c: Likewise.
19348         * locale/programs/simple-hash.h: Likewise.
19349         * malloc/memusage.c: Likewise.
19350         * malloc/memusagestat.c: Likewise.
19351         * nis/nis_defaults.c: Likewise.
19352         * nis/nis_hash.c: Likewise.
19353         * nis/nis_print.c: Likewise.
19354         * nis/nis_xdr.c: Likewise.
19355         * nscd/connections.c: Likewise.
19356         * nscd/hstcache.c: Likewise.
19357         * nscd/nscd_gethst_r.c: Likewise.
19358         * nscd/nscd_getserv_r.c: Likewise.
19359         * nscd/nscd_helper.c: Likewise.
19360         * nscd/servicescache.c: Likewise.
19361         * nss/makedb.c: Likewise.
19362         * nss/nss_db/db-XXX.c: Likewise.
19363         * nss/nss_db/db-initgroups.c: Likewise.
19364         * nss/nss_db/db-netgrp.c: Likewise.
19365         * nss/nss_files/files-network.c: Likewise.
19366         * nss/nss_files/files-parse.c: Likewise.
19367         * posix/bug-regex5.c: Likewise.
19368         * posix/fnmatch_loop.c: Likewise.
19369         * posix/regcomp.c: Likewise.
19370         * posix/regexec.c: Likewise.
19371         * posix/tst-rfc3484-2.c: Likewise.
19372         * posix/tst-rfc3484-3.c: Likewise.
19373         * posix/tst-rfc3484.c: Likewise.
19374         * resolv/nss_dns/dns-canon.c: Likewise.
19375         * resolv/nss_dns/dns-network.c: Likewise.
19376         * resolv/res_init.c: Likewise.
19377         * resolv/res_mkquery.c: Likewise.
19378         * resolv/tst-aton.c: Likewise.
19379         * stdlib/cxa_atexit.c: Likewise.
19380         * stdlib/cxa_finalize.c: Likewise.
19381         * stdlib/gen-fpioconst.c: Likewise.
19382         * stdlib/strtol_l.c: Likewise.
19383         * string/tst-endian.c: Likewise.
19384         * sunrpc/auth_des.c: Likewise.
19385         * sunrpc/clnt_udp.c: Likewise.
19386         * sunrpc/rtime.c: Likewise.
19387         * sunrpc/svcauth_des.c: Likewise.
19388         * sunrpc/xdr.c: Likewise.
19389         * sunrpc/xdr_intXX_t.c: Likewise.
19390         * sunrpc/xdr_rec.c: Likewise.
19391         * sysdeps/generic/ldconfig.h: Likewise.
19392         * sysdeps/generic/ldsodefs.h: Likewise.
19393         * sysdeps/generic/memusage.h: Likewise.
19394         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19395         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19396         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19398         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19399         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19400         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19401         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19402         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19404         * sysdeps/posix/getaddrinfo.c: Likewise.
19405         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19406         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19407         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19408         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19409         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19410         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19411         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19412         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19413         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19414         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19415         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19416         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19417         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19418         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19419         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19420         * sysdeps/x86_64/dl-tls.h: Likewise.
19421         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19422         * time/alt_digit.c: Likewise.
19423         * time/era.c: Likewise.
19424         * wcsmbs/tst-c16c32-1.c: Likewise.
19425
19426 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19427
19428         * math/libm-test.inc (struct test_sincos_data): New type.
19429         (RUN_TEST_LOOP_sincos): New macro.
19430         (sincos_test_data): New variable.
19431         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19432
19433 2013-05-16  Richard Henderson  <rth@redhat.com>
19434
19435         * math/atest-exp2.c (LIMB64): New macro.
19436         (CONSTSZ): New macro.
19437         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19438         (hexdig): Move ...
19439         (print_mpn_fp): ... to function scope.
19440         (read_mpn_hex): Remove.
19441         (get_log2): Remove.
19442         (exp2_mpn): Use mp_log2.
19443         (main): Use mp_exp1.
19444
19445 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19446
19447         * math/libm-test.inc: Remove comment about not testing "inexact"
19448         exceptions.
19449         (INEXACT_EXCEPTION): New macro.
19450         (NO_INEXACT_EXCEPTION): Likewise.
19451         (INVALID_EXCEPTION_OK): Update value.
19452         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19453         (OVERFLOW_EXCEPTION_OK): Likewise.
19454         (UNDERFLOW_EXCEPTION_OK): Likewise.
19455         (IGNORE_ZERO_INF_SIGN): Likewise.
19456         (ERRNO_UNCHANGED): Likewise.
19457         (ERRNO_EDOM): Likewise.
19458         (ERRNO_ERANGE): Likewise.
19459         (test_exceptions): Handle testing "inexact" exceptions.
19460         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19461         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19462         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19463         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19464         INEXACT_EXCEPTION.
19465         (rint_towardzero_test_data): Likewise.
19466         (rint_downward_test_data): Likewise.
19467         (rint_upward_test_data): Likewise.
19468
19469         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19470         with OVERFLOW_EXCEPTION.
19471         (exp10_test_data): Likewise.
19472         (exp2_test_data): Likewise.
19473         (expm1_test_data): Likewise.
19474         (lgamma_test_data): Likewise.
19475         (pow_test_data): Likewise.
19476         (tgamma_test_data): Likewise.
19477         (yn_test_data): Remove duplicate test of overflow.
19478
19479         * math/libm-test.inc (struct test_cc_c_data): New type.
19480         (RUN_TEST_LOOP_cc_c): New macro.
19481         (cpow_test_data): New variable.
19482         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19483
19484         * math/libm-test.inc (struct test_f_L_data): New type.
19485         (RUN_TEST_LOOP_f_L): New macro.
19486         (llrint_test_data): New variable.
19487         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19488         (llrint_tonearest_test_data): New variable.
19489         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19490         (llrint_towardzero_test_data): New variable.
19491         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19492         (llrint_downward_test_data): New variable.
19493         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19494         (llrint_upward_test_data): New variable.
19495         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19496         (llround_test_data): New variable.
19497         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19498
19499 2013-05-13  Peter Collingbourne  <pcc@google.com>
19500
19501         * math/atest-exp2.c (get_log2): Remove const attribute.
19502
19503 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19504
19505         * math/libm-test.inc (struct test_f_l_data): New type.
19506         (RUN_TEST_LOOP_f_l): New macro.
19507         (lrint_test_data): New variable.
19508         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19509         (lrint_tonearest_test_data): New variable.
19510         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19511         (lrint_towardzero_test_data): New variable.
19512         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19513         (lrint_downward_test_data): New variable.
19514         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19515         (lrint_upward_test_data): New variable.
19516         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19517         (lround_test_data): New variable.
19518         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19519
19520 2013-05-15  Peter Collingbourne  <pcc@google.com>
19521
19522         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19523         (EXTRACT_WORDS64) Use where appropriate.
19524         (INSERT_WORDS64) Likewise.
19525
19526         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19527         constraints with x constraints.
19528         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19529
19530         * malloc/obstack.c (_obstack_compat): Add initializer.
19531
19532 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19533
19534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19535         si_trapno and add si_addr_lsb to _sifields.sigfault.
19536         (si_trapno): Remove macro.
19537         (si_addr_lsb): Define new macro.
19538         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19539
19540 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19541
19542         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19543         instead of TEST_f_l.
19544         (llrint_test_tonearest): Likewise.
19545         (llrint_test_towardzero): Likewise.
19546         (llrint_test_downward): Likewise.
19547         (llrint_test_upward): Likewise.
19548         (llround_test): Likewise.
19549
19550         * math/libm-test.inc (struct test_f_i_data): Add comment.
19551         (RUN_TEST_LOOP_f_b): New macro.
19552         (RUN_TEST_LOOP_f_b_tg): Likewise.
19553         (finite_test_data): New variable.
19554         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19555         (isfinite_test_data): New variable.
19556         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19557         (isinf_test_data): New variable.
19558         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19559         (isnan_test_data): New variable.
19560         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19561         (isnormal_test_data): New variable.
19562         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19563         (issignaling_test_data): New variable.
19564         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19565         (signbit_test_data): New variable.
19566         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19567
19568         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19569         with INVALID_EXCEPTION.
19570         (acosh_test_data): Likewise.
19571         (asin_test_data): Likewise.
19572         (atanh_test_data): Likewise.
19573         (fmod_test_data): Likewise.
19574         (log_test_data): Likewise.
19575         (log10_test_data): Likewise.
19576         (log2_test_data): Likewise.
19577         (pow_test_data): Likewise.
19578         (sqrt_test_data): Likewise.
19579         (y0_test_data): Likewise.
19580         (y1_test_data): Likewise.
19581         (yn_test_data): Likewise.
19582
19583         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19584         function contents.
19585
19586         * math/libm-test.inc (struct test_ff_i_data): New type.
19587         (RUN_TEST_LOOP_ff_i_tg): New macro.
19588         (isgreater_test_data): New variable.
19589         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19590         (isgreaterequal_test_data): New variable.
19591         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19592         (isless_test_data): New variable.
19593         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19594         (islessequal_test_data): New variable.
19595         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19596         (islessgreater_test_data): New variable.
19597         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19598         (isunordered_test_data): New variable.
19599         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19600
19601 2013-05-14  David S. Miller  <davem@davemloft.net>
19602
19603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19604
19605 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19606
19607         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19608
19609         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19610         extra_test to int.
19611         (struct test_f_i_data): Change type of max_ulp to int.
19612
19613         * math/libm-test.inc (test_ffI_f1_data): New type.
19614         (RUN_TEST_LOOP_ffI_f1): New macro.
19615         (remquo_test_data): New variable.
19616         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19617
19618         * setjmp/tst-setjmp-fp.c: New file.
19619         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19620         (link-libm): New variable.
19621         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19622
19623         * math/libm-test.inc (struct test_f_i_data): New type.
19624         (RUN_TEST_LOOP_f_i): New macro.
19625         (RUN_TEST_LOOP_f_i_tg): Likewise.
19626         (fpclassify_test_data): New variable.
19627         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19628         (ilogb_test_data): New variable.
19629         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19630
19631         * math/libm-test.inc (scalbln_test): Correct function name in END
19632         call.
19633
19634         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19635         (RUN_TEST_LOOP_fI_f1): New macro.
19636         (frexp_test_data): New variable.
19637         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19638
19639         * math/libm-test.inc (struct test_fF_f1_data): New type.
19640         (RUN_TEST_LOOP_fF_f1): New macro.
19641         (modf_test_data): New variable.
19642         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19643
19644         * math/libm-test.inc (struct test_f_f1_data): New type.
19645         (RUN_TEST_LOOP_f_f1): New macro.
19646         (gamma_test_data): New variable.
19647         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19648         (lgamma_test_data): New variable.
19649         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19650
19651 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19652
19653         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19654         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19655         (main): Comment "tls" pseudo-hwcap.
19656
19657 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19658
19659         * math/libm-test.inc (struct test_fl_f_data): New type.
19660         (RUN_TEST_LOOP_fl_f): New variable.
19661         (scalbln_test_data): New variable.
19662         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19663
19664         * math/libm-test.inc (struct test_fi_f_data): New type.
19665         (RUN_TEST_LOOP_fi_f): New macro.
19666         (ldexp_test_data): New variable.
19667         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19668         (scalbn_test_data): New variable.
19669         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19670
19671         * math/libm-test.inc (struct test_c_f_data): New type.
19672         (RUN_TEST_LOOP_c_f): New macro.
19673         (cabs_test_data): New variable.
19674         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19675         (carg_test_data): New variable.
19676         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19677         (cimag_test_data): New variable.
19678         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19679         (creal_test_data): New variable.
19680         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19681
19682         * math/libm-test.inc (struct test_if_f_data): New type.
19683         (RUN_TEST_LOOP_if_f): New macro.
19684         (jn_test_data): New variable.
19685         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19686         (yn_test_data): New variable.
19687         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19688
19689         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19690
19691 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19692
19693         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19694         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19695
19696 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19697
19698         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19699         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19700         (bench-deps): Add bench-timing.h.
19701         * benchtests-bench-skeleton.c: Include bench-timing.h.
19702         (main): Use TIMING_* macros instead of clock_gettime.
19703         * benchtests/bench-timing.h: New file.
19704
19705         [BZ #14582]
19706         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19707         Renamed from _LIB_VERSION.
19708         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19709
19710 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19711
19712         * math/libm-test.inc (struct test_fff_f_data): New type.
19713         (RUN_TEST_LOOP_fff_f): New macro.
19714         (fma_test_data): New variable.
19715         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19716         (fma_towardzero_test_data): New variable.
19717         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19718         (fma_downward_test_data): New variable.
19719         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19720         (fma_upward_test_data): New variable.
19721         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19722
19723         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19724         (struct test_c_c_data): New type.
19725         (RUN_TEST_LOOP_c_c): New macro.
19726         (cacos_test_data): New variable.
19727         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19728         (cacosh_test_data): New variable.
19729         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19730         (casin_test_data): New variable.
19731         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19732         (casinh_test_data): New variable.
19733         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19734         (catan_test_data): New variable.
19735         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19736         (catanh_test_data): New variable.
19737         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19738         (ccos_test_data): New variable.
19739         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19740         (ccosh_test_data): New variable.
19741         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19742         (cexp_test_data): New variable.
19743         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19744         (clog_test_data): New variable.
19745         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19746         (clog10_test_data): New variable.
19747         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19748         (conj_test_data): New variable.
19749         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19750         (cproj_test_data): New variable.
19751         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19752         (csin_test_data): New variable.
19753         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19754         (csinh_test_data): New variable.
19755         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19756         (csqrt_test_data): New variable.
19757         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19758         (ctan_test_data): New variable.
19759         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19760         (ctan_tonearest_test_data): New variable.
19761         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19762         (ctan_towardzero_test_data): New variable.
19763         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19764         (ctan_downward_test_data): New variable.
19765         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19766         (ctan_upward_test_data): New variable.
19767         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19768         (ctanh_test_data): New variable.
19769         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19770         (ctanh_tonearest_test_data): New variable.
19771         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19772         (ctanh_towardzero_test_data): New variable.
19773         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19774         (ctanh_downward_test_data): New variable.
19775         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19776         (ctanh_upward_test_data): New variable.
19777         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19778         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19779         of BUILD_COMPLEX.
19780
19781         * math/libm-test.inc (struct test_ff_f_data): New type.
19782         (struct test_ff_f_data_nexttoward): Likewise.
19783         (RUN_TEST_LOOP_2_f): New macro.
19784         (RUN_TEST_LOOP_ff_f): Likewise.
19785         (atan2_test_data): New variable.
19786         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19787         (copysign_test_data): New variable.
19788         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19789         (fdim_test_data): New variable.
19790         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19791         (fmax_test_data): New variable.
19792         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19793         (fmin_test_data): New variable.
19794         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19795         (fmod_test_data): New variable.
19796         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19797         (hypot_test_data): New variable.
19798         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19799         (nextafter_test_data): New variable.
19800         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19801         (nexttoward_test_data): New variable.
19802         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19803         (pow_test_data): New variable.
19804         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19805         (pow_tonearest_test_data): New variable.
19806         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19807         (pow_towardzero_test_data): New variable.
19808         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19809         (pow_downward_test_data): New variable.
19810         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19811         (pow_upward_test_data): New variable.
19812         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19813         (remainder_test_data): New variable.
19814         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19815         (scalb_test_data): New variable.
19816         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19817         * sysdeps/i386/fpu/libm-test-ulps: Update.
19818
19819 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19820
19821         * math/libm-test.inc (fma_test): Use max_value instead of local
19822         variable fltmax.
19823         (nextafter_test): Likewise.
19824
19825         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19826         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19827         (acos_downward_test_data): New variable.
19828         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19829         (acos_upward_test_data): New variable.
19830         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19831         (acosh_test_data): New variable.
19832         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19833         (asin_test_data): New variable.
19834         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19835         (asin_tonearest_test_data): New variable.
19836         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19837         (asin_towardzero_test_data): New variable.
19838         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19839         (asin_downward_test_data): New variable.
19840         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19841         (asin_upward_test_data): New variable.
19842         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19843         (asinh_test_data): New variable.
19844         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19845         (atan_test_data): New variable.
19846         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19847         (atanh_test_data): New variable.
19848         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19849         (cbrt_test_data): New variable.
19850         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19851         (ceil_test_data): New variable.
19852         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19853         (cos_test_data): New variable.
19854         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19855         (cos_tonearest_test_data): New variable.
19856         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19857         (cos_towardzero_test_data): New variable.
19858         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19859         (cos_downward_test_data): New variable.
19860         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19861         (cos_upward_test_data): New variable.
19862         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19863         (cosh_test_data): New variable.
19864         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19865         (cosh_tonearest_test_data): New variable.
19866         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19867         (cosh_towardzero_test_data): New variable.
19868         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19869         (cosh_downward_test_data): New variable.
19870         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19871         (cosh_upward_test_data): New variable.
19872         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19873         (erf_test_data): New variable.
19874         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19875         (erfc_test_data): New variable.
19876         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19877         (exp_test_data): New variable.
19878         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19879         (exp_tonearest_test_data): New variable.
19880         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19881         (exp_towardzero_test_data): New variable.
19882         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19883         (exp_downward_test_data): New variable.
19884         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19885         (exp_upward_test_data): New variable.
19886         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19887         (exp10_test_data): New variable.
19888         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19889         (exp2_test_data): New variable.
19890         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19891         (expm1_test_data): New variable.
19892         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19893         (fabs_test_data): New variable.
19894         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19895         (floor_test_data): New variable.
19896         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19897         (j0_test_data): New variable.
19898         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19899         (j1_test_data): New variable.
19900         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19901         (log_test_data): New variable.
19902         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19903         (log10_test_data): New variable.
19904         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19905         (log1p_test_data): New variable.
19906         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19907         (log2_test_data): New variable.
19908         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19909         (logb_test_data): New variable.
19910         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19911         (logb_downward_test_data): New variable.
19912         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19913         (nearbyint_test_data): New variable.
19914         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19915         (rint_test_data): New variable.
19916         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19917         (rint_tonearest_test_data): New variable.
19918         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19919         (rint_towardzero_test_data): New variable.
19920         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19921         (rint_downward_test_data): New variable.
19922         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19923         (rint_upward_test_data): New variable.
19924         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19925         (round_test_data): New variable.
19926         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19927         (sin_test_data): New variable.
19928         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19929         (sin_tonearest_test_data): New variable.
19930         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19931         (sin_towardzero_test_data): New variable.
19932         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19933         (sin_downward_test_data): New variable.
19934         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19935         (sin_upward_test_data): New variable.
19936         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19937         (sinh_test_data): New variable.
19938         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19939         (sinh_tonearest_test_data): New variable.
19940         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19941         (sinh_towardzero_test_data): New variable.
19942         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19943         (sinh_downward_test_data): New variable.
19944         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19945         (sinh_upward_test_data): New variable.
19946         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19947         (sqrt_test_data): New variable.
19948         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19949         (tan_test_data): New variable.
19950         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19951         (tan_tonearest_test_data): New variable.
19952         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19953         (tan_towardzero_test_data): New variable.
19954         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19955         (tan_downward_test_data): New variable.
19956         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19957         (tan_upward_test_data): New variable.
19958         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19959         (tanh_test_data): New variable.
19960         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19961         (tgamma_test_data): New variable.
19962         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19963         (trunc_test_data): New variable.
19964         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19965         (y0_test_data): New variable.
19966         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19967         (y1_test_data): New variable.
19968         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19969         (significand_test_data): New variable.
19970         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19971
19972 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19973
19974         [BZ #12387]
19975         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19976
19977 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19978
19979         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19980
19981 2013-05-10  Andreas Jaeger  <aj@suse.de>
19982
19983         [BZ #15448]
19984         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19985         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19986
19987 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19988
19989         * math/gen-libm-test.pl (adjust_arg): New function.
19990         (special_functions): Handle generating output in both functions
19991         and arrays.
19992         (parse_args): Likewise.
19993         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19994         $in_func argument to parse_args.
19995         * math/libm-test.inc (struct test_f_f_data): New type.
19996         (IF_ROUND_INIT_): New macro.
19997         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19998         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19999         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20000         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20001         (ROUND_RESTORE_): Likewise.
20002         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20003         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20004         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20005         (ROUND_RESTORE_FE_UPWARD): Likewise.
20006         (RUN_TEST_LOOP_f_f): New macro.
20007         (acos_test_data): New variable.
20008         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20009         (acos_tonearest_test_data): New variable.
20010         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20011
20012 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20013
20014         * benchtests/bench-skeleton.c (startup): Fix coding style.
20015
20016 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20017
20018         [BZ #6809]
20019         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20020         negative infinity argument.
20021         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20022         negative infinity argument.
20023         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20024         negative infinity argument.
20025         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20026         domain errors.
20027
20028 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20029
20030         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20031         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20032         * iconv/iconv_prog.c (main): Likewise.
20033         * locale/programs/charmap-dir.c (charmap_readdir)
20034         (fopen_uncompressed): Likewise.
20035         * locale/programs/locfile.c (siblings_uncached)
20036         (write_locale_data): Use lstat64 instead of lstat.
20037         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20038         stat.
20039
20040 2013-05-10  Andreas Jaeger  <aj@suse.de>
20041
20042         [BZ #15395]
20043         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20044         localization.
20045         Include <locale.h>.
20046
20047 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20048
20049         * elf/dl-close.c (_dl_close_worker): Add comments.
20050
20051 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20052
20053         [BZ #15359]
20054         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20055         high part of pi/2.
20056         (__ieee754_rem_pio2l): Update comments.
20057
20058         [BZ #15429]
20059         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20060         high part of pi/2.
20061         (__ieee754_rem_pio2l): Update comments.
20062
20063         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20064         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20065
20066         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20067         M_PI_4l.
20068
20069         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20070         (M_PI_34_LOG10El): Likewise.
20071         (M_PI2_LOG10El): Likewise.
20072         (M_PI4_LOG10El): Likewise.
20073         (M_PI_LOG10El): Likewise.
20074
20075 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20076
20077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20078
20079 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20080
20081         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20082         (MINUS_ZERO_INIT): Likewise.
20083         (PLUS_INFTY_INIT): Likewise.
20084         (MINUS_INFTY_INIT): Likewise.
20085         (QNAN_VALUE_INIT): Likewise.
20086         (MAX_VALUE_INIT): Likewise.
20087         (MIN_VALUE_INIT): Likewise.
20088         (MIN_SUBNORM_VALUE_INIT): Likewise.
20089         (plus_zero): Initialize with PLUS_ZERO_INIT.
20090         (minus_zero): Initialize with MINUS_ZERO_INIT.
20091         (plus_infty): Initialize with PLUS_INFTY_INIT.
20092         (minus_infty): Initialize with MINUS_INFTY_INIT.
20093         (qnan_value): Initialize with QNAN_VALUE_INIT.
20094         (max_value): Initialize with MAX_VALUE_INIT.
20095         (min_value): Initialize with MIN_VALUE_INIT.
20096         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20097
20098         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20099         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20100         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20101         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20102
20103         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20104         (RUN_TEST_2_f): Likewise.
20105         (RUN_TEST_ff_f): Likewise.
20106         (RUN_TEST_fi_f): Likewise.
20107         (RUN_TEST_fl_f): Likewise.
20108         (RUN_TEST_fff_f): Likewise.
20109         (RUN_TEST_c_f): Likewise.
20110         (RUN_TEST_f_f1): Likewise.
20111         (RUN_TEST_fF_f1): Likewise.
20112         (RUN_TEST_fI_f1): Likewise.
20113         (RUN_TEST_ffI_f1): Likewise.
20114         (RUN_TEST_c_c): Likewise.
20115         (RUN_TEST_cc_c): Likewise.
20116         (RUN_TEST_f_i): Likewise.
20117         (RUN_TEST_f_i_tg): Likewise.
20118         (RUN_TEST_ff_i_tg): Likewise.
20119         (RUN_TEST_f_b): Likewise.
20120         (RUN_TEST_f_b_tg): Likewise.
20121         (RUN_TEST_f_l): Likewise.
20122         (RUN_TEST_f_L): Likewise.
20123         (RUN_TEST_sincos): Likewise.
20124         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20125         whether to show exceptions.  Do not include ");\n" in return
20126         value.
20127         (special_functions): Output call to RUN_TEST_sincos instead of
20128         check_float calls.  Update calls to new_test.
20129         (parse_args): Output call to single RUN_TEST_* macro instead of
20130         check_* calls and other assignments.  Update calls to new_test.
20131
20132         [BZ #2546]
20133         [BZ #2560]
20134         [BZ #5159]
20135         [BZ #15426]
20136         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20137         input to result for tgamma overflow.
20138         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20139         (gamma_coeff): New variable.
20140         (NCOEFF): New macro.
20141         (gamma_positive): New function.
20142         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20143         underflow here.  Use gamma_positive instead of exp (lgamma) for
20144         other arguments.
20145         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20146         (gamma_coeff): New variable.
20147         (NCOEFF): New macro.
20148         (gammaf_positive): New function.
20149         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20150         underflow here.  Use gamma_positive instead of exp (lgamma) for
20151         other arguments.
20152         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20153         (gamma_coeff): New variable.
20154         (NCOEFF): New macro.
20155         (gammal_positive): New function.
20156         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20157         underflow here.  Use gamma_positive instead of exp (lgamma) for
20158         other arguments.
20159         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20160         (gamma_coeff): New variable.
20161         (NCOEFF): New macro.
20162         (gammal_positive): New function.
20163         (__ieee754_gammal_r): Handle positive infinity, overflow and
20164         underflow here.  Handle NaN the same as positive infinity.  Remove
20165         check x < 0xffffffff for negative integers.  Use gamma_positive
20166         instead of exp (lgamma) for other arguments.
20167         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20168         (gamma_coeff): New variable.
20169         (NCOEFF): New macro.
20170         (gammal_positive): New function.
20171         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20172         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20173         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20174         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20175         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20176         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20177         * sysdeps/generic/math_private.h (__gamma_productf): New
20178         prototype.
20179         (__gamma_product): Likewise.
20180         (__gamma_productl): Likewise.
20181         * math/Makefile (libm-calls): Add gamma_product.
20182         * math/libm-test.inc (tgamma_test): Add more tests.
20183         * sysdeps/i386/fpu/libm-test-ulps: Update.
20184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20185
20186 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20187
20188         * benchtests/bench-skeleton.c (main): Preheat CPU.
20189
20190 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20191
20192         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20193
20194 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20195
20196         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20197         and _dl_skip_args_internal.
20198
20199 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20200
20201         * manual/message.texi (Message Translation): Talk about users.
20202         Message to key mapping impacts design.
20203
20204 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20205
20206         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20207
20208         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20209
20210         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20211         * sysdeps/wordsize-64/glob64.c: ... here.
20212
20213         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20214         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20215         New macros.
20216
20217         * debug/getlogin_r_chk.c: Moved to ...
20218         * login/getlogin_r_chk.c: ... here.
20219         * debug/Makefile (routines): Move getlogin_r_chk to ...
20220         * login/Makefile (routines): ... here.
20221         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20222         * login/Versions (libc: GLIBC_2.4): ... here.
20223
20224         * io/poll.c (__poll): Renamed from poll.
20225         Add libc_hidden_def.
20226         (poll): Define as weak alias.
20227
20228         * debug/ptsname_r_chk.c: Moved to ...
20229         * login/ptsname_r_chk.c: ... here.
20230         * debug/Makefile (routines): Move ptsname_r_chk to ...
20231         * login/Makefile (routines): ... here.
20232         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20233         * login/Versions (libc: GLIBC_2.4): ... here.
20234
20235         * posix/getlogin.c: Moved to ...
20236         * login/getlogin.c: ... here.
20237         * posix/getlogin_r.c: Moved to ...
20238         * login/getlogin_r.c: ... here.
20239         * posix/getlogin_r.c: Moved to ...
20240         * login/getlogin_r.c: ... here.
20241         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20242         * login/Makefile (routines): ... here.
20243         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20244         * login/Versions (libc: GLIBC_2.0): ... here.
20245
20246         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20247         (setrlimit): Define as weak alias.
20248
20249         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20250         Call __ names for open, ftruncate, and close.
20251         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20252         (truncate): Define as weak alias.
20253
20254 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20255
20256         * math/gen-libm-test.pl (parse_args): Initialize x before each
20257         test of frexp, modf and remquo.
20258
20259         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20260         test signgam value.
20261
20262 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20263
20264         [BZ #15418]
20265         [BZ #15419]
20266         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20267         internal tests.
20268         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20269
20270 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20271
20272         * elf/dl-writev.h: New file.
20273         * elf/dl-misc.c: Include it.
20274         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20275         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20276
20277 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20278
20279         * math/libm-test.inc (noXFails): Remove variable.
20280         (noXPasses): Likewise.
20281         (BUILD_COMPLEX_INT): Remove macro.
20282         (print_screen): Remove xfail argument.
20283         (print_screen_max_error): Likewise.
20284         (update_stats): Likewise.
20285         (print_max_error): Likewise.  Update calls to other affected
20286         functions.
20287         (print_complex_max_error): Likewise.
20288         (test_single_exception): Update calls to print_screen.
20289         (test_single_errno): Likewise.
20290         (check_float_internal): Remove xfail argument.  Update calls to
20291         other affected functions.
20292         (check_float): Likewise.
20293         (check_complex): Likewise.
20294         (check_int): Likewise.
20295         (check_long): Likewise.
20296         (check_bool): Likewise.
20297         (check_longlong): Likewise.
20298         (main): Don't print noXFails and noXPasses.
20299         * math/gen-libm-test.pl (top level): Don't mention expected
20300         failure handling in comment.
20301         (new_test): Don't handle expected failures.
20302         (parse_args): Don't mention expected failure handling in comment.
20303         (generate_testfile): Don't handle expected failures.
20304         (parse_ulps): Likewise.
20305         (print_ulps_file): Likewise.
20306         (get_failure): Remove function.
20307         (output_test): Don't handle expected failures.
20308         * make/README.libm-test: Don't mention expected failure handling.
20309
20310         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20311         (minus_zero): Likewise.
20312         (plus_infty): Likewise.
20313         (minus_infty): Likewise.
20314         (qnan_value): Likewise.
20315         (max_value): Likewise.
20316         (min_value): Likewise.
20317         (min_subnorm_value): Likewise.
20318         (initialize): Do not initialize those variables dynamically.
20319
20320 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20321
20322         * io/open.c (__open_2): Moved to ...
20323         * io/open_2.c: ... this new file.
20324         * io/open64.c (__open64_2): Moved to ...
20325         * io/open64_2.c: ... this new file.
20326         * io/openat.c (__openat_2): Moved to ...
20327         * io/openat_2.c: ... this new file.
20328         * io/openat64.c (__openat64_2): Moved to ...
20329         * io/openat64_2.c: ... this new file.
20330         * io/Makefile (routines): Add them.
20331         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20332         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20333         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20334         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20335         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20336         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20337         (__openat64): Add hidden_ver.
20338         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20339         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20340
20341         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20342         Separately conditionalize setting of GLRO(dl_sysinfo) so
20343         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20344         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20345
20346 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20347
20348         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20349         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20350         definition.
20351         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20352         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20353         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20354         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20355         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20356
20357 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20358
20359         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20360         test signgam value.
20361
20362         * math/libm-test.inc (hypot_test): Do not use
20363         IGNORE_ZERO_INF_SIGN.
20364
20365 2013-05-03  Andreas Jaeger  <aj@suse.de>
20366
20367         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20368         Linux 3.9.
20369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20370         (PF_MAX): Adjust for VSOCK change.
20371
20372 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20373
20374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20375
20376 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20377
20378         [BZ #15264]
20379         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20380         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20381         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20382
20383 2013-05-02  David S. Miller  <davem@davemloft.net>
20384
20385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20386
20387 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20388
20389         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20390
20391 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20392
20393         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20394
20395 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20396
20397         [BZ #14952]
20398         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20399         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20400         Use __attribute__ ((__gnu_inline__)).
20401         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20402         Don't use __attribute__ ((__gnu_inline__)).
20403
20404 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20405
20406         [BZ #15423]
20407         * math/s_catan.c (__catan): Handle small real or imaginary part of
20408         input specially to avoid spurious underflow.
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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20420
20421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20422
20423 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20424
20425         [BZ #15416]
20426         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20427         accurately for denominator in atan2.
20428         * math/s_catanf.c (__catanf): Likewise.
20429         * math/s_catanh.c (__catanh): Likewise.
20430         * math/s_catanhf.c (__catanhf): Likewise.
20431         * math/s_catanhl.c (__catanhl): Likewise.
20432         * math/s_catanl.c (__catanl): Likewise.
20433         * math/libm-test.inc (catan_test): Add more tests.
20434         (catanh_test): Likewise.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437
20438 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20439
20440         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20441
20442         * benchtests/Makefile (bench): Remove slow benchmarks.
20443         * benchtests/atan-inputs: Add slow benchmark inputs.
20444         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20445         (BENCH_FUNC): Accept variant offset.
20446         (VARIANT): Define.
20447         * benchtests/bench-skeleton.c (main): Run benchmark for each
20448         variant.
20449         * benchtests/cos-inputs: Add slow benchmark inputs.
20450         * benchtests/exp-inputs: Likewise.
20451         * benchtests/pow-inputs: Likewise.
20452         * benchtests/sin-inputs: Likewise.
20453         * benchtests/slowatan-inputs: Remove.
20454         * benchtests/slowatan.c: Remove.
20455         * benchtests/slowcos-inputs: Remove.
20456         * benchtests/slowcos.c: Remove.
20457         * benchtests/slowexp-inputs: Remove.
20458         * benchtests/slowexp.c: Remove.
20459         * benchtests/slowpow-inputs: Remove.
20460         * benchtests/slowpow.c: Remove.
20461         * benchtests/slowsin-inputs: Remove.
20462         * benchtests/slowsin.c: Remove.
20463         * benchtests/slowtan-inputs: Remove.
20464         * benchtests/slowtan.c: Remove.
20465         * benchtests/tan-inputs: Add slow benchmark inputs.
20466         * scripts/bench.pl: Parse comments and directives.
20467
20468         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20469         in CPPFLAGS.
20470         ($(objpfx)bench-%.c): Remove *-ITER.
20471         * benchtests/bench-modf.c: Remove definition of ITER.
20472         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20473         (main): Loop for DURATION seconds instead of fixed number of
20474         iterations.
20475         * scripts/bench.pl: Don't expect iterations in parameters.
20476
20477 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20478
20479         * io/fchdir.c (__fchdir): Renamed from fchdir.
20480         (fchdir): Define as weak alias.
20481
20482 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20483
20484         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20485         (ERRNO_EDOM): Likewise.
20486         (ERRNO_ERANGE): Likewise.
20487         (noErrnoTests): New variable.
20488         (init_max_error): Set errno to 0.
20489         (test_single_errno): New function.
20490         (test_errno): Likewise.
20491         (check_float_internal): Call test_errno.  Set errno to 0.
20492         (check_complex): Refer to errno tests in comment.
20493         (check_int): Call test_errno.  Set errno to 0.
20494         (check_long): Likewise.
20495         (check_bool): Likewise.
20496         (check_longlong): Likewise.
20497         (cos_test): Use ERRNO_* flags for errno tests instead of
20498         check_int.
20499         (expm1_test): Likewise.
20500         (fmod_test): Likewise.
20501         (ilogb_test): Likewise.
20502         (lgamma_test): Likewise.
20503         (pow_test): Likewise.
20504         (remainder_test): Likewise.
20505         (sin_test): Likewise.
20506         (tan_test): Likewise.
20507         (yn_test): Likewise.
20508         (initialize): Set errno to 0.
20509         (main): Print number of errno tests.
20510         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20511
20512 2013-04-29  Andreas Jaeger  <aj@suse.de>
20513
20514         [BZ #15084]
20515         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20516         and RES_USEVC.
20517
20518         [BZ #15085]
20519         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20520         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20521         unimplemented.
20522
20523         [BZ #15380]
20524         * stdlib/random.c (__initstate): Return NULL if
20525         __initstate fails.
20526
20527         [BZ #15086]
20528         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20529         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20530         RES_SNGLKUPREOP.
20531
20532 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20533
20534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20535
20536 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20537
20538         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20539         of individual tests.
20540         (casin_test): Likewise.
20541         (casinh_test): Likewise.
20542
20543 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20544
20545         [BZ #15409]
20546         * math/s_catan.c (__catan): Handle arguments with large real or
20547         imaginary part separately without squaring.
20548         * math/s_catanf.c (__catanf): Likewise.
20549         * math/s_catanh.c (__catanh): Likewise.
20550         * math/s_catanhf.c (__catanhf): Likewise.
20551         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20552         and redefine.
20553         (__catanhl): Handle arguments with large real or imaginary part
20554         separately without squaring.
20555         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20556         and redefine.
20557         (__catanl): Handle arguments with large real or imaginary part
20558         separately without squaring.
20559         * math/libm-test.inc (catan_test): Add more tests.
20560         (catanh_test): Likewise.
20561         * sysdeps/i386/fpu/libm-test-ulps: Update.
20562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563
20564 2013-04-27  Andreas Jaeger  <aj@suse.de>
20565
20566         [BZ #15007]
20567         * stdlib/stdlib.h: Update guards for qecvt.
20568         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20569         <stdlib.h>.
20570
20571 2013-04-27  Allan McRae  <allan@archlinux.org>
20572
20573         * sysdeps/i386/fpu/libm-test-ulps: Update.
20574
20575 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20576
20577         [BZ #15406]
20578         * math/s_catan.c: Include <float.h>.
20579         (__catan): Ensure underflow exception occurs for underflowed
20580         result.
20581         * math/s_catanf.c: Include <float.h>.
20582         (__catanf): Ensure underflow exception occurs for underflowed
20583         result.
20584         * math/s_catanh.c: Include <float.h>.
20585         (__catanh): Ensure underflow exception occurs for underflowed
20586         result.
20587         * math/s_catanhf.c: Include <float.h>.
20588         (__catanhf): Ensure underflow exception occurs for underflowed
20589         result.
20590         * math/s_catanhl.c: Include <float.h>.
20591         (__catanhl): Ensure underflow exception occurs for underflowed
20592         result.
20593         * math/s_catanl.c: Include <float.h>.
20594         (__catanl): Ensure underflow exception occurs for underflowed
20595         result.
20596         * math/libm-test.inc (catan_test): Add more tests.
20597         (catanh_test): Likewise.
20598
20599         [BZ #15405]
20600         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20601         underflowed result.
20602         * math/s_ccoshf.c (__ccoshf): Likewise.
20603         * math/s_ccoshl.c (__ccoshl): Likewise.
20604         * math/s_csin.c (__csin): Likewise.
20605         * math/s_csinf.c (__csinf): Likewise.
20606         * math/s_csinh.c (__csinh): Likewise.
20607         * math/s_csinhf.c (__csinhf): Likewise.
20608         * math/s_csinhl.c (__csinhl): Likewise.
20609         * math/s_csinl.c (__csinl): Likewise.
20610         * math/libm-test.inc (ccos_test): Add more tests.
20611         (ccosh_test): Likewise.
20612         (csin_test): Likewise.
20613         (csinh_test): Likewise.
20614
20615 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20616
20617         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20618         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20619         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20620         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20621         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20622         powerpc/power5+/fpu folders.
20623         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20624
20625
20626 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20627
20628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20629
20630 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20631
20632         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20633         additions to variable.
20634         [$(config-machine) = x86_64] (modules-names): Likewise.
20635         ($(objpfx)tst-audit3): Remove dependency.
20636         ($(objpfx)tst-audit3.out): Likewise.
20637         ($(objpfx)tst-audit4): Likewise.
20638         ($(objpfx)tst-audit4.out): Likewise.
20639         ($(objpfx)tst-audit5): Likewise.
20640         ($(objpfx)tst-audit5.out): Likewise.
20641         ($(objpfx)tst-audit6): Likewise.
20642         ($(objpfx)tst-audit6.out): Likewise.
20643         ($(objpfx)tst-audit7): Likewise.
20644         ($(objpfx)tst-audit7.out): Likewise.
20645         (tst-audit3-ENV): Remove variable.
20646         (tst-audit4-ENV): Likewise.
20647         (tst-audit5-ENV): Likewise.
20648         (tst-audit6-ENV): Likewise.
20649         (tst-audit7-ENV): Likewise.
20650         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20651         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20652         addition to variable.
20653         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20658         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20659         tst-audit3, tst-audit4 and tst-audit5.
20660         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20661         tst-audit6 and tst-audit7.
20662         [$(subdir) = elf] (modules-names): Add audit modules for those
20663         tests.
20664         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20665         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20666         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20667         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20668         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20669         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20670         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20671         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20672         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20673         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20674         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20675         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20676         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20677         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20678         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20679         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20680         Likewise.
20681         [$(subdir) = elf && $(config-cflags-avx) = yes]
20682         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20683         [$(subdir) = elf && $(config-cflags-avx) = yes]
20684         (CFLAGS-tst-auditmod4a.c): Likewise.
20685         [$(subdir) = elf && $(config-cflags-avx) = yes]
20686         (CFLAGS-tst-auditmod4b.c): Likewise.
20687         [$(subdir) = elf && $(config-cflags-avx) = yes]
20688         (CFLAGS-tst-auditmod6b.c): Likewise.
20689         [$(subdir) = elf && $(config-cflags-avx) = yes]
20690         (CFLAGS-tst-auditmod6c.c): Likewise.
20691         [$(subdir) = elf && $(config-cflags-avx) = yes]
20692         (CFLAGS-tst-auditmod7b.c): Likewise.
20693         * elf/tst-audit3.c: Move to ...
20694         * sysdeps/x86_64/tst-audit3.c: ... here.
20695         * elf/tst-audit4.c: Move to ...
20696         * sysdeps/x86_64/tst-audit4.c: ... here.
20697         * elf/tst-audit5.c: Move to ...
20698         * sysdeps/x86_64/tst-audit5.c: ... here.
20699         * elf/tst-audit6.c: Move to ...
20700         * sysdeps/x86_64/tst-audit6.c: ... here.
20701         * elf/tst-audit7.c: Move to ...
20702         * sysdeps/x86_64/tst-audit7.c: ... here.
20703         * elf/tst-auditmod3a.c: Move to ...
20704         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20705         * elf/tst-auditmod3b.c: Move to ...
20706         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20707         * elf/tst-auditmod4a.c: Move to ...
20708         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20709         * elf/tst-auditmod4b.c: Move to ...
20710         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20711         * elf/tst-auditmod5a.c: Move to ...
20712         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20713         * elf/tst-auditmod5b.c: Move to ...
20714         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20715         * elf/tst-auditmod6a.c: Move to ...
20716         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20717         * elf/tst-auditmod6b.c: Move to ...
20718         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20719         * elf/tst-auditmod6c.c: Move to ...
20720         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20721         * elf/tst-auditmod7a.c: Move to ...
20722         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20723         * elf/tst-auditmod7b.c: Move to ...
20724         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20725
20726 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20727
20728         [BZ #15366]
20729         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20730         define unconditionally.
20731         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20732         define unconditionally.
20733         (INT8_C, INT16_C, etc.): Likewise.
20734
20735 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20736
20737         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20738         __ehdr_start with hidden visibility.
20739
20740         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20741
20742 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20743
20744         * math/libm-test.inc (cos_test): Use accurate hex constants.
20745         (sincost_test): Likewise.
20746
20747 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20748
20749         * math/libm-test.inc (catan_test): Add more tests.
20750         (catanh_test): Likewise.
20751
20752         * math/s_catanf.c (__catanf): Use suffixed floating-point
20753         constants.
20754         * math/s_catanhf.c (__catanhf): Likewise.
20755         * math/s_catanhl.c (__catanhl): Likewise.
20756         * math/s_catanl.c (__catanl): Likewise.
20757
20758         [BZ #15394]
20759         * math/s_catan.c (__catan): Calculate imaginary part of result
20760         with log1p not log unless computing log of number close to 0.
20761         * math/s_catanf.c (__catanf): Likewise.
20762         * math/s_catanl.c (__catanl): Likewise.
20763         * math/s_catanh.c (__catanh): Calculate real part of result with
20764         log1p not log unless computing log of number close to 0.
20765         * math/s_catanhf.c (__catanhf): Likewise.
20766         * math/s_catanhl.c (__catanhl): Likewise.
20767         * math/libm-test.inc (catan_test): Add more tests.
20768         (catanh_test): Likewise.
20769         * sysdeps/i386/fpu/libm-test-ulps: Update.
20770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20771
20772 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20773
20774         * benchtests/Makefile: Mention files in which fast and slow
20775         paths of math functions are implemented.
20776
20777 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20778
20779         * sysdeps/posix/timespec_get.c: New file.
20780
20781 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20782
20783         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20784         POWER.
20785         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20786         for POWER.
20787         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20788         powerpc/power5/fpu folders.
20789         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20790         * benchtests/Makefile: Add modf testcase.
20791         * benchtests/bench-modf.c: New file: Benchmark test for mo
20792
20793 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20794
20795         [BZ #14888]
20796         * time/Makefile (tests): Add tst-strptime-whitespace.
20797         * time/strptime_l.c (get_number): Use ISSPACE.
20798         (__strptime_internal): Likewise.
20799         * time/tst-strptime-whitespace.c: New test case.
20800
20801 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20802
20803         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20804         member.
20805         (_nss_files_init): Set it here.
20806
20807 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20808
20809         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20810         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20811         unsigned.
20812
20813 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20814
20815         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20816
20817 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20818
20819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20820         size just once.
20821
20822 2013-04-21  David S. Miller  <davem@davemloft.net>
20823
20824         * po/ru.po: Update Russion translation from translation project.
20825
20826 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20827
20828         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20829         and setfsgid.
20830
20831 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20832
20833         * configure.in: Remove i386 configure warning. Remove i386 case.
20834         * configure: Regenerate.
20835         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20836         Add example to error message.
20837         * sysdeps/i386/configure: Regenerate.
20838
20839 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20840
20841         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20842         slowtan.
20843         * benchtests/cos-inputs: New file.
20844         * benchtests/slowcos-inputs: New file.
20845         * benchtests/slowcos.c: New file.
20846         * benchtests/slowtan-inputs: New file.
20847         * benchtests/slowtan.c: New file.
20848         * benchtests/tan-inputs: New file.
20849
20850 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20851
20852         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20853         considered kosher.
20854
20855 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20856
20857         * benchtests/Makefile: Include cppflags-iterator.mk to add
20858         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20859
20860         * Makefile.in (bench-clean): New target.
20861         * benchtests/Makefile (bench-clean): Likewise.
20862
20863 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20864
20865         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20866
20867 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20868
20869         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20870
20871 2013-04-15  Andreas Schwab  <schwab@suse.de>
20872
20873         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20875         * nscd/pwdcache.c (cache_addpw): Likewise.
20876         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20877         more than recsize.
20878
20879 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20880
20881         * benchtests/Makefile (bench): Write all output to
20882         bench-out.tmp together.
20883
20884 2013-04-15  Andreas Schwab  <schwab@suse.de>
20885
20886         * nscd/nscd.c (main): Don't fork again after closing files.
20887
20888 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20889
20890         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20891
20892         * benchtests/Rules (bench-deps): Collect dependencies into a
20893         single variable.  Add Makefile to dependencies.
20894         ($(objpfx)bench-%.c): Depend on bench-deps.
20895
20896 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20897             Xavier Roche  <roche+kml2@exalead.com>
20898
20899         [BZ #15361]
20900         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20901         just that it's a file descriptor.
20902         * manual/llio.texi (Synchronizing AIO Operations): Update description
20903         for EBADF error from aio_fsync.
20904
20905 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20906
20907         * Rules (bench): Move target definition...
20908         * benchtests/Makefile: ... here.
20909
20910 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20911
20912         * math/libm-test.inc (cos_test): Fix PI/2 test.
20913         (sincos_test): Likewise.
20914         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20915         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20916
20917 2013-04-11  Andreas Schwab  <schwab@suse.de>
20918
20919         [BZ #13988]
20920         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20921         accept exponent character only when digits were seen.
20922         * stdio-common/Makefile (tests): Add bug26.
20923         * stdio-common/bug26.c: New file.
20924
20925         [BZ #14293]
20926         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20927         non-freeable.
20928
20929 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20930
20931         * Makeconfig (rtld-prefix): Define built linker prefix.
20932         * Rules (run-bench): Use it.
20933         * math/Makefile (run-regen-ulps): Likewise.
20934
20935         * Rules (bench): Remove eval.
20936
20937 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938             Roland McGrath  <roland@hack.frob.com>
20939             Ondrej Bilka  <neleai@seznam.cz>
20940
20941         [BZ #15346]
20942         * time/getdate.c: Include ctype.h and alloca.h.
20943         (__getdate_r): Trim leading and trailing spaces of input.
20944         * time/tst-getdate.c (tests): Add tests with leading and
20945         trailing spaces.
20946
20947 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20948
20949         [BZ #14280]
20950         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20951         when computing value.
20952
20953 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20954
20955         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20956         Use testrun.sh to run libm tests.
20957
20958         [BZ #15309]
20959         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20960
20961 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20962
20963         [BZ #15264]
20964         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20965
20966 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20967
20968         * Makefile.in (regen-ulps): New target.
20969         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20970         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20971         [ifneq (no,$(PERL)] (regen-ulps): New target.
20972         [ifeq (no,$(PERL)] (regen-ulps): New target.
20973         * math/libm-test.inc (ulps_file_name): Define.
20974         (output_dir): New variable.
20975         (options): Add "output-dir" option.
20976         (parse_opt): Handle 'o' case.
20977         (main): If output_dir is non-NULL use it as a prefix
20978         otherwise use "".
20979         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20980
20981 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20982
20983         [BZ #10060, #10062]
20984         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20985         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20986         fail configure if __sync_val_compare_and_swap is not inlined.
20987         * sysdeps/i386/configure: Regenerate.
20988         * configure.in: Build for i686 when configured for i386.
20989         * configure: Regenerate.
20990         * README: Remove i386 reference.
20991
20992 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20993
20994         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20995         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20996
20997 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20998
20999         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21000         (lmsnanval): New variables.
21001         (F): Add conversion tests.
21002         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21003         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21004
21005         * stdio-common/tstdiomisc.c (F): Properly collect individual
21006         tests' results.
21007
21008         [BZ #14686, #15336]
21009         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21010         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21011         Instead, use input NaN values or generate a qNaN by arithmetic
21012         operation.  Also fix bugs to comply with the standard.
21013         * math/libm-test.inc (remainder_test): Add more tests.
21014
21015         [BZ #15335, #15342]
21016         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21018         input NaN values or generate a qNaN by arithmetic operation.
21019
21020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21021         unreachable code.
21022
21023         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21024         definitions.
21025
21026 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21027
21028         [BZ #14478]
21029         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21030         underflowed result.
21031         * math/s_cexpf.c (__cexpf): Likewise.
21032         * math/s_cexpl.c (__cexpl): Likewise.
21033         * math/libm-test.inc (cexp_test): Add more tests.
21034
21035 2013-04-03  Andreas Schwab  <schwab@suse.de>
21036
21037         [BZ #15330]
21038         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21039         order arrays from heap if bigger than alloca cutoff.
21040
21041 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21042
21043         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21044         (SNAN_TESTS_double): Refer to GCC PR56831.
21045         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21046         GCC PR56828.
21047
21048 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21049
21050         * Rules (bench): Move bench.out after the run is complete.
21051
21052         * Rules (bench): Echo currently running benchmark.
21053
21054         * benchtests/Makefile (bench): Add atan and slowatan.
21055         * benchtests/atan-inputs: New file.
21056         * benchtests/slowatan-inputs: New file.
21057         * benchtests/slowatan.c: New file.
21058
21059         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21061         its value.
21062
21063         [BZ #15305]
21064         * sysdeps/unix/sysv/linux/kernel-features.h
21065         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21066         __ASSUME_XFS_RESTRICTED_CHOWN.
21067         * sysdeps/unix/sysv/linux/pathconf.c
21068         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21069         Save and restore errno.
21070
21071 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21072
21073         [BZ #15327]
21074         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21075         arguments using __kernel_casinh.
21076         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21077         arguments using __kernel_casinhf.
21078         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21079         arguments using __kernel_casinhl.
21080         * math/libm-test.inc (cacosh_test): Add more tests.
21081         * sysdeps/i386/fpu/libm-test-ulps: Update.
21082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21083
21084 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21085
21086         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21088
21089         * bench/Makefile (bench): Add sin and slowsin.
21090         * benchtests/sin-inputs: New file.
21091         * benchtests/slowsin-inputs: New file.
21092         * benchtests/slowsin.c: New file.
21093
21094         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21095         (bench): Add slowexp and slowpow.
21096         (exp-ITER): Increase iterations.
21097         (pow-ITER): Likewise.
21098         * benchtests/exp-inputs: Change input.
21099         * benchtests/pow-inputs: Likewise.
21100         * benchtests/slowexp-inputs: New file.
21101         * benchtests/slowexp.c: New file.
21102         * benchtests/slowpow-inputs: New file.
21103         * benchtests/slowpow.c: New file.
21104
21105 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21106
21107         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21108         instructions.
21109         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21110         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21111         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21112         * benchtests/Makefile: Add rint benchtest.
21113         * benchtests/rint-inputs: Input for rint benchtest.
21114
21115 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21116
21117         * Versions.def (libm): Add GLIBC_2.18.
21118         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21119         hidden libm prototypes.
21120         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21121         * math/Makefile (libm-calls): Add s_issignaling.
21122         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21123         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21124         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21125         declaration.
21126         * math/math.h [__USE_GNU] (issignaling): New macro.
21127         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21128         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21129         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21130         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21131         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21132         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21133         * manual/arith.texi (issignaling): New section.
21134         * manual/libm-err-tab.pl (@all_functions): Update comment.
21135         * math/gen-libm-test.pl (parse_args): Apply special handling for
21136         issignaling.
21137         * math/libm-test.inc (print_float, issignaling_test): New
21138         functions.
21139         (check_float_internal): Add issignaling checks.
21140         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21141         default definition.
21142         * sysdeps/powerpc/math-tests.h: New file.
21143         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21144         tests.
21145         * math/test-snan.c (TEST_FUNC): Likewise.
21146
21147 2013-03-30  David S. Miller  <davem@davemloft.net>
21148
21149         * po/de.po: Update from translation team.
21150
21151 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21152
21153         [BZ #10357]
21154         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21155         imaginary part less than 1.0 and real part less than 0.5
21156         specially.
21157         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21158         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21159         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21160         (cacos_test): Add more tests.
21161         (casin_test): Likewise.
21162         (casinh_test): Likewise.
21163         * sysdeps/i386/fpu/libm-test-ulps: Update.
21164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21165
21166 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21167
21168         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21169         ONE with its value.
21170
21171         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21172         (__pow_mp): Replace ONE and MONE with their values.
21173         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21175         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21176         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21177         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21179
21180         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21181
21182         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21183         (__pow_mp): Replace ZERO and MZERO with their values.
21184         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21185         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21186         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21188         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21189         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21190         (__sqr): Likewise.
21191
21192         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21193
21194         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21195
21196 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21197
21198         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21199         Declare with __attribute__ ((weak)).
21200         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21201         Call __call_tls_dtors only if it's not NULL.
21202
21203 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21204
21205         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21206         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21207         magic __ehdr_start linker symbol if it's defined.
21208         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21209         them up here if it was already done.
21210
21211         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21212         (_dl_aux_init): Use const in cast when setting it.
21213         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21214         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21215         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21216
21217         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21218         Declare them here.
21219         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21220         * csu/libc-tls.c: Nor here.
21221         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21222
21223         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21224         (__libc_message): Never call vsyslog.
21225
21226 2013-03-28  Alan Modra  <amodra@gmail.com>
21227
21228         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21229         Define as empty.
21230         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21231         Likewise.
21232
21233 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21234
21235         [BZ #15214]
21236         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21237         underflow.
21238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21239
21240 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21241
21242         [BZ #15304]
21243         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21244         Don't add gid passed as argument.
21245
21246         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21247
21248 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21249
21250         [BZ #15307]
21251         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21252         imaginary part between 1.0 and 1.5 and real part less than 0.5
21253         specially.
21254         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21255         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21256         * math/libm-test.inc (cacos_test): Add more tests.
21257         (casin_test): Likewise.
21258         (casinh_test): Likewise.
21259         * sysdeps/i386/fpu/libm-test-ulps: Update.
21260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21261
21262 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21263
21264         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21265         constants.
21266         (norm): Likewise.
21267         (denorm): Likewise.
21268         (__dbl_mp): Likewise.
21269         (add_magnitudes): Likewise.
21270         (sub_magnitudes): Likewise.
21271         (__add): Likewise.
21272         (__sub): Likewise.
21273         (__mul): Likewise.
21274         (__sqr): Likewise.
21275         (__inv): Likewise.
21276         (__dvd): Likewise.
21277
21278         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21279         commented code.
21280         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21281         (__dubcos): Likewise.
21282         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21283         (__ieee754_acos): Likewise.
21284         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21285         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21286         (__exp1): Likewise.
21287         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21289         (log1): Likewise.
21290         (my_log2): Likewise.
21291         (checkint): Likewise.
21292         * sysdeps/ieee754/dbl-64/e_remainder.c
21293         (__ieee754_remainder): Likewise.
21294         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21296         (bsloww): Likewise.
21297         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21298
21299         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21300         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21301         MANTISSA_STORE_T to store computations on mantissa.  Use
21302         macros for rounding and division.
21303         (denorm): Likewise.
21304         (__dbl_mp): Likewise.
21305         (add_magnitudes): Likewise.
21306         (sub_magnitudes): Likewise.
21307         (__mul): Likewise.
21308         (__sqr): Likewise.
21309         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21310         powers of two in terms of TWOPOW macro.
21311         (mp_no): Make type of mantissa as MANTISSA_T.
21312         [!RADIXI]: Define RADIXI.
21313         [!TWO52]: Define TWO52.
21314         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21315
21316 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21317
21318         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21319         llroundl symbol when building for PPC32.
21320
21321 2013-03-24  Mark H Weaver  <mhw@netris.org>
21322
21323         * manual/arith.texi (Normalization Functions): Fix prototypes for
21324         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21325
21326 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21327
21328         [BZ #13889]
21329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21330         high value to check if expl overflow.
21331         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21332         to check for underflow and overflow.
21333         * math/libm-test.inc: Add exp test.
21334
21335 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21336
21337         [BZ #11120]
21338         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21339         with NOT_IN_libc.
21340
21341 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21342
21343         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21344         symbol.
21345
21346 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21347
21348         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21349         wrap blocks consisting of several statements.
21350
21351         * sysdeps/generic/math-tests.h: New file.
21352         * sysdeps/i386/fpu/math-tests.h: Likewise.
21353         * math/test-snan.c: Include it.
21354         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21355
21356 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21357
21358         [BZ #15285]
21359         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21360         (__ieee754_j0l): Do not improve calculations using cos of twice
21361         input for inputs above LDBL_MAX / 2.0L.
21362         (__ieee754_y0l): Likewise.
21363         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21364         (__ieee754_j1l): Do not improve calculations using cos of twice
21365         input for inputs above LDBL_MAX / 2.0L.
21366         (__ieee754_y1l): Likewise.
21367         * math/libm-test.inc (j0_test): Add another test.
21368         (j1_test): Likewise.
21369         (y0_test): Likewise.
21370         (y1_test): Likewise.
21371         * sysdeps/i386/fpu/libm-test-ulps: Update.
21372
21373 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21374
21375         * Rules ($(objpfx)bench-%.c): Include code from a C source
21376         file.
21377
21378 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21379
21380         [BZ #15287]
21381         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21382         imaginary part 1.0 and real part less than 0.5 specially.
21383         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21384         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21385         * math/libm-test.inc (cacos_test): Add more tests.
21386         (casin_test): Likewise.
21387         (casinh_test): Likewise.
21388         * sysdeps/i386/fpu/libm-test-ulps: Update.
21389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21390
21391 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21392
21393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21394         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21395
21396 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21397
21398         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21399         * config.make.in (config-cflags-sse4): Remove variable.
21400         (config-cflags-avx): Likewise.
21401         (config-cflags-sse2avx): Likewise.
21402         (config-cflags-novzeroupper): Likewise.
21403         (config-asflags-i686): Likewise.
21404         (have-mfma4): Likewise.
21405         (have-as-vis3): Likewise.
21406         (MIG): Likewise.
21407         * configure.in (MIG): Do not AC_SUBST.
21408         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21409         (libc_cv_cc_sse4): Do not AC_SUBST.
21410         (libc_cv_cc_avx): Likewise.
21411         (libc_cv_cc_sse2avx): Likewise.
21412         (libc_cv_cc_novzeroupper): Likewise.
21413         (libc_cv_cc_fma4): Likewise.
21414         (libc_cv_as_i686): Likewise.
21415         (libc_cv_sparc_as_vis3): Likewise.
21416         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21417         LIBC_CONFIG_VAR.
21418         (config-asflags-i686): Likewise.
21419         (config-cflags-avx): Likewise.
21420         (config-cflags-sse2avx): Likewise.
21421         (have-mfma4): Likewise.
21422         (config-cflags-novzeroupper): Likewise.
21423         * sysdeps/mach/configure.in (MIG): Likewise.
21424         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21425         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21426         LIBC_CONFIG_VAR.
21427         (config-cflags-avx): Likewise.
21428         (config-cflags-sse2avx): Likewise.
21429         (have-mfma4): Likewise.
21430         (config-cflags-novzeroupper): Likewise.
21431         * configure: Regenerated.
21432         * sysdeps/i386/configure: Likewise.
21433         * sysdeps/mach/configure: Likewise.
21434         * sysdeps/sparc/configure: Likewise.
21435         * sysdeps/x86_64/configure: Likewise.
21436
21437 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21438
21439         [BZ #14812]
21440         * locale/programs/localedef.c (options): Put N_ translation marker
21441         on argument names, not just descriptions.
21442
21443 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21444
21445         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21446
21447 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21448
21449         [BZ #14176]
21450         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21451
21452 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21453
21454         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21455         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21456         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21457         [!BEFORE_ABORT] (before_abort): New function.
21458         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21459         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21460         (writev_for_fatal): New function.
21461         (WRITEV_FOR_FATAL): New macro; call that.
21462         (backtrace_and_maps): New function.
21463         (BEFORE_ABORT): New macro; call that.
21464         (struct str_list): Type removed.
21465         (__libc_message, __libc_fatal): Functions removed.
21466         Include <sysdeps/posix/libc_fatal.c> instead.
21467
21468 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21469
21470         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21471         constants.
21472         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21473         double constants.
21474
21475 2013-03-19  Andreas Schwab  <schwab@suse.de>
21476
21477         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21478         * sysdeps/gnu/configure: Regenerate.
21479
21480         * configure.in: Substitute libc_cv_rtlddir.
21481         * configure: Regenerate.
21482         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21483         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21484         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21485         * elf/Makefile (install-others, CFLAGS-interp.c)
21486         (ldso_install, common-ldd-rewrite): Likewise.
21487         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21488         $(inst_slibdir)/$(rtld-installed-name).
21489         * scripts/rellns-sh: Add -p option.
21490         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21491         for source.
21492
21493 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21494
21495         * manual/nptl.texi: Renamed to ...
21496         * manual/threads.texi: ... this.
21497         * manual/Makefile (chapters): Update.
21498
21499 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21500
21501         [BZ #14812]
21502         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21503         on argument names, not just descriptions.
21504         * malloc/memusagestat.c (options): Likewise.
21505         * nss/getent.c (options): Likewise.
21506
21507 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21508
21509         [BZ #14812]
21510         * iconv/iconv_prog.c (options): Put N_ translation marker
21511         on argument names, not just descriptions.
21512         * iconv/iconvconfig.c (options): Likewise.
21513
21514 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21515
21516         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21517         implementation which is faster on all x86_64 architectures.
21518         Tested on AMD, Intel Nehalem, SNB, IVB.
21519         * sysdeps/x86_64/strnlen.S: Likewise.
21520
21521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21522         Remove all multiarch strlen and strnlen versions.
21523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21524         Remove strlen and strnlen related parts.
21525
21526         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21527         Inline strlen part.
21528         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21529
21530         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21531         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21532         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21533         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21534         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21535         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21536
21537 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21538
21539         * manual/memory.texi (Malloc Tunable Parameters):
21540         Sort parameters alphabetically. Add comments for missing entries.
21541
21542 2013-03-17  David S. Miller  <davem@davemloft.net>
21543
21544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21545
21546 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21547
21548         [BZ #15283]
21549         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21550         for arguments at most half maximum finite value.
21551         * math/libm-test.inc (j0_test): Add more tests.
21552         (j1_test): Likewise.
21553         (y0_test): Likewise.
21554         (y1_test): Likewise.
21555         * sysdeps/i386/fpu/libm-test-ulps: Update.
21556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21557
21558         [BZ #14155]
21559         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21560         1 / x and functions P and Q for arguments above 0x1p256L.
21561         (__ieee754_y0l): Likewise.
21562         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21563         (__ieee754_y1l): Likewise.
21564         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21565         (j1_test): Likewise.
21566         (y0_test): Likewise.
21567         (y1_test): Likewise.
21568
21569 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21570
21571         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21572         variable.
21573
21574 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21575
21576         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21577         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21578         zero since it's initialized to EXEC_PAGESIZE.
21579
21580         * sysdeps/unix/sysv/linux/ldsodefs.h
21581         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21582         * sysdeps/generic/ldsodefs.h: ... here.
21583
21584 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21585
21586         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21587
21588         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21589         math/test-snan.c.
21590         * math/test-snan.c: Renamed from
21591         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21592         * math/Makefile (tests): Add test-snan.
21593         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21594         test-powerpc-snan.
21595
21596         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21597         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21598         functions.
21599         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21600         __builtin_nan family of functions.
21601         * math/libm-test.inc (initialize): Initialize qnan_value with
21602         __builtin_nan family of functions.
21603         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21604         Remove variables.
21605         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21606         Remove functions.
21607         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21608         storage class.  Initialize qNaN_var and sNaN_var with
21609         __builtin_nan and __builtin_nans families of functions,
21610         respectively.
21611
21612         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21613         (sqrt_test): Remove duplicate test with qNaN input.
21614         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21615         (round_test, signbit_test, significand_test): Note missing +/-Inf
21616         as well as qNaN tests.
21617
21618         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21619         qNaN_var.  Fix a few strings, too.
21620         * math/libm-test.inc (nan_value): Rename to qnan_value.
21621         * math/gen-libm-test.pl (%beautify): Adjust to that.
21622         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21623         * math/test-misc.c (main): Likewise.
21624         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21625         to __qnan_bytes, and __qnan_union, respectively.
21626         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21627         Likewise.
21628         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21629         and lqnanval, respectively.
21630         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21631         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21632         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21633         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21634
21635         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21636         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21637         doubles.
21638
21639         * math/test-misc.c (main): Fix copy'n'pastos.
21640         * misc/tst-efgcvt.c (special): Likewise.
21641
21642         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21643         Remove declarations.
21644
21645 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21646
21647         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21648         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21649         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21650         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21651
21652 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21653
21654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21655         macro to return vdso values correctly in IFUNC implementations.
21656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21657         Optimization by using IFUNC.
21658
21659 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21660             Richard Henderson  <rth@redhat.com>
21661             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21662
21663         * Makefile.in (bench): New target.
21664         * NEWS: Mention the benchmark framework.
21665         * Rules (bench): Likewise.
21666         (binaries-bench): Generate binaries for functions to
21667         benchmark.
21668         * benchtests/Makefile: New makefile for benchmark tests.
21669         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21670         programs.
21671         * benchtests/exp-inputs: New input file for EXP function.
21672         * benchtests/pow-inputs: New input file for POW function.
21673         * scripts/bench.pl: New script to generate source files for
21674         benchmark programs.
21675
21676 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21677
21678         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21680         computations on mantissa.  Use macros for rounding and
21681         division.
21682         (denorm): Likewise.
21683         (__dbl_mp): Likewise.
21684         (add_magnitudes): Likewise.
21685         (sub_magnitudes): Likewise.
21686         (__mul): Likewise.
21687         (__sqr): Likewise.
21688         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21689         powers of two in terms of TWOPOW macro.
21690         (mp_no): Make type of mantissa as MANTISSA_T.
21691         [!RADIXI]: Define RADIXI.
21692         [!TWO52]: Define TWO52.
21693         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21694
21695         * manual/nptl.texi (cindex): Modify threads to pthreads.
21696
21697 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21698
21699         * sysdeps/x86_64/preconfigure: Regenerated.
21700
21701 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21702
21703         [BZ #14155]
21704         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21705         0x1p28 and above.
21706         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21707         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21708         0x1p28 and above.
21709         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21710         * math/libm-test.inc (j0_test): Do not allow one spurious
21711         underflow exception.
21712         (y1_test): Likewise.
21713
21714 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21715
21716         * manual/Makefile (chapters): Add nptl.
21717         * manual/debug.texi (Debugging Support): Add link to Threads
21718         chapter.
21719         * manual/nptl.texi: New file.
21720
21721         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21722
21723 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21724
21725         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21726         for non-NULL pointer before the memory validity test. Pointed
21727         out by Holger Brunck <holger.brunck@keymile.com>.
21728
21729 2013-03-13  Andreas Schwab  <schwab@suse.de>
21730
21731         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21732         instead of .os.
21733
21734 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21735
21736         * timezone/zic.c: Update from tzcode 2013b.
21737
21738 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21739
21740         * manual/install.texi (Configuring and compiling):
21741         Mention i686 and i586.
21742         * INSTALL: Regenerate.
21743
21744 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21745
21746         * sysdeps/init_array/elf-init.c: New file.
21747         * csu/elf-init.c
21748         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21749         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21750
21751         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21752         __gmon_start__ as global, but as static with a .preinit_array pointer.
21753         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21754         * sysdeps/init_array/crti.S: New file, empty except for comments.
21755         * sysdeps/init_array/crtn.S: Likewise.
21756
21757 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21758
21759         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21760         definining bcopy.
21761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21762         Remove Prefer_SSE_for_memop.
21763         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21764         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21765         HAS_PREFER_SSE_FOR_MEMOP.
21766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21767         memset-x86-64.
21768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21769         Remove bzero, memset ifunc support.
21770         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21771         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21772         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21773         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21774
21775 2013-03-11  Andreas Schwab  <schwab@suse.de>
21776
21777         [BZ #15234]
21778         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21779         by SHLIB_COMPAT.
21780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21781         (GLIBC_2.16): Remove pthread_atfork.
21782
21783 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21784
21785         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21786         (ptestcases.h): Likewise.
21787
21788 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21789
21790         * Makeconfig ($(common-objpfx)config.status): Depend on
21791         sysdeps/*/preconfigure{,.in} too.
21792
21793 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21794
21795         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21796         (__free_hook): Use void * instead of __malloc_ptr_t.
21797         (__malloc_hook): Likewise.
21798         (__realloc_hook): Likewise.
21799         (__memalign_hook): Likewise.
21800         (__after_morecore_hook): Likewise.
21801         * malloc/arena.c (save_malloc_hook): Likewise.
21802         (save_free_hook): Likewise.
21803         * malloc/hooks.c (malloc_hook_ini): Likewise.
21804         (realloc_hook_ini): Likewise.
21805         (memalign_hook_ini): Likewise.
21806         * malloc/malloc.c (malloc_hook_ini): Likewise.
21807         (realloc_hook_ini): Likewise.
21808         (memalign_hook_ini): Likewise.
21809         (__free_hook): Likewise.
21810         (__malloc_hook): Likewise.
21811         (__realloc_hook): Likewise.
21812         (__memalign_hook): Likewise.
21813         (__libc_malloc): Likewise.
21814         (__libc_free): Likewise.
21815         (__libc_realloc): Likewise.
21816         (__libc_memalign): Likewise.
21817         (__libc_valloc): Likewise.
21818         (__libc_pvalloc): Likewise.
21819         (__libc_calloc): Likewise.
21820         (__posix_memalign): Likewise.
21821         * malloc/morecore.c (__sbrk): Likewise.
21822         (__default_morecore): Likewise.
21823
21824         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21825
21826         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21827         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21828         __malloc_ptrdiff_t.
21829
21830         * malloc/malloc.h (__malloc_size_t): Remove macro.
21831         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21832         __malloc_size_t.
21833         (old_memalign_hook): Likewise.
21834         (old_realloc_hook): Likewise.
21835         (struct hdr): Likewise.
21836         (flood): Likewise.
21837         (mallochook): Likewise.
21838         (memalignhook): Likewise.
21839         (reallochook): Likewise.
21840         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21841         (tr_old_realloc_hook): Likewise.
21842         (tr_old_memalign_hook): Likewise.
21843         (tr_mallochook): Likewise.
21844         (tr_reallochook): Likewise.
21845         (tr_memalignhook): Likewise.
21846
21847 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21848
21849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21850         default_ldbl_pack and using as default implementation.
21851         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21852         implementation.
21853         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21854         redundant definition.
21855         (ldbl_insert_mantissa): Likewise.
21856         (ldbl_canonicalize): Likewise.
21857         (ldbl_nearbyint): Likewise.
21858         (ldbl_pack): Rename to ldbl_pack_ppc.
21859         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21860         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21861         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21862
21863 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21864
21865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21866         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21867         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21868         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21870         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21871         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21872         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21873
21874 2013-03-07  Andreas Jaeger  <aj@suse.de>
21875
21876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21877         bits/mman-linux.h.
21878
21879 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21880
21881         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21882         Include mpa.h and declare __MPEXP.
21883         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21884         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21885         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21886         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21887         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21888         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21889         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21890
21891         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21892         (__slowpow): Use long double EXPL and LOGL functions to
21893         compute POW.
21894         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21895         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21896         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21897         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21898         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21899         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21900
21901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21902         intermediate variable to calculate exponent.
21903         (__sqr): Likewise.
21904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21905         Likewise.
21906         (__sqr): Likewise.
21907
21908         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21909         [!NO__SQR]: Define __sqr.
21910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21911         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21912         sysdeps/ieee754/dbl-64/mpa.c.
21913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21914
21915         [BZ #12723]
21916         * posix/Makefile (tests): Add tst-pathconf.
21917         * posix/tst-pathconf.c: New test case.
21918         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21919         _PC_PIPE_BUF.
21920         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21921
21922 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21923
21924         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21925
21926 2013-03-06  Andreas Jaeger  <aj@suse.de>
21927
21928         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21929         definition via __MAP_ANONYMOUS.
21930
21931         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21932         it's not part of Linux headers.
21933
21934         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21935         (MAP_HUGE_MASK): Define.
21936
21937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21938         Define.
21939         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21940         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21941         Define.
21942         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21943         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21944         Define.
21945         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21946         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21947         Define.
21948         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21949
21950         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21951         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21952         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21953         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21954         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21955         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21956
21957         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21958         Handle f2fs.
21959
21960         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21961         Handle f2fs and efivarfs.
21962
21963         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21964         f2fs.
21965
21966         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21967         (EFIVARFS_MAGIC): Add.
21968         (F2FS_LINK_MAX): Add.
21969
21970 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21971
21972         * stdio-common/vfprintf.c: Replace __builtin_expect with
21973         __glibc_unlikely.
21974
21975 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21976
21977         [BZ #13550]
21978         * sysdeps/generic/bp-sym.h: Remove file.
21979         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21980         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21981         <bp-sym.h> and <bp-asm.h>.
21982         (__longjmp): Don't use BP_SYM.
21983         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21984         and <bp-asm.h>.
21985         (memcpy): Don't use BP_SYM.
21986         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21987         <bp-sym.h> and <bp-asm.h>.
21988         (memcpy): Don't use BP_SYM.
21989         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21990         <bp-asm.h>.
21991         (memcpy): Don't use BP_SYM.
21992         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21993         <bp-asm.h>.
21994         (memset): Don't use BP_SYM.
21995         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21996         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21997         (__bzero): Don't use BP_SYM.
21998         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21999         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22000         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22001         <bp-sym.h> and <bp-asm.h>.
22002         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22003         pointers.
22004         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22005         <bp-sym.h> and <bp-asm.h>.
22006         (memcpy): Don't use BP_SYM.
22007         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22008         <bp-sym.h> and <bp-asm.h>.
22009         (memset): Don't use BP_SYM.
22010         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22011         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22012         (__bzero): Don't use BP_SYM.
22013         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22014         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22015         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22016         <bp-sym.h> and <bp-asm.h>.
22017         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22018         pointers.
22019         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22020         <bp-sym.h> and <bp-asm.h>.
22021         (memcpy): Don't use BP_SYM.
22022         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22023         <bp-sym.h> and <bp-asm.h>.
22024         (memset): Don't use BP_SYM.
22025         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22026         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22027         (__bzero): Don't use BP_SYM.
22028         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22029         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22030         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22031         <bp-sym.h> and <bp-asm.h>.
22032         (__memchr): Don't use BP_SYM.
22033         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22034         <bp-sym.h> and <bp-asm.h>.
22035         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22036         pointers.
22037         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22038         <bp-sym.h> and <bp-asm.h>.
22039         (memcpy): Don't use BP_SYM.
22040         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22041         <bp-sym.h> and <bp-asm.h>.
22042         (__mempcpy): Don't use BP_SYM.
22043         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22044         <bp-sym.h> and <bp-asm.h>.
22045         (__memrchr): Don't use BP_SYM.
22046         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22047         <bp-sym.h> and <bp-asm.h>.
22048         (memset): Don't use BP_SYM.
22049         (__bzero): Likewise.
22050         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22051         <bp-sym.h> and <bp-asm.h>.
22052         (__rawmemchr): Don't use BP_SYM.
22053         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22054         <bp-sym.h> and <bp-asm.h>.
22055         (__STRCMP): Don't use BP_SYM.
22056         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22057         <bp-sym.h> and <bp-asm.h>.
22058         (strchr): Don't use BP_SYM.
22059         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22060         <bp-sym.h> and <bp-asm.h>.
22061         (__strchrnul): Don't use BP_SYM.
22062         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22063         <bp-sym.h> and <bp-asm.h>.
22064         (strlen): Don't use BP_SYM.
22065         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22066         <bp-sym.h> and <bp-asm.h>.
22067         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22068         pointers.
22069         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22070         <bp-sym.h> and <bp-asm.h>.
22071         (__strnlen): Don't use BP_SYM.
22072         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22073         <bp-sym.h> and <bp-asm.h>.
22074         (__GI__setjmp): Don't use BP_SYM.
22075         (_setjmp): Likewise.
22076         (__sigsetjmp): Likewise.
22077         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22078         (L(start_addresses)): Don't use BP_SYM.
22079         (_start): Likewise.
22080         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22081         <bp-asm.h>.
22082         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22083         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22084         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22085         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22086         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22087         <bp-asm.h>.
22088         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22089         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22090         about bounded pointers.
22091         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22092         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22093         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22094         <bp-asm.h>.
22095         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22096         about bounded pointers.  Remove GKM FIXME comments.
22097         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22098         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22099         <bp-asm.h>.
22100         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22101         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22102         Remove GKM FIXME comments.
22103         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22104         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22105         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22106         <bp-asm.h>.
22107         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22108         about bounded pointers.  Remove GKM FIXME comment.
22109         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22110         and <bp-asm.h>.
22111         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22112         pointers.
22113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22114         <bp-sym.h> and <bp-asm.h>.
22115         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22117         <bp-sym.h> and <bp-asm.h>.
22118         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22119         comment.
22120
22121 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22122
22123         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22124         call free(NULL).
22125
22126 2013-03-05  David S. Miller  <davem@davemloft.net>
22127
22128         * po/es.po: Update from translation team.
22129
22130 2013-03-05  Andreas Jaeger  <aj@suse.de>
22131
22132         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22133         <bits/mman-linux.h>.
22134         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22135         is fine.
22136         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22137         <bits/mman-linux.h> to end of file.
22138         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22139         is fine.
22140         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22141         <bits/mman-linux.h> to end of file.
22142         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22143         is fine.
22144         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22145         <bits/mman-linux.h> to end of file.
22146
22147         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22148         (MCL_CURRENT, MCL_FUTURE): Define here.
22149
22150 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22151
22152         [BZ #15232]
22153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22154         attribute_hidden.
22155         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22156
22157 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22158
22159         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22160         fourth parameter needed for rt_sigprocmask syscall.
22161         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22162         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22164         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22165         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22166         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22167
22168 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22169
22170         [BZ #13550]
22171         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22172         comment about bounded pointers.
22173         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22174         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22175
22176 2013-03-04  Andreas Jaeger  <aj@suse.de>
22177
22178         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22179         common definitions.
22180
22181         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22182         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22183         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22184         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22185         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22186         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22187
22188 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22189
22190         [BZ #15055]
22191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22192         __ieee754_sqrl instead of __sqrl.
22193
22194 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22195
22196         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22197         * sysdeps/powerpc/fpu_control.h: ... here.
22198         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22199         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22200         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22201         * sysdeps/powerpc/bits/mathinline.h: ... here.
22202
22203 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22204
22205         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22206         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22207         to just [NEED_DL_SYSINFO_DSO].
22208         * elf/dl-support.c: Likewise.
22209         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22210         * elf/rtld.c (dl_main): Likewise.
22211         * elf/setup-vdso.h (setup_vdso): Likewise.
22212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22213         * sysdeps/unix/sysv/linux/dl-sysdep.c
22214         (_dl_discover_osversion): Likewise.
22215
22216 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22217
22218         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22219         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22220
22221 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22222
22223         * NEWS: Mention libm performance improvements and non-x86 PI
22224         futex support.
22225
22226         * csu/libc-start.c (__pthread_initialize_minimal): Change
22227         function arguments.
22228         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22229
22230 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22231
22232         [BZ #13550]
22233         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22234         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22235         <bp-sym.h> and <bp-asm.h>.
22236         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22237         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22238         and <bp-asm.h>.
22239         (memcpy): Don't use BP_SYM.
22240         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22241         <bp-asm.h>.
22242         (__mpn_add_n): Don't use BP_SYM.
22243         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22244         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22245         and <bp-asm.h>.
22246         (__mpn_addmul_1): Don't use BP_SYM.
22247         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22248         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22249         <bp-sym.h>.
22250         (_setjmp): Don't use BP_SYM.
22251         (__novmx_setjmp): Likewise.
22252         (__GI__setjmp): Likewise.
22253         (__vmx_setjmp): Likewise.
22254         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22255         <bp-sym.h>.
22256         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22257         (__bzero): Don't use BP_SYM.
22258         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22259         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22260         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22261         <bp-sym.h> and <bp-asm.h>.
22262         (memcpy): Don't use BP_SYM.
22263         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22264         <bp-sym.h> and <bp-asm.h>.
22265         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22266         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22267         <bp-sym.h> and <bp-asm.h>.
22268         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22269         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22270         <bp-asm.h>.
22271         (__mpn_lshift): Don't use BP_SYM.
22272         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22273         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22274         <bp-asm.h>.
22275         (memset): Don't use BP_SYM.
22276         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22277         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22278         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22279         <bp-asm.h>.
22280         (__mpn_mul_1): Don't use BP_SYM.
22281         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22282         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22283         <bp-sym.h> and <bp-asm.h>.
22284         (memcmp): Don't use BP_SYM.
22285         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22286         <bp-sym.h> and <bp-asm.h>.
22287         (memcpy): Don't use BP_SYM.
22288         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22289         <bp-sym.h> and <bp-asm.h>.
22290         (memset): Don't use BP_SYM.
22291         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22292         <bp-sym.h> and <bp-asm.h>.
22293         (strncmp): Don't use BP_SYM.
22294         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22295         <bp-sym.h> and <bp-asm.h>.
22296         (memcpy): Don't use BP_SYM.
22297         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22298         <bp-sym.h> and <bp-asm.h>.
22299         (memset): Don't use BP_SYM.
22300         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22301         <bp-sym.h> and <bp-asm.h>.
22302         (__memchr): Don't use BP_SYM.
22303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22304         <bp-sym.h> and <bp-asm.h>.
22305         (memcmp): Don't use BP_SYM.
22306         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22307         <bp-sym.h> and <bp-asm.h>.
22308         (memcpy): Don't use BP_SYM.
22309         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22310         <bp-sym.h> and <bp-asm.h>.
22311         (__mempcpy): Don't use BP_SYM.
22312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22313         <bp-sym.h> and <bp-asm.h>.
22314         (__memrchr): Don't use BP_SYM.
22315         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22316         <bp-sym.h> and <bp-asm.h>.
22317         (memset): Don't use BP_SYM.
22318         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22319         <bp-sym.h> and <bp-asm.h>.
22320         (__rawmemchr): Don't use BP_SYM.
22321         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22322         <bp-sym.h> and <bp-asm.h>.
22323         (__STRCMP): Don't use BP_SYM.
22324         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22325         <bp-sym.h> and <bp-asm.h>.
22326         (strchr): Don't use BP_SYM.
22327         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22328         <bp-sym.h> and <bp-asm.h>.
22329         (__strchrnul): Don't use BP_SYM.
22330         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22331         <bp-sym.h> and <bp-asm.h>.
22332         (strlen): Don't use BP_SYM.
22333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22334         <bp-sym.h> and <bp-asm.h>.
22335         (strncmp): Don't use BP_SYM.
22336         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22337         <bp-sym.h> and <bp-asm.h>.
22338         (__strnlen): Don't use BP_SYM.
22339         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22340         <bp-asm.h>.
22341         (__mpn_rshift): Don't use BP_SYM.
22342         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22343         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22344         <bp-sym.h> and <bp-asm.h>.
22345         (__sigsetjmp): Don't use BP_SYM.
22346         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22347         (L(start_addresses)): Don't use BP_SYM.
22348         (_start): Likewise.
22349         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22350         <bp-asm.h>.
22351         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22352         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22353         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22354         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22355         <bp-asm.h>.
22356         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22357         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22358         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22359         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22360         <bp-asm.h>.
22361         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22362         comments.
22363         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22364         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22365         <bp-asm.h>.
22366         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22367         FIXME comments.
22368         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22369         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22370         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22371         <bp-asm.h>.
22372         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22373         comment.
22374         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22375         and <bp-asm.h>.
22376         (strncmp): Don't use BP_SYM,
22377         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22378         <bp-asm.h>.
22379         (__mpn_sub_n): Don't use BP_SYM.
22380         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22381         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22382         and <bp-asm.h>.
22383         (__mpn_submul_1): Don't use BP_SYM.
22384         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22386         <bp-sym.h> and <bp-asm.h>.
22387         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22389         <bp-sym.h> and <bp-asm.h>.
22390         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22391         comment.
22392
22393 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394
22395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22396         Use ZK to minimize writes to Z.
22397         (sub_magnitudes): Simplify code a bit.
22398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22399         Use ZK to minimize writes to Z.
22400         (sub_magnitudes): Simplify code a bit.
22401
22402 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22403
22404         * csu/gmon-start.c: Add special exception to license text.
22405
22406 2013-02-27  Richard Henderson  <rth@redhat.com>
22407
22408         * scripts/config.guess: Update from config.git.
22409         * scripts/config.sub: Likewise.
22410
22411 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22412
22413         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22414
22415         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22416
22417         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22418
22419         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22420
22421         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22422
22423 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22424
22425         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22426         [$(build-shared = yes].
22427
22428 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22429
22430         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22431         (__mul): Reduce iterations for calculating mantissa.
22432
22433         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22434         MPTWO.
22435         (__mpranred): Likewise.
22436
22437         [BZ #15160]
22438         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22439         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22440
22441 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22442
22443         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22444         Define __attribute__.
22445
22446 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22447
22448         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22449         unused.
22450         * posix/regex_internal.h (__attribute): Remove.
22451         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22452         (re_string_context_at): Likewise.
22453         (bitset_not): Use __attribute__ and mark function as possibly
22454         unused.
22455         (bitset_merge): Likewise.
22456         (bitset_mask): Likewise.
22457         (re_string_char_size_at): Likewise.
22458         (re_string_wchar_at): Likewise.
22459         (re_string_elem_size_at): Likewise.
22460
22461 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22462
22463         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22464         code.
22465         (cc32): Likewise.
22466
22467         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22468         (__acr): Likewise.
22469         (__cpy): Likewise.
22470         (norm): Likewise.
22471         (denorm): Likewise.
22472         (__dbl_mp): Likewise.
22473         (add_magnitudes): Likewise.
22474         (sub_magnitudes): Likewise.
22475         (__mul): Likewise.
22476         (__inv): Likewise.
22477
22478         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22479         style.
22480
22481         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22482         style.
22483
22484         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22485         code.
22486
22487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22488         up changes with default code.
22489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22490         Likewise.
22491
22492 2013-02-24  Allan McRae  <allan@archlinux.org>
22493
22494         * manual/socket.texi (The Internet Namespace): Order menu items
22495         to match that in the file.
22496
22497         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22498         node listing of the info page menu.
22499
22500 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22501
22502         [BZ #13550]
22503         * sysdeps/i386/bp-asm.h: Remove file.
22504         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22505         (PARMS): Do not use macros from bp-asm.h.
22506         (S1): Likewise.
22507         (S2): Likewise.
22508         (SIZE): Likewise.
22509         (__mpn_add_n): Do not use BP_SYM
22510         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22511         "bp-asm.h".
22512         (PARMS): Do not use macros from bp-asm.h.
22513         (S1): Likewise.
22514         (SIZE): Likewise.
22515         (__mpn_addmul_1): Do not use BP_SYM
22516         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22517         "bp-asm.h".
22518         (PARMS): Do not use macros from bp-asm.h.
22519         (SIGMSK): Likewise.
22520         (_setjmp): Likewise.  Do not use BP_SYM.
22521         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22522         "bp-asm.h".
22523         (PARMS): Do not use macros from bp-asm.h.
22524         (SIGMSK): Likewise.
22525         (setjmp): Likewise.  Do not use BP_SYM.
22526         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22527         "bp-asm.h".
22528         (PARMS): Do not use macros from bp-asm.h.
22529         (__frexp): Do not use BP_SYM.
22530         (frexp): Likewise.
22531         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22532         "bp-asm.h".
22533         (PARMS): Do not use macros from bp-asm.h.
22534         (__frexpf): Do not use BP_SYM.
22535         (frexpf): Likewise.
22536         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22537         "bp-asm.h".
22538         (PARMS): Do not use macros from bp-asm.h.
22539         (__frexpl): Do not use BP_SYM.
22540         (frexpl): Likewise.
22541         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22542         "bp-asm.h".
22543         (PARMS): Do not use macros from bp-asm.h.
22544         (__remquo): Do not use BP_SYM.
22545         (remquo): Likewise.
22546         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22547         "bp-asm.h".
22548         (PARMS): Do not use macros from bp-asm.h.
22549         (__remquof): Do not use BP_SYM.
22550         (remquof): Likewise.
22551         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22552         "bp-asm.h".
22553         (PARMS): Do not use macros from bp-asm.h.
22554         (__remquol): Do not use BP_SYM.
22555         (remquol): Likewise.
22556         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22557         "bp-asm.h".
22558         (PARMS): Do not use macros from bp-asm.h.
22559         (DEST): Likewise.
22560         (SRC): Likewise.
22561         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22562         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22563         "bp-asm.h".
22564         (PARMS): Do not use macros from bp-asm.h.
22565         (strlen): Do not use BP_SYM.
22566         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22567         "bp-asm.h".
22568         (PARMS): Do not use macros from bp-asm.h.
22569         (S1): Likewise.
22570         (S2): Likewise.
22571         (SIZE): Likewise.
22572         (__mpn_add_n): Do not use BP_SYM.
22573         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22574         "bp-asm.h".
22575         (PARMS): Do not use macros from bp-asm.h.
22576         (S1): Likewise.
22577         (SIZE): Likewise.
22578         (__mpn_addmul_1): Do not use BP_SYM.
22579         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22580         weak_alias.
22581         (bzero): Likewise.
22582         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22583         "bp-asm.h".
22584         (PARMS): Do not use macros from bp-asm.h.
22585         (S): Likewise.
22586         (SIZE): Likewise.
22587         (__mpn_lshift): Do not use BP_SYM.
22588         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22589         "bp-asm.h".
22590         (PARMS): Do not use macros from bp-asm.h.
22591         (DEST): Likewise.
22592         (SRC): Likewise.
22593         (LEN): Likewise.
22594         (memcpy): Likewise.  Do not use BP_SYM.
22595         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22596         libc_hidden_def and weak_alias.
22597         (mempcpy): Do not use BP_SYM in weak_alias.
22598         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22599         "bp-asm.h".
22600         (PARMS): Do not use macros from bp-asm.h.
22601         (DEST): Likewise.
22602         (LEN): Likewise.
22603         [!BZERO_P] (CHR): Likewise.
22604         (memset): Likewise.  Do not use BP_SYM.
22605         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22606         "bp-asm.h".
22607         (PARMS): Do not use macros from bp-asm.h.
22608         (S1): Likewise.
22609         (SIZE): Likewise.
22610         (__mpn_mul_1): Do not use BP_SYM.
22611         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22612         "bp-asm.h".
22613         (PARMS): Do not use macros from bp-asm.h.
22614         (S): Likewise.
22615         (SIZE): Likewise.
22616         (__mpn_rshift): Do not use BP_SYM.
22617         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22618         "bp-asm.h".
22619         (PARMS): Do not use macros from bp-asm.h.
22620         (STR): Likewise.
22621         (CHR): Likewise.
22622         (strchr): Likewise.  Do not use BP_SYM.
22623         (index): Do not use BP_SYM in weak_alias.
22624         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22625         "bp-asm.h".
22626         (PARMS): Do not use macros from bp-asm.h.
22627         (DEST): Likewise.
22628         (SRC): Likewise.
22629         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22630         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22631         "bp-asm.h".
22632         (PARMS): Do not use macros from bp-asm.h.
22633         (strlen): Do not use BP_SYM.
22634         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22635         "bp-asm.h".
22636         (PARMS): Do not use macros from bp-asm.h.
22637         (S1): Likewise.
22638         (S2): Likewise.
22639         (SIZE): Likewise.
22640         (__mpn_sub_n): Do not use BP_SYM.
22641         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22642         "bp-asm.h".
22643         (PARMS): Do not use macros from bp-asm.h.
22644         (S1): Likewise.
22645         (SIZE): Likewise.
22646         (__mpn_submul_1): Do not use BP_SYM.
22647         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22648         "bp-asm.h".
22649         (PARMS): Do not use macros from bp-asm.h.
22650         (S1): Likewise.
22651         (S2): Likewise.
22652         (SIZE): Likewise.
22653         (__mpn_add_n): Do not use BP_SYM.
22654         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22655         weak_alias.
22656         (bzero): Likewise.
22657         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22658         "bp-asm.h".
22659         (PARMS): Do not use macros from bp-asm.h.
22660         (BLK2): Likewise.
22661         (LEN): Likewise.
22662         (memcmp): Do not use BP_SYM.
22663         (bcmp): Do not use BP_SYM in weak_alias.
22664         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22665         "bp-asm.h".
22666         (PARMS): Do not use macros from bp-asm.h.
22667         (DEST): Likewise.
22668         (SRC): Likewise.
22669         (LEN): Likewise.
22670         (memcpy): Likewise.  Do not use BP_SYM.
22671         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22672         "bp-asm.h".
22673         (PARMS): Do not use macros from bp-asm.h.
22674         (DEST): Likewise.
22675         (SRC): Likewise.
22676         (LEN): Likewise.
22677         (memmove): Likewise.  Do not use BP_SYM.
22678         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22679         "bp-asm.h".
22680         (PARMS): Do not use macros from bp-asm.h.
22681         (DEST): Likewise.
22682         (SRC): Likewise.
22683         (LEN): Likewise.
22684         (__mempcpy): Likewise.  Do not use BP_SYM.
22685         (mempcpy): Do not use BP_SYM in weak_alias.
22686         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22687         "bp-asm.h".
22688         (PARMS): Do not use macros from bp-asm.h.
22689         (DEST): Likewise.
22690         (LEN): Likewise.
22691         [!BZERO_P] (CHR): Likewise.
22692         (memset): Likewise.  Do not use BP_SYM.
22693         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22694         "bp-asm.h".
22695         (PARMS): Do not use macros from bp-asm.h.
22696         (STR2): Likewise.
22697         (strcmp): Do not use BP_SYM.
22698         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22699         "bp-asm.h".
22700         (PARMS): Do not use macros from bp-asm.h.
22701         (STR): Likewise.
22702         (DELIM): Likewise.
22703         [USE_AS_STRTOK_R] (SAVE): Likewise.
22704         (FUNCTION): Likewise.  Do not use BP_SYM.
22705         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22706         aliases.
22707         (strtok_r): Likewise.
22708         (__GI___strtok_r): Likewise.
22709         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22710         (PARMS): Do not use macros from bp-asm.h.
22711         (S): Likewise.
22712         (SIZE): Likewise.
22713         (__mpn_lshift): Do not use BP_SYM.
22714         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22715         (PARMS): Do not use macros from bp-asm.h.
22716         (STR): Likewise.
22717         (CHR): Likewise.
22718         (__memchr): Do not use BP_SYM.
22719         (memchr): Do not use BP_SYM in weak_alias.
22720         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22721         (PARMS): Do not use macros from bp-asm.h.
22722         (BLK2): Likewise.
22723         (LEN): Likewise.
22724         (memcmp): Do not use BP_SYM.
22725         (bcmp): Do not use BP_SYM in weak_alias.
22726         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22727         (PARMS): Do not use macros from bp-asm.h.
22728         (S1): Likewise.
22729         (SIZE): Likewise.
22730         (__mpn_mul_1): Do not use BP_SYM.
22731         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22732         "bp-asm.h".
22733         (PARMS): Do not use macros from bp-asm.h.
22734         (STR): Likewise.
22735         (CHR): Likewise.
22736         (__rawmemchr): Do not use BP_SYM.
22737         (rawmemchr): Do not use BP_SYM in weak_alias.
22738         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22739         (PARMS): Do not use macros from bp-asm.h.
22740         (S): Likewise.
22741         (SIZE): Likewise.
22742         (__mpn_rshift): Do not use BP_SYM.
22743         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22744         (PARMS): Do not use macros from bp-asm.h.
22745         (SIGMSK): Likewise.
22746         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22747         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22748         (_start): Do not use BP_SYM.
22749         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22750         (PARMS): Do not use macros from bp-asm.h.
22751         (DEST): Likewise.
22752         (SRC): Likewise.
22753         (__stpcpy): Likewise.  Do not use BP_SYM.
22754         (stpcpy): Do not use BP_SYM in weak_alias.
22755         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22756         "bp-asm.h".
22757         (PARMS): Do not use macros from bp-asm.h.
22758         (DEST): Likewise.
22759         (SRC): Likewise.
22760         (LEN): Likewise.
22761         (__stpncpy): Likewise.  Do not use BP_SYM.
22762         (stpncpy): Do not use BP_SYM in weak_alias.
22763         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22764         (PARMS): Do not use macros from bp-asm.h.
22765         (STR): Likewise.
22766         (CHR): Likewise.
22767         (strchr): Likewise.  Do not use BP_SYM.
22768         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22769         "bp-asm.h".
22770         (PARMS): Do not use macros from bp-asm.h.
22771         (STR): Likewise.
22772         (CHR): Likewise.
22773         (__strchrnul): Likewise.  Do not use BP_SYM.
22774         (strchrnul): Do not use BP_SYM in weak_alias.
22775         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22776         "bp-asm.h".
22777         (PARMS): Do not use macros from bp-asm.h.
22778         (STOP): Likewise.
22779         (strcspn): Do not use BP_SYM.
22780         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22781         "bp-asm.h".
22782         (PARMS): Do not use macros from bp-asm.h.
22783         (STR): Likewise.
22784         (STOP): Likewise.
22785         (strpbrk): Likewise.  Do not use BP_SYM.
22786         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22787         "bp-asm.h".
22788         (PARMS): Do not use macros from bp-asm.h.
22789         (STR): Likewise.
22790         (CHR): Likewise.
22791         (strrchr): Likewise.  Do not use BP_SYM.
22792         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22793         (PARMS): Do not use macros from bp-asm.h.
22794         (SKIP): Likewise.
22795         (strspn): Do not use BP_SYM.
22796         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22797         (PARMS): Do not use macros from bp-asm.h.
22798         (STR): Likewise.
22799         (DELIM): Likewise.
22800         (SAVE): Likewise.
22801         (FUNCTION): Likewise.  Do not use BP_SYM.
22802         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22803         aliases.
22804         (strtok_r): Likewise.
22805         (__GI___strtok_r): Likewise.
22806         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22807         (PARMS): Do not use macros from bp-asm.h.
22808         (S1): Likewise.
22809         (S2): Likewise.
22810         (SIZE): Likewise.
22811         (__mpn_sub_n): Do not use BP_SYM.
22812         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22813         "bp-asm.h".
22814         (PARMS): Do not use macros from bp-asm.h.
22815         (S1): Likewise.
22816         (SIZE): Likewise.
22817         (__mpn_submul_1): Do not use BP_SYM.
22818         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22819         <bp-sym.h>.
22820         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22821         and <bp-asm.h>.
22822         (PARMS): Do not use macros from bp-asm.h.
22823         (FLAGS): Likewise.
22824         (PTID): Likewise.
22825         (TLS): Likewise.
22826         (CTID): Likewise.
22827         (__clone): Do not use BP_SYM.
22828         (clone): Do not use BP_SYM in weak_alias.
22829         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22830         and <bp-asm.h>.
22831         (PARMS): Do not use macros from bp-asm.h.
22832         (LEN): Likewise.
22833         (__mmap64): Do not use BP_SYM.
22834         (mmap64): Do not use BP_SYM in weak_alias.
22835         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22836         <bp-sym.h> and <bp-asm.h>.
22837         (PARMS): Do not use macros from bp-asm.h.
22838         (__posix_fadvise64_l64): Do not use BP_SYM.
22839         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22840         (PARMS): Do not use macros from bp-asm.h.
22841         (NSOPS): Likewise.
22842         (semtimedop): Do not use BP_SYM.
22843         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22844         and <bp-asm.h>.
22845
22846 2013-02-21  Allan McRae  <allan@archlinux.org>
22847
22848         * manual/message.texi (Charset conversion in gettext):
22849         Move @end statement to beginning of line.
22850
22851 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22852
22853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22854         static.
22855         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22856         Likewise.
22857
22858         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22859         (denorm): Likewise.
22860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22862
22863 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22864
22865         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22866         tail-call to the resolved function if pltexit isn't needed.
22867
22868 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22869
22870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22871         or Y being zero as being unlikely.
22872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22873         Likewise.
22874
22875 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22876
22877         * manual/nss.texi (System Databases and Name Service Switch):
22878         Remove frobnicate @pxref.
22879
22880 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22881
22882         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22883         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22884
22885 2013-02-20  Petr Machata  <pmachata@redhat.com>
22886
22887         * elf/elf.h (R_ARM_TARGET1): New macro.
22888         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22889         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22890         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22891         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22892         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22893         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22894         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22895         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22896         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22897         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22898         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22899         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22900         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22901         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22902         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22903         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22904         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22905         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22906         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22907         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22908         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22909         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22910         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22911         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22912         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22913         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22914         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22915         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22916         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22917         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22918         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22919         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22920         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22921         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22922         (R_ARM_THM_GOT_BREL12): Likewise.
22923         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22924         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22925         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22926         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22927         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22928         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22929         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22930         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22931         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22932
22933 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22934
22935         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22936         __attribute_used__ to __attribute__ ((unused)).
22937
22938 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22939
22940         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22941         powerpc mpa.c.
22942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22943         comment formatting.
22944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22945
22946 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22947
22948         [BZ #13550]
22949         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22950         Remove macro.
22951         (ENTER): Remove both macro definitions.
22952         (LEAVE): Likewise.
22953         (CHECK_BOUNDS_LOW): Likewise.
22954         (CHECK_BOUNDS_HIGH): Likewise.
22955         (CHECK_BOUNDS_BOTH): Likewise.
22956         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22957         (RETURN_BOUNDED_POINTER): Likewise.
22958         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22959         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22960         (POP_ERRNO_LOCATION_RETURN): Likewise.
22961         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22962         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22963         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22964         macros.
22965         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22966         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22967         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22968         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22969         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22970         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22971         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22972         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22973         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22974         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22975         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22976         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22977         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22978         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22979         removed macros.
22980         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22981         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22982         macros.
22983         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22984         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22985         * sysdeps/i386/i586/memset.S (memset): Likewise.
22986         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22987         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22988         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22989         macros.
22990         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22991         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22992         Change uses of L(2) to L(out).
22993         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22994         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22995         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22996         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22997         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22998         removed macros.
22999         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23000         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23001         macros.
23002         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23003         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23004         (RETURN): Do not use macro LEAVE.
23005         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23006         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23007         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23008         * sysdeps/i386/i686/memset.S (memset): Likewise.
23009         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23010         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23011         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23012         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23013         Likewise.
23014         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23015         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23016         L(1_2) and L(1_3) into L(1).
23017         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23018         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23019         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23020         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23021         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23022         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23023         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23024         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23025         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23026         macros.
23027         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23028         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23029         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23030         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23031         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23032         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23033         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23034         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23035         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23036         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23037         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23038         * sysdeps/i386/strspn.S (strspn): Likewise.
23039         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23040         conditional code.
23041         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23042         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23043         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23044         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23045         L(1_3) into L(1_1).
23046         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23047         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23048         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23049         macros.
23050         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23051
23052 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23053
23054         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23055         macro.
23056
23057 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23058
23059         * math/atest-exp.c (exp_mpn): Remove ROUND.
23060         * math/atest-exp2.c (exp_mpn): Likewise.
23061         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23062
23063         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23064         * stdlib/tst-tls-atexit-lib.c: Likewise.
23065         * stdlib/tst-tls-atexit.c: Likewise.
23066
23067 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23068
23069         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23070         and __attribute_alloc_size__.
23071
23072 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23073
23074         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23075         __attribute_alloc_size__.
23076         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23077         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23078
23079 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23080
23081         * include/programs/xmalloc.h: New file.
23082         * catgets/gencat.c: Include it.
23083         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23084         * elf/pldd.c: Likewise.
23085         * iconv/iconv_charmap.c: Likewise.
23086         * iconv/iconvconfig.c: Likewise.
23087         * iconv/strtab.c: Likewise.
23088         * locale/programs/locale.c: Likewise.
23089         * locale/programs/localedef.h: Likewise.
23090         * locale/programs/simple-hash.c: Likewise.
23091         * nscd/nscd.h: Likewise.
23092         * nss/makedb.c: Likewise.
23093         * sysdeps/generic/ldconfig.h: Likewise.
23094
23095 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23096
23097         * Versions.def: Add GLIBC_2.18.
23098         * include/link.h (struct link_map): New member l_tls_dtor_count.
23099         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23100         (__call_tls_dtors): Likewise.
23101         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23102         __cxa_thread_atexit_impl.
23103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23104         Likewise.
23105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23106         Likewise.
23107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23108         Likewise.
23109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23110         Likewise.
23111         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23113         Likewise.
23114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23115         Likewise.
23116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23118         Likewise.
23119         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23120         (tests): Add test case tst-tls-atexit.
23121         (modules-names): Add shared library for tst-tls-atexit.
23122         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23123         (GLIBC_PRIVATE): Add __call_tls_dtors.
23124         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23125         for libstdc++.
23126         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23127         * stdlib/tst-tls-atexit.c: New test case.
23128         * stdlib/tst-tls-atexit-lib.c: New test case.
23129
23130         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23131
23132         * elf/Versions (ld): Add _dl_find_dso_for_object.
23133         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23134         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23135         (dl_open_worker): Use _dl_find_dso_for_object.
23136         * elf/dl-sym.c (do_sym): Likewise.
23137         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23138
23139 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23140
23141         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23142         Syntactic changes only.
23143         (_dl_runtime_profile): Do a tail-call to the resolved function.
23144
23145 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23146
23147         [BZ #13550]
23148         * sysdeps/x86_64/bp-asm.h: Remove file.
23149         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23150         <bp-sym.h> and <bp-asm.h>.
23151         (__clone): Do not use BP_SYM.
23152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23153         <bp-sym.h> and <bp-asm.h>.
23154         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23155         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23156         "bp-asm.h".
23157         (_setjmp): Do not use BP_SYM.
23158         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23159         "bp-asm.h".
23160         (setjmp): Do not use BP_SYM.
23161         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23162         libc_hidden_def.
23163         (mempcpy): Do not use BP_SYM in weak_alias.
23164         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23165         "bp-asm.h".
23166         (strchr): Do not use BP_SYM.
23167         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23168         "bp-asm.h".
23169         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23170         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23171         (_start): Do not use BP_SYM.
23172         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23173         "bp-asm.h".
23174         (strcat): Do not use BP_SYM.
23175         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23176         "bp-asm.h".
23177         (STRCMP): Do not use BP_SYM.
23178         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23179         "bp-asm.h".
23180         (STRCPY): Do not use BP_SYM.
23181         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23182         "bp-asm.h".
23183         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23184         "bp-asm.h".
23185         (FUNCTION): Do not use BP_SYM.
23186         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23187         weak_alias.
23188         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23189
23190 2013-02-17  Andreas Jaeger  <aj@suse.de>
23191
23192         * time/Versions: Sort entries.
23193         * string/Versions: Likewise.
23194         * resolv/Versions: Likewise.
23195         * posix/Versions: Likewise.
23196         * iconv/Versions: Likewise.
23197         * elf/Versions: Likewise.
23198         * wcsmbs/Versions: Likewise.
23199
23200 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23201
23202         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23203         loop termination condition.
23204
23205         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23206         variable to calculate EZ.
23207         (__sqr): Likewise.
23208
23209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23210         the lower precision input.
23211
23212 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23213
23214         [BZ #13550]
23215         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23216         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23217         (run-via-rtld-prefix): Do not handle %-bp tests.
23218         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23219         (all-object-suffixes): Remove .ob.
23220         (bppfx): Remove variable.
23221         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23222         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23223         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23224         [$(build-bounded) = yes] (libtype.ob): Likewise.
23225         * Makerules (elide-routines.ob): Remove variable.
23226         (do-tests-clean): Do not handle *-bp.out.
23227         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23228         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23229         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23230         (tests): Do not include $(tests-bp.out).
23231         (xtests): Do not include $(xtests-bp.out).
23232         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23233         [$(build-bounded) = yes] ($(addprefix
23234         $(objpfx),$(binaries-bounded))): Remove rule.
23235         ($(objpfx)%-bp.out): Remove rule.
23236         * config.make.in (build-bounded): Remove variable.
23237         * crypt/Makefile [$(build-bounded) = yes]
23238         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23239         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23240         append to variable.
23241         [$(build-bounded) = yes] (install-lib): Likewise.
23242         [$(build-bounded) = yes] (generated): Likewise.
23243         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23244         Remove rule.
23245         * intl/Makefile [$(build-bounded) = yes]
23246         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23247         * math/Makefile [$(build-bounded) = yes]
23248         ($(tests:%=$(objpfx)%-bp): Likewise.
23249         * misc/Makefile [$(build-bounded) = yes]
23250         ($(objpfx)tst-tsearch-bp): Likewise.
23251         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23252         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23253         Remove dependency.
23254         * string/Makefile (o-objects.ob): Remove variable.
23255         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23256         (CFLAGS-.ob): Remove variable.
23257         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23258         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23259         both definitions of variable.
23260         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23261         (ASFLAGS-.ob): Remove variable.
23262
23263 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23264
23265         [BZ #13550]
23266         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23267         Remove __BOUNDED_POINTERS__ from condition.
23268         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23269         * string/bits/string2.h [!__NO_STRING_INLINES &&
23270         !__BOUNDED_POINTERS__]: Likewise.
23271         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23272         Likewise.
23273         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23274         Remove conditional code.
23275         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23276         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23277         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23278         condition.
23279
23280         [BZ #13550]
23281         * csu/libc-start.c: Do not include <bp-sym.h>.
23282         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23283         * elf/dl-open.c: Do not include <bp-sym.h>.
23284         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23285         * math/fegetenv.c: Do not include <bp-sym.h>.
23286         (fegetenv): Do not use BP_SYM in versioned symbols.
23287         * nptl/sysdeps/pthread/bits/libc-lockP.h
23288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23289         <bp-sym.h>.
23290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23291         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23293         (__pthread_mutex_destroy): Likewise.
23294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23295         (__pthread_mutex_lock): Likewise.
23296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23297         (__pthread_mutex_trylock): Likewise.
23298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23299         (__pthread_mutex_unlock): Likewise.
23300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23301         (__pthread_mutexattr_init): Likewise.
23302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23303         (__pthread_mutexattr_destroy): Likewise.
23304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23305         (__pthread_mutexattr_settype): Likewise.
23306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23307         (__pthread_rwlock_init): Likewise.
23308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23309         (__pthread_rwlock_destroy): Likewise.
23310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23311         (__pthread_rwlock_rdlock): Likewise.
23312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23313         (__pthread_rwlock_tryrdlock): Likewise.
23314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23315         (__pthread_rwlock_wrlock): Likewise.
23316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23317         (__pthread_rwlock_trywrlock): Likewise.
23318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23319         (__pthread_rwlock_unlock): Likewise.
23320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23321         (__pthread_key_create): Likewise.
23322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23323         (__pthread_setspecific): Likewise.
23324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23325         (__pthread_getspecific): Likewise.
23326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23327         Likewise.
23328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23329         (_pthread_cleanup_push_defer): Likewise.
23330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23331         (_pthread_cleanup_pop_restore): Likewise.
23332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23333         (pthread_setcancelstate): Likewise.
23334         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23335         <bp-sym.h>.
23336         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23337         (memchr): Do not use BP_SYM in weak_alias.
23338         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23339         (fegetenv): Do not use BP_SYM in versioned symbols.
23340         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23341         (fesetenv): Do not use BP_SYM in versioned symbols.
23342         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23343         (feupdateenv): Do not use BP_SYM in versioned symbols.
23344         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23345         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23346         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23347         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23348         (open64): Do not use BP_SYM in weak_alias.
23349         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23350         (fegetenv): Do not use BP_SYM in versioned symbols.
23351         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23352         (fesetenv): Do not use BP_SYM in versioned symbols.
23353         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23354         (feupdateenv): Do not use BP_SYM in versioned symbols.
23355         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23356         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23357         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23358         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23359         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23360         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23361         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23362         <bp-sym.h>.
23363         (__libc_start_main): Do not use BP_SYM.
23364
23365 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23366
23367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23368         redundant return line.
23369         (norm): Likewise.
23370         (denorm): Likewise.
23371         (dbl_mp): Likewise.
23372         (sub_magnitudes): Likewise.
23373         (__add): Likewise.
23374         (__sub): Likewise.
23375         (__mul): Likewise.
23376         (__inv): Likewise.
23377         (__dvd): Likewise.
23378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23379         (norm): Likewise.
23380         (denorm): Likewise.
23381         (dbl_mp): Likewise.
23382         (sub_magnitudes): Likewise.
23383         (__add): Likewise.
23384         (__sub): Likewise.
23385         (__mul): Likewise.
23386         (__inv): Likewise.
23387         (__dvd): Likewise.
23388
23389         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23390         instead of __mul.
23391         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23392         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23393         (cc32): Likewise.
23394
23395         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23396         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23398         of __mul for squares.
23399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23400         function
23401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23402         Likewise.
23403         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23404         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23405
23406 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23407
23408         [BZ #13550]
23409         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23410         code.
23411         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23412         prototype or function definition.  Rename ubp_* variables and
23413         parameters.  Remove argv definitions conditional on
23414         [__BOUNDED_POINTERS__].
23415         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23416         * elf/dl-runtime.c (_dl_fixup): Likewise.
23417         * include/set-hooks.h (RUN_HOOK): Likewise.
23418         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23419         definition.
23420         * string/strcpy.c (strcpy): Do not use __unbounded.
23421         * sysdeps/generic/frame.h (struct layout): Likewise.
23422         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23423         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23424         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23425         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23426         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23427         (__backtrace): Likewise.
23428         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23429         use __ptrvalue.
23430         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23431         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23432         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23433         Likewise.
23434         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23435         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23436         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23437         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23438         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23439         Do not use __unbounded.
23440         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23441         Rename __unboundedrlimits parameter to rlimits in prototype.
23442         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23443         Do not use __unbounded.
23444         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23445         not use __ptrvalue.
23446         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23447         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23448         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23449         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23450         __ptrvalue or __unbounded.
23451         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23452         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23453         use __unbounded.
23454         (__new_msgctl): Do not use __ptrvalue.
23455         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23456         __unbounded.
23457         (__libc_msgrcv): Do not use __ptrvalue.
23458         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23459         startup_info): Do not use __unbounded.
23460         (__libc_start_main): Likewise.  Rename ubp_* variables and
23461         parameters.  Remove argv definitions conditional on
23462         [__BOUNDED_POINTERS__].
23463         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23464         __ptrvalue.
23465         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23466         use __unbounded.
23467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23468         or __ptrvalue.
23469         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23470         use __unbounded.
23471         (__new_shmctl): Do not use __ptrvalue.
23472         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23473         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23474         Likewise.
23475         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23477         (__libc_sigaction): Likewise.
23478         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23479         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23482
23483 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23484
23485         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23486
23487         * string/mempcpy.c: Implement by calling memcpy.
23488
23489 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23490
23491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23492
23493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23494         evaluation.
23495
23496         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23497         values in the mantissa.
23498
23499         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23500         minimize writes to Z.
23501         (sub_magnitudes): Simplify code a bit.
23502
23503 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23504
23505         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23506         from the message.  The linker prefixes all warnings with that already.
23507
23508 2013-02-12  Andreas Schwab  <schwab@suse.de>
23509
23510         [BZ #15078]
23511         * posix/regexec.c (extend_buffers): Add parameter min_len.
23512         (check_matching): Pass minimum needed length.
23513         (clean_state_log_if_needed): Likewise.
23514         (get_subexp): Likewise.
23515         * posix/Makefile (tests): Add bug-regex34.
23516         (bug-regex34-ENV): Define.
23517         * posix/bug-regex34.c: New file.
23518
23519         [BZ #11561]
23520         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23521         elements compare against the byte sequence of it, not its name.
23522         * posix/Makefile (tests): Add bug-regex35.
23523         (bug-regex35-ENV): Define.
23524         * posix/bug-regex35.c: New file.
23525
23526 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23527
23528         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23529         comment.
23530         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23531         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23532         (CHECK_EOL): Add undef.
23533
23534 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23535
23536         * bits/stdlib-bsearch.h: New file.
23537         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23538         * stdlib/stdlib.h: Likewise.
23539
23540 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23541
23542         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23543         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23544         declaration.
23545         * manual/search.texi (Array Search Function): Add missing const in
23546         lfind prototype.
23547         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23548         declaration to use rlim_t.
23549         (Basic Scheduling Functions): Remove erroneous const from
23550         sched_getparam prototype.  Remove erroneous * from
23551         sched_get_priority_max and sched_get_priority_min prototypes.
23552         (Resource Usage): Fix summary @comment on vtimes to refer to
23553         sys/vtimes.h rather than vtimes.h.
23554         Add missing *s in vtimes prototype.
23555         (Limits on Resources): Fix ulimit prototype to return long int.
23556         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23557         prototypes to use long int rather than double.
23558         (BSD Random): Fix initstate and setstate to use char *, not void *.
23559         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23560         prototype to make second argument 'struct aiocb64 *const[]'.
23561         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23562         (Status of AIO Operations): Remove erroneous const in aio_return and
23563         aio_return64 prototypes.
23564         (Synchronizing I/O): Fix sync prototype to return void.
23565         * manual/startup.texi (Suboptions): Remove an erroneous const in
23566         getsubopt prototype.
23567         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23568         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23569         use size_t rather than int.
23570         (Scanning All Users): Likewise for getpwent_r.
23571         (Setting Groups): Add missing const to setgroups prototype.
23572         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23573         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23574         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23575         'const void *' rather than 'const char *'.
23576         (Host Address Functions): Likewise for inet_ntop.
23577         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23578         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23579         ssize_t for return value.
23580         (Sending Data): Likewise for send, sendto, sendmsg.
23581         (Socket Option Functions): Add a missing const in setsockopt prototype.
23582         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23583         use wchar_t for the argument.
23584         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23585         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23586         take no arguments.
23587         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23588         double/float/long double for second argument.
23589         Fix return types of significand, significandf, significandl.
23590         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23591         argument in fchmod prototype.
23592         (File Owner): Use uid_t and gid_t in fchown prototype.
23593         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23594         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23595         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23596         use 'const struct dirent **' as argument types to CMP function pointer
23597         argument.
23598         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23599         (File Times): Fix summary magic @comment for struct utimbuf and utime
23600         to refer to utime.h, not time.h.
23601         * manual/string.texi (Argz Functions): Add missing const in
23602         argz_extract and argz_next prototypes.
23603         (Finding Tokens in a String): Likewise for basename.
23604         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23605         (Copying and Concatenation): Fix typo in wmemmove prototype.
23606         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23607         (Signal Stack): Remove erroneous const in sigstack prototype.
23608         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23609         prototype.
23610         (Simple Calendar Time): Likewise for stime.
23611         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23612         prototype.
23613         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23614         say sys/sysctl.h instead.
23615         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23616         and vsyslog prototypes.
23617
23618 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23619
23620         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23621         Remove.
23622
23623 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23624
23625         * misc/sys/mman.h: Fix typo in mremap comment.
23626
23627 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23628
23629         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23630         the '\0' terminator.
23631
23632 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23633
23634         [BZ #13550]
23635         * debug/segfault.c: Don't include <bp-checks.h>.
23636         * sysdeps/generic/bp-checks.h: Remove file.
23637         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23638         (__GETDENTS): Don't use CHECK_N.
23639         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23640         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23641         (__getgroups): Don't use CHECK_N.
23642         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23643         (setgroups): Don't use CHECK_N.
23644         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23645         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23646         (__libc_msgrcv): Don't use CHECK_N.
23647         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23648         (__libc_msgsnd): Don't use CHECK_N.
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23650         <bp-checks.h>.
23651         (__libc_pread): Don't use CHECK_N.
23652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23653         include <bp-checks.h>.
23654         (__libc_pread64): Don't use CHECK_N.
23655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23656         include <bp-checks.h>.
23657         (__libc_pwrite): Don't use CHECK_N.
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23659         include <bp-checks.h>.
23660         (__libc_pwrite64): Don't use CHECK_N.
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23662         <bp-checks.h>.
23663         (__libc_pread): Don't use CHECK_N.
23664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23665         include <bp-checks.h>.
23666         (__libc_pread64): Don't use CHECK_N.
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23668         include <bp-checks.h>.
23669         (__libc_pwrite): Don't use CHECK_N.
23670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23671         include <bp-checks.h>.
23672         (__libc_pwrite64): Don't use CHECK_N.
23673         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23674         (do_pread): Don't use CHECK_N.
23675         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23676         (do_pread64): Don't use CHECK_N.
23677         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23678         (do_pwrite): Don't use CHECK_N.
23679         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23680         (do_pwrite64): Don't use CHECK_N.
23681         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23682         (__libc_readv): Don't use CHECK_N.
23683         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23684         (semop): Don't use CHECK_N.
23685         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23686         <bp-checks.h>.
23687         (semtimedop): Don't use CHECK_N.
23688         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23689         (__libc_pread): Don't use CHECK_N.
23690         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23691         <bp-checks.h>.
23692         (__libc_pread64): Don't use CHECK_N.
23693         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23694         <bp-checks.h>.
23695         (__libc_pwrite): Don't use CHECK_N.
23696         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23697         <bp-checks.h>.
23698         (__libc_pwrite64): Don't use CHECK_N.
23699         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23700         <bp-checks.h>.
23701         (__libc_msgrcv): Don't use CHECK_N.
23702         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23703         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23704         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23705         (__libc_writev): Don't use CHECK_N.
23706
23707 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23708
23709         * string/strcpy.c: Removed unused variable.
23710
23711         * Makeconfig (+sysdep-includes): Define with := rather than =.
23712         Use an existing include/ subdir of each sysdeps dir before it.
23713
23714 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23715
23716         * nscd/connection.c (register_traced_file): Comment function.
23717         [HAVE_INOTIFY] (union __inev): Define.
23718         [HAVE_INOTIFY] (inotify_check_files): New function.
23719         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23720         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23721         clear_db_cache.
23722         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23723
23724 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23725
23726         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23727         loaded if not already and that a failure is permanent.
23728
23729 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23730
23731         [BZ #15006]
23732         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23733         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23734
23735 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23736
23737         [BZ #13550]
23738         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23739         (CHECK_1_NULL_OK): Likewise.
23740         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23741         (__fxstat): Do not use CHECK_1.
23742         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23743         <bp-checks.h>.
23744         (___fxstat64): Do not use CHECK_1.
23745         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23746         <bp-checks.h>.
23747         (__fxstatat): Do not use CHECK_1.
23748         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23749         <bp-checks.h>.
23750         (__fxstatat64): Do not use CHECK_1.
23751         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23752         <bp-checks.h>.
23753         (__fxstat): Do not use CHECK_1.
23754         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23755         <bp-checks.h>.
23756         (__fxstatat): Do not use CHECK_1.
23757         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23758         <bp-checks.h>.
23759         (__getresgid): Do not use CHECK_1.
23760         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23761         <bp-checks.h>.
23762         (__getresuid): Do not use CHECK_1.
23763         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23764         <bp-checks.h>.
23765         (__lxstat): Do not use CHECK_1.
23766         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23767         <bp-checks.h>.
23768         (__old_msgctl): Do not use CHECK_1.
23769         (__new_msgctl): Likewise.
23770         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23771         <bp-checks.h>.
23772         (__new_setrlimit): Do not use CHECK_1.
23773         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23774         <bp-checks.h>.
23775         (__old_shmctl): Do not use CHECK_1.
23776         (__new_shmctl): Likewise.
23777         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23778         <bp-checks.h>.
23779         (__xstat): Do not use CHECK_1.
23780         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23781         (__lxstat): Do not use CHECK_1.
23782         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23783         <bp-checks.h>.
23784         (___lxstat64): Do not use CHECK_1.
23785         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23786         (__old_msgctl): Do not use CHECK_1.
23787         (__new_msgctl): Likewise.
23788         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23789         <bp-checks.h>.
23790         (__gettimeofday): Do not use CHECK_1.
23791         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23792         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23793         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23794         <bp-checks.h>.
23795         (__gettimeofday): Do not use CHECK_1.
23796         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23797         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23798         (__new_shmctl): Do not use CHECK_1.
23799         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23800         <bp-checks.h>.
23801         (do_sigtimedwait): Do not use CHECK_1.
23802         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23803         <bp-checks.h>.
23804         (do_sigwaitinfo): Do not use CHECK_1.
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23806         <bp-checks.h>.
23807         (msgctl): Do not use CHECK_1.
23808         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23809         <bp-checks.h>.
23810         (shmctl): Do not use CHECK_1.
23811         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23812         (ustat): Do not use CHECK_1.
23813         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23814         <bp-checks.h>.
23815         (__fxstat): Do not use CHECK_1.
23816         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23817         <bp-checks.h>.
23818         (__fxstatat): Do not use CHECK_1.
23819         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23820         <bp-checks.h>.
23821         (__lxstat): Do not use CHECK_1.
23822         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23823         <bp-checks.h>.
23824         (__xstat): Do not use CHECK_1.
23825         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23826         (__xstat): Do not use CHECK_1.
23827         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23828         (___xstat64): Do not use CHECK_1.
23829
23830         [BZ #13550]
23831         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23832         definitions.
23833         (CHECK_BOUNDS_HIGH): Likewise.
23834         * string/strcpy.c: Do not include <bp-checks.h>.
23835         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23836
23837 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23838
23839         * nscd/nscd-client.h (__nscd_drop_map_ref):
23840         Add __attribute__ ((unused)).
23841         * nis/nss-nisplus.h (niserr2nss): Likewise.
23842
23843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23844         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23845
23846         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23847         Remove inline keyword.
23848         * include/rounding-mode.h (round_away): Likewise.
23849         * libio/wfileops.c (adjust_wide_data): Likewise.
23850         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23851         (__m128i_strloadu_tolower): Likewise.
23852         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23853         (__m128i_strloadu_tolower): Likewise.
23854         * time/mktime.c (ydhms_diff): Likewise.
23855         * locale/elem-hash.h (elem_hash): Likewise.
23856         * locale/setlocale.c (setdata): Likewise.
23857         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23858         (re_string_wchar_at): Likewise.
23859         (bitset_not, bitset_merge, bitset_mask): Likewise.
23860         [!(__GNUC__ > 3)] (inline): Remove macro.
23861         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23862         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23863         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23864         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23865         * string/memcmp.c (memcmp_bytes): Likewise.
23866         * locale/programs/locarchive.c (compute_hashval): Likewise.
23867         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23868         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23869         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23870         * nss/getent.c (print_rpc, print_protocols): Likewise.
23871         (print_passwd, print_group, print_aliases): Likewise.
23872         * nis/nss-nisplus.h (niserr2nss): Likewise.
23873         * nscd/connections.c (restart_p): Likewise.
23874         Change return type to bool.
23875
23876 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23877
23878         * Makeconfig (all-Depend-files): Add existing
23879         $(sorted-subdirs:=/Depend) files.
23880         (all-subdirs): Remove nss.
23881         * sysdeps/unix/inet/Subdirs: Add it here instead.
23882         * hesiod/Depend: New file.
23883
23884         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23885         instead of calling alloca.
23886
23887         * io/lseek.c (__lseek): Rename to __libc_lseek.
23888         Define __lseek as an alias.
23889
23890         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23891
23892 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23893
23894         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23895         else clause and remove check for non-standard endianness.
23896
23897 2013-02-04  David S. Miller  <davem@davemloft.net>
23898
23899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23900
23901 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23902
23903         [BZ #13550]
23904         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23905         (__ubp_memchr): Remove prototype.
23906         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23907         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23908         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23909         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23910         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23911         Remove alias.
23912         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23913         (__ubp_memchr): Likewise.
23914         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23915         (__ubp_memchr): Likewise.
23916         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23917         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23918         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23919         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23920         CHECK_STRING.
23921         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23922         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23923         (__getcwd): Do not use CHECK_STRING.
23924         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23925         <bp-checks.h>.
23926         (__real_chown): Do not use CHECK_STRING.
23927         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23928         <bp-checks.h>.
23929         (fchownat): Do not use CHECK_STRING.
23930         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23931         CHECK_STRING.
23932         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23933         <bp-checks.h>.
23934         (__lchown): Do not use CHECK_STRING.
23935         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23936         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23937         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23938         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23940         include <bp-checks.h>.
23941         (truncate64): Do not use CHECK_STRING.
23942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23943         <bp-checks.h>.
23944         (__real_chown): Do not use CHECK_STRING.
23945         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23946         <bp-checks.h>.
23947         (__lchown): Do not use CHECK_STRING.
23948         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23949         <bp-checks.h>.
23950         (__chown): Do not use CHECK_STRING.
23951         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23952         <bp-checks.h>.
23953         (truncate64): Do not use CHECK_STRING.
23954         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23955         Likewise.
23956         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23957         (__xmknod): Do not use CHECK_STRING.
23958         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23959         <bp-checks.h>.
23960         (__xmknodat): Do not use CHECK_STRING.
23961         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23962         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23963
23964 2013-02-04  Andreas Schwab  <schwab@suse.de>
23965
23966         [BZ #14142]
23967         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23968         * include/netdb.h: Likewise for h_errno.
23969         * elf/tst-stackguard1.c: Include <tls.h>.
23970
23971 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23972
23973         * elf/link.h (struct link_map): Extend the l_addr comment.
23974         * include/link.h (struct link_map): Likewise.
23975
23976 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23977
23978         [BZ #13550]
23979         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23980         (BOUNDED_1): Remove macro.
23981         * debug/backtrace.c: Don't include <bp-checks.h>.
23982         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23983         (__backtrace): Likewise.
23984         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23985         <bp-checks.h>.
23986         (__backtrace): Don't use BOUNDED_1.
23987         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23988         <bp-checks.h>.
23989         (__backtrace): Don't use BOUNDED_1.
23990         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23991         (__backtrace): Don't use BOUNDED_1.
23992         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23993         (shmat): Don't use BOUNDED_N.
23994
23995 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23996
23997         [BZ #13550]
23998         * sysdeps/generic/bp-start.h: Remove file.
23999         * csu/libc-start.c: Don't include <bp-start.h>.
24000         (LIBC_START_MAIN): Set up __environ directly instead of using
24001         INIT_ARGV_and_ENVIRON.
24002         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24003         <bp-start.h>.
24004
24005         [BZ #13550]
24006         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24007         definitions.
24008         (CHECK_FCNTL): Likewise.
24009         (CHECK_N_PAGES): Likewise.
24010
24011         [BZ #13550]
24012         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24013         definitions.
24014         (CHECK_SIGSET_NULL_OK): Likewise.
24015         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24016         <bp-checks.h>.
24017         (sigpending): Don't use CHECK_SIGSET.
24018         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24019         <bp-checks.h>.
24020         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24021         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24022         <bp-checks.h>.
24023         (do_sigsuspend): Don't use CHECK_SIGSET.
24024         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24025         use CHECK_SIGSET.
24026         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24027         (do_sigwait): Don't use CHECK_SIGSET.
24028         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24029         use CHECK_SIGSET.
24030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24031         include <bp-checks.h>.
24032         (sigpending): Don't use CHECK_SIGSET.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24034         include <bp-checks.h>.
24035         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24036         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24037         <bp-checks.h>.
24038         (sigpending): Don't use CHECK_SIGSET.
24039         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24040         <bp-checks.h>.
24041         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24042
24043         [BZ #13550]
24044         * sysdeps/generic/bp-semctl.h: Remove file.
24045         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24046         <bp-checks.h> and <bp-semctl.h>.
24047         (__old_semctl): Don't use CHECK_SEMCTL.
24048         (__new_semctl): Likewise.
24049         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24050         and <bp-semctl.h>.
24051         (__old_semctl): Don't use CHECK_SEMCTL.
24052         (__new_semctl): Likewise.
24053         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24054         <bp-checks.h> and <bp-semctl.h>.
24055         (__old_semctl): Don't use CHECK_SEMCTL.
24056         (__new_semctl): Likewise.
24057         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24058         <bp-checks.h> and <bp-semctl.h>.
24059         (semctl): Don't use CHECK_SEMCTL.
24060
24061         [BZ #13550]
24062         * Makerules (elide-bp-thunks): Remove variable.
24063         (elide-routines.oS): Don't use $(elide-bp-thunks).
24064         (elide-routines.os): Likewise.
24065         (elide-routines.o): Likewise.
24066         (elide-routines.op): Likewise.
24067         (elide-routines.og): Likewise.
24068         (objects): Don't use $(bp-thunks).
24069         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24070         include.
24071         (common-generated): Do not add s-proto-bp.d.
24072         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24073         (int): Likewise.
24074         (typ): Likewise.
24075         Do not generate makefile rules for bounded-pointer thunks.
24076         * sysdeps/generic/bp-thunks.h: Remove file.
24077         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24078         * sysdeps/unix/s-proto-bp.S: Likewise.
24079
24080         [BZ #15062]
24081         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24082         parts of result separately when argument is not close to line from
24083         -i to i and one part of argument is small.
24084         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24085         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24086         * math/libm-test.inc (cacos_test): Add more tests.
24087         (casin_test): Likewise.
24088         (casinh_test): Likewise.
24089         * sysdeps/i386/fpu/libm-test-ulps: Update.
24090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24091
24092 2013-01-31  David S. Miller  <davem@davemloft.net>
24093
24094         * po/de.po: Update from translation team.
24095
24096 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24097
24098         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24099
24100 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24101
24102         * configure.in (_AC_PROG_CC_C89): New definition.
24103         * configure: Regenerate.
24104
24105         * configure.in (AC_PROG_CPP): New definition.
24106         * configure: Regenerate.
24107
24108 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24109
24110         * debug/tst-backtrace.h: New file.
24111         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24112         (ret): Remove variable.
24113         (x): Likewise.
24114         (FAIL): Remove macro.
24115         (NO_INLINE): Likewise.
24116         (fn1): Use match function instead of strstr.
24117         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24118         (ret): Remove variable.
24119         (x): Likewise.
24120         (FAIL): Remove macro.
24121         (NO_INLINE): Likewise.
24122         (fn): Use match function instead of strstr.
24123         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24124         (ret): Remove variable.
24125         (x): Likewise.
24126         (FAIL): Remove macro.
24127         (NO_INLINE): Likewise.
24128         (handle_signal): Use match function instead of strstr.
24129         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24130         (ret): Remove variable.
24131         (x): Likewise.
24132         (FAIL): Remove macro.
24133         (NO_INLINE): Likewise.
24134         (handle_signal): Use match function instead of strstr.
24135
24136 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24137
24138         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24139
24140 2013-01-23  David S. Miller  <davem@davemloft.net>
24141
24142         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24143         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24144         argument of CAS if possible.
24145         * sysdeps/sparc/sparc64/bits/atomic.h
24146         (__arch_compare_and_exchange_val_32_acq): Likewise.
24147         (__arch_compare_and_exchange_val_64_acq): Likewise.
24148
24149 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24150
24151         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24152         * sysdeps/posix/ulimit.c: ... this.
24153         Include <limits.h>.
24154         * sysdeps/unix/bsd/ulimit.c: Remove file.
24155
24156 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24157
24158         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24159         (LDFLAGS-tst-array5): Likewise.
24160
24161 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24162
24163         [BZ #15036]
24164         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24165         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24166         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24167         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24168
24169 2013-01-21  David S. Miller  <davem@davemloft.net>
24170
24171         * sysdeps/sparc/backtrace.c: New file.
24172         * sysdeps/sparc/sparc32/backtrace.h: New file.
24173         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24174         * sysdeps/sparc/sparc64/backtrace.h: New file.
24175         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24176         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24177         -funwind-tables.
24178
24179 2013-01-21  Andreas Schwab  <schwab@suse.de>
24180
24181         [BZ #15020]
24182         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24183         closed its stdout.
24184
24185 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24186
24187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24188         "mpa2.h".
24189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24190
24191 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24192             Mark Mitchell  <mark@codesourcery.com>
24193             Tom de Vries  <tom@codesourcery.com>
24194             Paul Pluzhnikov  <ppluzhnikov@google.com>
24195
24196         * debug/tst-backtrace2.c: New file.
24197         * debug/tst-backtrace3.c: Likewise.
24198         * debug/tst-backtrace4.c: Likewise.
24199         * debug/tst-backtrace5.c: Likewise.
24200         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24201         (CFLAGS-tst-backtrace3.c): Likewise.
24202         (CFLAGS-tst-backtrace4.c): Likewise.
24203         (CFLAGS-tst-backtrace5.c): Likewise.
24204         (LDFLAGS-tst-backtrace2): Likewise.
24205         (LDFLAGS-tst-backtrace3): Likewise.
24206         (LDFLAGS-tst-backtrace4): Likewise.
24207         (LDFLAGS-tst-backtrace5): Likewise.
24208         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24209         tst-backtrace4 and tst-backtrace5.
24210
24211 2013-01-18  Anton Blanchard  <anton@samba.org>
24212             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24213
24214         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24215         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24216         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24217         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24219         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24220         "+r" and remove output regs list as redundant.  Add explicit inline
24221         asm to specify register of return val to work around compiler codegen
24222         bug.  Remove (int) cast on return value.  Add return type parameter to
24223         use in macro so that this macro does not truncate return value for
24224         64-bit values.
24225         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24226         pass to INTERNAL_VSYSCALL_NCS.
24227         (INLINE_VSYSCALL): Add 'long int' as return type to
24228         INTERNAL_VSYSCALL_NCS macro invocation.
24229         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24230         INTERNAL_VSYSCALL_NCS macro invocation.
24231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24232
24233 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24234
24235         [BZ #14496]
24236         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24237         Fix application of SIMD FP exception mask.
24238
24239         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24240         mp_no from a power of two.
24241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24242         __mpexp_twomm1.  Use __pow_mp.
24243
24244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24245         multiplication.
24246
24247 2013-01-17  David S. Miller  <davem@davemloft.net>
24248
24249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24250
24251 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24252
24253         [BZ #15023]
24254         * include/complex.h: Condition contents on [!_COMPLEX_H].
24255         (__kernel_casinhf): New prototype.
24256         (__kernel_casinh): Likewise.
24257         (__kernel_casinhl): Likewise.
24258         * math/Makefile (libm_calls): Add k_casinh.
24259         * math/k_casinh.c: New file.
24260         * math/k_casinhf.c: Likewise.
24261         * math/k_casinhl.c: Likewise.
24262         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24263         finite nonzero arguments.
24264         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24265         finite nonzero arguments.
24266         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24267         finite nonzero arguments.
24268         * math/s_casinh.c: Do not include <float.h>.
24269         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24270         * math/s_casinhf.c: Do not include <float.h>.
24271         (__casinhf): Move code for finite nonzero arguments to
24272         k_casinhf.c.
24273         * math/s_casinhl.c: Do not include <float.h>.
24274         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24275         redefine.
24276         (__casinhl): Move code for finite nonzero arguments to
24277         k_casinhl.c.
24278         * math/libm-test.inc (cacos_test): Add more tests.
24279         * sysdeps/i386/fpu/libm-test-ulps: Update.
24280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24281
24282 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24283
24284         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24285         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24286         [!HAVE_MREMAP]: Remove [defined linux] case.
24287         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24288
24289 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24290
24291         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24292
24293 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24294
24295         * elf/elf.h (R_386_SIZE32): New relocation.
24296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24297         R_386_SIZE32.
24298         (elf_machine_rela): Likewise.
24299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24300         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24301
24302 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24303
24304         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24305         (FP_FAST_FMA): Do not define.
24306         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24307         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24308         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24309         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24310         !_SOFT_FLOAT]: Likewise.
24311         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24312         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24313         value.
24314         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24315         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24316         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24318         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24319         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24320         file.
24321
24322 2013-01-16  Andreas Schwab  <schwab@suse.de>
24323
24324         [BZ #14327]
24325         * include/stdlib.h (__mktemp): Add declaration.
24326         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24327         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24328
24329 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24330
24331         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24332         definitions.
24333         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24334         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24335         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24336         definitions here.
24337         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24338         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24339         definitions.
24340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24341         and ONE.
24342         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24343         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24344         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24345         definitions.
24346         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24347         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24348         definitions.
24349         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24350
24351         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24352
24353 2013-01-15  David S. Miller  <davem@davemloft.net>
24354
24355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24356         trunc{,f} to libm-sysdep_routes.
24357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24359         file.
24360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24362         file.
24363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24364         file.
24365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24367         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24369         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24371         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24372         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24373
24374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24375         nearbyint{,f} to libm-sysdep_routes.
24376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24378         New file.
24379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24380         file.
24381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24382         New file.
24383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24384         file.
24385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24387         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24388         file.
24389         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24391         file.
24392         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24393         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24394         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24395
24396         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24397         libc_feholdexcept and libc_fesetenv.
24398
24399 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24400
24401         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24402
24403 2013-01-14  David S. Miller  <davem@davemloft.net>
24404
24405         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24406         (SPARC_ASM_VIS2_IFUNC): Likewise.
24407         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24409         use of 'siam' instruction.
24410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24411         Likewise.
24412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24413         Likewise.
24414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24415         Likewise.
24416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24421         file.
24422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24423         file.
24424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24425         file.
24426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24427         file.
24428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24433         new VIS2 routines.
24434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24437         Likewise.
24438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24443         routines to libm-sysdep_routines.
24444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24445
24446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24447         fdim/fdimf to libm-sysdep_routines.
24448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24449         file.
24450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24452         file.
24453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24456         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24457         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24458         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24459         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24460
24461 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24462
24463         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24464         to optimize copies.
24465
24466         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24469
24470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24471         local variable MPTWO.
24472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24473         Likewise.
24474
24475 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24476
24477         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24478         GLOB_NOESCAPE.
24479
24480 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24481
24482         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24483
24484 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24485
24486         * manual/pattern.texi (glob_t): Document gl_flags.
24487         (glob64_t): Likewise.
24488
24489 2013-01-11  David S. Miller  <davem@davemloft.net>
24490
24491         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24492         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24493         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24494         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24495         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24496         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24497         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24498         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24499         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24500         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24501         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24502         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24503         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24504
24505         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24506         sparc V9 rather than using V8 code.
24507         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24508         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24509
24510         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24511         Move to...
24512         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24513         Here.
24514
24515 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24516
24517         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24518         not in the main loop.
24519         * configure: Regenerated.
24520
24521 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24522
24523         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24524         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24525         to just #else.
24526         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24527         [!__GLIBC_HAVE_LONG_LONG] case.
24528         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24529         condition to just #else.
24530         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24531         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24532         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24533         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24534         unconditional.
24535         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24536         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24537         #elif condition to just #else.
24538         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24539         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24540         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24541         #elif condition to just #else.
24542
24543 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24544
24545         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24546         (EF_MIPS_ARCH_64): Fix value.
24547         (EF_MIPS_ARCH_32R2): New.
24548         (EF_MIPS_ARCH_64R2): New.
24549
24550 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24551
24552         * Makeconfig (+link-pie-before-libc): New.
24553         (+link-pie-after-libc): Likewise.
24554         (+link-pie-tests): Likewise.
24555         (+link-pie): Rewritten.
24556         (link-before-libc): Remove $(config-LDFLAGS).
24557         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24558         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24559         (config-LDFLAGS): Renamed to ...
24560         (rtld-LDFLAGS): This.
24561         (rtld-tests-LDFLAGS): New macro.
24562         (link-libc-rpath-link): Likewise.
24563         (link-libc-tests-rpath-link): Likewise.
24564         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24565         (link-libc): Prepand $(link-libc-rpath-link).
24566         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24567         (test-program-prefix): New macro.
24568         (test-via-rtld-prefix): Likewise.
24569         (test-program-cmd): Likewise.
24570         (host-test-program-cmd): Likewise.
24571         * Makefile ($(common-objpfx)testrun.sh): Replace
24572         $(run-program-prefix) with $(test-program-prefix).
24573         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24574         $(rtld-LDFLAGS).
24575         ($(common-objpfx)shlib.lds): Likewise.
24576         (build-module-helper): Likewise.
24577         ($(common-objpfx)format.lds): Likewise.
24578         * Rules (binaries-pie-tests): New.
24579         (binaries-pie-notests): Likewise.
24580         (binaries-pie): Rewritten.
24581         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24582         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24583         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24584         (make-test-out): Replace $(host-built-program-cmd) with
24585         $(host-test-program-cmd).
24586         * config.make.in (build-hardcoded-path-in-tests): New variable.
24587         * configure.in (--enable-hardcoded-path-in-tests): New configure
24588         option.
24589         (hardcoded_path_in_tests): New AC_SUBST.
24590         * configure: Regenerated.
24591         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24592         $(built-program-cmd) with $(test-program-cmd).
24593         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24594         (test_program_cmd): This.
24595         * elf/Makefile ($(objpfx)order.out): Run test with
24596         $(test-program-prefix).
24597         ($(objpfx)order2.out): Likewise.
24598         ($(objpfx)tst-initorder.out): Likewise.
24599         ($(objpfx)tst-initorder2.out): Likewise.
24600         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24601         $(test-program-cmd).
24602         ($(objpfx)tst-array1-static.out): Likewise.
24603         ($(objpfx)tst-array2.out): Likewise.
24604         ($(objpfx)tst-array3.out): Likewise.
24605         ($(objpfx)tst-array4.out): Likewise.
24606         ($(objpfx)tst-array5.out): Likewise.
24607         ($(objpfx)tst-array5-static.out): Likewise.
24608         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24609         $(test-program-cmd).
24610         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24611         $(run-program-prefix) with $(test-program-prefix).
24612         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24613         (test_program_prefix): This.
24614         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24615         $(run-program-prefix) with $(test-program-prefix).
24616         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24617         (test_program_prefix): This.
24618         * iconvdata/tst-tables.sh: Likewise.
24619         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24620         $(run-program-prefix) with $(test-program-prefix).
24621         ($(objpfx)tst-translit.out): Likewise.
24622         ($(objpfx)tst-gettext2.out): Likewise.
24623         ($(objpfx)tst-gettext4.out): Likewise.
24624         ($(objpfx)tst-gettext6.out): Likewise.
24625         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24626         (test_program_prefix): This.
24627         * intl/tst-gettext2.sh: Likewise.
24628         * intl/tst-gettext4.sh  Likewise.
24629         * intl/tst-gettext6.sh: Likewise.
24630         * intl/tst-translit.sh: Likewise.
24631         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24632         with $(test-program-cmd).
24633         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24634         $(run-program-prefix) with $(test-program-prefix).
24635         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24636         (test_program_prefix): This.
24637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24638         $(run-program-prefix) with $(test-program-prefix).
24639         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24640         (test_program_prefix): This.
24641         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24642         * posix/Makefile ($(objpfx)globtest.out): Replace
24643         $(run-via-rtld-prefix) and $(test-wrapper) with
24644         $(test-program-prefix) and $(test-via-rtld-prefix).
24645         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24646         $(test-program-prefix).
24647         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24648         $(host-test-program-cmd).
24649         (tst-spawn-ARGS): Likewise.
24650         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24651         $(test-program-prefix).
24652         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24653         (test_via_rtld_prefix): This.
24654         (test_wrapper): Renamed to ...
24655         (test_program_prefix): This.
24656         (run_program_prefix): Replaced by test_program_prefix.
24657         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24658         (test_program_prefix): This.
24659         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24660         with $(host-test-program-cmd).
24661         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24662         $(run-program-prefix) with $(test-program-prefix).
24663         ($(objpfx)tst-printf.out): Likewise.
24664         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24665         $(test-program-cmd).
24666         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24667         (test_program_prefix): This.
24668         * stdio-common/tst-unbputc.sh: Likewise.
24669         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24670         $(run-program-prefix) with $(test-program-prefix).
24671         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24672         (test_program_prefix): This.
24673         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24674         $(built-program-cmd) with $(test-program-cmd).
24675
24676 2013-01-11  Andreas Jaeger  <aj@suse.de>
24677
24678         [BZ #15003]
24679         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24680         value. Sync with Linux 3.7.
24681
24682 2013-01-10  David S. Miller  <davem@davemloft.net>
24683
24684         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24685         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24686         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24687
24688 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24689
24690         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24691         never set.
24692         * configure: Regenerated.
24693
24694 2013-01-10  David S. Miller  <davem@davemloft.net>
24695
24696         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24697         sparc V9 rather than using V8 code.
24698         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24699         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24700
24701 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24702
24703         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24704         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24705         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24706         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24707         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24708         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24709         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24710         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24711         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24712         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24713         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24714         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24715         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24716         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24717         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24718         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24719         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24720         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24721         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24722         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24723         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24724         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24725         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24726         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24727         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24728         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24729         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24730
24731 2013-01-10  David S. Miller  <davem@davemloft.net>
24732
24733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24734
24735 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24736
24737         * posix/Makefile (tests-static): New variable.
24738         (tests): Add $(tests-static).
24739         (tst-exec-static-ARGS): New variable.
24740         (tst-spawn-static-ARGS): Likewise.
24741         * posix/tst-exec-static.c: New file.
24742         * posix/tst-spawn-static.c: Likewise.
24743         * posix/tst-exec.c: Support run directly.
24744         * posix/tst-spawn.c: Likewise.
24745
24746 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24747
24748         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24749         long.
24750         * math/bits/mathcalls.h (llrint): Likewise.
24751         (llround): Likewise.
24752         * stdlib/stdlib.h (struct drand48_data): Likewise.
24753         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24754         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24755         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24756         Likewise.
24757         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24758         Likewise.
24759         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24760         (elf_greg_t): Likewise.
24761         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24762         (__jmp_buf): Likewise.
24763         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24764         definitions.
24765         (llrint): Likewise, for all definitions.
24766         (llrintl): Likewise.
24767
24768         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24769         Remove [__GNUC__] condition.
24770         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24771         condition to just [__USE_ISOC99].
24772         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24773
24774 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24775
24776         [BZ #14200]
24777         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24778         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24779         defined.
24780         (_POSIX_V6_ILP32_OFF32): Likewise.
24781         (_XBS5_ILP32_OFF32): Likewise.
24782         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24783         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24784
24785 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24786
24787         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24788
24789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24790         doubles __mpexp_twomm1.  Adjust usage.
24791         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24792         Remove.
24793
24794 2013-01-10  Andreas Schwab  <schwab@suse.de>
24795
24796         [BZ #14964]
24797         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24798         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24799
24800 2013-01-09  David S. Miller  <davem@davemloft.net>
24801
24802         [BZ #15003]
24803         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24804         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24805         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24806         (TCP_FASTOPEN): Define.
24807         (tcp_repair_opt): New structure.
24808         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24809         enum values.
24810         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24811         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24812         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24813         (tcp_cookie_transactions): New structure.
24814
24815 2013-01-09  Anton Blanchard  <anton@samba.org>
24816
24817         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24818         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24820         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24821
24822 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24823
24824         * include/features.h (__USE_ANSI): Remove.
24825
24826 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24827
24828         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24829
24830         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24831
24832 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833
24834         * sysdeps/s390/fpu/libm-test-ulps: Update.
24835
24836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24837
24838         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24839         (__acr): Likewise.
24840         (__cpy): Likewise.
24841         (norm): Likewise.
24842         (denorm): Likewise.
24843         (__mp_dbl): Likewise.
24844         (__dbl_mp): Likewise.
24845         (add_magnitudes): Likewise.
24846         (sub_magnitudes): Likewise.
24847         (__add): Likewise.
24848         (__sub): Likewise.
24849         (__mul): Likewise.
24850         (__inv): Likewise.
24851         (__dvd): Likewise.
24852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24853         (__acr): Likewise.
24854         (__cpy): Likewise.
24855         (norm): Likewise.
24856         (denorm): Likewise.
24857         (__mp_dbl): Likewise.
24858         (__dbl_mp): Likewise.
24859         (add_magnitudes): Likewise.
24860         (sub_magnitudes): Likewise.
24861         (__add): Likewise.
24862         (__sub): Likewise.
24863         (__mul): Likewise.
24864         (__inv): Likewise.
24865         (__dvd): Likewise.
24866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24867         (__acr): Likewise.
24868         (__cpy): Likewise.
24869         (norm): Likewise.
24870         (denorm): Likewise.
24871         (__mp_dbl): Likewise.
24872         (__dbl_mp): Likewise.
24873         (add_magnitudes): Likewise.
24874         (sub_magnitudes): Likewise.
24875         (__add): Likewise.
24876         (__sub): Likewise.
24877         (__mul): Likewise.
24878         (__inv): Likewise.
24879         (__dvd): Likewise.
24880
24881 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24882
24883         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24884         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24885         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24886         2 && __USE_EXTERN_INLINES]: Likewise.
24887
24888 2013-01-08  Andreas Jaeger  <aj@suse.de>
24889
24890         [BZ# 14985]
24891         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24892         Remove.
24893         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24894         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24895
24896 2013-01-07  Anton Blanchard  <anton@samba.org>
24897
24898         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24899         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24900         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24901         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24902         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24903         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24904         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24905         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24907         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24908         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24912         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24913         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24915         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24916         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24917         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24918         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24919         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24920         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24921         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24922         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24923         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24924         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24925         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24926         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24927         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24928         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24930         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24931         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24932         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24933         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24937         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24938         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24939         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24940         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24941
24942 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24943
24944         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24945         (__MALLOC_PMT): Likewise.
24946         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24947         [__GNUC__], only on [_LIBC].
24948         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24949         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24950         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24951         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24952         forward declaration.
24953         (realloc_hook_ini): Likewise.
24954         (memalign_hook_ini): Likewise.
24955         (__libc_memalign): Do not use __MALLOC_PMT in variable
24956         declaration.
24957         (__libc_valloc): Likewise.
24958         (__libc_pvalloc): Likewise.
24959         (__libc_calloc): Likewise.
24960         (__posix_memalign): Likewise.
24961
24962         [BZ #14996]
24963         * math/s_casinh.c: Include <float.h>.
24964         (__casinh): Do not do computation with squaring and square root
24965         for large arguments.
24966         * math/s_casinhf.c: Include <float.h>.
24967         (__casinhf): Do not do computation with squaring and square root
24968         for large arguments.
24969         * math/s_casinhl.c: Include <float.h>.
24970         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24971         (__casinhl): Do not do computation with squaring and square root
24972         for large arguments.
24973         * math/libm-test.inc (casin_test): Add more tests.
24974         (casinh_test): Likewise.
24975         * sysdeps/i386/fpu/libm-test-ulps: Update.
24976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24977
24978 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24979
24980         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24981         (__x86_64_raw_data_cache_size): Likewise.
24982         (__x86_64_data_cache_size_half): Likewise.
24983         (__x86_64_raw_data_cache_size_half): Likewise.
24984         (__x86_64_shared_cache_size): Likewise.
24985         (__x86_64_raw_shared_cache_size): Likewise.
24986         (__x86_64_shared_cache_size_half): Likewise.
24987         (__x86_64_raw_shared_cache_size_half): Likewise.
24988         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24989         to ...
24990         (__x86_data_cache_size): This.
24991         (__x86_64_raw_data_cache_size): Renamed to ...
24992         (__x86_raw_data_cache_size): This.
24993         (__x86_64_data_cache_size_half): Renamed to ...
24994         (__x86_data_cache_size_half): This.
24995         (__x86_64_raw_data_cache_size_half): Renamed to ...
24996         (__x86_raw_data_cache_size_half): This.
24997         (__x86_64_shared_cache_size): Renamed to ...
24998         (__x86_shared_cache_size): This.
24999         (__x86_64_raw_shared_cache_size): Renamed to ...
25000         (__x86_raw_shared_cache_size): This.
25001         (__x86_64_shared_cache_size_half): Renamed to ...
25002         (__x86_shared_cache_size_half): This.
25003         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25004         (__x86_raw_shared_cache_size_half): This.
25005         * sysdeps/x86_64/memcpy.S: Updated.
25006         * sysdeps/x86_64/memset.S: Likewise.
25007         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25009         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25010
25011 2013-01-04  David S. Miller  <davem@davemloft.net>
25012
25013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25014
25015 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25016
25017         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25018         1 to avoid redefinition warning.
25019         (__USE_GNU): Don't define.
25020         (init_signaling_nan): Protoize.
25021
25022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25023
25024 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25025
25026         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25028         (__cpymn): Likewise.
25029         (norm): Remove commented code.
25030         (denorm): Likewise.
25031         (__mp_dbl): Likewise.
25032         (__inv): Likewise.
25033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25034         (__cpymn): Likewise.
25035         (norm): Remove commented code.
25036         (denorm): Likewise.
25037         (__mp_dbl): Likewise.
25038         (__inv): Likewise.
25039
25040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25041         mp_no value for 1.0 and 2.0.
25042         (norm): Use RADIXI instead of radixi.d.
25043         (denorm): Likewise.
25044         (__mul): Use 0.0 instead of zero.d.
25045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25046         mp_no value for 1.0 and 2.0.
25047         (norm): Use RADIXI instead of radixi.d.
25048         (denorm): Likewise.
25049         (__mul): Use 0.0 instead of zero.d.
25050
25051 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25052
25053         [BZ #14994]
25054         * math/s_casinh.c (__casinh): Reduce finite argument to first
25055         quadrant then set signs of results at the end.
25056         * math/s_casinhf.c (__casinhf): Likewise.
25057         * math/s_casinhl.c (__casinhl): Likewise.
25058         * math/libm-test.inc (casin_test): Add more tests.
25059         (casinh_test): Likewise.
25060         * sysdeps/i386/fpu/libm-test-ulps: Update.
25061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25062
25063 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25064
25065         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25066
25067         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25068
25069         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25070         declarations.
25071         (denorm): Likewise.
25072         (__mp_dbl): Likewise.
25073         (__inv): Likewise.
25074
25075         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25076         and adjust the header comment.
25077
25078         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25079         variable name from declaration.
25080
25081 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25082
25083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25084         Initialize COMMON_CPUID_INDEX_7 element.
25085         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25086         (CPUID_RTM): Likewise.
25087         (HAS_RTM): Likewise.
25088         (COMMON_CPUID_INDEX_7): New enum.
25089
25090 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25091
25092         [BZ #14981]
25093         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25094         size is zero, record memory as freed.
25095
25096 2013-01-03  Andreas Jaeger  <aj@suse.de>
25097
25098         * po/ia.po: Add new Interlingua translation.
25099
25100 2012-01-03  Allan McRae  <allan@archlinux.org>
25101
25102         * locale/programs/localedef.c: Fix description of '--posix' flag.
25103
25104 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25105
25106         * NEWS: Update dates in second copyright notice.
25107         * README: Update copyright dates in example.
25108         * manual/libc.texinfo: Update copyright dates.
25109         * scripts/test-installation.pl: Update copyright date in --version
25110         output.
25111
25112         * hurd/ctty-input.c: Fix copyright notice formatting.
25113         * hurd/ctty-output.c: Likewise.
25114         * hurd/dtable.c: Likewise.
25115         * hurd/hurd-raise.c: Likewise.
25116         * hurd/hurdprio.c: Likewise.
25117         * hurd/msgportdemux.c: Likewise.
25118         * misc/sys/file.h: Likewise.
25119         * misc/sys/ioctl.h: Likewise.
25120         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25121         * sysdeps/mach/hurd/chdir.c: Likewise.
25122         * sysdeps/mach/hurd/fchdir.c: Likewise.
25123         * sysdeps/mach/hurd/rename.c: Likewise.
25124         * sysdeps/mach/hurd/rmdir.c: Likewise.
25125         * sysdeps/mach/hurd/seekdir.c: Likewise.
25126         * sysdeps/mach/hurd/setsid.c: Likewise.
25127         * sysdeps/posix/wait3.c: Likewise.
25128
25129         * All files with FSF copyright notices: Update copyright dates
25130         using scripts/update-copyrights.
25131         * intl/plural.c: Regenerated.
25132         * locale/programs/charmap-kw.h: Likewise.
25133         * locale/programs/locfile-kw.h: Likewise.
25134
25135 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25136
25137         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25138         four values.
25139
25140         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25141         calculation loop and add branch prediction.
25142
25143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25144         check access beyond bounds of m1np.
25145
25146         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25147         MPTWO.
25148         (__inv): Remove local variable MPTWO to use the global
25149         constant.
25150         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25152         variable MPTWO.
25153         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25154         MP3HALFS static const.
25155
25156 2013-01-01  David S. Miller  <davem@davemloft.net>
25157
25158         * po/ca.po: Update from translation team.
25159
25160 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25161
25162         * scripts/update-copyrights: New file.
25163         * Makeconfig: Reformat copyright notice.
25164         * ctype/ctype.h: Likewise.
25165         * debug/swprintf_chk.c: Likewise.
25166         * elf/dl-cache.c: Likewise.
25167         * elf/dl-debug.c: Likewise.
25168         * elf/dl-object.c: Likewise.
25169         * grp/initgroups.c: Likewise.
25170         * hurd/Makefile: Likewise.
25171         * hurd/hurd/signal.h: Likewise.
25172         * hurd/hurdfault.c: Likewise.
25173         * hurd/hurdioctl.c: Likewise.
25174         * hurd/hurdlookup.c: Likewise.
25175         * hurd/intr-msg.c: Likewise.
25176         * iconv/gconv_open.c: Likewise.
25177         * libio/swprintf.c: Likewise.
25178         * locale/lc-ctype.c: Likewise.
25179         * locale/nl_langinfo.c: Likewise.
25180         * mach/Machrules: Likewise.
25181         * mach/Makefile: Likewise.
25182         * malloc/obstack.h: Likewise.
25183         * manual/Makefile: Likewise.
25184         * manual/tsort.awk: Likewise.
25185         * misc/bits/stab.def: Likewise.
25186         * nis/nis_print_group_entry.c: Likewise.
25187         * nis/nis_table.c: Likewise.
25188         * nis/nss_compat/compat-pwd.c: Likewise.
25189         * nis/nss_compat/compat-spwd.c: Likewise.
25190         * po/Makefile: Likewise.
25191         * posix/fnmatch.c: Likewise.
25192         * posix/regex.h: Likewise.
25193         * resolv/Makefile: Likewise.
25194         * resolv/nss_dns/dns-network.c: Likewise.
25195         * resolv/res_hconf.c: Likewise.
25196         * scripts/gen-sorted.awk: Likewise.
25197         * soft-fp/soft-fp.h: Likewise.
25198         * stdio-common/printf.h: Likewise.
25199         * stdlib/monetary.h: Likewise.
25200         * stdlib/random.c: Likewise.
25201         * stdlib/random_r.c: Likewise.
25202         * sysdeps/generic/Makefile: Likewise.
25203         * sysdeps/gnu/Makefile: Likewise.
25204         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25212         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25221         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25222         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25223         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25224         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25225         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25226         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25227         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25228         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25229         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25230         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25231         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25232         * sysdeps/mach/hurd/errnos.awk: Likewise.
25233         * sysdeps/mach/hurd/fork.c: Likewise.
25234         * sysdeps/mach/hurd/getcwd.c: Likewise.
25235         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25236         * sysdeps/mach/hurd/mmap.c: Likewise.
25237         * sysdeps/mach/hurd/utimes.c: Likewise.
25238         * sysdeps/mach/hurd/xmknod.c: Likewise.
25239         * sysdeps/posix/profil.c: Likewise.
25240         * sysdeps/posix/readdir_r.c: Likewise.
25241         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25242         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25243         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25244         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25246         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25248         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25250         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25251         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25252         * sysdeps/pthread/lio_listio.c: Likewise.
25253         * sysdeps/sparc/dl-procinfo.h: Likewise.
25254         * sysdeps/unix/i386/sysdep.S: Likewise.
25255         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25256         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25257         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25258         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25260         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25261         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25262         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25263         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25264         * sysdeps/wordsize-32/divdi3.c: Likewise.
25265         * time/sys/time.h: Likewise.
25266         * wcsmbs/Makefile: Likewise.
25267
25268 2013-01-01  David S. Miller  <davem@davemloft.net>
25269
25270         * po/fr.po: Update from translation team.
25271
25272         * catgets/gencat.c: Update copyright year.
25273         * csu/version.c: Likewise.
25274         * debug/catchsegv.sh: Likewise.
25275         * debug/pcprofiledump.c: Likewise.
25276         * debug/xtrace.sh: Likewise.
25277         * elf/ldconfig.c: Likewise.
25278         * elf/ldd.bash.in: Likewise.
25279         * elf/pldd.c: Likewise.
25280         * elf/sotruss.ksh: Likewise.
25281         * elf/sprof.c: Likewise.
25282         * iconv/iconv_prog.c: Likewise.
25283         * iconv/iconvconfig.c: Likewise.
25284         * locale/programs/locale.c: Likewise.
25285         * locale/programs/localedef.c: Likewise.
25286         * login/programs/pt_chown.c: Likewise.
25287         * malloc/memusage.sh: Likewise.
25288         * malloc/memusagestat.c: Likewise.
25289         * malloc/mtrace.pl: Likewise.
25290         * nscd/nscd.c: Likewise.
25291         * nss/getent.c: Likewise.
25292         * nss/makedb.c: Likewise.
25293         * posix/getconf.c: Likewise.
25294
25295 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296
25297         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25298         numbers.
25299
25300 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25301
25302         * math/bits/mathcalls.h (modf): Use __nonnull.
25303
25304 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25305
25306         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25307         (split): Use macro CN instead of the bare value.
25308         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25309         could be used.
25310         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25311         instead of the bare value.
25312         (power1): Likewise.
25313
25314 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25315
25316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25317         __ATAN_TWOM.
25318         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25319
25320         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25321         their values.
25322         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25323         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25324         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25325         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25326
25327 2012-12-28  Andreas Jaeger  <aj@suse.de>
25328
25329         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25330         values are from Linux 3.7.
25331
25332         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25333         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25334
25335 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25336
25337         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25338         TRUE case.
25339
25340         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25341         (norm): Likewise.
25342         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25343         variables with preprocessor constants.
25344         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25345         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25346         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25347
25348 2012-12-27  Bruno Haible  <bruno@clisp.org>
25349
25350         [BZ #14317]
25351         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25352         only if needed.
25353
25354 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25355
25356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25357         and use variable directly.
25358         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25359
25360         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25361         MPONE.
25362         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25364         variable MPONE.
25365         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25367         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25368         include directive.  Remove local variable MPONE.
25369         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25370         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25371         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25372
25373 2012-12-25  David S. Miller  <davem@davemloft.net>
25374
25375         * version.h (RELEASE): Set to "development".
25376         (VERSION): Set to "2.17.90".
25377         * NEWS: Add 2.18 section.
25378
25379 2012-12-21  David S. Miller  <davem@davemloft.net>
25380
25381         * po/hr.po: Update from translation team.
25382
25383 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25384
25385         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25386
25387 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25388
25389         * NEWS:  Mention new memcpy for MIPS.
25390
25391 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25392
25393         * manual/contrib.texi (Contributors): Spelling correction.
25394
25395 2012-12-15  David S. Miller  <davem@davemloft.net>
25396
25397         * po/ru.po: Update from translation team.
25398
25399 2012-12-13  David S. Miller  <davem@davemloft.net>
25400
25401         * NEWS: Mention IFUNC testsuite enhancements.
25402
25403         * po/pl.po: Update from translation team.
25404         * po/bg.po: Likewise.
25405
25406         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25407         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25408
25409 2012-12-11  David S. Miller  <davem@davemloft.net>
25410
25411         * po/sv.po: Update from translation team.
25412
25413         * po/vi.po: Update from translation team.
25414
25415         * po/cs.po: Update from translation team.
25416
25417         * po/de.po: Update from translation team.
25418         * po/eo.po: Likewise.
25419         * po/nl.po: Likewise.
25420
25421 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25422
25423         [BZ #14246]
25424         * manual/argp.texi (Argp Helper Functions): Move node to follow
25425         Argp Parsing State.
25426
25427         [BZ #14872]
25428         * manual/conf.texi (Limits on File System Capacity): Mention if
25429         terminating null is included in the max size.
25430
25431 2012-12-10  Andreas Jaeger  <aj@suse.de>
25432
25433         * po/cs.po: Update from translation team.
25434
25435 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436
25437         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25438         void pointer and cast to uintptr_t.
25439         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25440         path.
25441         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25442         * sysdeps/s390/s390-64/memset.S: Likewise.
25443
25444 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25445
25446         [BZ #14833]
25447         * menual/message.texi (Message Translation): Fix typos.
25448         (Helper programs for gettext): Likewise.
25449
25450 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25451
25452         [BZ #14898]
25453         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25454         Change to -1.
25455
25456 2012-12-07  David S. Miller  <davem@davemloft.net>
25457
25458         * po/libc.pot: Update.
25459
25460 2012-12-07  Richard Henderson  <rth@redhat.com>
25461
25462         [BZ #10114]
25463         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25464         normal/normal case to before the switch.
25465         (_FP_DIV): Likewise.
25466
25467 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25468             Mike Frysinger  <vapier@gentoo.org>
25469
25470         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25471         check for __NR_fadvise64_64.
25472
25473 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25474
25475         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25476         0, not just to plain "0" as a statement.
25477         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25478         with cw.
25479
25480 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25481
25482         * NEWS: Use sourceware.org in Bugzilla URL.
25483
25484 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25485
25486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25487         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25488
25489         * stdio-common/tst-put-error.c (do_test): Add newline to the
25490         padded test to ensure flush.
25491
25492 2012-12-05  Jeff Law  <law@redhat.com>
25493
25494         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25495
25496 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25497
25498         * README: Don't refer to ports add-on as distributed separately.
25499         Mention AArch64 in list of systems supported in the ports add-on.
25500
25501         * LICENSES: Add more non-FSF copyright and license notices.
25502
25503         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25504         ((unused)).
25505
25506         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25507
25508         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25509         10000 as width of padded output.
25510
25511 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25512
25513         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25514
25515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25516         variable LX with __attribute__ ((unused)).
25517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25518         Likewise.
25519         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25522         with __attribute__ ((unused)).
25523
25524 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25525
25526         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25527
25528 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25529
25530         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25531         (CFLAGS-nldbl-acos.c): New variable.
25532         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25533         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25534         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25535         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25536         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25537         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25538         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25539         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25540         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25541         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25542         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25543         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25544         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25545         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25546         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25547         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25548         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25549         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25550         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25551         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25552         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25553         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25554         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25555         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25556         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25557         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25558         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25559         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25560         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25561         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25562         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25563         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25564         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25565         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25566         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25567         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25568         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25569         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25570         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25571         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25572         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25573         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25574         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25575         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25576         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25577         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25578         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25579         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25580         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25581         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25582         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25583         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25584         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25585         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25586         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25587         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25588         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25589         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25590         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25591         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25592         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25593         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25594         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25595         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25596         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25597         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25598         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25599         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25600         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25601         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25602         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25603         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25604         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25605         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25606         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25607         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25608         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25609         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25610         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25611         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25612         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25613         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25614         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25615         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25616         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25617         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25618         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25619         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25620         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25621         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25622         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25623         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25624         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25625         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25626         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25627         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25628         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25629
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25631         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25632
25633         [BZ #14914]
25634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25635         whole low double instead of just low 47 bits when splitting values
25636         into two parts.
25637
25638 2012-12-03  Allan McRae  <allan@archlinux.org>
25639
25640         * manual/stdio.texi (Predefined Printf Handlers): Remove
25641         @hsep and @vsep usage.
25642
25643 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25644
25645         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25646         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25647
25648 2012-12-03  Jeff Law  <law@redhat.com>
25649
25650         * time/sys/time.h (settimeofday): Do not mark TV argument
25651         as __nonnull.
25652
25653 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25654
25655         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25656         when currently writing and seek to current position when not.
25657         * libio/Makefile (tests): Remove bug-fclose1.
25658         * libio/bug-fclose1.c: Delete.
25659
25660 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25661
25662         * manual/arith.texi (feenableexcept): Fix typo.
25663         (fedisableexcept): Likewise.
25664
25665 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25666
25667         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25668         second, differently-typed declaration, rather than a cast.
25669
25670 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25671
25672         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25673         * include/rpc/svc.h: ... here.
25674
25675 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25676
25677         [BZ #13013]
25678         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25679         depending n and resplen2 to catch cases where answer
25680         equals answerp2.
25681
25682 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25683
25684         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25685         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25686
25687 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25688
25689         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25690
25691 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25692
25693         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25694
25695 2012-11-28  Jeff Law  <law@redhat.com>
25696
25697         [BZ #13761]
25698         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25699         dataset_temporary.  Track alloca usage into alloca_used.
25700         If dataset is large allocate and release it via malloc/free.
25701
25702 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25703
25704         [BZ #14197]
25705         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25706
25707 2012-11-28  David S. Miller  <davem@davemloft.net>
25708
25709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25710
25711 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25712
25713         [BZ #14803]
25714         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25715         of pi/2 rounded to nearest to 64 bits.
25716         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25717         nearest to 64 bits.
25718         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25719         bits.
25720
25721 2012-11-28  Jeff Law <law@redhat.com>
25722             Martin Osvald <mosvald@redhat.com>
25723
25724         [BZ #14889]
25725         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25726         * sunrpc/svc.c: Include time.h.
25727         (__svc_accept_failed): New function.
25728         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25729         any reason other than EINTR, call __svc_accept_failed.
25730         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25731         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25732
25733 2012-11-28  Andreas Schwab  <schwab@suse.de>
25734
25735         * scripts/abilist.awk: Also handle indirect functions in .opd
25736         section.
25737
25738 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25739
25740         [BZ #13881]
25741         * sysdeps/x86/fpu/powl_helper.c: New file.
25742         * sysdeps/x86/fpu/Makefile: Likewise.
25743         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25744         (p3): New object.
25745         (__ieee754_powl): Use __powl_helper for finite arguments except
25746         integer exponents below 8.
25747         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25748         (p3): New object.
25749         (__ieee754_powl): Use __powl_helper for finite arguments except
25750         integer exponents below 8.
25751         * math/libm-test.inc (pow_test): Add more tests and enable some
25752         previously disabled tests.
25753         * sysdeps/i386/fpu/libm-test-ulps: Update.
25754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25755
25756 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25757             Carlos O'Donell  <carlos_odonell@mentor.com>
25758
25759         * nss/makedb.c (is_prime): Assert that input is odd and greater
25760         than 4.  Note that fact in a comment too.
25761         (next_prime): Add 4 to input.
25762
25763 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25764
25765         [BZ #11741]
25766         * libio/Makefile (tests): Add test case tst-fwrite-error.
25767         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25768         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25769         * libio/tst-fwrite-error.c: New test case.
25770
25771 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25772
25773         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25774         before casting to void *.
25775         * include/libc-internal.h (__pointer_type): New macro.
25776         (__integer_if_pointer_type_sub): Likewise.
25777         (__integer_if_pointer_type): Likewise.
25778         (cast_to_integer): Likewise.
25779         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25780         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25781         before casting to atomic64_t.
25782         (atomic_exchange_acq): Likewise.
25783         (__arch_exchange_and_add_body): Likewise.
25784         (__arch_add_body): Likewise.
25785         (atomic_add_negative): Likewise.
25786         (atomic_add_zero): Likewise.
25787
25788 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25789
25790         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25791         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25792         (add_fdes): Likewise.
25793         (linear_search_fdes): Likewise.
25794         (binary_search_unencoded_fdes): Likewise.
25795
25796 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25797
25798         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25799
25800 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25801
25802         * configure.in: Autodetect C++ header directories.
25803         * configure: Regenerated.
25804
25805 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25806
25807         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25808
25809 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25810
25811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25812
25813 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25814
25815         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25816         LDBL_MANT_DIG == 106]: Disable some tests.
25817         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25818         Likewise.
25819         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25820         Likewise.
25821
25822         [BZ #14871]
25823         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25824         input for small inputs.  Return +/- pi/2 for large inputs.
25825         * math/libm-test.inc (atan_test): Add more tests.
25826
25827         * sysdeps/generic/unwind-dw2-fde-glibc.c
25828         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25829         __attribute__ ((unused)).
25830
25831         [BZ #14645]
25832         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25833         x * y if x and y are nonzero and z is zero.
25834
25835         [BZ #14811]
25836         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25837         nonzero exponents with absolute value below 0x1p-117 to +/-
25838         0x1p-117.
25839
25840         [BZ #14869]
25841         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25842         up arguments below 2**-450, not just those below 2**-500.
25843         * math/libm-test.inc (hypot_test): Add another test.
25844
25845         [BZ #14868]
25846         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25847         Return a+b for ratio over 2**120, not 2**60.
25848         * math/libm-test.inc (hypot_test): Add another test.
25849
25850         * math/libm-test.inc (clog_test): Use
25851         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25852         (clog10_test): Likewise.
25853
25854         [BZ #6778]
25855         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25856
25857 2012-11-22  Andreas Schwab  <schwab@suse.de>
25858
25859         * sysdeps/i386/fpu/libm-test-ulps: Update.
25860
25861 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25862
25863         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25864         printf output with newline.
25865
25866 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25867
25868         [BZ #14865]
25869         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25870         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25871         -z nodlopen, -z initfirst and -z execstack support.
25872         * configure: Regenerated.
25873
25874         * elf/elf.h (DF_1_NODIRECT): New macro.
25875         (DF_1_IGNMULDEF): Likewise.
25876         (DF_1_NOKSYMS): Likewise.
25877         (DF_1_NOHDR): Likewise.
25878         (DF_1_EDITED): Likewise.
25879         (DF_1_NORELOC): Likewise.
25880         (DF_1_SYMINTPOSE): Likewise.
25881         (DF_1_GLOBAUDIT): Likewise.
25882         (DF_1_SINGLETON): Likewise.
25883         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25884         DT_1_SUPPORTED_MASK bits.
25885         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25886
25887 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25888
25889         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25890
25891 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25892
25893         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25894         macro.
25895
25896         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25897         (sendmmsg): Move declarations...
25898         * socket/sys/socket.h: ... here.
25899         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25900         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25901         include it from...
25902         * socket/recvmmsg.c: ... this new file.
25903         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25904         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25905         definition of __sendmmsg hidden.
25906         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25907         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25908         Move ENOSYS stub into and include it from...
25909         * socket/sendmmsg.c: ... this new file.
25910         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25911         (sysdep_routines): Move recvmmsg and sendmmsg...
25912         * socket/Makefile (routines): ... here.
25913         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25914         (GLIBC_PRIVATE): Add __sendmmsg.
25915         * include/sys/socket.h (__sendmmsg): Add declarations.
25916         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25917         sendmmsg.
25918
25919 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25920
25921         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25922         variable I1 with __attribute__ ((unused)).
25923         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25924
25925 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25926
25927         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25928         DUMMY variables with __attribute__ ((unused)).
25929
25930         * bits/byteswap.h: Include <bits/types.h>.
25931         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25932
25933 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25934
25935         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25936         string_t.  Do not manually set errno.
25937         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25938         length with __strnlen.  Make sure to both set errno and return it on
25939         failure.
25940
25941 2012-11-19  David S. Miller  <davem@davemloft.net>
25942
25943         With help from Joseph Myers.
25944         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25945         very large arguments properly.
25946         * math/libm-test.inc (atan_test): New tests.
25947         (atan2_test): New tests.
25948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25950
25951 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25952
25953         [BZ #14856]
25954         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25955         Define to 3.
25956
25957         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25958         [POSIX] (EADDRNOTAVAIL): Likewise.
25959         [POSIX] (EAFNOSUPPORT): Likewise.
25960         [POSIX] (EALREADY): Likewise.
25961         [POSIX] (ECONNABORTED): Likewise.
25962         [POSIX] (ECONNREFUSED): Likewise.
25963         [POSIX] (ECONNRESET): Likewise.
25964         [POSIX] (EDESTADDRREQ): Likewise.
25965         [POSIX] (EDQUOT): Likewise.
25966         [POSIX] (EHOSTUNREACH): Likewise.
25967         [POSIX] (EIDRM): Likewise.
25968         [POSIX] (EISCONN): Likewise.
25969         [POSIX] (ELOOP): Likewise.
25970         [POSIX] (EMULTIHOP): Likewise.
25971         [POSIX] (ENETDOWN): Likewise.
25972         [POSIX] (ENETUNREACH): Likewise.
25973         [POSIX] (ENOBUFS): Likewise.
25974         [POSIX] (ENODATA): Likewise.
25975         [POSIX] (ENOLINK): Likewise.
25976         [POSIX] (ENOMSG): Likewise.
25977         [POSIX] (ENOPROTOOPT): Likewise.
25978         [POSIX] (ENOSR): Likewise.
25979         [POSIX] (ENOSTR): Likewise.
25980         [POSIX] (ENOTCONN): Likewise.
25981         [POSIX] (ENOTSOCK): Likewise.
25982         [POSIX] (EOPNOTSUPP): Likewise.
25983         [POSIX] (EOVERFLOW): Likewise.
25984         [POSIX] (EPROTO): Likewise.
25985         [POSIX] (EPROTONOSUPPORT): Likewise.
25986         [POSIX] (EPROTOTYPE): Likewise.
25987         [POSIX] (ESTALE): Likewise.
25988         [POSIX] (ETIME): Likewise.
25989         [POSIX] (ETXTBSY): Likewise.
25990         [POSIX] (EWOULDBLOCK): Likewise.
25991         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25992         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25993         [POSIX] (SEEK_CUR): Likewise.
25994         [POSIX] (SEEK_END): Likewise.
25995         [POSIX || UNIX98] (mode_t): Do not require.
25996         [POSIX] (off_t): Likewise.
25997         [POSIX] (pid_t): Likewise.
25998         [POSIX] (sys/stat.h): Do not allow header.
25999         [POSIX] (unistd.h): Likewise.
26000         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26001         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26002         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26003         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26004         require.
26005         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26006         sigevent): Specify elements.
26007         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26008         entry.
26009         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26010         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26011
26012         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26013         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26014         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26015         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26016         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26017         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26018         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26019         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26020         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26021         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26022         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26023         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26024         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26025         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26026         Likewise.
26027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26028         Likewise.
26029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26030         Likewise.
26031         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26032         Likewise.
26033         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26034         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26035         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26037         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26038         Specify lower bound on value.
26039         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26040         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26041         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26042         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26043         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26044         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26045         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26046         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26047         value.
26048         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26049         as optional.
26050         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26051         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26052         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26053         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26054         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26055         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26056         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26057         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26058         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26059         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26060         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26061         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26062         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26063         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26064         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26065         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26066         entry.
26067         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26068         optional.
26069         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26070         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26071         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26072         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26073         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26074         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26075         Likewise.
26076         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26078         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26079         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26080         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26081         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26082         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26083         as optional.
26084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26087         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26088         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26089         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26090         specify as optional.
26091         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26092         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26093         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26094         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26095         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26096         [XPG3] (NL_LANGMAX): Likewise.
26097         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26098         [POSIX || XPG3] (NL_NMAX): Likewise.
26099         [POSIX || XPG3] (NL_SETMAX): Likewise.
26100         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26101         [XPG3] (NZERO): Likewise.
26102         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26103         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26104         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26105         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26106         (REG_ERANGE): Expect.
26107         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26108         optional-constant.
26109         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26110         Use (void) in prototype.
26111         [POSIX] (*_t): Allow.
26112         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26113         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26114         (WRDE_BADVAL): Expect.
26115
26116         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26117         expect.
26118         [XPG3 || XPG4] (O_RSYNC): Likewise.
26119         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26120         Likewise.
26121         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26122         [XPG3 || XPG4] (sigqueue): Likewise.
26123         [XPG3 || XPG4] (sigtimedwait): Likewise.
26124         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26125         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26126         [XPG3 || XPG4] (vsnprintf): Likewise.
26127         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26128         Likewise.
26129         [XPG3 || XPG4] (blksize_t): Likewise.
26130         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26131         Likewise.
26132         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26133         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26134         [XPG3 || XPG4] (struct itimerspec): Likewise.
26135         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26136         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26137         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26138         [XPG3 || XPG4] (clockid_t): Likewise.
26139         [XPG3 || XPG4] (timer_t): Likewise.
26140         [XPG3 || XPG4] (clock_getres): Likewise.
26141         [XPG3 || XPG4] (clock_gettime): Likewise.
26142         [XPG3 || XPG4] (clock_settime): Likewise.
26143         [XPG3 || XPG4] (nanosleep): Likewise.
26144         [XPG3 || XPG4] (timer_create): Likewise.
26145         [XPG3 || XPG4] (timer_delete): Likewise.
26146         [XPG3 || XPG4] (timer_gettime): Likewise.
26147         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26148         [XPG3 || XPG4] (timer_settime): Likewise.
26149         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26150         [XPG3 || XPG4] (getlogin_r): Likewise.
26151         [XPG3 || XPG4] (pread): Likewise.
26152         [XPG3 || XPG4] (pthread_atfork): Likewise.
26153         [XPG3 || XPG4] (pwrite): Likewise.
26154
26155         [BZ #14835]
26156         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26157         <bits/siginfo.h>.
26158
26159 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26160
26161         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26162         finalizing MALLSTREAM.
26163
26164         * sysdeps/mach/hurd/syncfs.c: New file.
26165
26166 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26167
26168         [BZ #14719]
26169         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26170         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26171         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26172         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26173         (_nss_dns_gethostbyname4_r): Likewise.
26174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26175         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26176
26177 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26178
26179         [BZ #13763]
26180         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26181
26182 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26183
26184         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26185         * elf/cache.c (print_entry): Print ",AArch64" for
26186         FLAG_AARCH64_LIB64
26187
26188         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26189         * elf/cache.c (print_entry): Print ",hard-float" for
26190         FLAG_ARM_LIBHF.
26191
26192 2012-11-18  David S. Miller  <davem@davemloft.net>
26193
26194         With help from Joseph Myers.
26195         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26196         cutoff to 2**-13.
26197         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26198         cutoff to 2**-25.
26199         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26200         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26201         small.
26202         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26203         * math/libm-test.inc (y0_test): New tests.
26204         (y1_test): New tests.
26205         * sysdeps/i386/fpu/libm-test-ulps: Update.
26206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26208
26209 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26210
26211         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26212         64-bit targets.
26213         * configure: Regenerated.
26214
26215 2012-11-17  David S. Miller  <davem@davemloft.net>
26216
26217         [BZ #14811]
26218         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26219         nonzero exponents with absolute value below 0x1p-128 to +/-
26220         0x1p-128.
26221
26222 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26223
26224         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26225
26226         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26227
26228         * posix/getconf-speclist.c: New file.
26229         * posix/posix-envs.def: Likewise.
26230         * posix/confstr.c (START_ENV_GROUP): New macro.
26231         (END_ENV_GROUP): Likewise.
26232         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26233         (KNOWN_PRESENT_ENV_STRING): Likewise.
26234         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26235         (UNKNOWN_ENVIRONMENT): Likewise.
26236         (confstr): Include posix-envs.def instead of handling
26237         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26238         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26239         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26240         (END_ENV_GROUP): Likewise.
26241         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26242         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26243         (UNKNOWN_ENVIRONMENT): Likewise.
26244         (__sysconf): Include posix-envs.def instead of handling associated
26245         cases directly here.
26246         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26247         preprocessing getconf-speclist.c rather than running getconf or
26248         generating empty file.
26249
26250 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26251
26252         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26253
26254 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26255
26256         [BZ #14672]
26257         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26258
26259 2012-11-16  David S. Miller  <davem@davemloft.net>
26260
26261         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26262         smaller than LDBL_EPSILON/2.0L, just return xm1.
26263
26264 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26265
26266         * elf/tst-array1.c (init): Set constructor priority to 1000.
26267         (fini): Set destructor priority to 1000.
26268         * elf/tst-array2dep.c: Likewise.
26269
26270 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26271
26272         [BZ #11741]
26273         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26274         (_IO_new_file_xsputn): Also return EOF if none of the input
26275         data was written when overflow failed.
26276         * libio/iopadn.c (_IO_padn): Likewise.
26277         * libio/iowpadn.c (_IO_wpadn): Likewise.
26278         * stdio-common/tst-put-error.c: Add copyright notice.
26279         (do_test): Add case for printing padded string.
26280         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26281         _IO_padn returned error.
26282         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26283         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26284         return EOF.
26285
26286 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26287
26288         * libio/libioP.h: Add comment note that the references to C++
26289         bits are now obsolete.
26290
26291 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26292
26293         * math/libm-test.inc (check_complex): Use asprintf.
26294
26295 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26296
26297         * debug/pcprofiledump.c (print_version): Update copyright year.
26298         * malloc/memusagestat.c (print_version): Likewise.
26299
26300 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26301
26302         [BZ #14831]
26303         * elf/Makefile (tests): Add tst-audit8.
26304         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26305         ($(objpfx)tst-audit8.out): New target.
26306         (tst-audit8-ENV): New variable.
26307         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26308         audit if l_reloc_result is NULL.
26309         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26310         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26311         * elf/tst-audit8.c: New file.
26312
26313 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26314
26315         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26316         * misc/Makefile (CFLAGS-select.c): Define.
26317         * posix/Makefile (CFLAGS-pause.c): Define.
26318
26319 2012-11-13  David S. Miller  <davem@davemloft.net>
26320
26321         * crypt/Makefile: Move test targets after toplevel Rules
26322         inclusion.  Grab any necessary sysdep routines when linking.
26323         * crypt/md5.c (md5_process_block): Remove define, we will always
26324         name it __md5_process_block.
26325         (md5_finish_ctx): Update md5_process_block call.
26326         (md5_stream): Likewise.
26327         (md5_process_bytes): Likewise.
26328         (md5_process_block): Rename to __md5_process_block and move to ...
26329         * crypt/md5-block.c: ... here.
26330         * crypt/sha256.c (sha256_process_block): Move to ...
26331         * crypt/sha256-block.c: ... here.
26332         * crypt/sha512.c (sha512_process_block): Move to ...
26333         * crypt/sha512-block.c: ... here.
26334         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26335         path.
26336         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26337         * sysdeps/sparc/sparc64/multiarch/Makefile
26338         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26339         crypt subdir.
26340         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26341         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26342         multiarch changes.
26343         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26344         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26345         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26346         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26347         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26348         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26349         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26350         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26351         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26352         file.
26353         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26355         file.
26356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26357
26358 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26359
26360         * timezone/tzselect.ksh: Update from tzcode git revision
26361         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26362         * timezone/zdump.c: Likewise.
26363         * timezone/zic.c: Likewise.
26364         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26365         in TZVERSION setting, not $(PKGVERSION).
26366         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26367         REPORT_BUGS_TO settings.
26368
26369         [BZ #14838]
26370         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26371         macro.
26372
26373 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26374
26375         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26376         detection to immediately after _FP_ROUND().
26377         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26378         bits are 0.
26379
26380 2012-11-11  David S. Miller  <davem@davemloft.net>
26381
26382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26383         inttypes.h
26384         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26385         __close rather than their public counterparts.
26386
26387 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26388
26389         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26390         file.
26391         [UNIX98] (sem_timedwait): Do not expect.
26392         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26393         [XPG4 || UNIX98] (sockatmark): Do not expect.
26394         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26395         (clock_getcpuclockid): Do not expect.
26396         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26397         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26398         Do not expect.
26399         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26400         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26401         [UNIX98] (vwscanf): Likewise.
26402         [UNIX98] (vswscanf): Likewise.
26403
26404 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26405
26406         * timezone/version.h: Remove file.
26407         * timezone/README: Do not refer to version.h.
26408         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26409         $(objpfx)version.h.
26410         ($(objpfx)zdump.o): Likewise.
26411         ($(objpfx)version.h): New target.
26412
26413         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26414         2012i.
26415         * timezone/README: Don't mention modification to tzselect.ksh.
26416         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26417         work on unmodified tzselect.ksh.  Substitute version numbers in
26418         tzselect.ksh.
26419
26420         * Makefile (format-me): Remove.
26421         (INSTALL): Adjust indentation.  Use commands directly instead of
26422         using $(format-me).
26423
26424         * aclocal.m4 (ACX_PKGVERSION): New macro.
26425         (ACX_BUGURL): Likewise.
26426         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26427         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26428         (REPORT_BUGS_TO): Likewise.
26429         * configure: Regenerated.
26430         * config.h.in (PKGVERSION): New macro.
26431         (REPORT_BUGS_TO): Likewise.
26432         * config.make.in (PKGVERSION): New variable.
26433         (PKGVERSION_TEXI): Likewise.
26434         (REPORT_BUGS_TO): Likewise.
26435         (REPORT_BUGS_TEXI): Likewise.
26436         * Makefile (format-me): Use -I$(common-objpfx)manual.
26437         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26438         ($(common-objpfx)manual/%): New target.
26439         (manual/%): Remove target.
26440         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26441         (print_version): Use PKGVERSION.
26442         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26443         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26444         and REPORT_BUGS_TO.
26445         ($(objpfx)xtrace): Likewise.
26446         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26447         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26448         (print_version): Use PKGVERSION.
26449         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26450         (do_version): Use PKGVERSION.
26451         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26452         REPORT_BUGS_TO.
26453         (common-ldd-rewrite): Likewise.
26454         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26455         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26456         (print_version): Use PKGVERSION.
26457         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26458         * elf/pldd.c (argp_program_bug_address): Remove variable.
26459         (more_help): New function.
26460         (argp): Use more_help.
26461         (print_version): Use PKGVERSION.
26462         * elf/sln.c (main): Use PKGVERSION.
26463         (usage): Use REPORT_BUGS_TO.
26464         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26465         (top level): Use PKGVERSION.
26466         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26467         (print_version): Use PKGVERSION.
26468         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26469         (print_version): Use PKGVERSION.
26470         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26471         (print_version): Use PKGVERSION.
26472         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26473         (print_version): Use PKGVERSION.
26474         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26475         (print_version): Use PKGVERSION.
26476         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26477         (print_version): Use PKGVERSION.
26478         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26479         and BUGURL.
26480         ($(objpfx)memusage): Likewise.
26481         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26482         (do_version): Use PKGVERSION.
26483         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26484         (print_version): Use PKGVERSION.
26485         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26486         ($PKGVERSION): New variable.
26487         ($REPORT_BUGS_TO): Likewise.
26488         (usage): Use $REPORT_BUGS_TO.
26489         (top level): Use $PKGVERSION.
26490         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26491         ($(objpfx)pkgvers.texi): New rule.
26492         ($(objpfx)stamp-pkgvers): Likewise.
26493         * manual/install.texi: Include pkgvers.texi.
26494         (--with-pkgversion): Document new configure option.
26495         (--with-bugurl): Likewise.
26496         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26497         than necessarily for this particular distribution.  Use
26498         REPORT_BUGS_TO for where to report bugs.
26499         * INSTALL: Regenerated.
26500         * manual/libc.texinfo: Include pkgvers.texi.
26501         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26502         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26503         (print_version): Use PKGVERSION.
26504         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26505         (print_version): Use PKGVERSION.
26506         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26507         (print_version): Use PKGVERSION.
26508         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26509         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26510         macro.
26511         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26512         (print_version): Use PKGVERSION.
26513         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26514         (print_version): Use PKGVERSION.
26515         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26516         and PKGVERSION.
26517
26518         * timezone/checktab.awk: Update from tzcode 2012i.
26519         * timezone/ialloc.c: Likewise.
26520         * timezone/private.h: Likewise.
26521         * timezone/scheck.c: Likewise.
26522         * timezone/tzfile.h: Likewise.
26523         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26524         (TZVERSION): Hardcode tzcode version number.
26525         * timezone/zdump.c: Update from tzcode 2012i.
26526         * timezone/zic.c: Likewise.
26527         * timezone/version.h: New file.
26528         * timezone/README: Describe version.h.  Update upstream location.
26529
26530         [BZ #14824]
26531         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26532         (mktemp): Enable declaration.
26533         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26537         Likewise.
26538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26539         Likewise.
26540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26541         Likewise.
26542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26543         Likewise.
26544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26545         Likewise.
26546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26547         Likewise.
26548
26549         [BZ #14821]
26550         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26551         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26552         for copies of such integer values.
26553         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26554         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26555
26556 2012-11-09  Andreas Jaeger  <aj@suse.de>
26557
26558         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26559         definitions and declarations that are provided by
26560         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26561
26562 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26563
26564         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26565         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26566         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26567         definition.
26568
26569 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26570
26571         * elf/elf.h: Update comment before AArch64 relocations.
26572
26573 2012-11-07  David S. Miller  <davem@davemloft.net>
26574
26575         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26576         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26577         (__start_context): Declare.
26578         (__makecontext_ret): Delete.
26579         (__makecontext): Hook up __start_context instead of
26580         __makecontext_ret.
26581         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26582         (sysdep_routines): Add __start_context when in stdlib.
26583
26584 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26585
26586         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26587         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26588         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26589         hardcoded "nm".
26590         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26591         (READELF): New variable.  Use it instead of hardcoded "readelf".
26592
26593 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26594
26595         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26596         * sysdeps/x86/Makefile: Here.
26597         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26598         * sysdeps/x86/tst-xmmymm.sh: This.
26599
26600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26601
26602         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26603         expectations.
26604         [UNIX98] (pthread_barrier_t): Do not expect.
26605         [UNIX98] (pthread_barrierattr_t): Likewise.
26606         [UNIX98] (pthread_spinlock_t): Likewise.
26607         [UNIX98] (pthread_barrier_destroy): Likewise.
26608         [UNIX98] (pthread_barrier_init): Likewise.
26609         [UNIX98] (pthread_barrier_wait): Likewise.
26610         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26611         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26612         [UNIX98] (pthread_barrierattr_init): Likewise.
26613         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26614         [UNIX98] (pthread_getcpuclockid): Likewise.
26615         [UNIX98] (pthread_mutex_timedlock): Likewise.
26616         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26617         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26618         [UNIX98] (pthread_sigmask): Likewise.
26619         [UNIX98] (pthread_spin_destroy): Likewise.
26620         [UNIX98] (pthread_spin_init): Likewise.
26621         [UNIX98] (pthread_spin_lock): Likewise.
26622         [UNIX98] (pthread_spin_trylock): Likewise.
26623         [UNIX98] (pthread_spin_unlock): Likewise.
26624         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26625         Do not expect.
26626         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26627         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26628         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26629         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26630         [XPG3 || XPG4] (pthread_key_t): Likewise.
26631         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26632         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26633         [XPG3 || XPG4] (pthread_once_t): Likewise.
26634         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26635         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26636         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26637         [XPG3 || XPG4] (pthread_t): Likewise.
26638
26639         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26640         not expect.
26641         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26642
26643         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26644         Change function return type to int.
26645
26646         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26647         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26648         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26649         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26650         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26651         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26652         [!POSIX] (posix_madvise): Likewise.
26653         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26654         && !UNIX98].
26655         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26656         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26657         (mode_t): Likewise.
26658         (posix_mem_offset): Likewise.
26659         (posix_typed_mem_get_info): Likewise.
26660         (posix_typed_mem_open): Likewise.
26661
26662         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26663         Change condition to [XOPEN2K8].
26664
26665         * conform/conformtest.pl: Preprocess allow-header data with -x c
26666         instead of from stdin.
26667         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26668         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26669         [C99-based standards] (cerfc): Likewise.
26670         [C99-based standards] (cexp2): Likewise.
26671         [C99-based standards] (cexpm1): Likewise.
26672         [C99-based standards] (clog10): Likewise.
26673         [C99-based standards] (clog1p): Likewise.
26674         [C99-based standards] (clog2): Likewise.
26675         [C99-based standards] (clgamma): Likewise.
26676         [C99-based standards] (ctgamma): Likewise.
26677         [C99-based standards] (cerff): Likewise.
26678         [C99-based standards] (cerfcf): Likewise.
26679         [C99-based standards] (cexp2f): Likewise.
26680         [C99-based standards] (cexpm1f): Likewise.
26681         [C99-based standards] (clog10f): Likewise.
26682         [C99-based standards] (clog1pf): Likewise.
26683         [C99-based standards] (clog2f): Likewise.
26684         [C99-based standards] (clgammaf): Likewise.
26685         [C99-based standards] (ctgammaf): Likewise.
26686         [C99-based standards] (cerfl): Likewise.
26687         [C99-based standards] (cerfcl): Likewise.
26688         [C99-based standards] (cexp2l): Likewise.
26689         [C99-based standards] (cexpm1l): Likewise.
26690         [C99-based standards] (clog10l): Likewise.
26691         [C99-based standards] (clog1pl): Likewise.
26692         [C99-based standards] (clog2l): Likewise.
26693         [C99-based standards] (clgammal): Likewise.
26694         [C99-based standards] (ctgammal): Likewise.
26695         * conform/data/inttypes.h-data [C99-based standards]: Include
26696         stdint.h-data.  Remove all expectations for stdint.h contents.
26697         [C99-based standards] (PRI*): Do not allow.
26698         [C99-based standards] (SCN*): Likewise.
26699         [C99-based standards] (*_t): Likewise.
26700         [C99-based-standards] (PRId8): Expect macro.
26701         [C99-based-standards] (PRIi8): Likewise.
26702         [C99-based-standards] (PRIo8): Likewise.
26703         [C99-based-standards] (PRIu8): Likewise.
26704         [C99-based-standards] (PRIx8): Likewise.
26705         [C99-based-standards] (PRIX8): Likewise.
26706         [C99-based-standards] (SCNd8): Likewise.
26707         [C99-based-standards] (SCNi8): Likewise.
26708         [C99-based-standards] (SCNo8): Likewise.
26709         [C99-based-standards] (SCNu8): Likewise.
26710         [C99-based-standards] (SCNx8): Likewise.
26711         [C99-based-standards] (PRIdLEAST8): Likewise.
26712         [C99-based-standards] (PRIiLEAST8): Likewise.
26713         [C99-based-standards] (PRIoLEAST8): Likewise.
26714         [C99-based-standards] (PRIuLEAST8): Likewise.
26715         [C99-based-standards] (PRIxLEAST8): Likewise.
26716         [C99-based-standards] (PRIXLEAST8): Likewise.
26717         [C99-based-standards] (SCNdLEAST8): Likewise.
26718         [C99-based-standards] (SCNiLEAST8): Likewise.
26719         [C99-based-standards] (SCNoLEAST8): Likewise.
26720         [C99-based-standards] (SCNuLEAST8): Likewise.
26721         [C99-based-standards] (SCNxLEAST8): Likewise.
26722         [C99-based-standards] (PRIdFAST8): Likewise.
26723         [C99-based-standards] (PRIiFAST8): Likewise.
26724         [C99-based-standards] (PRIoFAST8): Likewise.
26725         [C99-based-standards] (PRIuFAST8): Likewise.
26726         [C99-based-standards] (PRIxFAST8): Likewise.
26727         [C99-based-standards] (PRIXFAST8): Likewise.
26728         [C99-based-standards] (SCNdFAST8): Likewise.
26729         [C99-based-standards] (SCNiFAST8): Likewise.
26730         [C99-based-standards] (SCNoFAST8): Likewise.
26731         [C99-based-standards] (SCNuFAST8): Likewise.
26732         [C99-based-standards] (SCNxFAST8): Likewise.
26733         [C99-based-standards] (PRId16): Likewise.
26734         [C99-based-standards] (PRIi16): Likewise.
26735         [C99-based-standards] (PRIo16): Likewise.
26736         [C99-based-standards] (PRIu16): Likewise.
26737         [C99-based-standards] (PRIx16): Likewise.
26738         [C99-based-standards] (PRIX16): Likewise.
26739         [C99-based-standards] (SCNd16): Likewise.
26740         [C99-based-standards] (SCNi16): Likewise.
26741         [C99-based-standards] (SCNo16): Likewise.
26742         [C99-based-standards] (SCNu16): Likewise.
26743         [C99-based-standards] (SCNx16): Likewise.
26744         [C99-based-standards] (PRIdLEAST16): Likewise.
26745         [C99-based-standards] (PRIiLEAST16): Likewise.
26746         [C99-based-standards] (PRIoLEAST16): Likewise.
26747         [C99-based-standards] (PRIuLEAST16): Likewise.
26748         [C99-based-standards] (PRIxLEAST16): Likewise.
26749         [C99-based-standards] (PRIXLEAST16): Likewise.
26750         [C99-based-standards] (SCNdLEAST16): Likewise.
26751         [C99-based-standards] (SCNiLEAST16): Likewise.
26752         [C99-based-standards] (SCNoLEAST16): Likewise.
26753         [C99-based-standards] (SCNuLEAST16): Likewise.
26754         [C99-based-standards] (SCNxLEAST16): Likewise.
26755         [C99-based-standards] (PRIdFAST16): Likewise.
26756         [C99-based-standards] (PRIiFAST16): Likewise.
26757         [C99-based-standards] (PRIoFAST16): Likewise.
26758         [C99-based-standards] (PRIuFAST16): Likewise.
26759         [C99-based-standards] (PRIxFAST16): Likewise.
26760         [C99-based-standards] (PRIXFAST16): Likewise.
26761         [C99-based-standards] (SCNdFAST16): Likewise.
26762         [C99-based-standards] (SCNiFAST16): Likewise.
26763         [C99-based-standards] (SCNoFAST16): Likewise.
26764         [C99-based-standards] (SCNuFAST16): Likewise.
26765         [C99-based-standards] (SCNxFAST16): Likewise.
26766         [C99-based-standards] (PRId32): Likewise.
26767         [C99-based-standards] (PRIi32): Likewise.
26768         [C99-based-standards] (PRIo32): Likewise.
26769         [C99-based-standards] (PRIu32): Likewise.
26770         [C99-based-standards] (PRIx32): Likewise.
26771         [C99-based-standards] (PRIX32): Likewise.
26772         [C99-based-standards] (SCNd32): Likewise.
26773         [C99-based-standards] (SCNi32): Likewise.
26774         [C99-based-standards] (SCNo32): Likewise.
26775         [C99-based-standards] (SCNu32): Likewise.
26776         [C99-based-standards] (SCNx32): Likewise.
26777         [C99-based-standards] (PRIdLEAST32): Likewise.
26778         [C99-based-standards] (PRIiLEAST32): Likewise.
26779         [C99-based-standards] (PRIoLEAST32): Likewise.
26780         [C99-based-standards] (PRIuLEAST32): Likewise.
26781         [C99-based-standards] (PRIxLEAST32): Likewise.
26782         [C99-based-standards] (PRIXLEAST32): Likewise.
26783         [C99-based-standards] (SCNdLEAST32): Likewise.
26784         [C99-based-standards] (SCNiLEAST32): Likewise.
26785         [C99-based-standards] (SCNoLEAST32): Likewise.
26786         [C99-based-standards] (SCNuLEAST32): Likewise.
26787         [C99-based-standards] (SCNxLEAST32): Likewise.
26788         [C99-based-standards] (PRIdFAST32): Likewise.
26789         [C99-based-standards] (PRIiFAST32): Likewise.
26790         [C99-based-standards] (PRIoFAST32): Likewise.
26791         [C99-based-standards] (PRIuFAST32): Likewise.
26792         [C99-based-standards] (PRIxFAST32): Likewise.
26793         [C99-based-standards] (PRIXFAST32): Likewise.
26794         [C99-based-standards] (SCNdFAST32): Likewise.
26795         [C99-based-standards] (SCNiFAST32): Likewise.
26796         [C99-based-standards] (SCNoFAST32): Likewise.
26797         [C99-based-standards] (SCNuFAST32): Likewise.
26798         [C99-based-standards] (SCNxFAST32): Likewise.
26799         [C99-based-standards] (PRId64): Likewise.
26800         [C99-based-standards] (PRIi64): Likewise.
26801         [C99-based-standards] (PRIo64): Likewise.
26802         [C99-based-standards] (PRIu64): Likewise.
26803         [C99-based-standards] (PRIx64): Likewise.
26804         [C99-based-standards] (PRIX64): Likewise.
26805         [C99-based-standards] (SCNd64): Likewise.
26806         [C99-based-standards] (SCNi64): Likewise.
26807         [C99-based-standards] (SCNo64): Likewise.
26808         [C99-based-standards] (SCNu64): Likewise.
26809         [C99-based-standards] (SCNx64): Likewise.
26810         [C99-based-standards] (PRIdLEAST64): Likewise.
26811         [C99-based-standards] (PRIiLEAST64): Likewise.
26812         [C99-based-standards] (PRIoLEAST64): Likewise.
26813         [C99-based-standards] (PRIuLEAST64): Likewise.
26814         [C99-based-standards] (PRIxLEAST64): Likewise.
26815         [C99-based-standards] (PRIXLEAST64): Likewise.
26816         [C99-based-standards] (SCNdLEAST64): Likewise.
26817         [C99-based-standards] (SCNiLEAST64): Likewise.
26818         [C99-based-standards] (SCNoLEAST64): Likewise.
26819         [C99-based-standards] (SCNuLEAST64): Likewise.
26820         [C99-based-standards] (SCNxLEAST64): Likewise.
26821         [C99-based-standards] (PRIdFAST64): Likewise.
26822         [C99-based-standards] (PRIiFAST64): Likewise.
26823         [C99-based-standards] (PRIoFAST64): Likewise.
26824         [C99-based-standards] (PRIuFAST64): Likewise.
26825         [C99-based-standards] (PRIxFAST64): Likewise.
26826         [C99-based-standards] (PRIXFAST64): Likewise.
26827         [C99-based-standards] (SCNdFAST64): Likewise.
26828         [C99-based-standards] (SCNiFAST64): Likewise.
26829         [C99-based-standards] (SCNoFAST64): Likewise.
26830         [C99-based-standards] (SCNuFAST64): Likewise.
26831         [C99-based-standards] (SCNxFAST64): Likewise.
26832         [C99-based-standards] (PRIdMAX): Likewise.
26833         [C99-based-standards] (PRIiMAX): Likewise.
26834         [C99-based-standards] (PRIoMAX): Likewise.
26835         [C99-based-standards] (PRIuMAX): Likewise.
26836         [C99-based-standards] (PRIxMAX): Likewise.
26837         [C99-based-standards] (PRIXMAX): Likewise.
26838         [C99-based-standards] (SCNdMAX): Likewise.
26839         [C99-based-standards] (SCNiMAX): Likewise.
26840         [C99-based-standards] (SCNoMAX): Likewise.
26841         [C99-based-standards] (SCNuMAX): Likewise.
26842         [C99-based-standards] (SCNxMAX): Likewise.
26843         [C99-based-standards] (PRIdPTR): Likewise.
26844         [C99-based-standards] (PRIiPTR): Likewise.
26845         [C99-based-standards] (PRIoPTR): Likewise.
26846         [C99-based-standards] (PRIuPTR): Likewise.
26847         [C99-based-standards] (PRIxPTR): Likewise.
26848         [C99-based-standards] (PRIXPTR): Likewise.
26849         [C99-based-standards] (SCNdPTR): Likewise.
26850         [C99-based-standards] (SCNiPTR): Likewise.
26851         [C99-based-standards] (SCNoPTR): Likewise.
26852         [C99-based-standards] (SCNuPTR): Likewise.
26853         [C99-based-standards] (SCNxPTR): Likewise.
26854         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26855         allow.
26856         * conform/data/stdint.h-data: Update comments to clarify
26857         requirements.
26858         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26859         type.
26860         [C99-based standards] (INT8_MAX): Likewise.
26861         [C99-based standards] (INT16_MIN): Likewise.
26862         [C99-based standards] (INT16_MAX): Likewise.
26863         [C99-based standards] (INT32_MIN): Likewise.
26864         [C99-based standards] (INT32_MAX): Likewise.
26865         [C99-based standards] (INT64_MIN): Likewise.
26866         [C99-based standards] (INT64_MAX): Likewise.
26867         [C99-based standards] (UINT8_MAX): Likewise.
26868         [C99-based standards] (UINT16_MAX): Likewise.
26869         [C99-based standards] (UINT32_MAX): Likewise.
26870         [C99-based standards] (UINT64_MAX): Likewise.
26871         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26872         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26873         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26874         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26875         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26876         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26877         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26878         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26879         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26880         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26881         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26882         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26883         [C99-based standards] (INT_FAST8_MIN): Likewise.
26884         [C99-based standards] (INT_FAST8_MAX): Likewise.
26885         [C99-based standards] (INT_FAST16_MIN): Likewise.
26886         [C99-based standards] (INT_FAST16_MAX): Likewise.
26887         [C99-based standards] (INT_FAST32_MIN): Likewise.
26888         [C99-based standards] (INT_FAST32_MAX): Likewise.
26889         [C99-based standards] (INT_FAST64_MIN): Likewise.
26890         [C99-based standards] (INT_FAST64_MAX): Likewise.
26891         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26892         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26893         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26894         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26895         [C99-based standards] (INTPTR_MIN): Likewise.
26896         [C99-based standards] (INTPTR_MAX): Likewise.
26897         [C99-based standards] (UINTPTR_MAX): Likewise.
26898         [C99-based standards] (INTMAX_MIN): Likewise.
26899         [C99-based standards] (INTMAX_MAX): Likewise.
26900         [C99-based standards] (UINTMAX_MAX): Likewise.
26901         [C99-based standards] (PTRDIFF_MIN): Likewise.
26902         [C99-based standards] (PTRDIFF_MAX): Likewise.
26903         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26904         [C99-based standards] (SIZE_MAX): Likewise.
26905         [C99-based standards] (WCHAR_MAX): Likewise.
26906         [C99-based standards] (WINT_MAX): Likewise.
26907         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26908         constraint on value.
26909         [C99-based standards] (WCHAR_MIN): Likewise.
26910         [C99-based standards] (WINT_MIN): Likewise.
26911         [C99-based standards] (*_t): Allow.
26912         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26913         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26914         Include math.h-data and complex.h-data.  Remove all expectations
26915         of math.h and complex.h contents.
26916         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26917         at end of line.
26918         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26919         (struct tm): Expect tag.
26920         [C99-based-standards] (wcstof): Expect function.
26921         [C99-based-standards] (wcstold): Likewise.
26922         [C99-based-standards] (wcstoll): Likewise.
26923         [C99-based-standards] (wcstoull): Likewise.
26924         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26925         macro-int-constant.  Specify type.
26926         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26927         constraint on value.
26928         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26929         Specify type.
26930         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26931         Specify value.
26932         [ISO C standards]: Do not allow headers.
26933         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26934         wcs[abcdefghijklmnopqrstuvwxyz]*.
26935         [ISO C standards] (*_t): Do not allow.
26936         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26937         Expect function.
26938         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26939         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26940         Specify type.
26941         [ISO C standards]: Do not allow headers.
26942         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26943         is[abcdefghijklmnopqrstuvwxyz]*.
26944         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26945         to[abcdefghijklmnopqrstuvwxyz]*.
26946         [ISO C standards] (*_t): Do not allow.
26947         * conform/data/stdalign.h-data: New file.
26948         * conform/data/stdbool.h-data: Likewise.
26949         * conform/data/stdnoreturn.h-data: Likewise.
26950
26951 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26952
26953         [BZ #14815]
26954         * manual/filesys.texi (Directory Entries): Typo fix.
26955         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26956
26957 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26958
26959         * elf/elf.h (EM_AARCH64): New macro.
26960         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26961         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26962         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26963         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26964         (R_AARCH64_TLSDESC): Likewise.
26965         (NT_ARM_TLS): Likewise.
26966         (NT_ARM_HW_BREAK): Likewise.
26967         (NT_ARM_HW_WATCH): Likewise.
26968
26969 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26970
26971         [BZ #14811]
26972         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26973         (__ieee754_powl): Saturate nonzero exponents with absolute value
26974         below 0x1p-79 to +/- 0x1p-79.
26975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26976         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26977         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26978         nonzero exponents with absolute value below 0x1p-32 to +/-
26979         0x1p-32.
26980         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26981         (__ieee754_powl): Saturate nonzero exponents with absolute value
26982         below 0x1p-79 to +/- 0x1p-79.
26983         * math/libm-test.inc (pow_test): Add more tests.
26984
26985 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26986
26987         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26988         _dl_s390_cap_flags with kernel. Increase string length.
26989         (_dl_s390_platforms): Add z196 and zEC12.
26990
26991 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26992
26993         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26994         Change XOPEN21K to XOPEN2K.
26995
26996 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26997
26998         * string/memmove.c: Use memcpy when possible.
26999
27000 2012-11-06  Andreas Jaeger  <aj@suse.de>
27001
27002         * po/eo.po: Update from translation team.
27003
27004 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27005
27006         [BZ #14793]
27007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27008         exponent and small x and y exponents, scale x or y up.  Increase
27009         by 2 the exponent used in scaling up.
27010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27012         * math/libm-test.inc (fma_test): Add more tests.
27013         (fma_test_towardzero): Likewise.
27014         (fma_test_downward): Likewise.
27015         (fma_test_upward): Likewise.
27016
27017 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27018
27019         [BZ #14805]
27020         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27021         fenv_t *.
27022
27023         [BZ #14801]
27024         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27025         namespace for names of struct fields.
27026         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27027         fenv_t fields.
27028         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27029         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27030
27031 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27032
27033         [BZ #3665]
27034         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27035
27036 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27037
27038         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27039         PTR_DEMANGLE.
27040
27041         [BZ #5246]
27042         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27043         PTR_DEMANGLE.
27044
27045 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27046
27047         [BZ #14797]
27048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27049         definitely overflow as x * y not x * y + z.
27050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27052         * math/libm-test.inc (fma_test): Add more tests.
27053         (fma_test_towardzero): Likewise.
27054         (fma_test_downward): Likewise.
27055         (fma_test_upward): Likewise.
27056
27057 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27058
27059         [BZ #157]
27060
27061         * include/stub-tag.h: Remove file.
27062         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27063         '#include' of it.
27064         * manual/maint.texi (Porting): Don't reference it.
27065         * Makerules ($(objpfx)stubs): Likewise.
27066         * dirent/closedir.c: Don't include <stub-tag.h>.
27067         * dirent/dirfd.c: Likewise.
27068         * dirent/fdopendir.c: Likewise.
27069         * dirent/getdents.c: Likewise.
27070         * dirent/getdents64.c: Likewise.
27071         * dirent/opendir.c: Likewise.
27072         * dirent/readdir.c: Likewise.
27073         * dirent/readdir64.c: Likewise.
27074         * dirent/readdir64_r.c: Likewise.
27075         * dirent/readdir_r.c: Likewise.
27076         * dirent/rewinddir.c: Likewise.
27077         * dirent/seekdir.c: Likewise.
27078         * dirent/telldir.c: Likewise.
27079         * gmon/profil.c: Likewise.
27080         * grp/setgroups.c: Likewise.
27081         * inet/if_index.c: Likewise.
27082         * io/access.c: Likewise.
27083         * io/chdir.c: Likewise.
27084         * io/chmod.c: Likewise.
27085         * io/chown.c: Likewise.
27086         * io/close.c: Likewise.
27087         * io/dup.c: Likewise.
27088         * io/dup2.c: Likewise.
27089         * io/dup3.c: Likewise.
27090         * io/euidaccess.c: Likewise.
27091         * io/faccessat.c: Likewise.
27092         * io/fchdir.c: Likewise.
27093         * io/fchmod.c: Likewise.
27094         * io/fchmodat.c: Likewise.
27095         * io/fchown.c: Likewise.
27096         * io/fchownat.c: Likewise.
27097         * io/fcntl.c: Likewise.
27098         * io/flock.c: Likewise.
27099         * io/fstatfs.c: Likewise.
27100         * io/fstatfs64.c: Likewise.
27101         * io/fstatvfs.c: Likewise.
27102         * io/fstatvfs64.c: Likewise.
27103         * io/futimens.c: Likewise.
27104         * io/fxstat.c: Likewise.
27105         * io/fxstat64.c: Likewise.
27106         * io/fxstatat.c: Likewise.
27107         * io/fxstatat64.c: Likewise.
27108         * io/getcwd.c: Likewise.
27109         * io/isatty.c: Likewise.
27110         * io/lchmod.c: Likewise.
27111         * io/lchown.c: Likewise.
27112         * io/link.c: Likewise.
27113         * io/linkat.c: Likewise.
27114         * io/lseek.c: Likewise.
27115         * io/lseek64.c: Likewise.
27116         * io/lxstat64.c: Likewise.
27117         * io/mkdir.c: Likewise.
27118         * io/mkdirat.c: Likewise.
27119         * io/mkfifo.c: Likewise.
27120         * io/mkfifoat.c: Likewise.
27121         * io/open.c: Likewise.
27122         * io/open64.c: Likewise.
27123         * io/openat.c: Likewise.
27124         * io/openat64.c: Likewise.
27125         * io/pipe.c: Likewise.
27126         * io/pipe2.c: Likewise.
27127         * io/poll.c: Likewise.
27128         * io/posix_fadvise.c: Likewise.
27129         * io/posix_fadvise64.c: Likewise.
27130         * io/posix_fallocate.c: Likewise.
27131         * io/posix_fallocate64.c: Likewise.
27132         * io/read.c: Likewise.
27133         * io/readlink.c: Likewise.
27134         * io/readlinkat.c: Likewise.
27135         * io/rmdir.c: Likewise.
27136         * io/sendfile.c: Likewise.
27137         * io/sendfile64.c: Likewise.
27138         * io/statfs.c: Likewise.
27139         * io/statfs64.c: Likewise.
27140         * io/statvfs.c: Likewise.
27141         * io/statvfs64.c: Likewise.
27142         * io/symlink.c: Likewise.
27143         * io/symlinkat.c: Likewise.
27144         * io/ttyname.c: Likewise.
27145         * io/ttyname_r.c: Likewise.
27146         * io/umask.c: Likewise.
27147         * io/unlink.c: Likewise.
27148         * io/unlinkat.c: Likewise.
27149         * io/utime.c: Likewise.
27150         * io/utimensat.c: Likewise.
27151         * io/write.c: Likewise.
27152         * io/xmknod.c: Likewise.
27153         * io/xmknodat.c: Likewise.
27154         * io/xstat.c: Likewise.
27155         * io/xstat64.c: Likewise.
27156         * login/getpt.c: Likewise.
27157         * login/grantpt.c: Likewise.
27158         * login/unlockpt.c: Likewise.
27159         * math/e_acoshl.c: Likewise.
27160         * math/e_acosl.c: Likewise.
27161         * math/e_asinl.c: Likewise.
27162         * math/e_atan2l.c: Likewise.
27163         * math/e_atanhl.c: Likewise.
27164         * math/e_coshl.c: Likewise.
27165         * math/e_expl.c: Likewise.
27166         * math/e_fmodl.c: Likewise.
27167         * math/e_gammal_r.c: Likewise.
27168         * math/e_hypotl.c: Likewise.
27169         * math/e_j0l.c: Likewise.
27170         * math/e_j1l.c: Likewise.
27171         * math/e_jnl.c: Likewise.
27172         * math/e_lgammal_r.c: Likewise.
27173         * math/e_log10l.c: Likewise.
27174         * math/e_log2l.c: Likewise.
27175         * math/e_logl.c: Likewise.
27176         * math/e_powl.c: Likewise.
27177         * math/e_rem_pio2l.c: Likewise.
27178         * math/e_sinhl.c: Likewise.
27179         * math/e_sqrtl.c: Likewise.
27180         * math/fclrexcpt.c: Likewise.
27181         * math/fedisblxcpt.c: Likewise.
27182         * math/feenablxcpt.c: Likewise.
27183         * math/fegetenv.c: Likewise.
27184         * math/fegetexcept.c: Likewise.
27185         * math/fegetround.c: Likewise.
27186         * math/feholdexcpt.c: Likewise.
27187         * math/fesetenv.c: Likewise.
27188         * math/fesetround.c: Likewise.
27189         * math/feupdateenv.c: Likewise.
27190         * math/fgetexcptflg.c: Likewise.
27191         * math/fraiseexcpt.c: Likewise.
27192         * math/fsetexcptflg.c: Likewise.
27193         * math/ftestexcept.c: Likewise.
27194         * math/k_cosl.c: Likewise.
27195         * math/k_rem_pio2l.c: Likewise.
27196         * math/k_sinl.c: Likewise.
27197         * math/k_tanl.c: Likewise.
27198         * math/s_asinhl.c: Likewise.
27199         * math/s_atanl.c: Likewise.
27200         * math/s_cbrtl.c: Likewise.
27201         * math/s_erfl.c: Likewise.
27202         * math/s_expm1l.c: Likewise.
27203         * math/s_log1pl.c: Likewise.
27204         * math/s_tanhl.c: Likewise.
27205         * misc/acct.c: Likewise.
27206         * misc/brk.c: Likewise.
27207         * misc/chflags.c: Likewise.
27208         * misc/chroot.c: Likewise.
27209         * misc/fchflags.c: Likewise.
27210         * misc/fgetxattr.c: Likewise.
27211         * misc/flistxattr.c: Likewise.
27212         * misc/fremovexattr.c: Likewise.
27213         * misc/fsetxattr.c: Likewise.
27214         * misc/fsync.c: Likewise.
27215         * misc/ftruncate.c: Likewise.
27216         * misc/futimes.c: Likewise.
27217         * misc/futimesat.c: Likewise.
27218         * misc/getdomain.c: Likewise.
27219         * misc/getdtsz.c: Likewise.
27220         * misc/gethostid.c: Likewise.
27221         * misc/gethostname.c: Likewise.
27222         * misc/getloadavg.c: Likewise.
27223         * misc/getpagesize.c: Likewise.
27224         * misc/getsysstats.c: Likewise.
27225         * misc/getxattr.c: Likewise.
27226         * misc/gtty.c: Likewise.
27227         * misc/ioctl.c: Likewise.
27228         * misc/lgetxattr.c: Likewise.
27229         * misc/listxattr.c: Likewise.
27230         * misc/llistxattr.c: Likewise.
27231         * misc/lremovexattr.c: Likewise.
27232         * misc/lsetxattr.c: Likewise.
27233         * misc/lutimes.c: Likewise.
27234         * misc/madvise.c: Likewise.
27235         * misc/mincore.c: Likewise.
27236         * misc/mlock.c: Likewise.
27237         * misc/mlockall.c: Likewise.
27238         * misc/mmap.c: Likewise.
27239         * misc/mprotect.c: Likewise.
27240         * misc/msync.c: Likewise.
27241         * misc/munlock.c: Likewise.
27242         * misc/munlockall.c: Likewise.
27243         * misc/munmap.c: Likewise.
27244         * misc/preadv.c: Likewise.
27245         * misc/preadv64.c: Likewise.
27246         * misc/ptrace.c: Likewise.
27247         * misc/pwritev.c: Likewise.
27248         * misc/pwritev64.c: Likewise.
27249         * misc/readv.c: Likewise.
27250         * misc/reboot.c: Likewise.
27251         * misc/remap_file_pages.c: Likewise.
27252         * misc/removexattr.c: Likewise.
27253         * misc/revoke.c: Likewise.
27254         * misc/select.c: Likewise.
27255         * misc/setdomain.c: Likewise.
27256         * misc/setegid.c: Likewise.
27257         * misc/seteuid.c: Likewise.
27258         * misc/sethostid.c: Likewise.
27259         * misc/sethostname.c: Likewise.
27260         * misc/setregid.c: Likewise.
27261         * misc/setreuid.c: Likewise.
27262         * misc/setxattr.c: Likewise.
27263         * misc/sstk.c: Likewise.
27264         * misc/stty.c: Likewise.
27265         * misc/swapoff.c: Likewise.
27266         * misc/swapon.c: Likewise.
27267         * misc/sync.c: Likewise.
27268         * misc/syncfs.c: Likewise.
27269         * misc/syscall.c: Likewise.
27270         * misc/truncate.c: Likewise.
27271         * misc/ualarm.c: Likewise.
27272         * misc/usleep.c: Likewise.
27273         * misc/ustat.c: Likewise.
27274         * misc/utimes.c: Likewise.
27275         * misc/vhangup.c: Likewise.
27276         * misc/writev.c: Likewise.
27277         * posix/_exit.c: Likewise.
27278         * posix/alarm.c: Likewise.
27279         * posix/execve.c: Likewise.
27280         * posix/fexecve.c: Likewise.
27281         * posix/fork.c: Likewise.
27282         * posix/fpathconf.c: Likewise.
27283         * posix/getaddrinfo.c: Likewise.
27284         * posix/getegid.c: Likewise.
27285         * posix/geteuid.c: Likewise.
27286         * posix/getgid.c: Likewise.
27287         * posix/getgroups.c: Likewise.
27288         * posix/getlogin.c: Likewise.
27289         * posix/getlogin_r.c: Likewise.
27290         * posix/getpgid.c: Likewise.
27291         * posix/getpid.c: Likewise.
27292         * posix/getppid.c: Likewise.
27293         * posix/getresgid.c: Likewise.
27294         * posix/getresuid.c: Likewise.
27295         * posix/getsid.c: Likewise.
27296         * posix/getuid.c: Likewise.
27297         * posix/glob64.c: Likewise.
27298         * posix/nanosleep.c: Likewise.
27299         * posix/pathconf.c: Likewise.
27300         * posix/pause.c: Likewise.
27301         * posix/posix_madvise.c: Likewise.
27302         * posix/pread.c: Likewise.
27303         * posix/pread64.c: Likewise.
27304         * posix/pwrite.c: Likewise.
27305         * posix/pwrite64.c: Likewise.
27306         * posix/sched_getaffinity.c: Likewise.
27307         * posix/sched_getp.c: Likewise.
27308         * posix/sched_gets.c: Likewise.
27309         * posix/sched_primax.c: Likewise.
27310         * posix/sched_primin.c: Likewise.
27311         * posix/sched_rr_gi.c: Likewise.
27312         * posix/sched_setaffinity.c: Likewise.
27313         * posix/sched_setp.c: Likewise.
27314         * posix/sched_sets.c: Likewise.
27315         * posix/sched_yield.c: Likewise.
27316         * posix/setgid.c: Likewise.
27317         * posix/setlogin.c: Likewise.
27318         * posix/setpgid.c: Likewise.
27319         * posix/setresgid.c: Likewise.
27320         * posix/setresuid.c: Likewise.
27321         * posix/setsid.c: Likewise.
27322         * posix/setuid.c: Likewise.
27323         * posix/sleep.c: Likewise.
27324         * posix/spawni.c: Likewise.
27325         * posix/sysconf.c: Likewise.
27326         * posix/times.c: Likewise.
27327         * posix/wait.c: Likewise.
27328         * posix/wait3.c: Likewise.
27329         * posix/wait4.c: Likewise.
27330         * posix/waitpid.c: Likewise.
27331         * resolv/gai_sigqueue.c: Likewise.
27332         * resource/getpriority.c: Likewise.
27333         * resource/getrlimit.c: Likewise.
27334         * resource/getrusage.c: Likewise.
27335         * resource/nice.c: Likewise.
27336         * resource/setpriority.c: Likewise.
27337         * resource/setrlimit.c: Likewise.
27338         * resource/ulimit.c: Likewise.
27339         * rt/aio_cancel.c: Likewise.
27340         * rt/aio_fsync.c: Likewise.
27341         * rt/aio_read.c: Likewise.
27342         * rt/aio_sigqueue.c: Likewise.
27343         * rt/aio_suspend.c: Likewise.
27344         * rt/aio_write.c: Likewise.
27345         * rt/clock_getres.c: Likewise.
27346         * rt/clock_gettime.c: Likewise.
27347         * rt/clock_nanosleep.c: Likewise.
27348         * rt/clock_settime.c: Likewise.
27349         * rt/lio_listio.c: Likewise.
27350         * rt/mq_close.c: Likewise.
27351         * rt/mq_getattr.c: Likewise.
27352         * rt/mq_notify.c: Likewise.
27353         * rt/mq_open.c: Likewise.
27354         * rt/mq_receive.c: Likewise.
27355         * rt/mq_send.c: Likewise.
27356         * rt/mq_setattr.c: Likewise.
27357         * rt/mq_timedreceive.c: Likewise.
27358         * rt/mq_timedsend.c: Likewise.
27359         * rt/mq_unlink.c: Likewise.
27360         * rt/shm_open.c: Likewise.
27361         * rt/shm_unlink.c: Likewise.
27362         * rt/timer_create.c: Likewise.
27363         * rt/timer_delete.c: Likewise.
27364         * rt/timer_getoverr.c: Likewise.
27365         * rt/timer_gettime.c: Likewise.
27366         * rt/timer_settime.c: Likewise.
27367         * setjmp/__longjmp.c: Likewise.
27368         * setjmp/setjmp.c: Likewise.
27369         * signal/kill.c: Likewise.
27370         * signal/killpg.c: Likewise.
27371         * signal/raise.c: Likewise.
27372         * signal/sigaction.c: Likewise.
27373         * signal/sigaltstack.c: Likewise.
27374         * signal/sigblock.c: Likewise.
27375         * signal/sigignore.c: Likewise.
27376         * signal/sigintr.c: Likewise.
27377         * signal/signal.c: Likewise.
27378         * signal/sigpause.c: Likewise.
27379         * signal/sigpending.c: Likewise.
27380         * signal/sigqueue.c: Likewise.
27381         * signal/sigreturn.c: Likewise.
27382         * signal/sigset.c: Likewise.
27383         * signal/sigsetmask.c: Likewise.
27384         * signal/sigstack.c: Likewise.
27385         * signal/sigsuspend.c: Likewise.
27386         * signal/sigtimedwait.c: Likewise.
27387         * signal/sigvec.c: Likewise.
27388         * signal/sigwait.c: Likewise.
27389         * signal/sigwaitinfo.c: Likewise.
27390         * signal/sysv_signal.c: Likewise.
27391         * socket/accept.c: Likewise.
27392         * socket/accept4.c: Likewise.
27393         * socket/bind.c: Likewise.
27394         * socket/connect.c: Likewise.
27395         * socket/getpeername.c: Likewise.
27396         * socket/getsockname.c: Likewise.
27397         * socket/getsockopt.c: Likewise.
27398         * socket/isfdtype.c: Likewise.
27399         * socket/listen.c: Likewise.
27400         * socket/recv.c: Likewise.
27401         * socket/recvfrom.c: Likewise.
27402         * socket/recvmsg.c: Likewise.
27403         * socket/send.c: Likewise.
27404         * socket/sendmsg.c: Likewise.
27405         * socket/sendto.c: Likewise.
27406         * socket/setsockopt.c: Likewise.
27407         * socket/shutdown.c: Likewise.
27408         * socket/sockatmark.c: Likewise.
27409         * socket/socket.c: Likewise.
27410         * socket/socketpair.c: Likewise.
27411         * stdio-common/ctermid.c: Likewise.
27412         * stdio-common/cuserid.c: Likewise.
27413         * stdio-common/remove.c: Likewise.
27414         * stdio-common/rename.c: Likewise.
27415         * stdio-common/renameat.c: Likewise.
27416         * stdio-common/tempname.c: Likewise.
27417         * stdlib/getcontext.c: Likewise.
27418         * stdlib/makecontext.c: Likewise.
27419         * stdlib/setcontext.c: Likewise.
27420         * stdlib/swapcontext.c: Likewise.
27421         * stdlib/system.c: Likewise.
27422         * streams/fattach.c: Likewise.
27423         * streams/fdetach.c: Likewise.
27424         * streams/getmsg.c: Likewise.
27425         * streams/getpmsg.c: Likewise.
27426         * streams/putmsg.c: Likewise.
27427         * streams/putpmsg.c: Likewise.
27428         * sysdeps/unix/bsd/getpt.c: Likewise.
27429         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27430         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27431         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27433         Likewise.
27434         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27435         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27436         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27437         * sysvipc/msgctl.c: Likewise.
27438         * sysvipc/msgget.c: Likewise.
27439         * sysvipc/msgrcv.c: Likewise.
27440         * sysvipc/msgsnd.c: Likewise.
27441         * sysvipc/semctl.c: Likewise.
27442         * sysvipc/semget.c: Likewise.
27443         * sysvipc/semop.c: Likewise.
27444         * sysvipc/semtimedop.c: Likewise.
27445         * sysvipc/shmat.c: Likewise.
27446         * sysvipc/shmctl.c: Likewise.
27447         * sysvipc/shmdt.c: Likewise.
27448         * sysvipc/shmget.c: Likewise.
27449         * termios/tcdrain.c: Likewise.
27450         * termios/tcflow.c: Likewise.
27451         * termios/tcflush.c: Likewise.
27452         * termios/tcgetattr.c: Likewise.
27453         * termios/tcgetpgrp.c: Likewise.
27454         * termios/tcsendbrk.c: Likewise.
27455         * termios/tcsetattr.c: Likewise.
27456         * termios/tcsetpgrp.c: Likewise.
27457         * time/adjtime.c: Likewise.
27458         * time/clock.c: Likewise.
27459         * time/getitimer.c: Likewise.
27460         * time/gettimeofday.c: Likewise.
27461         * time/setitimer.c: Likewise.
27462         * time/settimeofday.c: Likewise.
27463         * time/stime.c: Likewise.
27464         * time/time.c: Likewise.
27465
27466 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27467
27468         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27469         /usr/old/bin.
27470
27471         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27472         instead of spaces.
27473         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27474
27475 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27476
27477         [BZ #14796]
27478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27479         FE_TONEAREST before applying Dekker multiplication and Knuth
27480         addition.  Clear inexact exceptions and check for exact zero
27481         results afterwards.
27482         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27485         * math/libm-test.inc (fma_test): Add more tests.
27486         (fma_test_towardzero): Likewise.
27487         (fma_test_downward): Likewise.
27488         (fma_test_upward): Likewise.
27489         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27490         function.
27491         (libc_fesetround): New macro.
27492         (libc_fesetroundf): Likewise.
27493         (libc_fesetroundl): Likewise.
27494         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27495         function.
27496         (libc_fesetround_387): Likewise.
27497         (libc_fesetroundf): New macro.
27498         (libc_fesetround): Likewise.
27499         (libc_fesetroundl): Likewise.
27500         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27501         function.
27502         (libc_fesetroundf): New macro.
27503         (libc_fesetround): Likewise.
27504         (libc_fesetroundl): Likewise.
27505         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27506         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27507         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27508         libm_hidden_ver.
27509         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27510         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27511         libm_hidden_def.
27512         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27513         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27514         libm_hidden_ver.
27515         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27516         libm_hidden_def.
27517
27518         [BZ #3439]
27519         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27520         integer constant usable in #if and use that to give value to enum
27521         constant.
27522         (FE_DIVBYZERO): Likewise.
27523         (FE_UNDERFLOW): Likewise.
27524         (FE_OVERFLOW): Likewise.
27525         (FE_INVALID): Likewise.
27526         (FE_INVALID_SNAN): Likewise.
27527         (FE_INVALID_ISI): Likewise.
27528         (FE_INVALID_IDI): Likewise.
27529         (FE_INVALID_ZDZ): Likewise.
27530         (FE_INVALID_IMZ): Likewise.
27531         (FE_INVALID_COMPARE): Likewise.
27532         (FE_INVALID_SOFTWARE): Likewise.
27533         (FE_INVALID_SQRT): Likewise.
27534         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27535         (FE_TONEAREST): Likewise.
27536         (FE_TOWARDZERO): Likewise.
27537         (FE_UPWARD): Likewise.
27538         (FE_DOWNWARD): Likewise.
27539         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27540         (FE_DIVBYZERO): Likewise.
27541         (FE_OVERFLOW): Likewise.
27542         (FE_UNDERFLOW): Likewise.
27543         (FE_INEXACT): Likewise.
27544         (FE_TONEAREST): Likewise.
27545         (FE_DOWNWARD): Likewise.
27546         (FE_UPWARD): Likewise.
27547         (FE_TOWARDZERO): Likewise.
27548         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27549         (FE_UNDERFLOW): Likewise.
27550         (FE_OVERFLOW): Likewise.
27551         (FE_DIVBYZERO): Likewise.
27552         (FE_INVALID): Likewise.
27553         (FE_TONEAREST): Likewise.
27554         (FE_TOWARDZERO): Likewise.
27555         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27556         (FE_OVERFLOW): Likewise.
27557         (FE_UNDERFLOW): Likewise.
27558         (FE_DIVBYZERO): Likewise.
27559         (FE_INEXACT): Likewise.
27560         (FE_TONEAREST): Likewise.
27561         (FE_TOWARDZERO): Likewise.
27562         (FE_UPWARD): Likewise.
27563         (FE_DOWNWARD): Likewise.
27564         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27565         (FE_DIVBYZERO): Likewise.
27566         (FE_OVERFLOW): Likewise.
27567         (FE_UNDERFLOW): Likewise.
27568         (FE_INEXACT): Likewise.
27569         (FE_TONEAREST): Likewise.
27570         (FE_DOWNWARD): Likewise.
27571         (FE_UPWARD): Likewise.
27572         (FE_TOWARDZERO): Likewise.
27573
27574 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27575
27576         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27577
27578 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27579
27580         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27581         commands.  Quote $PWD.
27582         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27583         -x" by "export".
27584         (remove_newlines): Remove.
27585
27586 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27587
27588         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27589         * stdlib/stdlib.h (atof): Moved to ...
27590         * include/bits/stdlib-float.h: Here.  New file.
27591         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27592         * stdlib/bits/stdlib-float.h: New file.
27593         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27594         -mno-sse -mno-mmx.
27595         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27596         <xmmintrin.h>.
27597
27598 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27599
27600         * conform/conformtest.pl (@headers): Add fenv.h.
27601         * conform/data/fenv.h-data: New file.
27602         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27603         include of <math/fenv.h>.
27604
27605         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27606         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27607         && !UNIX98].  Enables tests for XOPEN2K8.
27608         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27609         POSIX2008]: Likewise.
27610
27611         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27612         (struct rusage): Do not expect type or its members.
27613
27614         [BZ #3439]
27615         * math/math.h (FP_NAN): Define macro to integer constant usable in
27616         #if and use that to give value to enum constant.
27617         (FP_INFINITE): Likewise.
27618         (FP_ZERO): Likewise.
27619         (FP_SUBNORMAL): Likewise.
27620         (FP_NORMAL): Likewise.
27621
27622 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27623
27624         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27625         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27626         arguments.
27627
27628 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27629
27630         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27631         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27632         autoconf-time if not.
27633         * configure.in: Remove AC_PREREQ.
27634
27635 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27636
27637         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27638         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27639         of the internal implementation.
27640
27641 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27642
27643         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27644         except include of <misc/sys/syslog.h>.
27645
27646 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27647
27648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27649         function returns with a NULL context exit with zero.
27650
27651 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27652
27653         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27654
27655 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27656
27657         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27658         (run_program_cmd): This.
27659         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27660         (tst_langinfo): New variable.  Use it.
27661
27662 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27663
27664         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27665         floating point opcodes.
27666
27667 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27668
27669         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27670         variable.
27671
27672         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27673
27674         * sysdeps/mach/hurd/powerpc: Remove directory.
27675         * sysdeps/mach/powerpc: Likewise.
27676
27677 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27678
27679         * scripts/check-local-headers.sh: Ignore c++ headers.
27680
27681 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27682
27683         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27684         __libc_cleanup_region_start argument.
27685
27686 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27687
27688         [BZ #14784]
27689         [BZ #14785]
27690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27691         x * y using scaling, not as x * y + z.
27692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27694         * math/libm-test.inc (fma_test): Add more tests.
27695         (fma_test_towardzero): Likewise.
27696         (fma_test_downward): Likewise.
27697         (fma_test_upward): Likewise.
27698
27699 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27700
27701         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27702
27703 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27704
27705         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27706         New variable.
27707
27708 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27709
27710         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27711
27712 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27713
27714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27715         Fix sort order.
27716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27717         Likewise.
27718
27719 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27720
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27722         Fix the order of the list for glibc 2.17.
27723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27724         Likewise.
27725
27726 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27727
27728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27729
27730 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27731
27732         [BZ #14610]
27733         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27734         for low part of x being zero before using __atanl (y).
27735         * math/libm-test.inc (atan2_test): Add another test.
27736
27737         * manual/install.texi (Configuring and compiling): Document
27738         general use of test-wrapper and test-wrapper-env.
27739         * INSTALL: Regenerated.
27740
27741         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27742         (__fma): Do not extract and scale down low bits on after-rounding
27743         systems when result rounded to normal precision would have normal
27744         exponent.
27745         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27746         (__fmal): Do not extract and scale down low bits on after-rounding
27747         systems when result rounded to normal precision would have normal
27748         exponent.
27749         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27750         (__fmal): Do not extract and scale down low bits on after-rounding
27751         systems when result rounded to normal precision would have normal
27752         exponent.
27753         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27754         macro.
27755         (fma_test): Add more tests.
27756         (fma_test_towardzero): Likewise.
27757         (fma_test_downward): Likewise.
27758         (fma_test_upward): Likewise.
27759
27760 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27761
27762         * sysdeps/i386/tininess.h: Renamed to ...
27763         * sysdeps/x86/tininess.h: This.
27764         * sysdeps/x86_64/tininess.h: Removed.
27765
27766 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27767
27768         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27769         input.  Use $(build-program-cmd).
27770         ($(objpfx)tst-array1-static.out): Likewise.
27771         ($(objpfx)tst-array2.out): Likewise.
27772         ($(objpfx)tst-array3.out): Likewise.
27773         ($(objpfx)tst-array4.out): Likewise.
27774         ($(objpfx)tst-array5.out): Likewise.
27775         ($(objpfx)tst-array5-static.out): Likewise.
27776
27777 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27778
27779         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27780         if defined.
27781
27782         * nss/nsswitch.h (nss_interface_function): Provide new
27783         macro for use with NSS functions.
27784         * grp/initgroups.c: Use new macro.
27785         * nss/getXXbyYY.c: Likewise.
27786         * nss/getXXbyYY_r.c: Likewise.
27787         * nss/getXXent.c: Likewise.
27788         * nss/getXXent_r.c: Likewise.
27789         * sysdeps/posix/getaddrinfo.c: Likewise.
27790
27791 2012-10-30  Andreas Jaeger  <aj@suse.de>
27792
27793         * po/ru.po: Update Russion translation from translation project.
27794
27795 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27796
27797         [BZ #14152]
27798         [BZ #14783]
27799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27800         result and shift together with sticky bit instead of replicating
27801         round-to-nearest rounding.
27802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27803         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27804         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27805         missing underflow exceptions.
27806         (fma_test_towardzero): Add more tests.
27807         (fma_test_downward): Likewise.
27808         (fma_test_upward): Likewise.
27809
27810         [BZ #14047]
27811         * sysdeps/generic/tininess.h: New file.
27812         * sysdeps/i386/tininess.h: Likewise.
27813         * sysdeps/sh/tininess.h: Likewise.
27814         * sysdeps/x86_64/tininess.h: Likewise.
27815         * stdlib/tst-strtod-underflow.c: Likewise.
27816         * stdlib/tst-tininess.c: Likewise.
27817         * stdlib/strtod_l.c: Include <tininess.h>.
27818         (round_and_return): Do not set errno for exact underflow cases.
27819         Force an underflow exception when setting errno for underflow.
27820         Determine underflow based on rounding to normal precision if
27821         TININESS_AFTER_ROUNDING.
27822         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27823         ERANGE for exact underflow cases.
27824         * stdlib/Makefile (tests): Add tst-tininess and
27825         tst-strtod-underflow.
27826         ($(objpfx)tst-tininess): Use $(link-libm).
27827         ($(objpfx)tst-strtod-underflow): Likewise.
27828
27829 2012-10-30  Andreas Jaeger  <aj@suse.de>
27830
27831         [BZ#14767]
27832         * elf/Makefile (tests): Remove conditional for have-initfini-array
27833         since this is now always required and the variable does not exist
27834         anymore.
27835         (tests-static): Likewise.
27836         (modules-names): Likewise.
27837
27838         * po/eo.po: Add Esperanto translation from translation project.
27839
27840         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27841         merged with constructor/destructor.
27842         (init_array): Likewise.
27843         * elf/tst-array2dep.c (fini_array): Likewise.
27844         (init_array): Likewise.
27845
27846 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27847
27848         * manual/message.texi: Delete @cartouche tags.
27849
27850 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27851
27852         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27853         EOPNOTSUPP.
27854         * sysdeps/mach/hurd/fsync.c: Likewise.
27855
27856         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27857         [_POSIX_REALTIME_SIGNALS]: Change condition to
27858         [_POSIX_REALTIME_SIGNALS > 0].
27859
27860 2012-10-27  Andreas Jaeger  <aj@suse.de>
27861
27862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27863         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27865         [__WORDSIZE != 64]: Likewise.
27866
27867 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27868
27869         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27870         *  iconvdata/tst-tables.sh: Likewise.
27871
27872 2012-10-25  David S. Miller  <davem@davemloft.net>
27873
27874         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27875         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27876         of strtoull.
27877
27878         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27879         ifunc-impl-list.c
27880         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27881         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27882         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27883         file.
27884
27885 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27886
27887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27888         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27889         __getdirentries.
27890
27891 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27892             Jim Blandy  <jimb@codesourcery.com>
27893
27894         * scripts/cross-test-ssh.sh: New file.
27895         * manual/install.texi (Configuring and compiling): Document use of
27896         cross-test-ssh.sh.
27897         * INSTALL: Regenerated.
27898
27899 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27900
27901         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27902         EOPNOTSUPP.
27903
27904 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27905
27906         * Makeconfig (run-program-prefix): Fix comment.
27907
27908 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27909             Jim Blandy  <jimb@codesourcery.com>
27910
27911         * Makeconfig (test-wrapper): New variable,
27912         (test-wrapper-env): Likewise.
27913         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27914         (run-built-tests): Define to yes.
27915         (run-program-prefix): Use $(test-wrapper).
27916         (built-program-cmd): Likewise.
27917         * Rules (make-test-out): Use $(test-wrapper-env) and
27918         $(host-built-program-cmd).
27919         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27920         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27921         tst-pathopt.sh.
27922         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27923         $(test-wrapper-env) to tst-rtld-load-self.sh.
27924         ($(objpfx)order2.out): Use $(test-wrapper).
27925         ($(objpfx)tst-initorder.out): Likewise.
27926         ($(objpfx)tst-initorder2.out): Likewise.
27927         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27928         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27929         (test_wrapper_env): New variable.  Use it to run ld.so.
27930         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27931         Use it to run ld.so.
27932         (test_wrapper_env): Likewise.
27933         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27934         $(test-wrapper) to run-iconv-test.sh.
27935         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27936         (ICONV): Use $test_wrapper.
27937         * posix/Makefile ($(objpfx)globtest.out): Pass
27938         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27939         globtest.sh, not $(run-program-prefix).
27940         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27941         (test_wrapper): Likewise.
27942         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27943         set together with run_via_rtld_prefix.
27944         (run_program_prefix): Define in terms of test_wrapper and
27945         run_via_rtld_prefix.
27946
27947 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27948
27949         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27950         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27951         Targets removed.
27952
27953         [BZ #14743]
27954         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27955         Declare __clock_getres, __clock_gettime, __clock_settime,
27956         __clock_nanosleep, and __clock_getcpuclockid.
27957         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27958         Remove librt_hidden_def (clock_gettime).
27959         * sysdeps/unix/clock_gettime.c: Likewise.
27960         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27961         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27962         * rt/clock_getres.c: Define __clock_getres as an alias.
27963         * sysdeps/posix/clock_getres.c: Likewise.
27964         * rt/clock_settime.c: Define __clock_settime as an alias.
27965         * sysdeps/unix/clock_settime.c: Likewise.
27966         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27967         * sysdeps/unix/clock_nanosleep.c: Likewise.
27968         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27969         * rt/clock-compat.c: New file.
27970         * rt/Makefile (librt-routines): Add clock-compat and move
27971         $(clock-routines) to ...
27972         (routines): ... here, new variable.
27973         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27974         Don't add get_clockfreq here.
27975         * rt/Versions (libc: GLIBC_2.17): New version set.
27976         Add clock_* symbols here.
27977         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27978         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27979         (GLIBC_2.17): Add clock_* symbols.
27980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27984         Likewise.
27985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27986         Likewise.
27987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27991         * NEWS: Mention the move.
27992
27993         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27994         Use __open, __read, __close rather than their public counterparts.
27995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27996         (__get_clockfreq_via_cpuinfo): Likewise.
27997         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27998         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27999
28000         * config.h.in (HAVE_IFUNC): New #undef.
28001         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28002         was successful.
28003         * configure: Regenerated.
28004
28005 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28006
28007         * configure.in: Move READELF check to start of file.
28008         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28009         libc_cv_asm_gnu_indirect_function in the process.
28010         * configure: Regenerated.
28011
28012 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28013
28014         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28015         send the output to /dev/null.
28016         (libc_cv_cc_with_libunwind): Likewise.
28017         (libc_cv_as_noexecstack): Likewise.
28018         * configure: Regenerate.
28019
28020 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28021
28022         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28023
28024         * posix/globtest.sh (TMPDIR): Do not set.
28025         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28026         (testout): Likewise.
28027
28028 2012-10-24  Andreas Jaeger  <aj@suse.de>
28029
28030         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28031         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28032         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28033         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28034         posix_fadvise64, posix_fallocate64.
28035
28036         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28037         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28038         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28039         Likewise.
28040         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28041         Likewise.
28042         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28043
28044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28045         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28046         <bits/fcntl-linux.h>.
28047         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28048
28049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28050         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28051         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28052         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28053         [__WORDSIZE != 64]: Likewise.
28054
28055 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28056
28057         * Makeconfig (run-built-tests): New variable.
28058         * Rules [$(cross-compiling) = yes]: Change condition to
28059         [$(run-built-tests) = no].
28060         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28061         to [$(run-built-tests) = yes].
28062         * elf/Makefile [$(cross-compiling) = no]: Likewise
28063         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28064         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28065         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28066         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28067         * io/Makefile [$(cross-compiling) = no]: Likewise.
28068         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28069         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28070         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28071         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28072         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28073         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28074         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28075         * string/Makefile [$(cross-compiling) = no]: Likewise.
28076
28077         * posix/Makefile ($(objpfx)globtest.out): Pass
28078         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28079         $(rtld-installed-name).
28080         * posix/globtest.sh (elf_objpfx): Remove variable.
28081         (rtld_installed_name): Likewise.
28082         (library_path): Likewise.
28083         (run_program_prefix): New variable.  Use for running globtest
28084         binary.
28085
28086 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28087             Joseph Myers  <joseph@codesourcery.com>
28088
28089         * Makeconfig (host-built-program-cmd): New variable.
28090         * elf/Makefile (tst-stackguard1-ARGS): Use
28091         $(host-built-program-cmd).
28092         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28093         (tst-spawn-ARGS): Likewise.
28094         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28095
28096 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28097             Jim Blandy  <jimb@codesourcery.com>
28098
28099         * Makeconfig (run-via-rtld-prefix): New variable.
28100         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28101         (built-program-cmd): Likewise.
28102
28103 2012-10-22  Andreas Jaeger  <aj@suse.de>
28104
28105         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28106         __O_RSYNC if it exists, otherwise to O_SYNC.
28107
28108 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28109             Joseph Myers  <joseph@codesourcery.com>
28110
28111         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28112         /dev/null.
28113         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28114         from /dev/null
28115         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28116         /dev/null.
28117
28118 2012-10-22  Andreas Jaeger  <aj@suse.de>
28119
28120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28121         Define always.
28122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28123
28124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28125         bits/fcntl-linux.h.
28126
28127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28128         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28129
28130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28131         to __O_LARGEFILE.
28132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28133         to __O_LARGEFILE.
28134
28135 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28136             Joseph Myers  <joseph@codesourcery.com>
28137
28138         * config.make.in (NM): New variable.
28139
28140 2012-10-21  Andreas Jaeger  <aj@suse.de>
28141
28142         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28143         definitions and declarations that are provided by
28144         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28145
28146 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28147
28148         [BZ #14683]
28149         * elf/Makefile (tests-static): Add tst-leaks1-static.
28150         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28151         ($(objpfx)tst-leaks1-static): New rule.
28152         ($(objpfx)tst-leaks1-static-mem): Likewise.
28153         (tst-leaks1-static-ENV): New macro.
28154         * elf/dl-open.c (dl_open_worker): Check the main application
28155         only if SHARED is defined.
28156         * elf/tst-leaks1-static.c: New file.
28157
28158 2012-10-20  Andreas Jaeger  <aj@suse.de>
28159
28160         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28161         generic values for Linux.
28162         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28163         and declarations that are provided by <bits/fcntl-linux.h> and
28164         include <bits/fcntl-linux.h>.
28165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28167
28168 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28169
28170         * io/fcntl.h: Move include of <bits/types.h> to the top and
28171         include it unconditionally.
28172
28173 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28174
28175         * wcsmbs/Makefile (tests-ifunc): New variable.
28176         (tests): Add $(tests-ifunc).
28177         * wcsmbs/test-wcschr-ifunc.c: New file.
28178         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28179         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28180         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28181         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28182         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28183
28184         * string/Makefile (tests-ifunc): New variable.
28185         (tests): Add $(tests-ifunc).
28186         * string/test-memccpy.c (TEST_NAME): New macro.
28187         * string/test-memchr.c (TEST_NAME): Likewise.
28188         * string/test-memcmp.c (TEST_NAME): Likewise.
28189         * string/test-memcpy.c (TEST_NAME): Likewise.
28190         * string/test-memmem.c (TEST_NAME): Likewise.
28191         * string/test-memmove.c (TEST_NAME): Likewise.
28192         * string/test-memset.c (TEST_NAME): Likewise.
28193         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28194         * string/test-stpcpy.c (TEST_NAME): Likewise.
28195         * string/test-stpncpy.c (TEST_NAME): Likewise.
28196         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28197         * string/test-strcasestr.c (TEST_NAME): Likewise.
28198         * string/test-strcat.c (TEST_NAME): Likewise.
28199         * string/test-strchr.c (TEST_NAME): Likewise.
28200         * string/test-strcmp.c(TEST_NAME): Likewise.
28201         * string/test-strcpy.c (TEST_NAME): Likewise.
28202         * string/test-strcspn.c (TEST_NAME): Likewise.
28203         * string/test-strlen.c (TEST_NAME): Likewise.
28204         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28205         * string/test-strncmp.c (TEST_NAME): Likewise.
28206         * string/test-strncpy.c (TEST_NAME): Likewise.
28207         * string/test-strnlen.c (TEST_NAME): Likewise.
28208         * string/test-strpbrk.c (TEST_NAME): Likewise.
28209         * string/test-strrchr.c (TEST_NAME): Likewise.
28210         * string/test-strspn.c (TEST_NAME): Likewise.
28211         * string/test-strstr.c (TEST_NAME): Likewise.
28212         * string/test-bcopy-ifunc.c: New file.
28213         * string/test-bzero-ifunc.c: Likewise.
28214         * string/test-memccpy-ifunc.c: Likewise.
28215         * string/test-memchr-ifunc.c: Likewise.
28216         * string/test-memcmp-ifunc.c: Likewise.
28217         * string/test-memcpy-ifunc.c: Likewise.
28218         * string/test-memmem-ifunc.c: Likewise.
28219         * string/test-memmove-ifunc.c: Likewise.
28220         * string/test-mempcpy-ifunc.c: Likewise.
28221         * string/test-memset-ifunc.c: Likewise.
28222         * string/test-rawmemchr-ifunc.c: Likewise.
28223         * string/test-stpcpy-ifunc.c: Likewise.
28224         * string/test-stpncpy-ifunc.c: Likewise.
28225         * string/test-strcasecmp-ifunc.c: Likewise.
28226         * string/test-strcasestr-ifunc.c: Likewise.
28227         * string/test-strcat-ifunc.c: Likewise.
28228         * string/test-strchr-ifunc.c: Likewise.
28229         * string/test-strchrnul-ifunc.c: Likewise.
28230         * string/test-strcmp-ifunc.c: Likewise.
28231         * string/test-strcpy-ifunc.c: Likewise.
28232         * string/test-strcspn-ifunc.c: Likewise.
28233         * string/test-strlen-ifunc.c: Likewise.
28234         * string/test-strncasecmp-ifunc.c: Likewise.
28235         * string/test-strncat-ifunc.c: Likewise.
28236         * string/test-strncmp-ifunc.c: Likewise.
28237         * string/test-strncpy-ifunc.c: Likewise.
28238         * string/test-strnlen-ifunc.c: Likewise.
28239         * string/test-strpbrk-ifunc.c: Likewise.
28240         * string/test-strrchr-ifunc.c: Likewise.
28241         * string/test-strspn-ifunc.c: Likewise.
28242         * string/test-strstr-ifunc.c: Likewise.
28243
28244         * debug/Makefile (tests-ifunc): New variable.
28245         (tests): Add $(tests-ifunc).
28246         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28247         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28248         * debug/test-stpcpy_chk-ifunc.c: New file.
28249         * debug/test-strcpy_chk-ifunc.c: Likewise.
28250
28251 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28252
28253         [BZ #13601]
28254         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28255         header is not read in.
28256
28257 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28258
28259         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28260         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28261         directly.  Pass built executable to script as
28262         $(built-program-cmd).
28263         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28264         $testprogram without using LD_LIBRARY_PATH and $ldso.
28265
28266         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28267         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28268         $(rtld-installed-name).
28269         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28270         (rtld_installed_name): Likewise.
28271         (library_path): Likewise.
28272         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28273         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28274         $(run-program-prefix) to tst-tables.sh.
28275         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28276         it to run tst-table-from and tst-table-to.
28277         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28278         Pass it to tst-table.sh.
28279         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28280         $(run-program-prefix) to tst-gettext.sh.
28281         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28282         tst-translit.sh.
28283         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28284         tst-gettext2.sh.
28285         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28286         to run tst-gettext.
28287         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28288         to run tst-gettext2.
28289         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28290         to run tst-translit.
28291         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28292         $(run-program-prefix) to tst-mtrace.sh.
28293         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28294         to run tst-mtrace.
28295         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28296         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28297         $(rtld-installed-name).
28298         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28299         (rtld_installed_name): Likewise.
28300         (run_program_prefix): New variable.  Use it to run wordexp-test.
28301
28302         * Makeconfig (ARCH): Remove all definitions.
28303         (machine): Likewise.
28304         [ARCH]: Remove conditional code.
28305         [!objdir]: Give error.
28306         [!objdir] (objpfx): Remove.
28307         [!objdir] (common-objpfx): Likewise.
28308         [!objdir] (common-objdir): Likewise.
28309         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28310         AC_CONFIG_FILES call.
28311         * configure: Regenerated.
28312
28313         [BZ #13888]
28314         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28315         or TMPDIR.
28316         (testout): Likewise.
28317
28318         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28319         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28320         $(rtld-installed-name).
28321         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28322         (rtld_installed_name): Likwise.
28323         (runit): Remove function.
28324         (run_getconf): New variable,  Use it for running getconf binary.
28325
28326 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28327
28328         [BZ #14716]
28329         * string/test-memmem.c (check_result): New function.
28330         (do_one_test): Use it.
28331         (check1): New function.
28332         (test_main): Use it.
28333
28334 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28335
28336         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28337
28338 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28339
28340         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28341         (_G_LSEEK64): Likewise.
28342         (_G_MMAP64): Likewise.
28343         (_G_FSTAT64): Likewise.
28344         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28345         (_G_LSEEK64): Likewise.
28346         (_G_MMAP64): Likewise.
28347         (_G_FSTAT64): Likewise.
28348         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28349         unconditional.  Call __mmap64 directly.
28350         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28351         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28352         __lseek64 directly.
28353         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28354         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28355         __mmap64 directly.
28356         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28357         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28358         __lseek64 directly.
28359         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28360         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28361         __lseek64 directly.
28362         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28363         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28364         __lseek64 directly.
28365         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28366         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28367         __fxstat64 directly.
28368         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28369         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28370         unconditional.
28371         (freopen64) [!_G_OPEN64]: Remove conditional code.
28372         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28373         unconditional.
28374         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28375         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28376         unconditional.
28377         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28378         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28379         unconditional.
28380         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28381         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28382         unconditional.
28383         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28384         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28385         unconditional.
28386         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28387         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28388         unconditional.
28389         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28390         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28391         unconditional.
28392         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28393
28394 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28395
28396         [BZ #12140]
28397         * manual/memory.texi (Malloc Tunable Parameters): Add note
28398         about free list pointers overwriting some perturb bytes.
28399         Wording suggested by Roland McGrath.
28400
28401 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28402
28403         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28404         (lgamma_test): Likewise.
28405         (tgamma_test): Likewise.
28406
28407 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28408
28409         [BZ #14700]
28410         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28411         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28412
28413 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28414
28415         * NEWS: Mention BZ #14716.
28416         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28417         when removing AVAILABLE1_USES_J macro.
28418
28419 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28420
28421         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28422         (__bswap_64): __uint64_t for unsigned 64-bit int.
28423
28424 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28425
28426         * include/string.h (memmem): Declare libc hidden alias.
28427         * string/memmem.c (memmem): Define libc hidden alias.
28428         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28429         __read, __close instead of open, read, close.
28430
28431 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28432
28433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28434         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28435         global and hidden.
28436         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28437         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28438         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28439         Likewise.
28440         (__rawmemchr_sse2): Likewise.
28441         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28442         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28443         (__strchr_sse2): Likewise.
28444         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28445         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28446         (__strcasecmp_sse2): Likewise.
28447         (__strncasecmp_sse2): Likewise.
28448         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28449         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28450         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28451         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28452         (__strrchr_sse2): Likewise.
28453         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28454         ifunc-impl-list.c.
28455         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28456         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28457         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28458         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28459         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28460         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28461         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28462         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28463         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28464         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28465         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28466         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28467         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28468         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28469         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28470         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28471         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28472         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28473         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28474         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28475         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28476         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28477         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28478         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28479         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28480         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28481         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28482         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28483         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28484         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28485
28486         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28487         global and hidden.
28488         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28489         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28490         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28491         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28492         Likewise.
28493         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28494         Likewise.
28495         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28496         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28497         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28498         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28499         ifunc-impl-list.c.
28500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28502         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28503         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28504         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28505         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28506         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28507         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28508         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28509         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28510         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28511         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28512         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28513         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28514         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28515         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28516         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28517         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28518         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28519         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28520         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28521         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28522         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28523         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28524         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28525         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28526         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28527         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28528         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28529         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28530         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28533         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28534         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28535         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28536         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28537         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28539         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28540         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28541
28542         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28543         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28544         * include/ifunc-impl-list.h: New file.
28545         * misc/ifunc-impl-list.c: Likewise.
28546         * misc/Makefile (routines): Add ifunc-impl-list.
28547         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28548         * string/test-string.h: Include <ifunc-impl-list.h>.
28549         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28550         TEST_NAME]: New variables.
28551         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28552         are defined.
28553         (test_init): Call __libc_ifunc_impl_list to initialize
28554         func_list if TEST_IFUNC and TEST_NAME are defined.
28555
28556         * string/Makefile (strop-tests): Add bcopy and bzero.
28557         * string/test-bcopy.c: New file.
28558         * string/test-bzero.c: Likewise.
28559         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28560         defined.
28561         * string/test-memset.c: Support bzero test if TEST_BZERO is
28562         defined.
28563         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28564         __libc_memmove.
28565         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28566         __libc_memset.
28567         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28568         of memset.
28569
28570 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28571
28572         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28573         * configure: Regenerated.
28574
28575         * Makeconfig (+link-static-before-libc): Don't include
28576         $(link-static-libc).
28577
28578         * libio/libio.h (_IO_pos_t): Remove.
28579
28580 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28581
28582         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28583         McGrath.
28584
28585 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28586
28587         * crypt/crypt-entry.c: Include fips-private.h.
28588         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28589         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28590         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28591         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28592
28593 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28594
28595         * crypt/crypt-private.h: Include stdbool.h.
28596         (_ufc_setup_salt_r): Return bool.
28597         * crypt/crypt-entry.c: Include errno.h.
28598         (__crypt_r): Return NULL with EINVAL for bad salt.
28599         * crypt/crypt_util.c (bad_for_salt): New.
28600         (_ufc_setup_salt_r): Check that salt is long enough and within
28601         the specified alphabet.
28602         * crypt/badsalttest.c: New file.
28603         * crypt/Makefile (tests): Add it.
28604         ($(objpfx)badsalttest): New.
28605
28606 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28607
28608         * NEWS: Add entry for BZ #14602.
28609
28610 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28611
28612         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28613         type-generic.
28614         * math/libm-test.inc: Update comment listing what functions and
28615         macros are tested.
28616         (isgreater_test): New function.
28617         (isgreaterequal_test): Likewise.
28618         (isless_test): Likewise.
28619         (islessequal_test): Likewise.
28620         (islessgreater_test): Likewise.
28621         (isunordered_test): Likewise.
28622         (main): Call the new functions.
28623
28624 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28625
28626         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28627         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28628         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28629         * sysdeps/i386/configure: Regenerated.
28630         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28631         * sysdeps/mach/configure: Regenerated.
28632         * sysdeps/mach/hurd/configure: Regenerated.
28633         * sysdeps/powerpc/configure: Regenerated.
28634         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28635         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28636         * sysdeps/s390/s390-32/configure: Regenerated.
28637         * sysdeps/s390/s390-64/configure: Regenerated.
28638         * sysdeps/sh/configure: Regenerated.
28639         * sysdeps/sparc/configure: Regenerated.
28640         * sysdeps/unix/sysv/linux/configure: Regenerated.
28641         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28642         * sysdeps/x86_64/configure: Regenerated.
28643
28644         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28645         defined.  Don't check if MAP is NULL.
28646
28647 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28648
28649         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28650         (_G_stat64): Likewise.
28651         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28652         (_G_stat64): Likewise.
28653         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28654         instead of struct _G_stat64.
28655         * libio/fileops.c (mmap_remap_check): Likewise.
28656         (decide_maybe_mmap): Likewise.
28657         (_IO_new_file_seekoff): Likewise.
28658         (_IO_file_stat): Likewise.
28659         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28660         _G_off64_t.
28661         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28662         instead of struct _G_stat64.
28663         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28664
28665 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28666
28667         [BZ #14602]
28668         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28669         Replace with ...
28670         (CHECK_EOL): New macro.
28671         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28672         CHECK_EOL.
28673         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28674         Replace with CHECK_EOL.
28675         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28676         Replace with CHECK_EOL.
28677
28678 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28679
28680         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28681         type-generic.
28682         * math/libm-test.inc: Update comment listing what functions and
28683         macros are tested.
28684         (finite_test): New function.
28685         (isinf_test): Likewise.
28686         (isnan_test): Likewise.
28687         (fpclassify_test): Test subnormal input.
28688         (isfinite_test): Likewise.
28689         (isnormal_test): Likewise.
28690         (main): Call the new functions.
28691
28692 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28693
28694         [BZ #14660]
28695         * Makerules (%.dynsym): Force C locale when running
28696         $(OBJDUMP) --dynamic-syms.
28697
28698 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28699
28700         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28701         <stdint.h>.
28702
28703 2012-10-06  David S. Miller  <davem@davemloft.net>
28704
28705         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28706         upper 32-bits of the length value in %o2 since we use branch-on-register
28707         tests which consider the entire 64-bit register.
28708
28709 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28710
28711         * string/test-strstr.c (check2): Add a test for page boundary.
28712
28713 2012-10-05  David S. Miller  <davem@davemloft.net>
28714
28715         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28716         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28717         file.
28718         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28719         sysdep_routines.
28720         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28721         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28722         and bzero when HWCAP_SPARC_CRYPTO is present.
28723
28724 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28725
28726         [BZ #14602]
28727         * string/test-strstr.c (check2): New function.
28728         (test_main): Call check2.
28729
28730         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28731         and bug-strchr1.
28732         * string/bug-strcasestr1.c (do_test): Moved to ...
28733         * string/test-strcasestr.c (check1): Here.  New function.
28734         (do_one_test): Break out result checking code into ...
28735         (check_result): This.  New function.
28736         (do_one_test): Call check_result.
28737         (test_main): Call check1.
28738         * string/bug-strchr1.c (do_test): Moved to ...
28739         * string/test-strchr.c (check1): Here.  New function.
28740         (do_one_test): Break out result checking code into ...
28741         (check_result): This.  New function.
28742         (do_one_test): Call check_result.
28743         (test_main): Call check1.
28744         * string/bug-strstr1.c (main): Moved to ...
28745         * string/test-strstr.c (check1): Here.  New function.
28746         (do_one_test): Break out result checking code into ...
28747         (check_result): This.  New function.
28748         (do_one_test): Call check_result.
28749         (test_main): Call check1.
28750         * string/bug-strcasestr1.c: Removed.
28751         * string/bug-strchr1.c: Likewise.
28752         * string/bug-strstr1.c: Likewise.
28753
28754         * elf/Makefile (dl-routines): Add hwcaps.
28755         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28756         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28757         (_dl_important_hwcaps): Moved to ...
28758         * elf/dl-hwcaps.c: Here.  New file.
28759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28760
28761         [BZ #14557]
28762         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28763         if IS_IN_rtld isn't defined.
28764
28765         * elf/dl-support.c (_dl_sysinfo_map): New.
28766         Include "get-dynamic-info.h" and "setup-vdso.h".
28767         (_dl_non_dynamic_init): Call setup_vdso.
28768         * elf/dynamic-link.h: Don't include <assert.h>.
28769         (elf_get_dynamic_info): Moved to ...
28770         * elf/get-dynamic-info.h: Here.  New file.
28771         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28772         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28773         * elf/setup-vdso.h: Here.  New file.
28774         * elf/rtld.c: Include "setup-vdso.h".
28775         (dl_main): Call setup_vdso.
28776
28777 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28778
28779         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28780         creal in comment listing functions tested.  List finite, isinf,
28781         isnan, isless, islessequal, isgreater, isgreaterequal,
28782         islessgreater, isunordered, lgamma_r and pow10 as functions and
28783         macros not tested.  Mention which functions not tested are aliases
28784         for other functions.  Fix typo.  Note that signs of NaNs are not
28785         tested.
28786
28787         * scripts/config.guess: Update from config.git.
28788         * scripts/config.sub: Likewise.
28789
28790 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28791
28792         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28793         * misc/madvise.c (madvise): Renamed to __madvise.
28794         Make madvise a weak alias.
28795         * include/sys/mman.h: Declare __madvise.
28796         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28797         * sysdeps/unix/syscalls.list
28798         (madvise): Make __madvise the strong name, and madvise a weak alias.
28799         * sysdeps/unix/sysv/linux/syscalls.list
28800         (madvise, mmap): Remove redundant entries.
28801         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28802         * malloc/malloc.c (mtrim): Likewise.
28803         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28804
28805 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28806
28807         * sysdeps/mach/hurd/dl-cache.c: File removed.
28808         * config.h.in (USE_LDCONFIG): New #undef.
28809         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28810         * configure: Regenerated.
28811         * elf/Makefile (dl-routines): Add dl-cache only under
28812         [$(use-ldconfig) = yes].
28813         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28814         cache on [USE_LDCONFIG].
28815         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28816         [USE_LDCONFIG].
28817         * elf/rtld.c (dl_main): Likewise.
28818
28819 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28820
28821         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28822         _SC_LEVEL4_CACHE_LINESIZE.
28823
28824 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28825
28826         * sysdeps/unix/bsd/confstr.h: File removed.
28827
28828 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28829
28830         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28831         sys/sdt-config.h.
28832
28833 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28834
28835         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28836         Make 'mapoff' field ElfW(Off) rather than off_t.
28837
28838 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28839
28840         * nscd/Makefile: Remove nscd-cflags and all its users.
28841         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28842         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28843
28844         [BZ #10631]
28845         * malloc.c (malloc_printerr): Clarify error message.
28846
28847 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28848
28849         [BZ #14648]
28850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28851         Set bit_FMA_Usable if FMA is supported.
28852         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28853         macro.
28854         (bit_FMA4_Usable): Updated.
28855         (index_FMA_Usable): New macro.
28856         (CPUID_FMA): Likewise
28857         (HAS_FMA): Defined with bit_FMA_Usable.
28858
28859 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28860
28861         * bits/types.h (__swblk_t): Type removed.
28862         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28863         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28865         (__SWBLK_T_TYPE): Likewise.
28866         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28867         (__SWBLK_T_TYPE): Likewise.
28868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28869         (__SWBLK_T_TYPE): Likewise.
28870         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28871         (__SWBLK_T_TYPE): Likewise.
28872
28873 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28874             Honza Horak <hhorak@redhat.com>
28875
28876         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28877         (xdr_mapname): Use YPMAXMAP as maxsize.
28878         (xdr_peername): Use YPMAXPEER as maxsize.
28879         (xdr_keydat): Use YPAXRECORD as maxsize.
28880         (xdr_valdat): Use YPMAXRECORD as maxsize.
28881
28882 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28883
28884         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28885
28886         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28887         * csu/init-first.c: ... here.
28888         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28889         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28890         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28891         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28892         * sysdeps/i386/init-first.c: File removed.
28893         * sysdeps/sh/init-first.c: File removed.
28894
28895 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28896
28897         [BZ #14645]
28898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28899         if x * y might underflow to zero and z is zero.
28900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28902         * math/libm-test.inc (min_subnorm_value): New variable.
28903         (fma_test): Add more tests.
28904         (fma_test_towardzero): Likewise.
28905         (fma_test_downward): Likewise
28906         (fma_test_upward): Likewise.
28907         (initialize): Set min_subnorm_value.
28908
28909 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28910
28911         [BZ #14638]
28912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28913         0 + 0.
28914         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28915         mode for addition resulting in exact zero.
28916         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28918         exact 0 + 0.
28919         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28921         * math/libm-test.inc (fma_test): Add more tests.
28922         (fma_test_towardzero): New function.
28923         (fma_test_downward): Likewise.
28924         (fma_test_upward): Likewise.
28925         (main): Call the new functions.
28926
28927 2012-09-28  David S. Miller  <davem@davemloft.net>
28928
28929         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28930
28931 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28932
28933         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28934         instead of SIGALRM.
28935
28936         * sysdeps/gnu/_G_config.h: Moved to ...
28937         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28938         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28939         * sysdeps/generic/_G_config.h: ... here.
28940
28941         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28942
28943         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28944
28945         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28946         Conditionalize target on [libnss_test1.so-version].
28947
28948         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28949
28950         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28951         (elfobjdir): Move out of conditionals.
28952
28953         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28954         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28955         (__nss_lookup_function): Conditionalize label remove_from_tree on
28956         [!DO_STATIC_NSS || SHARED], matching its only use.
28957
28958 2012-09-28  David S. Miller  <davem@davemloft.net>
28959
28960         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28961         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28962         file.
28963         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28964         sysdep_routines.
28965         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28967         when HWCAP_SPARC_CRYPTO is present.
28968
28969 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28970
28971         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28972
28973 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28974
28975         [BZ #6530]
28976         * stdio-common/vfprintf.c (process_string_arg): Revert
28977         2000-07-22 change.
28978
28979 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28980
28981         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28982         for testcase.
28983         * stdio-common/tst-sprintf.c: Include <locale.h>
28984         (main): Test sprintf's handling of incomplete multibyte
28985         characters.
28986
28987 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28988
28989         * elf/dl-runtime.c (VERSYMIDX): Removed.
28990         * elf/dl-version.c (VERSYMIDX): Likewise.
28991         * elf/do-rel.h (VERSYMIDX): Likewise.
28992         (VALIDX): Likewise.
28993         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28994         * elf/rtld.c (VALIDX): Likewise.
28995         (ADDRIDX): Likewise.
28996         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28997         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28998         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28999         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29000         (VALIDX): Likewise.
29001         (ADDRIDX): Likewise.
29002
29003 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29004
29005         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29006
29007 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29008
29009         [BZ #11438]
29010         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29011         to global scope.
29012         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29013         addresses are in the same scope as 192.0.2/24.
29014         * posix/gai.conf: Document new scope table defaults.
29015
29016 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29017
29018         [BZ #5298]
29019         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29020         for ftell.  Compute offsets from write pointers instead.
29021         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29022
29023 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29024
29025         [BZ #14543]
29026         * libio/Makefile (tests): New test case tst-fseek.
29027         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29028         combination works in wide mode.
29029         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29030         state when the external buffer state changes.
29031
29032 2012-09-27  David S. Miller  <davem@davemloft.net>
29033
29034         [BZ #14376]
29035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29036         pass reloc->r_addend in as the 'high' argument to
29037         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29038
29039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29040
29041 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29042
29043         * rt/tst-aio2.c: Include <pthread.h>.
29044         * rt/tst-aio3.c: Likewise.
29045
29046 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29047
29048         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29049
29050 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29051
29052         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29053         contents on [SHARED].
29054
29055 2012-09-26  Marek Polacek  <polacek@redhat.com>
29056
29057         [BZ #14530]
29058         [BZ #13741]
29059         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29060         for C++ and GCC <4.3 as well as for non GCC compilers.
29061
29062 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29063
29064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29065
29066 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29067
29068         * Makefile.in (all, install): Declare with .PHONY.
29069         Reported by Michael Hope <michael.hope@linaro.org>.
29070
29071 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29072
29073         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29074         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29075         system header.
29076         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29077         Likewise.
29078         (sydep_routines): Add the new and the internal functions.
29079         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29080         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29082         (GLIBC_2.17): Add the new function.
29083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29084         (GLIBC_2.17): Likewise.
29085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29086         (GLIBC_2.17): Likewise.
29087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29088         (GLIBC_2.17): Likewise.
29089         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29090
29091 2012-09-25  Alan Modra  <amodra@gmail.com>
29092
29093         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29094         Add release barrier before setting once_control to say
29095         initialisation is done.  Add hints on lwarx.  Use macro in
29096         place of isync.
29097         (clear_once_control): Add release barrier.
29098
29099 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29100
29101         [BZ #13629]
29102         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29103         specially.
29104         * math/s_clog10.c (__clog10): Likewise.
29105         * math/s_clog10f.c (__clog10f): Likewise.
29106         * math/s_clog10l.c (__clog10l): Likewise.
29107         * math/s_clogf.c (__clogf): Likewise.
29108         * math/s_clogl.c (__clogl): Likewise.
29109         * math/Makefile (libm-calls): Add x2y2m1.
29110         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29111         (__x2y2m1): Likewise.
29112         (__x2y2m1l): Likewise.
29113         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29114         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29115         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29116         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29117         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29118         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29119         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29120         * sysdeps/i386/fpu/libm-test-ulps: Update.
29121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29122
29123         [BZ #14621]
29124         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29125         int as type of variable DEPTH.
29126         (glob): Use size_t instead of int as type of variables NEWCOUNT
29127         and OLD_PATHC.
29128
29129 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29130
29131         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29132         Add s_sincosf-sse2.
29133         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29134         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29135         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29136         macros for using routine as __sincosf_ia32.
29137         Use macro for function declaration and weak_alias.
29138         * sysdeps/i386/fpu/libm-test-ulps: Update.
29139
29140         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29142
29143         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29144         subnormal argument.
29145         * math/s_cexpf.c (__cexpf): Likewise.
29146         * math/s_csinf.c (__csinf): Likewise.
29147         * math/s_csinhf.c (__csinhf): Likewise.
29148         * math/s_ctanf.c (__ctanf): Likewise.
29149         * math/s_ctanhf.c (__ctanhf): Likewise.
29150         * math/s_ccosh.c (__ccoshf): Likewise.
29151         * math/s_cexp.c (__cexpl): Likewise.
29152         * math/s_csin.c (__csin): Likewise.
29153         * math/s_csinh.c (__csinh): Likewise.
29154         * math/s_ctan.c (__ctan): Likewise.
29155         * math/s_ctanh.c (ctanh): Likewise.
29156         * math/s_ccoshl.c (__ccoshl): Likewise.
29157         * math/s_cexpl.c (__cexpl): Likewise.
29158         * math/s_csinl.c (__csinl): Likewise.
29159         * math/s_csinhl.c (__csinhl): Likewise.
29160         * math/s_ctanl.c (__ctanl): Likewise.
29161         * math/s_ctanhl.c (__ctanhl): Likewise.
29162
29163 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29164
29165         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29166         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29167         (_IO_off_t): Define to __off_t, not _G_off_t.
29168         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29169         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29170         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29171         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29172         type of __dummy and __dummy2 fields.
29173         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29174         (_G_ssize_t): Likewise.
29175         (_G_off_t): Likewise.
29176         (_G_pid_t): Likewise.
29177         (_G_uid_t): Likewise.
29178         (_G_wchar_t): Likewise.
29179         (_G_wint_t): Likewise.
29180         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29181         (_G_ssize_t): Likewise.
29182         (_G_off_t): Likewise.
29183         (_G_pid_t): Likewise.
29184         (_G_uid_t): Likewise.
29185         (_G_wchar_t): Likewise.
29186         (_G_wint_t): Likewise.
29187         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29188         (_G_ssize_t): Likewise.
29189         (_G_off_t): Likewise.
29190         (_G_pid_t): Likewise.
29191         (_G_uid_t): Likewise.
29192         (_G_wchar_t): Likewise.
29193         (_G_wint_t): Likewise.
29194
29195 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29196
29197         * malloc/arena.c: Include malloc-sysdep.h.
29198         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29199         is sufficient to shrink the heap or an unmap is needed.
29200         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29201         new function check_may_shrink_heap.
29202         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29203         new function check_may_shrink_heap.
29204
29205 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29206
29207         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29208         comments.
29209
29210 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29211
29212         * catgets/test-gencat.sh: Add "set -e".
29213         * elf/tst-pathopt.sh: Likewise.
29214         * grp/tst_fgetgrent.sh: Likewise.
29215         * iconvdata/run-iconv-test.sh: Likewise.
29216         * intl/tst-gettext.sh: Likewise.
29217         * intl/tst-gettext2.sh: Likewise.
29218         * intl/tst-gettext4.sh: Likewise.
29219         * intl/tst-gettext6.sh: Likewise.
29220         * intl/tst-translit.sh: Likewise.
29221         * io/ftwtest-sh: Likewise.
29222         * libio/test-freopen.sh: Likewise.
29223         * malloc/tst-mtrace.sh: Likewise.
29224         * posix/globtest.sh: Likewise.
29225         * posix/tst-getconf.sh: Likewise.
29226         * posix/wordexp-tst.sh: Likewise.
29227         * stdio-common/tst-printf.sh: Likewise.
29228         * stdio-common/tst-unbputc.sh: Likewise.
29229         * stdlib/tst-fmtmsg.sh: Likewise.
29230         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29231         * catgets/Makefile: Do not specify -e option when running
29232         testsuite shell scripts.
29233         * elf/Makefile: Likewise.
29234         * grp/Makefile: Likewise.
29235         * iconvdata/Makefile: Likewise.
29236         * intl/Makefile: Likewise.
29237         * io/Makefile: Likewise.
29238         * libio/Makefile: Likewise.
29239         * malloc/Makefile: Likewise.
29240         * posix/Makefile: Likewise.
29241         * stdio-common/Makefile: Likewise.
29242         * stdlib/Makefile: Likewise.
29243         * sysdeps/x86_64/Makefile: Likewise.
29244
29245         * io/ftwtest-sh: Add copyright header.
29246         * posix/globtest.sh: Likewise.
29247         * posix/tst-getconf.sh: Likewise.
29248         * posix/wordexp-tst.sh: Likewise.
29249         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29250
29251 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29252
29253         [BZ #13679]
29254         * Makeconfig (+link): Defined as $(+link-static) if
29255         $(build-shared) isn't yes.
29256         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29257         isn't yes.
29258         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29259
29260         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29261
29262         [BZ #14562]
29263         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29264         new chunk size with MALLOC_ALIGN_MASK.
29265
29266 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29267
29268         [BZ #5044]
29269         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29270         <rounding-mode.h>.
29271         (__printf_fphex): Determine rounding using get_rounding_mode and
29272         round_away.
29273         * stdio-common/tst-printf-round.c (struct hex_test): New
29274         structure.
29275         (hex_tests): New variable.
29276         (test_hex_in_one_mode): New function.
29277         (do_test): Also run tests for hex float output.
29278
29279 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29280
29281         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29282         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29283         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29284         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29285         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29286         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29287         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29288         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29289
29290 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29291
29292         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29293         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29294         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29295         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29296
29297 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29298
29299         [BZ #14579]
29300         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29301         mode only.
29302         * elf/tst-rtld-load-self.sh: New test.
29303         * elf/Makefile: Run it.
29304
29305 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29306
29307         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29308         (tst-writev-ENV): Remove.
29309         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29310
29311 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29312
29313         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29314
29315 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29316
29317         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29318         unconditional.
29319         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29320         Likewise.
29321         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29322         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29323         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29324         Likewise.
29325
29326 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29327
29328         [BZ #14587]
29329         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29330         * config.make.in (have-cpp-asm-debuginfo): Removed.
29331         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29332         * configure: Regenerated.
29333
29334 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29335
29336         [BZ #5044]
29337         * stdio-common/printf_fp.c: Include <stdbool.h> and
29338         <rounding-mode.h>.
29339         (___printf_fp): Determine rounding using get_rounding_mode and
29340         round_away.
29341         * stdio-common/tst-printf-round.c: New file.
29342         * stdio-common/Makefile (tests): Add tst-printf-round.
29343         (link-libm): New variable.
29344         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29345
29346 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29347
29348         [BZ #14576]
29349         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29350         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29351         Likewise.
29352         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29353         Likewise.
29354
29355 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29356
29357         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29358         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29359         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29360         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29361
29362 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29363
29364         [BZ #14518]
29365         * include/rounding-mode.h: New file.
29366         * sysdeps/generic/get-rounding-mode.h: Likewise.
29367         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29368         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29369         (MAX_VALUE): New macro.
29370         (MIN_VALUE): Likewise.
29371         (overflow_value): New function.
29372         (underflow_value): Likewise.
29373         (round_and_return): Use overflow_value and underflow_value to
29374         determine return values in overflow and underflow cases.  Use
29375         round_away to determine rounding depending on rounding mode.
29376         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29377         determine return values in overflow and underflow cases.
29378         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29379         (struct test_results): New structure.
29380         (struct test): Use struct test_results to store expected results
29381         for all rounding modes.
29382         (TEST): Include expected results for all rounding modes.
29383         (test_in_one_mode): New function.
29384         (do_test): Use test_in_one_mode to compute and check results.
29385         Check results for all rounding modes.
29386         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29387         $(link-libm).
29388
29389 2012-12-09  Allan McRae  <allan@archlinux.org>
29390
29391         * sysdeps/i386/fpu/libm-test-ulps: Update
29392
29393 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29394
29395         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29396         (_G_int32_t): Likewise.
29397         (_G_uint16_t): Likewise.
29398         (_G_uint32_t): Likewise.
29399         (_G_HAVE_BOOL): Likewise.
29400         (_G_HAVE_ATEXIT): Likewise.
29401         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29402         (_G_HAVE_IO_FILE_OPEN): Likewise.
29403         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29404         (_G_int32_t): Likewise.
29405         (_G_uint16_t): Likewise.
29406         (_G_uint32_t): Likewise.
29407         (_G_HAVE_BOOL): Likewise.
29408         (_G_HAVE_ATEXIT): Likewise.
29409         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29410         (_G_HAVE_IO_FILE_OPEN): Likewise.
29411         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29412         (_G_int32_t): Likewise.
29413         (_G_uint16_t): Likewise.
29414         (_G_uint32_t): Likewise.
29415         (_G_HAVE_BOOL): Likewise.
29416         (_G_HAVE_ATEXIT): Likewise.
29417         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29418         (_G_HAVE_IO_FILE_OPEN): Likewise.
29419
29420 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29421
29422         * csu/libc-tls.c: Update copyright years.
29423
29424 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29425
29426         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29427         [!_G_USING_THUNKS]: Remove conditional code.
29428         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29429         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29430
29431         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29432         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29433         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29434         (_G_VTABLE_LABEL_PREFIX): Likewise.
29435         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29436         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29437         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29438         (_G_VTABLE_LABEL_PREFIX): Likewise.
29439         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29440         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29441         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29442         (_G_VTABLE_LABEL_PREFIX): Likewise.
29443         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29444
29445 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29446
29447         * libio/Makefile: Include ../Makeconfig before tests.
29448         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29449         only if $(build-shared) is yes.
29450
29451         * iconv/gconv_db.c: Update copyright years.
29452
29453 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29454
29455         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29456         unwind info if defined PIC. Fix special cases description.
29457         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29458
29459         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29460         DP_HI_MASK entry.
29461         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29462
29463 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29464
29465         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29466
29467         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29468         is NULL.
29469
29470         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29471         (LDLIBS-tst-chk4): This.
29472         (LDFLAGS-tst-chk5): Renamed to ...
29473         (LDLIBS-tst-chk5): This.
29474         (LDFLAGS-tst-chk6): Renamed to ...
29475         (LDLIBS-tst-chk6): This.
29476         (LDFLAGS-tst-lfschk4): Renamed to ...
29477         (LDLIBS-tst-lfschk4): This.
29478         (LDFLAGS-tst-lfschk5): Renamed to ...
29479         (LDLIBS-tst-lfschk5): This.
29480         (LDFLAGS-tst-lfschk6): Renamed to ...
29481         (LDLIBS-tst-lfschk6): This.
29482
29483         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29484         on $(common-objpfx)soversions.mk.
29485
29486 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29487
29488         [BZ #10014]
29489         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29490         example host name.
29491
29492 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29493
29494         * malloc/arena.c (arena_get_retry): New function that gets
29495         another arena for the caller to try its request on.
29496         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29497         current arena cannot fulfill the request.
29498         (__libc_memalign): Likewise.
29499         (__libc_memalign): Likewise.
29500         (__libc_pvalloc): Likewise.
29501         (__libc_calloc): Likewise.
29502
29503 2012-09-05  John Tobey  <john.tobey@gmail.com>
29504
29505         [BZ #13542]
29506         * manual/arith.texi (Operations on Complex): Fix description
29507         of carg branch cut.
29508
29509 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29510
29511         [BZ #10014]
29512         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29513         host name.
29514
29515         [BZ #10038]
29516         * manual/memory.texi (Memory): Make order of menu items match
29517         order of sections.
29518
29519 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29520
29521         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29522         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29523         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29524
29525 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29526
29527         * csu/libc-tls.c (static_dtv): Renamed to ...
29528         (_dl_static_dtv): This.  Make it global.
29529         (_dl_initial_dtv): Removed.
29530         (__libc_setup_tls): Updated.
29531         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29532         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29533         DL_INITIAL_DTV.
29534
29535 2012-09-06  Petr Machata  <pmachata@redhat.com>
29536
29537         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29538         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29539         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29540         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29541
29542 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29543
29544         [BZ #14545]
29545         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29546         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29547         freeing dtv[-1].
29548
29549 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29550
29551         [BZ #14544]
29552         * Makeconfig (link-static-before-libc): Replace $(+prector)
29553         with $(+prectorT).
29554         (link-static-after-libc): Replace $(+postctor) with
29555         $(+postctorT).
29556         (link-bounded): Replace $(+prector)/$(+postctor) with
29557         $(+prectorT)/$(+postctorT).
29558         (+prectorT): New macro.
29559         (+postctorT): Likewise.
29560
29561 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29562
29563         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29564         (round_str): Handle values above the maximum for IBM long double
29565         as inexact.
29566         * stdlib/tst-strtod-round.c (tests): Regenerated.
29567
29568 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29569
29570         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29571         assembler flag.
29572         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29573         zarch_nohighgprs around the zarch optimized routines.
29574         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29575         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29577         for zarch.
29578
29579 2012-09-05  David S. Miller  <davem@davemloft.net>
29580
29581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29582
29583         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29584         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29585         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29586         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29587         entries.
29588
29589 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29590
29591         * malloc/arena.c: Fold copyright years.
29592         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29593
29594 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29595
29596         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29597
29598 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29599
29600         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29601
29602 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29603
29604         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29605         change internal state upon failure.
29606
29607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29608
29609         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29610         * malloc/memusage.c (mmap): Likewise.
29611         (mmap64, mremap): Likewise.  Adjust name in comment.
29612
29613 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29614
29615         * libio/fileops.c: Fix typos in comments.
29616         * libio/oldfileops.c: Likewise.
29617         * libio/wfileops.c: Likewise.
29618
29619 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29620
29621         [BZ #1349]
29622         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29623         (tst-malloc-usable-ENV): Set environment for test case.
29624         * malloc/hooks.c (malloc_check_get_size): New function to get
29625         requested size.
29626         * malloc/malloc.c (musable): Use malloc_check_get_size.
29627         * malloc/tst-malloc-usable.c: New test case.
29628
29629 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29630
29631         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29632
29633 2012-09-05  Allan McRae  <allan@archlinux.org>
29634
29635         [BZ #13966]
29636         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29637         determine header location.
29638         * configure: Regenerated.
29639
29640 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29641
29642         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29643         float format.
29644         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29645         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29646         format.
29647         (test): Regenerate.
29648
29649 2012-09-04  David S. Miller  <davem@davemloft.net>
29650
29651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29653         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29654
29655 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29656
29657         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29658         failures.
29659
29660         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29661
29662 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29663
29664         [BZ #9914]
29665         * libio/iogetdelim.c: Include <limits.h>.
29666         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29667         + len + 1 would overflow.
29668
29669 2012-09-03  Andreas Jaeger  <aj@suse.de>
29670
29671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29672         * sysdeps/i386/fpu/libm-test-ulps: Update.
29673
29674 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29675
29676         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29677         Add s_sinf-sse2, s_conf-sse2.
29678
29679         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29680         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29681         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29682         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29683
29684         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29685         for using routine as __sinf_ia32.
29686         Use macro for function declaration and weak_alias.
29687         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29688         for using routine as __cosf_ia32.
29689         Use macro for function declaration and weak_alias.
29690
29691         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29692         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29693
29694         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29695         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29697
29698         * math/libm-test.inc (cos_test): Add more test cases.
29699         (sin_test): Likewise.
29700         (sincos_test): Likewise.
29701
29702 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29703
29704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29705         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29706         hidden.
29707         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29708
29709 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29710
29711         [BZ #14538]
29712         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29713         first element of the GOT.
29714         (elf_machine_load_address): Return the difference between
29715         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29716
29717 2012-09-01  Allan McRae  <allan@archlinux.org>
29718
29719         [BZ #13412]
29720         * configure.in (AWK): Require gawk version 3.0 or later.
29721         * configure: Regenerated.
29722
29723 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29724
29725         * sysdeps/unix/sysv/linux/kernel-features.h
29726         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29727         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29728         [__NR_clock_getres]: Make code unconditional.
29729         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29730         (clock_getcpuclockid): Remove code left unreachable by removal of
29731         conditionals.
29732         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29733         code unconditional.
29734         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29735         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29736         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29737         Make code unconditional.
29738         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29739         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29740         * sysdeps/unix/sysv/linux/clock_settime.c
29741         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29742         conditional code.
29743         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29744         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29745
29746 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29747
29748         [BZ #14476]
29749         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29750         scripts/test-installation.pl.
29751
29752         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29753         and $ld_so_version if it is set.
29754
29755 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29756
29757         [BZ #14516]
29758         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29759         failure if reading from procfs failed.
29760         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29761
29762 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29763
29764         * sysdeps/unix/sysv/linux/kernel-features.h
29765         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29766         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29767         Remove conditional code.
29768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29769         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29770         Remove conditional code.
29771         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29772         * sysdeps/unix/sysv/linux/i386/fxstat.c
29773         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29775         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29776         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29778         * sysdeps/unix/sysv/linux/i386/lxstat.c
29779         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29780         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29781         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29782         Remove conditional code.
29783         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29784         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29785         Remove conditional code.
29786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29787         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29788         <kernel-features.h>.
29789         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29790         Remove.
29791         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29792         Remove conditional code.
29793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29794         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29795         Remove conditional.
29796
29797 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29798
29799         [BZ #5400]
29800         * NEWS: Add fixed bug number.
29801
29802 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29803
29804         [BZ #14519]
29805         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29806         underflowing exponent in case of negative sign.
29807         * stdlib/tst-strtod-round-data: Add more tests.
29808         * stdlib/tst-strtod-round.c (tests): Regenerated.
29809
29810         [BZ #3479]
29811         * stdlib/strtod_l.c (NDIG): Remove.
29812         (HEXNDIG): Likewise.
29813         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29814         smallest representable value.
29815         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29816         lie within an exact representation of 1/2 ulp of the result.
29817         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29818         unconditionally.
29819         (TENS_P9_IDX): Define unconditionally.
29820         (TENS_P9_SIZE): Likewise.
29821         (TENS_P10_IDX): Likewise.
29822         (TENS_P10_SIZE): Likewise.
29823         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29824         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29825         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29826         entries for 10^2^13 and 10^2^14.
29827         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29828         (TENS_P13_IDX): Define.
29829         (TENS_P13_SIZE): Likewise.
29830         (TENS_P14_IDX): Likewise.
29831         (TENS_P14_SIZE): Likewise.
29832         (_fpioconst_pow10): Change array size to
29833         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29834         unconditional.
29835         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29836         1024]: Add entries for 10^2^13 and 10^2^14.
29837         [LAST_POW10 > _LAST_POW10]: Remove #error.
29838         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29839         (_fpioconst_pow10): Change array size to
29840         FPIOCONST_POW10_ARRAY_SIZE.
29841         * stdlib/gen-fpioconst.c: New file.
29842         * stdlib/gen-tst-strtod-round.c: Likewise.
29843         * stdlib/tst-strtod-round-data: Likewise.
29844         * stdlib/tst-strtod-round.c: Likewise.
29845         * stdlib/Makefile (tests): Add tst-strtod-round.
29846
29847         [BZ #14459]
29848         * stdlib/strtod_l.c: Include <stdint.h>.
29849         (NDEBUG): Do not define.
29850         (round_and_return): Change EXPONENT parameter to type intmax_t.
29851         Rearrange calculations to avoid internal overflow possibilities.
29852         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29853         Rearrange calculations to avoid internal overflow possibilities.
29854         Assert that number fits inside MPNSIZE limbs.
29855         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29856         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29857         calculations and add assertions to avoid internal overflow
29858         possibilities.  Add casts to avoid signed/unsigned operations.
29859         * stdlib/tst-strtod-overflow.c: New file.
29860         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29861
29862 2012-08-25  Marek Polacek  <polacek@redhat.com>
29863
29864         * time/time.h: Fix some typos in comments.
29865
29866 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29867
29868         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29869         * posix/tst-rfc3484-2.c: Likewise.
29870         * posix/tst-rfc3484-3.c: Likewise.
29871
29872 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29873
29874         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29875         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29876
29877 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29878
29879         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29880         #include of fxstatat64.c.
29881
29882 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29883
29884         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29885         * shadow/getspent_r.c: Likewise.
29886         * shadow/getspnam.c: Likewise.
29887         * shadow/getspnam_r.c: Likewise.
29888         * gshadow/getsgent.c: Likewise.
29889         * gshadow/getsgent_r.c: Likewise.
29890         * gshadow/getsgnam.c: Likewise.
29891         * gshadow/getsgnam_r.c: Likewise.
29892         * inet/getnetbyad.c: Likewise.
29893         * inet/getnetbyad_r.c: Likewise.
29894         * inet/getnetbynm.c: Likewise.
29895         * inet/getnetbynm_r.c: Likewise.
29896         * inet/getnetent.c: Likewise.
29897         * inet/getnetent_r.c: Likewise.
29898         * inet/getproto.c: Likewise.
29899         * inet/getproto_r.c: Likewise.
29900         * inet/getprtent.c: Likewise.
29901         * inet/getprtent_r.c: Likewise.
29902         * inet/getprtname.c: Likewise.
29903         * inet/getprtname_r.c: Likewise.
29904         * inet/getrpcbyname.c: Likewise.
29905         * inet/getrpcbyname_r.c: Likewise.
29906         * inet/getrpcbynumber.c: Likewise.
29907         * inet/getrpcbynumber_r.c: Likewise.
29908         * inet/getrpcent.c: Likewise.
29909         * inet/getrpcent_r.c: Likewise.
29910         * inet/getaliasent.c: Likewise.
29911         * inet/getaliasent_r.c: Likewise.
29912         * inet/getaliasname.c: Likewise.
29913         * inet/getaliasname_r.c: Likewise.
29914         * nscd/getgrgid_r.c: Likewise.
29915         * nscd/getgrnam_r.c: Likewise.
29916         * nscd/gethstbyad_r.c: Likewise.
29917         * nscd/gethstbynm3_r.c: Likewise.
29918         * nscd/getpwnam_r.c: Likewise.
29919         * nscd/getpwuid_r.c: Likewise.
29920         * nscd/getsrvbynm_r.c: Likewise.
29921         * nscd/getsrvbypt_r.c: Likewise.
29922         * nscd/gai.c: Likewise.
29923
29924         * configure.in (build_nscd): New substituted variable, set
29925         by --disable-build-nscd and defaults to $use_nscd.
29926         * configure: Regenerated.
29927         * config.make.in (build-nscd): New substituted variable.
29928         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29929         Change conditional to require [$(build-nscd) = yes] as well.
29930         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29931
29932         [BZ# 13696]
29933         * configure.in (use_nscd): New substituted variable, set by
29934         --disable-nscd.  If enabled, define USE_NSCD.
29935         * configure: Regenerated.
29936         * config.h.in: Add USE_NSCD.
29937         * config.make.in (use-nscd): New substituted variable.
29938         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29939         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29940         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29941         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29942         (CFLAGS-getgrnam_r.c): Likewise.
29943         (CFLAGS-initgroups.c): Likewise.
29944         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29945         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29946         Variables removed.
29947         * inet/getnetgrent_r.c
29948         (nscd_setnetgrent): New function, broken out of ...
29949         (setnetgrent): ... here.  Call it.
29950         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29951         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29952         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29953         * nscd/Makefile (routines, aux): Move definitions after include of
29954         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29955         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29956         Conditionalize on [USE_NSCD].
29957         (is_nscd, nscd_init_cb): Likewise.
29958         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29959         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29960         * nss/nss_db/db-init.c: Likewise.
29961         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29962         [USE_NSCD].
29963         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29964         (make_request): Use it.
29965         (cache_valid_p): New function.
29966         (__check_pf): Use it.
29967         * NEWS: Add item for --disable-nscd.
29968
29969 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29970
29971         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29972         to support sed >= 4.2.1-20-ga9bf076.
29973         * configure: Regenerated.
29974
29975 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29976
29977         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29978         Conditionalize whole body on [IREL].
29979
29980 2012-08-22  Jeff Law <law@redhat.com>
29981
29982         [BZ #14505]
29983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29984         if the family is PF_UNSPEC.
29985
29986 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29987
29988         * Makerules (lib-version): Rename from V.
29989         (install-lib-nosubdir): Change V to lib-version.
29990
29991 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29992
29993         [BZ #14252]
29994         * powerpc32/power6/wcschr.c: New file.
29995         * powerpc32/power6/wcscpy.c: New file.
29996         * powerpc32/power6/wcsrchr.c: New file.
29997         * powerpc64/power6/wcschr.c: New file.
29998         * powerpc64/power6/wcscpy.c: New file.
29999         * powerpc64/power6/wcsrchr.c: New file.
30000
30001 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30002
30003         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30004         (two_way_short_needle): Use it.
30005         * string/strstr.c (AVAILABLE1_USES_J): Define.
30006         * string/strcasestr.c: Likewise.
30007
30008         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30009         array references.
30010         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30011
30012         [BZ #11607]
30013         * NEWS: Add an entry.
30014         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30015         define their defaults.
30016         (two_way_short_needle): Detect end-of-string on-the-fly.
30017         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30018         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30019         * string/bug-strcasestr1.c: New test.
30020         * string/Makefile: Run it.
30021
30022 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30023
30024         [BZ #11607]
30025         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30026         the first character.
30027
30028 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30029
30030         * csu/elf-init.c (__libc_csu_irel): Function removed.
30031         * csu/libc-start.c (apply_irel): New function.
30032         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30033
30034 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30035
30036         * sysdeps/unix/sysv/linux/kernel-features.h
30037         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30038         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30039         <kernel-features.h>.
30040         [__NR_fadvise64_64]: Make code unconditional.
30041         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30042         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30043         !__NR_fadvise64_64)]: Likewise.
30044         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30045         !__NR_fadvise64_64))]: Likewise.
30046         [__NR_fadvise64]: Make code unconditional.
30047         [!__NR_fadvise64]: Remove conditional code.
30048         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30049         <kernel-features.h>.
30050         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30051         unconditional.
30052         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30053         conditional code.
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30055         not include <kernel-features.h>.
30056         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30057         unconditional.
30058         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30059         conditional code.
30060         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30061         include <kernel-features.h>.
30062         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30063         unconditional.
30064         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30065         conditional code.
30066
30067 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30068
30069         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30070         slight instruction rearrangements per scrollpipe analysis.
30071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30072
30073 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30074
30075         * manual/syslog.texi (syslog; vsyslog, closelog):
30076         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30077         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30078
30079         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30080         DSOCAPS to match condition on defining it.
30081
30082 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30083
30084         * sysdeps/unix/sysv/linux/kernel-features.h
30085         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30087         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30088         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30090         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30091         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30093         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30094         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30095
30096         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30097         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30098
30099         * sysdeps/unix/sysv/linux/kernel-features.h
30100         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30101         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30102         unconditional.
30103         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30104         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30105         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30106         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30107         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30108         Make code unconditional.
30109         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30110         (__mmap64) [!__NR_mmap2]: Likewise.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30112         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30113         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30114         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30115         [__NR_mmap2]: Make code unconditional.
30116         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30117         (__mmap64) [!__NR_mmap2]: Likewise.
30118
30119 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30120
30121         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30122
30123 2012-08-18  Andreas Jaeger  <aj@suse.de>
30124
30125         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30126
30127 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30128
30129         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30130         * include/unistd.h (__have_sock_cloexec): Likewise.
30131         (__have_pipe2): Likewise.
30132         (__have_dup3): Likewise.
30133
30134 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30135
30136         [BZ #9685]
30137         * include/unistd.h (__have_pipe2): Change define into an extern int.
30138         (__have_dup3): Likewise.
30139         * socket/have_sock_cloexec.c: Include fcntl.h.
30140         (__have_pipe2): New variable.
30141         (__have_dup3): Likewise.
30142
30143 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30144
30145         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30146
30147 2012-08-17  Marek Polacek  <polacek@redhat.com>
30148
30149         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30150         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30151
30152 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30153
30154         * configure.in: Add AC_SUBST for sysheaders.
30155         * configure: Regenerated.
30156         * config.make.in (sysheaders): New substituted variable.
30157
30158         * sysdeps/unix/mkfifo.c: Moved ...
30159         * sysdeps/posix/mkfifo.c: ... here.
30160         * sysdeps/unix/mkfifoat.c: Moved ...
30161         * sysdeps/posix/mkfifoat.c: ... here.
30162
30163         * sysdeps/unix/utime.c: Moved ...
30164         * sysdeps/posix/utime.c: ... here.
30165
30166         * sysdeps/unix/time.c: Moved ...
30167         * sysdeps/posix/time.c: ... here.
30168         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30170
30171         * sysdeps/unix/nice.c: Moved ...
30172         * sysdeps/posix/nice.c: ... here.
30173
30174         * sysdeps/unix/alarm.c: Moved ...
30175         * sysdeps/posix/alarm.c: ... here.
30176
30177         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30178
30179 2012-08-17  Jeff Law <law@redhat.com>
30180
30181         * intl/Makefile (codeset_mo): New variable.
30182         ($(codeset_mo)): New target.
30183         (tst-codeset.out): Depend on that.  Remove explicit rule.
30184         (tst-gettext3.out, tst-gettext5.out): Likewise.
30185         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30186         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30187         * intl/tst-codeset.sh: Remove.
30188         * intl/tst-gettext3.sh: Likewise.
30189         * intl/tst-gettext5.sh: Likewise.
30190
30191 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30192
30193         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30194         * sysdeps/unix/syscalls.list: ... here.
30195
30196         * sysdeps/posix/getaddrinfo.c
30197         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30198         (gaiconf_init, gaiconf_reload): Use them.
30199         [!_STATBUF_ST_NSEC]
30200         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30201         Define using time_t rather than struct timespec.
30202
30203         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30204         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30205         Macros removed.
30206         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30207         [!NO_THREADS].
30208         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30209         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30210         Likewise.
30211
30212         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30213         __libc_cleanup_push argument.
30214
30215         * bits/param.h: New file.
30216         * misc/sys/param.h: New file.
30217         * include/sys/param.h: New file.
30218         * misc/Makefile (headers): Add bits/param.h.
30219         * sysdeps/generic/sys/param.h: File removed.
30220         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30221         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30222         * sysdeps/mach/hurd/bits/param.h: New file.
30223         * sysdeps/mach/hurd/sys/param.h: File removed.
30224
30225         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30226         last change.
30227
30228         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30229         [_IO_MTSAFE_IO].
30230         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30231         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30232         New macros.
30233
30234         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30235         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30236         rather than -D_IO_MTSAFE_IO conditionally.
30237         * stdio-common/Makefile (CPPFLAGS): Likewise.
30238         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30239         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30240         Use $(libio-mtsafe).
30241         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30242         of -D_IO_MTSAFE_IO.
30243         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30244         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30245         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30246         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30247         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30248         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30249         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30250         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30251         (CFLAGS-fread_u_chk.c): Likewise.
30252         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30253         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30254         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30255         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30256         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30257         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30258         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30259         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30260         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30261
30262         * libio/Makefile: Test [$(libc-reentrant) = yes]
30263         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30264
30265         * Makeconfig
30266         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30267         * sysdeps/pthread/configure: File removed.
30268         * sysdeps/pthread/Makeconfig: New file.
30269         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30270         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30271
30272 2012-08-16  Gary Benson  <gbenson@redhat.com>
30273
30274         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30275         unmapping the first object in a namespace.
30276
30277 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30278
30279         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30280         (__internal_setnetgrent): ... this.  Add internal_function to
30281         definition.  Add libc_hidden_def.
30282         (setnetgrent): Update caller.
30283         (internal_endnetgrent): Renamed to ...
30284         (__internal_endnetgrent): ... this.  Add internal_function to
30285         definition.  Add libc_hidden_def.
30286         (endnetgrent): Update caller.
30287         (internal_getnetgrent_r): Renamed to ...
30288         (__internal_getnetgrent_r): ... this.  Add internal_function to
30289         definition.  Add libc_hidden_def.
30290         (__getnetgrent_r): Update caller.
30291         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30292
30293 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30294
30295         * stdlib/longlong.h: Update from GCC.
30296
30297 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30298
30299         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30300         on _QL, which is set by umul_ppmm but never used.
30301         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30302         variables, which are set by GMP macros but never used.
30303         * stdio-common/_itowa.c (_itowa): Likewise.
30304         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30305         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30306
30307 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30308
30309         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30310         struct La_sh_regs is not constant.
30311         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30312         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30313         and struct La_sparc64_regs are not constant.
30314
30315 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30316
30317         * sysdeps/unix/sysv/linux/kernel-features.h
30318         (__ASSUME_POSIX_TIMERS): Remove.
30319         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30320         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30321         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30322         Make code unconditional.
30323         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30324         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30325         Make code unconditional.
30326         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30327         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30328         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30329         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30330         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30331         Make code unconditional.
30332         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30333         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30334         (__libc_missing_posix_timers): Remove.
30335
30336 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30337
30338         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30339         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30340
30341         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30342
30343         * elf/dl-sym.c: Include <stdlib.h>.
30344
30345         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30346         constants, which avoids warnings in 32-bit builds.
30347
30348         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30349         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30350
30351         * misc/lseek.c: File moved to ...
30352         * io/lseek.c: ... here.
30353
30354         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30355
30356         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30357         shifting LEN more than 31 bits at once.
30358
30359 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30360
30361         [BZ #14195]
30362         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30363         segmentation fault for a case of two empty input strings.
30364         * string/test-strncasecmp.c (check1): Renamed to...
30365         (bz12205): ...this.
30366         (bz14195): Add new testcase for two empty input strings and N > 0.
30367         (test_main): Call new testcase, adapt for renamed function.
30368
30369 2012-08-15  Andreas Jaeger  <aj@suse.de>
30370
30371         [BZ #14090]
30372         * crypt/md5test2.c: New test, based on test supplied by Serge
30373         Belyshev <belyshev@depni.sinp.msu.ru>.
30374         * crypt/Makefile (xtests): Add md5test-giant..
30375         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30376
30377 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30378
30379         [BZ #14090]
30380         * crypt/md5.c (md5_process_block): Don't assume the buffer
30381         length is less than 2**32.
30382         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30383         length is less than 2**64.
30384
30385 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30386
30387         * string/str-two-way.h: Include <sys/param.h>.
30388         (MAX): Macro removed.
30389
30390         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30391         Move #define and #undef of memmove to just before and after
30392         including <string.h>.
30393
30394         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30395         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30396         and after including <string.h>.  Move declarations of
30397         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30398         to before #include "string/memmove.c".
30399
30400         * include/dirent.h: Declare __getdirentries.
30401
30402         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30403         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30404
30405 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30406
30407         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30408         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30409         * sysdeps/i386/configure: Regenerated.
30410         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30411         STABS_CURRENT_FILE, and STABS_FUN.
30412         (END): Remove call to STABS_FUN_END.
30413         (STABS_CURRENT_FILE1): Delete.
30414         (STABS_CURRENT_FILE): Likewise.
30415         (STABS_FUN): Likewise.
30416         (STABS_FUN_END): Likewise.
30417         (STABS_FUN2): Likewise.
30418         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30419         * sysdeps/x86_64/configure: Regenerated.
30420
30421 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30422
30423         * elf/dl-open.c: Include <atomic.h>.
30424         * elf/dl-lookup.c: Likewise.
30425
30426 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30427
30428         * sysdeps/unix/sysv/linux/kernel-features.h
30429         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30430         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30431         unconditionally.
30432         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30433         unconditionally.
30434         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30435         condition on __ASSUME_CLONE_THREAD_FLAGS.
30436
30437 2012-08-14  Andreas Jaeger  <aj@suse.de>
30438
30439         * sysdeps/i386/fpu/libm-test-ulps: Update.
30440
30441 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30442
30443         * include/atomic.h (atomic_exchange_and_add): Split into ...
30444         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30445         New atomic macros.
30446
30447 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30448
30449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30450
30451 2012-08-13  Jeff Law <law@redhat.com>
30452
30453         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30454         null byte in the output string.
30455
30456 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30457
30458         * sysdeps/unix/sysv/linux/kernel-features.h
30459         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30460         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30461         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30462         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30463         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30464         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30465         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30466
30467 2012-08-09  Jeff Law <law@redhat.com>
30468
30469         [BZ #13939]
30470         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30471         When avoid_arena is set, don't retry in the that arena.  Pick the
30472         next one, whatever it might be.
30473         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30474         (arena_lock): Pass in new parameter to arena_get2.
30475         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30476         arena_get2.
30477         (__libc_malloc): Unify retrying after main arena failure with
30478         __libc_memalign version.
30479         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30480
30481 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30482
30483         [BZ #14166]
30484         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30485         to __redirect_strstr.
30486         (__strstr_sse42): Use typeof __redirect_strstr.
30487         (__strstr_ia32): Likewise.
30488         (__libc_strstr): New prototype.
30489         (strstr): Renamed to ...
30490         (__libc_strstr): This.
30491         (strstr): New strong alias of __libc_strstr.
30492         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30493         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30494         __redirect_time.
30495         Include <time.h>.
30496         (__libc_time): New prototype.
30497         (time_ifunc): Replace time with __libc_time.
30498         (time): New strong alias and hidden definition of __libc_time.
30499         (__GI_time): Remove strong alias.
30500         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30501         Include <stddef.h>.
30502         (memmove): Redefined to __redirect_memmove.
30503         (__memmove_sse2): Use typeof __redirect_memmove.
30504         (__memmove_ssse3): Likewise.
30505         (__memmove_ssse3_back): Likewise.
30506         (__libc_memmove): New prototype.
30507         (memmove): Renamed to ...
30508         (__libc_memmove): This.
30509         (memmove): New strong alias of __libc_memmove.
30510
30511 2012-08-08  Mark Salter  <msalter@redhat.com>
30512
30513         * elf/elf.h
30514         (R_MN10300_TLS_GD): Define.
30515         (R_MN10300_TLS_LD): Likewise.
30516         (R_MN10300_TLS_LDO): Likewise.
30517         (R_MN10300_TLS_GOTIE): Likewise.
30518         (R_MN10300_TLS_IE): Likewise.
30519         (R_MN10300_TLS_LE): Likewise.
30520         (R_MN10300_TLS_DTPMOD): Likewise.
30521         (R_MN10300_TLS_DTPOFF): Likewise.
30522         (R_MN10300_TLS_TPOFF): Likewise.
30523         (R_MN10300_SYM_DIFF): Likewise.
30524         (R_MN10300_ALIGN): Likewise.
30525         (R_MN10300_NUM): Update.
30526
30527 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30528
30529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30530         Remove.
30531
30532 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30533
30534         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30535
30536         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30537         sysdeps/unix -> sysdeps/posix move.
30538         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30539
30540 2012-08-07      Allan McRae     <allan@archlinux.org>
30541
30542         [BZ #14303]
30543         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30544         (SUNOS_CPP): Likewise.
30545         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30546         not found.
30547         (open_input): Call CPP using execvp.
30548
30549 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30550
30551         * sysdeps/unix/sysv/linux/kernel-features.h
30552         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30553         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30554         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30555         (__ASSUME_WAITID_SYSCALL): Likewise.
30556         * sysdeps/unix/sysv/linux/dl-execstack.c
30557         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30558         code unconditional.
30559         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30560         conditional code.
30561         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30562         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30563         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30564         code.
30565         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30566         unconditional.
30567         [__ASSUME_WAITID_SYSCALL]: Likewise.
30568         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30569
30570 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30571
30572         * sysdeps/unix/closedir.c: Renamed to ...
30573         * sysdeps/posix/closedir.c: ... here.
30574         * sysdeps/unix/dirfd.c: Renamed to ...
30575         * sysdeps/posix/dirfd.c: ... here.
30576         * sysdeps/unix/dirstream.h: Renamed to ...
30577         * sysdeps/posix/dirstream.h: ... here.
30578         * sysdeps/unix/fdopendir.c: Renamed to ...
30579         * sysdeps/posix/fdopendir.c: ... here.
30580         * sysdeps/unix/opendir.c: Renamed to ...
30581         * sysdeps/posix/opendir.c: ... here.
30582         * sysdeps/unix/readdir.c: Renamed to ...
30583         * sysdeps/posix/readdir.c: ... here.
30584         * sysdeps/unix/readdir_r.c: Renamed to ...
30585         * sysdeps/posix/readdir_r.c: ... here.
30586         * sysdeps/unix/rewinddir.c: Renamed to ...
30587         * sysdeps/posix/rewinddir.c: ... here.
30588         * sysdeps/unix/seekdir.c: Renamed to ...
30589         * sysdeps/posix/seekdir.c: ... here.
30590         * sysdeps/unix/telldir.c: Renamed to ...
30591         * sysdeps/posix/telldir.c: ... here.
30592         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30593         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30594         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30595         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30596
30597         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30598         * bits/fcntl.h: ... here.
30599
30600         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30601         not 0.
30602         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30603         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30604         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30605         (struct flock): Move l_start, l_len to the beginning.
30606         Use __pid_t for l_pid.
30607         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30608         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30609         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30610         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30611         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30612         [__USE_LARGEFILE64] (struct flock64): New type.
30613         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30614
30615         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30616         * bits/dirent.h: ... here.
30617
30618         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30619         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30620
30621 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30622
30623         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30624         Change from 2.6.0 to 2.6.16.
30625         * sysdeps/unix/sysv/linux/configure: Regenerated.
30626         * sysdeps/unix/sysv/linux/kernel-features.h
30627         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30628         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30629         version.
30630         (__ASSUME_UTIMES): Likewise.
30631         (__ASSUME_CLONE_STOPPED): Remove.
30632         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30633         architectures, not kernel version.
30634         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30635         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30636         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30637         (__ASSUME_WAITID_SYSCALL): Likewise.
30638         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30639         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30640         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30641         refer to older versions.
30642
30643 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30644
30645         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30646         Define alphasort64 as an alias.
30647         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30648         Define versionsort64 as an alias.
30649         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30650         Define scandir64 as an alias.
30651         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30652         Define scandirat64 as an alias.
30653         * dirent/alphasort64.c (alphasort64):
30654         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30655         * dirent/versionsort64.c: Likewise.
30656         * dirent/scandir64.c: Likewise.
30657         * dirent/scandirat64.c: Likewise.
30658         * sysdeps/wordsize-64/alphasort.c: File removed.
30659         * sysdeps/wordsize-64/alphasort64.c: File removed.
30660         * sysdeps/wordsize-64/scandir.c: File removed.
30661         * sysdeps/wordsize-64/scandir64.c: File removed.
30662         * sysdeps/wordsize-64/scandirat.c: File removed.
30663         * sysdeps/wordsize-64/scandirat64.c: File removed.
30664         * sysdeps/wordsize-64/versionsort.c: File removed.
30665         * sysdeps/wordsize-64/versionsort64.c: File removed.
30666         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30668         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30670         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30672         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30674
30675         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30677         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30678         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30679         [defined __arch64__ || defined __sparcv9]
30680         (__INO_T_MATCHES_INO64_T): New macro.
30681         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30682         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30683         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30684         * sysdeps/unix/sysv/linux/bits/dirent.h
30685         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30686         (_DIRENT_MATCHES_DIRENT64): New macro.
30687
30688         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30689         Define lockf64 as an alias.
30690         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30691         Define fseeko64 as an alias.
30692         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30693         Define ftello64 as an alias.
30694         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30695         Define _IO_fgetpos64 and fgetpos64 as aliases.
30696         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30697         Define _IO_fsetpos64 and fsetpos64 as aliases.
30698         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30699         Conditionalize body on this.
30700         * libio/fseeko64.c: Likewise.
30701         * libio/ftello64.c: Likewise.
30702         * libio/iofgetpos64.c: Likewise.
30703         * libio/iofsetpos64.c: Likewise.
30704         * sysdeps/wordsize-64/lockf.c: File removed.
30705         * sysdeps/wordsize-64/lockf64.c: File removed.
30706         * sysdeps/wordsize-64/fseeko.c: File removed.
30707         * sysdeps/wordsize-64/fseeko64.c: File removed.
30708         * sysdeps/wordsize-64/ftello.c: File removed.
30709         * sysdeps/wordsize-64/ftello64.c: File removed.
30710         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30711         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30712         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30713         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30716         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30718         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30720         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30722         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30723         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30724
30725         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30727         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30729         [defined __arch64__ || defined __sparcv9]
30730         (__OFF_T_MATCHES_OFF64_T): New macro.
30731         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30732         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30734         (__OFF_T_MATCHES_OFF64_T): New macro.
30735
30736 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30737
30738         * stdlib/secure-getenv.c (__secure_getenv): Replace
30739         GLIBC_2_16 with GLIBC_2_17.
30740
30741 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30742
30743         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30745
30746 2012-08-03  David S. Miller  <davem@davemloft.net>
30747
30748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30749
30750 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30751
30752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30753         Remove.
30754         (__ASSUME_CORRECT_SI_PID): Likewise.
30755         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30756         (__ASSUME_TMPFS_NAME): Likewise.
30757         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30758         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30759         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30760         (HAVE_AUX_SECURE): Make definition unconditional.
30761         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30762         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30763
30764 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30765
30766         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30767         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30768         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30769         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30770         __eloop_threshold instead of SYMLOOP_MAX.
30771
30772         * sysdeps/generic/eloop-threshold.h: New file.
30773         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30774         of MAXSYMLINKS.
30775         * elf/chroot_canon.c (chroot_canon): Likewise.
30776
30777 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30778
30779         [BZ #13717]
30780         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30781         Change to 2.6.0 everywhere.
30782         * sysdeps/unix/sysv/linux/configure: Regenerated.
30783         * sysdeps/unix/sysv/linux/kernel-features.h
30784         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30785         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30786         kernel versions.
30787         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30788         (__ASSUME_FUTEX_REQUEUE): Remove.
30789         (__ASSUME_STATFS64): Define unconditionally.
30790         (__ASSUME_AT_SECURE): Likewise.
30791         (__ASSUME_CORRECT_SI_PID): Likewise.
30792         (__ASSUME_TGKILL): Define without depending on kernel version for
30793         i386.
30794         (__ASSUME_UTIMES): Likewise.
30795         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30796         kernel version.
30797         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30798         (__ASSUME_TMPFS_NAME): Likewise.
30799         * README: Update reference to Linux kernel versions.
30800
30801 2012-08-02  Marek Polacek  <polacek@redhat.com>
30802
30803         [BZ# 14150]
30804         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30805         libc_cv_asm_type_prefix with %.
30806         * configure: Regenerated.
30807         * include/libc-symbols.h: Remove comment about
30808         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30809         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30810         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30811         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30812         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30813         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30814         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30815         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30816         * elf/tst-unique2mod1.c: Likewise.
30817         * elf/tst-unique1mod2.c: Likewise.
30818         * elf/tst-unique1mod1.c: Likewise.
30819         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30820         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30821         Replace ASM_TYPE_DIRECTIVE with .type.
30822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30823         * sysdeps/i386/sysdep.h: Likewise.
30824         * sysdeps/x86_64/sysdep.h: Likewise.
30825         * sysdeps/sh/sysdep.h: Likewise.
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30827         Do not define ASM_TYPE_DIRECTIVE.
30828         * sysdeps/powerpc/sysdep.h: Likewise.
30829         * sysdeps/powerpc/powerpc32/sysdep.h:
30830         Replace ASM_TYPE_DIRECTIVE with .type.
30831         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30832         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30833         * sysdeps/i386/fpu/e_powf.S: Likewise.
30834         * sysdeps/i386/fpu/e_expl.S: Likewise.
30835         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30836         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30837         * sysdeps/i386/fpu/e_pow.S: Likewise.
30838         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30839         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30840         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30841         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30842         * sysdeps/i386/fpu/e_log2.S: Likewise.
30843         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30844         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30845         * sysdeps/i386/fpu/e_powl.S: Likewise.
30846         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30847         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30848         * sysdeps/i386/fpu/e_logl.S: Likewise.
30849         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30850         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30851         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30852         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30853         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30854         * sysdeps/i386/fpu/e_log.S: Likewise.
30855         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30856         * sysdeps/i386/fpu/e_logf.S: Likewise.
30857         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30858         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30859         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30860         * sysdeps/i386/fpu/e_log10.S: Likewise.
30861         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30862         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30863         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30864         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30865         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30866         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30867         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30868         * sysdeps/i386/i686/strtok.S: Likewise.
30869         * sysdeps/i386/i386-mcount.S: Likewise.
30870         * sysdeps/i386/strtok.S: Likewise.
30871         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30872         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30873         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30874         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30875         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30876         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30877         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30878         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30879         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30880         * sysdeps/x86_64/_mcount.S: Likewise.
30881         * sysdeps/x86_64/strtok.S: Likewise.
30882         * sysdeps/sh/_mcount.S: Likewise.
30883
30884 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30885
30886         * libio/iofopen.c: Include <fcntl.h>.
30887         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30888         (_IO_fopen64, fopen64): Define as aliases.
30889         * libio/iofopen64.c: Include <fcntl.h>.
30890         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30891         Conditionalize body on this.
30892         * sysdeps/wordsize-64/iofopen.c: File removed.
30893         * sysdeps/wordsize-64/iofopen64.c: File removed.
30894
30895 2012-08-01  Marek Polacek  <polacek@redhat.com>
30896
30897         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30898         Use dlfcn directly instead of a variable.
30899         (binfmt-subdir): Do not define.
30900         (dlfcn): Likewise.
30901
30902 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30903
30904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30905         Remove all definitions.
30906         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30907         <kernel-features.h>.
30908         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30909         (miss_F_GETOWN_EX): Remove all definitions.
30910         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30911         macro definition.
30912         [!__ASSUME_FCNTL64]: Remove conditional code.
30913         [__ASSUME_FCNTL64]: Make code unconditional.
30914         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30915         <kernel-features.h>.
30916         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30917         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30918         (lockf64) [__NR_fcntl64]: Make code unconditional.
30919         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30920
30921         * sysdeps/unix/sysv/linux/kernel-features.h
30922         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30923         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30924         Make code unconditional.
30925         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30926         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30928         [__NR_vfork]: Make code unconditional.
30929         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30930         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30932         [__NR_vfork]: Make code unconditional.
30933         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30934         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30935
30936 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30937
30938         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30939         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30940
30941         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30942         Define mkstemp64 as an alias.
30943         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30944         Define mkstemps64 as an alias.
30945         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30946         Define mkostemp64 as an alias.
30947         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30948         Define mkostemps64 as an alias.
30949         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30950         Conditionalize body on this.
30951         * misc/mkostemp64.c: Likewise.
30952         * misc/mkostemps64.c: Likewise.
30953         * misc/mkstemps64.c: Likewise.
30954         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30955         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30956         * sysdeps/wordsize-64/mkostemp.c: File removed.
30957         * sysdeps/wordsize-64/mkstemp.c: File removed.
30958         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30959         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30960         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30961         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30962
30963         [BZ #14138]
30964         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30965         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30966         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30967         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30968
30969         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30970         compat_symbol macros from <shlib-compat.h> rather than the underlying
30971         default_symbol_version and symbol_version macros, so that DEFAULT
30972         lines in shlib-versions are respected.
30973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30974
30975 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30976
30977         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30978         Declare with warn_unused_result.
30979         (setgid, setregid, setegid, setresgid): Likewise.
30980         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30981         Likewise.
30982         * WUR-REPORT: Remove set*id functions.
30983
30984 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30985
30986         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30987
30988 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30989
30990         [BZ #10191]
30991         * include/sys/socket.h (__libc_accept, __libc_accept4):
30992         Add attribute_hidden.
30993         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30994
30995         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30996         use of PTR_MANGLE.
30997         * inet/getnetgrent_r.c (setup): Likewise.
30998
30999         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31000
31001 2012-07-31  David S. Miller  <davem@davemloft.net>
31002
31003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31004
31005 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31006
31007         [BZ #13629]
31008         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31009         value between 1.0 and 2.0 and smaller part has absolute value less
31010         than 1.0.
31011         * math/s_clog10.c (__clog10): Likewise.
31012         * math/s_clog10f.c (__clog10f): Likewise.
31013         * math/s_clog10l.c (__clog10l): Likewise.
31014         * math/s_clogf.c (__clogf): Likewise.
31015         * math/s_clogl.c (__clogl): Likewise.
31016         * math/libm-test.inc (clog_test): Add more tests.
31017         (clog10_test): Likewise.
31018         * sysdeps/i386/fpu/libm-test-ulps: Update.
31019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31020
31021 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31022
31023         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31024         Exit with zero in case no suitable GID is found, and write a
31025         message to standard error.
31026
31027 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31028
31029         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31030         rather than to 1.
31031         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31032         (MAXPATHLEN): Removed.
31033         (NOGROUP, NODEV): New macros.
31034         (setbit, clrbit, isset, isclr): New macros.
31035         (howmany, roundup, powerof2): New macros.
31036         (DEV_BSIZE): New macro.
31037
31038         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31039         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31040
31041         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31042         definition on [!__NO_LONG_DOUBLE_MATH].
31043
31044         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31045         PTR_MANGLE and PTR_DEMANGLE.
31046
31047         * socket/accept4.c (accept4): Rename to __libc_accept4.
31048         Define accept4 as a weak alias.
31049
31050         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31051         on [_DIRENT_HAVE_D_TYPE].
31052         * io/ftw.c (ftw_dir): Likewise.
31053
31054         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31055
31056         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31057
31058         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31059         Use the BSD numbers rather than the arbitrary ones we had.
31060         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31061         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31062         (SIGXCPU, SIGXFSZ): New macros.
31063         (_NSIG): Now 32.
31064
31065         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31066         initializer on [_LIBC_REENTRANT].
31067
31068         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31069         definitions inside [_POSIX_MAPPED_FILES].
31070
31071         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31072
31073         * dirent/opendir.c: Include <fcntl.h>.
31074
31075         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31076         (__libc_getspecific): Likewise.
31077         (__libc_key_create): Likewise.
31078
31079         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31080         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31081         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31082         (tmpfile64): Define as alias.
31083         * sysdeps/wordsize-64/tmpfile.c: File removed.
31084         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31085         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31087
31088         * stdio-common/vfscanf.c: Include <stdbool.h>.
31089         * nss/makedb.c: Likewise.
31090         * stdio-common/_i18n_number.h: Likewise.
31091         * argp/argp-help.c: Likewise.
31092         * posix/wordexp.c: Likewise.
31093         * sysdeps/posix/spawni.c: Likewise.
31094         * nss/nss_files/files-initgroups.c: Likewise.
31095         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31096         * nss/nss_files/files-initgroups.c: Likewise.
31097         * nss/nss_db/db-netgrp.c: Likewise.
31098         * nss/nss_db/db-initgroups.c: Likewise.
31099         * io/fchmodat.c: Include <sys/stat.h>.
31100
31101         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31102         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31103
31104         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31105         [HAVE_MMAP].
31106
31107         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31108         Add multiple inclusion protection.
31109
31110 2012-07-27  David S. Miller  <davem@davemloft.net>
31111
31112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31113
31114 2012-07-27  Gary Benson  <gbenson@redhat.com>
31115
31116         [BZ #14298]
31117         * elf/rtld.c: Include <stap-probe.h>.
31118         (dl_main): Added static probes "init_start" and "init_complete".
31119         * elf/dl-load.c: Include <stap-probe.h>.
31120         (lose): Take new parameter "nsid".
31121         Added static probe "map_failed".
31122         (_dl_map_object_from_fd): Pass namespace id to lose.
31123         Added static probe "map_start".
31124         (open_verify): Pass namespace id to lose.
31125         * elf/dl-open.c: Include <stap-probe.h>.
31126         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31127         and "reloc_complete".
31128         * elf/dl-close.c: Include <stap-probe.h>.
31129         (_dl_close_worker): Added static probes "unmap_start" and
31130         "unmap_complete".
31131         * elf/rtld-debugger-interface.txt: New file documenting the above.
31132
31133 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31134
31135         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31136         rather than a string variable.
31137         * sunrpc/rpc_main.c (h_output): Likewise.
31138         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31139
31140 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31141
31142         * inet/check_native.c: New file.
31143
31144 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31145
31146         [BZ #13629]
31147         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31148         if larger part has absolute value 1.0.
31149         * math/s_clog10.c (__clog10): Likewise.
31150         * math/s_clog10f.c (__clog10f): Likewise.
31151         * math/s_clog10l.c (__clog10l): Likewise.
31152         * math/s_clogf.c (__clogf): Likewise.
31153         * math/s_clogl.c (__clogl): Likewise.
31154         * math/libm-test.inc (clog_test): Add more tests.
31155         (clog10_test): Likewise.
31156         * sysdeps/i386/fpu/libm-test-ulps: Update.
31157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31158
31159         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31160         (pltexit): Likewise.
31161         (La_regs): Likewise.
31162         (La_retval): Likewise.
31163         (int_retval): Likewise.
31164         Update #error for removed macros to refer only to definitions in
31165         tst-audit.h.
31166         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31167         macro.
31168         (pltexit): Likewise.
31169         (La_regs): Likewise.
31170         (La_retval): Likewise.
31171         (int_retval): Likewise.
31172         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31173         macro.
31174         (pltexit): Likewise.
31175         (La_regs): Likewise.
31176         (La_retval): Likewise.
31177         (int_retval): Likewise.
31178         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31179         macro.
31180         (pltexit): Likewise.
31181         (La_regs): Likewise.
31182         (La_retval): Likewise.
31183         (int_retval): Likewise.
31184         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31185         macro.
31186         (pltexit): Likewise.
31187         (La_regs): Likewise.
31188         (La_retval): Likewise.
31189         (int_retval): Likewise.
31190         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31191         macro.
31192         (pltexit): Likewise.
31193         (La_regs): Likewise.
31194         (La_retval): Likewise.
31195         (int_retval): Likewise.
31196         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31197         macro.
31198         (pltexit): Likewise.
31199         (La_regs): Likewise.
31200         (La_retval): Likewise.
31201         (int_retval): Likewise.
31202         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31203         macro definitions in tst-audit.h.
31204         * sysdeps/i386/tst-audit.h: New file.
31205         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31206         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31207         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31208         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31209         * sysdeps/sh/tst-audit.h: Likewise.
31210         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31211         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31212         * sysdeps/x86_64/tst-audit.h: Likewise.
31213
31214 2012-07-26  Andreas Jaeger  <aj@suse.de>
31215
31216         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31217         ptrace.
31218
31219         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31220         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31221         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31222         PTRACE_O_MASK.
31223         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31224         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31225         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31226
31227         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31228         value.
31229
31230         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31231         _sigsys.
31232         (si_call_addr, si_syscall, si_arch): Define new macro.
31233         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31234         _sigsys.
31235         (si_call_addr, si_syscall, si_arch): Define new marcro.
31236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31237         _sigsys.
31238         (si_call_addr, si_syscall, si_arch): Define new macro.
31239         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31240         _sigsys.
31241         (si_call_addr, si_syscall, si_arch): Define new macro.
31242
31243 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31244
31245         [BZ #13717]
31246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31247         Change to 2.4.21 where previously 2.4.1.
31248         * sysdeps/unix/sysv/linux/configure: Regenerated.
31249         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31250         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31251         Linux kernel version.
31252         (__ASSUME_STD_AUXV): Remove.
31253         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31254         kernel version.
31255         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31256         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31257         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31258         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31259         (__ASSUME_NETLINK_SUPPORT): Likewise.
31260         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31261         (__no_netlink_support): Remove conditional definition.
31262         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31263         Remove.
31264         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31265         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31266         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31267         (if_nameindex_ioctl): Remove.
31268         (if_nameindex_netlink): Do not handle __no_netlink_support.
31269         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31270         code.
31271         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31272         Remove conditional code.
31273         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31274         code.
31275         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31276         unconditional.
31277         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31278         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31279         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31280         Remove.
31281         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31282         [!__ASSUME_STD_AUXV]: Remove conditional code.
31283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31284         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31285         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31287         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31288         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31289         code.
31290         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31292         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31293         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31294         conditional code.
31295         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31297         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31298         code.
31299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31300         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31301         conditional code.
31302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31303         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31304         code unconditional.
31305         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31306         conditional code.
31307         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31308         unconditional.
31309         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31310         conditional code.
31311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31312         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31313         unconditional.
31314         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31315         conditional code.
31316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31317         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31318         code unconditional.
31319         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31320         conditional code.
31321         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31322         unconditional.
31323         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31324         conditional code.
31325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31326         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31327         code unconditional.
31328         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31329         conditional code.
31330         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31331         unconditional.
31332         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31333         conditional code.
31334
31335 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31336
31337         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31338         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31339         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31340         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31341         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31342         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31343         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31344         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31345         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31346         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31347         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31348         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31349         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31350         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31351         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31352         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31353         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31354         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31355         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31357         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31358         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31359         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31360
31361 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31362
31363         * Versions.def: Add GLIBC_2.17.
31364         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31365         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31366         Introduce __libc_secure_getenv.
31367         * stdlib/Versions (2.17): Add secure_getenv
31368         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31369         * stdlib/secure-getenv.c: Rename __secure_getenv to
31370         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31371         symbol __secure_getenv for GLIBC_2.0.
31372         * stdlib/tst-secure-getenv.c: New.
31373         * stdlib/Makefile (tests): Add testcase.
31374         * manual/startup.texi (Environment Access): Document
31375         secure_getenv.
31376         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31377         __libc_secure_getenv.
31378         * inet/ruserpass.c (ruserpass): Likewise.
31379         * malloc/mtrace.c (mtrace): Likewise.
31380         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31381         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31382         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31383         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31384         HAVE_SECURE_GETENV.
31385         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31386         __secure_getenv to __libc_secure_getenv.
31387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31389         Likewise.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31391         Likewise.
31392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31399
31400 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31401
31402         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31403         (struct La_i86_retval): Likewise.
31404         (struct La_x86_64_regs): Likewise.
31405         (struct La_x86_64_retval): Likewise.
31406         (struct La_x32_regs): Likewise.
31407         (struct La_x32_retval): Likewise.
31408         (struct La_ppc32_regs): Likewise.
31409         (struct La_ppc32_retval): Likewise.
31410         (struct La_ppc64_regs): Likewise.
31411         (struct La_ppc64_retval): Likewise.
31412         (struct La_sh_regs): Likewise.
31413         (struct La_sh_retval): Likewise.
31414         (struct La_s390_32_regs): Likewise.
31415         (struct La_s390_32_retval): Likewise.
31416         (struct La_s390_64_regs): Likewise.
31417         (struct La_s390_64_retval): Likewise.
31418         (struct La_sparc32_regs): Likewise.
31419         (struct La_sparc32_retval): Likewise.
31420         (struct La_sparc64_regs): Likewise.
31421         (struct La_sparc64_retval): Likewise.
31422         (struct audit_ifaces): Remove architecture-specific pltenter and
31423         pltexit members.
31424         * sysdeps/i386/ldsodefs.h: New file.
31425         * sysdeps/powerpc/ldsodefs.h: Likewise.
31426         * sysdeps/s390/ldsodefs.h: Likewise.
31427         * sysdeps/sh/ldsodefs.h: Likewise.
31428         * sysdeps/sparc/ldsodefs.h: Likewise.
31429         * sysdeps/x86_64/ldsodefs.h: Likewise.
31430
31431 2012-07-25  Marek Polacek  <polacek@redhat.com>
31432
31433         [BZ #6808]
31434         * math/libm-test.inc (yn_test): Add another test.
31435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31436         to ERANGE when the result is +-Inf.
31437         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31440         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31441
31442 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31443
31444         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31445         equal to 0.
31446         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31447         clock_t.
31448         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31449
31450 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31451
31452         * configure.in <sysdeps resolving>: Correct printing
31453         Implies_before.
31454         * configure: Regenerate.
31455
31456 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31457
31458         * math/w_ilogb.c: Include <limits.h>.
31459         * math/w_ilogbl.c: Likewise.
31460
31461 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31462
31463         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31464         va_copy.  Document allowing for unavailable va_copy only as
31465         pre-C99 compatibility.
31466         * manual/string.texi (Copying and Concatenation): Use va_copy
31467         instead of __va_copy in concat example.
31468
31469 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31470
31471         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31472         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31473         it if not null.
31474
31475         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31476         with O_NOLINK passed to __file_name_lookup.
31477
31478         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31479         with O_NOLINK passed to __file_name_lookup.
31480
31481         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31482         negative N or less than NGIDS.
31483
31484         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31485         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31486         enough.  Use memcpy instead of strncpy.
31487
31488 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31489
31490         * elf/Makefile (check-data): Remove.
31491         (localplt.data): New vpath directive.
31492         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31493         instead of $(check-data).
31494         * scripts/data/localplt-generic.data: Move to ...
31495         * sysdeps/generic/localplt.data: ... here.
31496         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31497         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31498         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31500         ... here.
31501         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31503         ... here.
31504         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31506         ... here.
31507         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31509         ... here.
31510         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31512         ... here.
31513         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31515         ... here.
31516
31517 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31518
31519         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31520         PPC32 and PPC64 files.
31521         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31522         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31523
31524 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31525
31526         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31527         __makecontext_ret to ...
31528         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31529         ... here and call exit if uc_link is NULL.  New file.
31530         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31531         __makecontext_ret.S.
31532         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31533         __makecontext_ret to ...
31534         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31535         ... here and call exit if uc_link is NULL.  New file.
31536         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31537         __makecontext_ret.S.
31538
31539 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31540
31541         * elf/elf.h (R_390_IRELATIVE): New definition.
31542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31543         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31544         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31546         (elf_machine_lazy_rel): Likewise.
31547         * sysdeps/s390/dl-irel.h: New file.
31548         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31549         * sysdeps/s390/s390-64/memset.S: New asm code.
31550         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31551         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31553         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31554         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31555         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31556         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31557         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31558         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31559         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31560         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31561         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31562         * sysdeps/s390/s390-32/memset.S: New asm code.
31563         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31564
31565 2012-07-17  Marek Polacek  <polacek@redhat.com>
31566
31567         [BZ #14349]
31568         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31569         * sysdeps/s390/s390-64/configure.in: Likewise.
31570         * sysdeps/sparc/configure.in: Likewise.
31571         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31572         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31573         * sysdeps/i386/configure.in: Likewise.
31574         * sysdeps/x86_64/configure.in: Likewise.
31575         * sysdeps/sh/configure.in: Likewise.
31576         * sysdeps/s390/s390-32/configure: Regenerated.
31577         * sysdeps/s390/s390-64/configure: Likewise.
31578         * sysdeps/x86_64/configure: Likewise.
31579         * sysdeps/sh/configure: Likewise.
31580         * sysdeps/powerpc/powerpc64/configure: Likewise.
31581         * sysdeps/powerpc/powerpc32/configure: Likewise.
31582         * sysdeps/sparc/configure: Likwise.
31583         * sysdeps/i386/configure: Likewise.
31584
31585         * elf/dl-open.c: Comment fixes.
31586
31587 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31588
31589         * Makefile [CXX] (check-data): Remove.
31590         [CXX] (c++-types.data): New vpath directive.
31591         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31592         vpath.  Do not allow for C++ type data being missing.
31593         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31594         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31595         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31596         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31597         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31598         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31599         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31601         ... here.
31602         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31604         ... here.
31605         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31607         ... here.
31608         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31610         ... here.
31611         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31613         ... here.
31614         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31616         ... here.
31617         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31619         ... here.
31620         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31622
31623         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31624         definitions to architecture-specific files.
31625         (TLS_IE): Likewise.
31626         (TLS_LD): Likewise.
31627         (TLS_GD): Likewise.
31628         * sysdeps/i386/tls-macros.h: New file.
31629         * sysdeps/powerpc/tls-macros.h: Likewise.
31630         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31631         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31632         * sysdeps/sh/tls-macros.h: Likewise.
31633         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31634         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31635         * sysdeps/x86_64/tls-macros.h: Likewise.
31636
31637 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31638
31639         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31640         zero value for regular exit case.
31641
31642         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31643         (__start_context): Preserve zero value for regular exit case.
31644
31645 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31646             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31647
31648         * manual/setjmp.texi (setcontext): Clarify normal process
31649         termination when uc_link is the null pointer.
31650         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31651         exit call.
31652
31653 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31654
31655         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31656         preprocessor.  Test for each exception mask separately.
31657
31658 2012-07-16  Andreas Jaeger  <aj@suse.de>
31659
31660         * po/ru.po: Update from translation team.
31661
31662 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31663
31664         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31665         equal to 0.
31666         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31667         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31668         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31669         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31670         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31671
31672 2012-07-13  Andreas Jaeger  <aj@suse.de>
31673
31674         * po/fr.po: Update from translation team.
31675
31676 2012-07-12  Marek Polacek  <polacek@redhat.com>
31677
31678         [BZ #14173]
31679         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31681         loop condition.
31682
31683 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31684
31685         [BZ #13717]
31686         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31687         Change to 2.4.1 where previously 2.4.0.
31688         * sysdeps/unix/sysv/linux/configure: Regenerated.
31689         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31690         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31691         version.
31692         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31693         (__ASSUME_AT_CLKTCK): Remove.
31694         (__ASSUME_AT_PAGESIZE): Likewise.
31695         (__ASSUME_AT_XID): Likewise.
31696         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31697         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31698         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31699         unconditionally.
31700         (HAVE_AUX_PAGESIZE): Likewise.
31701         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31702         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31703         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31704
31705 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31706
31707         [BZ #14307]
31708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31709         the temporary buffer used to invoke __gethostbyname2_r,
31710         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31711         host_data / struct gaih_addrtuple.
31712         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31713         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31714         header file nss/nsswitch.h.
31715         * nss/nsswitch.h (global scope): Add definition of implementation
31716         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31717         resolv/nss_dns/dns-host.c).
31718
31719 2012-07-11  Andreas Jaeger  <aj@suse.de>
31720
31721         * po/fr.po: Update from translation team.
31722
31723         * po/sv.po: Update from translation team
31724         * po/fr.po: Another update from translation team.
31725
31726 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31727
31728         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31729         for subnormals or multiply small sinh result by itself.
31730         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31732
31733 2012-07-11  David S. Miller  <davem@davemloft.net>
31734
31735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31736
31737 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31738
31739         [BZ #14347]
31740         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31741         (INTERNAL_MARK): Shift it here.
31742
31743 2012-07-10  Marek Polacek  <polacek@redhat.com>
31744
31745         [BZ #14151]
31746         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31747         libc_cv_asm_global_directive with .globl.
31748         * configure: Regenerated.
31749         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31750         with .globl.
31751         * sysdeps/i386/configure: Regenerated.
31752         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31753         with .globl.
31754         * sysdeps/x86_64/configure: Regenerated.
31755         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31756         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31757         * elf/tst-unique2mod2.c: Likewise.
31758         * elf/tst-unique2mod1.c: Likewise.
31759         * elf/tst-unique1mod2.c: Likewise.
31760         * elf/tst-unique1mod1.c: Likewise.
31761         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31762         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31763         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31764         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31765         * sysdeps/mach/sysdep.h: Likewise.
31766         * sysdeps/i386/sysdep.h: Likewise.
31767         * sysdeps/i386/i386-mcount.S: Likewise.
31768         * sysdeps/x86_64/_mcount.S: Likewise.
31769         * sysdeps/x86_64/sysdep.h: Likewise.
31770         * sysdeps/sh/_mcount.S: Likewise.
31771         * sysdeps/sh/sysdep.h: Likewise.
31772         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31773         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31774         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31775         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31776         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31777         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31778         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31779         * locale/localeinfo.h: Likewise.
31780         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31781         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31782
31783 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31784
31785         [BZ #14336]
31786         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31787         system".
31788         * manual/message.texi (The Uniforum approach): Likewise.
31789         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31790         (glibc iconv Implementation): Likewise.
31791
31792 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31793
31794         [BZ #14337]
31795         * math/s_clog.c (__clog): Avoid scaling a value down where that
31796         could result in underflow.
31797         * math/s_clog10.c (__clog10): Likewise.
31798         * math/s_clog10f.c (__clog10f): Likewise.
31799         * math/s_clog10l.c (__clog10l): Likewise.
31800         * math/s_clogf.c (__clogf): Likewise.
31801         * math/s_clogl.c (__clogl): Likewise.
31802         * math/libm-test.inc (clog_test): Add more tests.
31803         (clog10_test): Likewise.
31804         * sysdeps/i386/fpu/libm-test-ulps: Update.
31805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31806
31807 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31808
31809         [BZ #14283]
31810         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31811         by 7 not 8 to examine high bit of fractional part.
31812
31813         [BZ #14042]
31814         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31815         for call to __mcount_internal.
31816         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31817         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31818         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31819
31820 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31821
31822         [BZ #14154]
31823         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31824         approximation for values within 0x1p-13f of an odd multiple of
31825         pi/4.
31826         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31827         exception.  Add more tests.
31828         * sysdeps/i386/fpu/libm-test-ulps: Update.
31829
31830         [BZ #6778]
31831         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31832         inputs and return -1 for them.  Do not check for +Inf in case not
31833         reachable for +Inf.
31834         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31835         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31836         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31837         and return -1 for them.  Do not check for +Inf in case not
31838         reachable for +Inf.
31839         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31840         define.
31841         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31842         and return -1 for them.  Do not check for +Inf in case not
31843         reachable for +Inf.
31844         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31845         spurious underflow.
31846         * sysdeps/i386/fpu/libm-test-ulps: Update.
31847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31848
31849 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31850
31851         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31852
31853 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31854
31855         [BZ #14157]
31856         [BZ #14331]
31857         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31858         could result in spurious underflow.  Scale down values above
31859         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31860         * math/s_csqrtf.c (__csqrtf): Likewise.
31861         * math/s_csqrtl.c (__csqrtl): Likewise.
31862         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31863         spurious underflow.
31864         * sysdeps/i386/fpu/libm-test-ulps: Update.
31865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866
31867 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31868
31869         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31870         xopen-msg.sed.
31871         * catgets/xopen-msg.awk: New file.
31872         * catgets/xopen-msg.sed: Removed.
31873
31874         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31875         po2text.sed.
31876         * intl/po2test.awk: New file.
31877         * intl/po2test.sed: Removed.
31878
31879 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31880
31881         [BZ #14328]
31882         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31883         or multiply small sinh result by itself.
31884         * math/s_ctanf.c (__ctanf): Likewise.
31885         * math/s_ctanh.c (__ctanh): Likewise.
31886         * math/s_ctanhf.c (__ctanhf): Likewise.
31887         * math/s_ctanhl.c (__ctanhl): Likewise.
31888         * math/s_ctanl.c (__ctanl): Likewise.
31889         * math/libm-test.inc (ctan_test_tonearest): New function.
31890         (ctan_test_towardzero): Likewise.
31891         (ctan_test_downward): Likewise.
31892         (ctan_test_upward): Likewise.
31893         (ctanh_test_tonearest): Likewise.
31894         (ctanh_test_towardzero): Likewise.
31895         (ctanh_test_downward): Likewise.
31896         (ctanh_test_upward): Likewise.
31897         (main): Call these new functions.
31898         * sysdeps/i386/fpu/libm-test-ulps: Update.
31899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31900
31901 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31902
31903         * .gitignore: Delete /ports entry.
31904
31905 2012-07-03  Andreas Jaeger  <aj@suse.de>
31906
31907         * po/bg.po: Update from translation team.
31908         * po/cs.po: Likewise.
31909         * po/de.po: Likewise.
31910         * po/hr.po: Likewise.
31911         * po/nl.pl: Likewise.
31912         * po/pl.po: Likewise.
31913         * po/vi.po: Likewise.
31914
31915 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31916
31917         * Makeconfig [!+link] (+link-before-libc): New variable.
31918         [!+link] (+link-after-libc): Likewise.
31919         [!+link] (+link-tests): Likewise.
31920         [!+link] (+link): Define in terms of $(+link-before-libc) and
31921         $(+link-after-libc).
31922         [!+link-static] (+link-static-before-libc): New variable.
31923         [!+link-static] (+link-static-after-libc): Likewise.
31924         [!+link-static] (+link-static-tests): Likewise.
31925         [!+link-static] (+link-static): Define in terms of
31926         $(+link-static-before-libc) and $(+link-static-after-libc).
31927         [build-shared] (link-libc-before-gnulib): New variable.
31928         [build-shared] (link-libc-tests): Likewise.
31929         [build-shared] (link-libc): Define in terms of
31930         $(link-libc-before-gnulib).
31931         [!build-shared] (link-libc-tests): New variable.
31932         (link-libc-static-tests): New variable.
31933         [!gnulib] (gnulib-arch): New variable.
31934         [!gnulib] (gnulib-tests): Likewise.
31935         [!gnulib] (static-gnulib-arch): Likewise.
31936         [!gnulib] (static-gnulib-tests): Likewise.
31937         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31938         Define with "=" instead of ":=".
31939         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31940         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31941         * Rules (binaries-all-notests): New variable.
31942         (binaries-all-tests): Likewise.
31943         (binaries-static-notests): Likewise.
31944         (binaries-static-tests): Likewise.
31945         (binaries-all): Define using $(binaries-all-notests) and
31946         $(binaries-all-tests).
31947         (binaries-static): Define using $(binaries-static-notests) and
31948         $(binaries-static-tests).
31949         (binaries-shared-tests): New variable.
31950         (binaries-shared-notests): Likewise.
31951         (binaries-shared): Remove variable.
31952         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31953         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31954         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31955         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31956         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31957         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31958         * elf/Makefile (sln-modules): New variable.
31959         (extra-objs): Add $(sln-modules:=.o).
31960         (ldconfig-modules): Add static-stubs.
31961         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31962         * elf/static-stubs.c: New file.
31963
31964         [BZ #14283]
31965         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31966         by 7 not 8 to examine high bit of fractional part.  Use volatile
31967         variables when splitting into final array of floats if
31968         __FLT_EVAL_METHOD__ != 0.
31969         * math/libm-test.inc (cos_test): Add another test.
31970         (sin_test): Likewise.
31971         * sysdeps/i386/fpu/libm-test-ulps: Update.
31972
31973         [BZ #14273]
31974         * math/libm-test.inc (cosh_test): Add more tests.
31975
31976         * version.h (RELEASE): Set to "development".
31977         (VERSION): Set to "2.16.90".
31978
31979 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31980
31981         * NEWS: Update copyright. Remove last-updated date.
31982         Mention math library bug fixes and timezone data changes.
31983         * README: Mention GNU/Hurd, x32, and HPPA support status.
31984
31985 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31986
31987         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31988
31989 2012-06-27  Andreas Jaeger  <aj@suse.de>
31990
31991         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31992
31993 2012-06-25  Andreas Jaeger  <aj@suse.de>
31994
31995         * sysdeps/s390/fpu/libm-test-ulps: Update.
31996
31997 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31998             Thomas Schwinge  <thomas@codesourcery.com>
31999
32000         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32001         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32002         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32003         fanotify_mark.
32004
32005 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32006
32007         * sysdeps/mach/start.c: Remove file.
32008         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32009         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32010         * sysdeps/sh/init-first.c: Likewise.
32011
32012         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32013         registers for frame unwinding purposes, add CFI directives.
32014         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32015         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32016         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32017         Likewise.
32018
32019         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32020         __fortify_fail returning.
32021         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32022
32023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32024         sysdeps/sh/____longjmp_chk.S.
32025         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32026         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32027         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32028         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32029
32030         * sysdeps/sh/abort-instr.h: New file.
32031         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32032         process in case exit returns.
32033
32034         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32035         initialize the GOT register before use.
32036
32037         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32038         calculation of ARGC > 4.
32039
32040         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32041         meaningful names to some local labels.
32042
32043 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32044             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32045
32046         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32047         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32048         (__arch_compare_and_exchange_val_16_acq): Likewise.
32049         (__arch_compare_and_exchange_val_32_acq): Likewise.
32050         (atomic_exchange_and_add): Fix gUSA sequence.
32051         (atomic_add): Likewise.
32052         (atomic_add_negative): Likewise.
32053         (atomic_add_zero): Likewise.
32054         (atomic_bit_test_set): Likewise.
32055
32056 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32057
32058         [BZ #13579]
32059         * include/link.h (struct link_map): Add l_free_initfini.
32060         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32061         l_initfini.
32062         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32063         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32064         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32065         set.
32066
32067 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32068
32069         * configure.in: Use AC_LANG_SOURCE.
32070         * configure: Regenerate.
32071
32072 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32073
32074         * configure.in (libc_cv_localstatedir): New substituted variable.
32075         * configure: Regenerated.
32076         * config.make.in (localstatedir): New variable, substituted from
32077         libc_cv_localstatedir.
32078         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32079         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32080         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32081         * sysdeps/gnu/configure: Regenerated.
32082
32083 2012-06-21  Jeff Law  <law@redhat.com>
32084
32085         [BZ #14277]
32086         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32087         free.  Simplify list management for _LIBC case.
32088
32089 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32090
32091         [BZ #14273]
32092         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32093         Clear sign bit of 64-bit integer value before comparing against
32094         overflow value.
32095
32096         * sysdeps/mach/configure: Regenerated.
32097
32098 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32099
32100         [BZ #14278]
32101         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32102
32103 2012-06-21  Jeff Law  <law@redhat.com>
32104
32105         [BZ #13882]
32106         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32107         uint16_t for elements in the "seen" array to avoid char overflows.
32108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32109         * elf/dl-open.c (dl_open_worker): Likewise.
32110
32111 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32112
32113         * scripts/list-sources.sh: Scan PORTS for translations.
32114         * po/libc.pot: Regenerated.
32115
32116 2012-06-21  Andreas Jaeger  <aj@suse.de>
32117
32118         [BZ #12194]
32119         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32120         warning.
32121         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32122         * bits/byteswap-16.h (__bswap_16): Likewise.
32123         * bits/byteswap.h (__bswap_constant_16): Likewise.
32124
32125 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32126
32127         [BZ #14117]
32128         * sysdeps/i386/fpu_control.h: Removed.
32129         * sysdeps/x86_64/fpu_control.h: Moved to ...
32130         * sysdeps/x86/fpu_control.h: Here.
32131
32132         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32133         (_FPU_SETCW): Likewise.
32134
32135 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32136
32137         [BZ #14117]
32138         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32139         * sysdeps/x86/fpu/bits/mathinline.h: This.
32140         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32141
32142         [BZ #14050]
32143         [BZ #14117]
32144         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32145         functions if __x86_64__ is defined.
32146
32147 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32148
32149         * string/endian.h: Add !__ASSEMBLER__ condition for including
32150         conversion interfaces.
32151
32152 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32153
32154         [BZ #14241]
32155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32156         of ABS(x) in calculating zero to negative powers other than odd
32157         integers.
32158         * math/libm-test.inc (pow_test): Add more tests.
32159
32160 2012-06-15  Andreas Jaeger  <aj@suse.de>
32161
32162         * manual/contrib.texi (Contributors): Update entry of Liubov
32163         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32164         Machado Filho.
32165
32166 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32167
32168         * string/string.h: Add __wur to GNU version of strerror_r.
32169
32170 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32171
32172         [BZ #14229]
32173         * string/Makefile (tests): Add tst-strtok_r.
32174         * string/tst-strtok_r.c: New file.
32175         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32176         RAX_LP/RDX_LP on SAVE_PTR.
32177
32178 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32179
32180         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32181
32182 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32183
32184         * libm_test.inc (csqrt_test): Allow more spurious underflow
32185         exceptions.
32186         (j0_test): Likewise.
32187         (j1_test): Likewise.
32188         (y0_test): Likewise.
32189         (y1_test): Likewise.
32190
32191 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32192
32193         * po/Makefile (libc.pot): Use UTF-8 charset.
32194
32195 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32196
32197         [BZ #14210]
32198         Suppress sign-conversion warning from FD_SET.
32199         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32200         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32201         not unsigned long int.
32202         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32203
32204 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32205
32206         [BZ #14050]
32207         [BZ #14117]
32208         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32209         __extern_always_inline instead of __extern_inline.
32210         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32211         (__signbit): Likewise.
32212         (__signbitl): Support C++ namespace.
32213         (lrintf): New inline function.
32214         (lrint): Likewise.
32215         (llrintf): Likewise.
32216         (llrint): Likewise.
32217         (fmaxf): Likewise.
32218         (fmax): Likewise.
32219         (fminf): Likewise.
32220         (fmin): Likewise.
32221         (rint): Likewise.
32222         (rintf): Likewise.
32223         (ceil): Likewise.
32224         (ceilf): Likewise.
32225         (floor): Likewise.
32226         (floorf): Likewise.
32227         (nearbyint): Likewise.
32228         (nearbyintf): Likewise.
32229
32230 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32231
32232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32233         non-default versions.
32234
32235 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32236
32237         [BZ #14218]
32238         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32239
32240 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32241
32242         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32243         (FE_UPWARD, FE_DOWNWARD): Don't define.
32244         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32245         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32246
32247         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32248         reading it.
32249         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32250         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32251
32252 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32253
32254         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32255         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32256         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32257         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32258
32259 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32260
32261         [BZ #14117]
32262         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32263         * sysdeps/i386/fpu/Implies: New file.
32264         * sysdeps/x86_64/fpu/Implies: Likewise.
32265         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32266         * sysdeps/x86/fpu/bits/fenv.h: This.
32267
32268         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32269         __SSE_MATH__.
32270
32271 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32272
32273         [BZ #14134]
32274         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32275         character 0xffff that matches the last element of the
32276         conversion table.
32277
32278 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32279
32280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32281         fmodl commit.
32282
32283 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32284
32285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32286         values higher than 25.6283.
32287
32288 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32289
32290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32291         subnormal exponent extraction and add some __builtin_expect.
32292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32293         Fix for subnormal mantissa calculation.
32294
32295 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32296
32297         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32298         cpu2 is -1 and errno is not ENOSYS.
32299
32300 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32301
32302         [BZ #14117]
32303         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32304         * sysdeps/x86/bits/string.h: This.
32305         * sysdeps/x86_64/bits/string.h: Removed.
32306
32307         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32308         if not compiling for x86-64, but compiling for >= i486.
32309
32310         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32311         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32312
32313         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32314         New macro from Linux kernel 3.4.0.
32315         (FP_XSTATE_MAGIC2): Likewise.
32316         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32317         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32318         (struct _fpx_sw_bytes): New struct.
32319         (struct _xsave_hdr): Likewise.
32320         (struct _ymmh_state): Likewise.
32321         (struct _xstate): Likewise.
32322
32323         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32324         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32325         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32326         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32327         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32328         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32329
32330         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32332         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32333         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32334         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32335         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32336
32337 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32338
32339         [BZ #13743]
32340         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32341         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32342         (sysdep_headers): Include sys/platform/ppc.h.
32343         * sysdeps/powerpc/test-gettimebase.c: Test for
32344         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32345         * manual/Makefile (appendices): Include platform.texi.
32346         * manual/contrib.texi (Contributors): Update @node pointers.
32347         * manual/maint.texi (Maintenance): Likewise.
32348         (Platform): New node.
32349         * manual/platform.texi: New file.  Document the new features.
32350
32351 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32352             Jakub Jelinek  <jakub@redhat.com>
32353
32354         [BZ #14188]
32355         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32356         where __builtin_expect is unavailable.
32357
32358 2012-06-03  David S. Miller  <davem@davemloft.net>
32359
32360         * stdlib/longlong.h: Updated from GCC.
32361
32362 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32363
32364         [BZ #14042]
32365         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32366         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32367         __mcount_internal.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32369         (GLIBC_2.16): Likewise.
32370
32371 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32372
32373         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32374
32375 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32376
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32378         (default-abi): New variable.
32379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32380         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32381         variable.
32382         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32383         Likewise.
32384         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32385         Likewise.
32386         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32387         Likewise.
32388
32389         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32390         definition.  Document in comment.
32391
32392 2012-06-01  David S. Miller  <davem@davemloft.net>
32393
32394         * stdlib/longlong.h: Updated from GCC.
32395
32396 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32397
32398         [BZ #14117]
32399         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32400         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32401         sys/debugreg.h sys/io.h here.
32402         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32403         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32404         sys/io.h.
32405         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32406         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32407         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32408         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32409         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32410         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32411
32412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32413         Define only if __x86_64__ is defined.
32414
32415 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32416
32417         [BZ #14048]
32418         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32419         Use int64_t for variable i.
32420         * math/libm-test.inc (fmod_test): Add more tests.
32421
32422         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32423         z computation is not scheduled after fetestexcept.
32424         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32425         Use math_force_eval instead of asm to ensure calculation scheduled
32426         before exception test.
32427         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32428         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32429
32430 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32431
32432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32433         computation is not scheduled after fetestexcept.
32434
32435 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32436
32437         [BZ #14117]
32438         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32439         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32440
32441 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442
32443         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32444         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32445
32446 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32447
32448         [BZ #14117]
32449         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32450         <bits/wordsize.h>.
32451         (__WCHAR_MIN): Support __WORDSIZE == 64.
32452         (__WCHAR_MAX): Likewise.
32453
32454         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32455         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32456
32457         [BZ #14183]
32458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32459         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32460
32461         [BZ #14117]
32462         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32463         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32464
32465         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32466         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32467
32468         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32469         Defined to 1 if __x86_64__ isn't defined.
32470         (_STAT_VER_LINUX_OLD): New.
32471         (st_atime): Remove duplicate.
32472         (st_mtime): Likewise.
32473         (st_ctime): Likewise.
32474
32475 2012-05-31  David S. Miller  <davem@davemloft.net>
32476
32477         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32478         entries.
32479
32480 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32481
32482         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32483         gen-libm-test.pl.
32484
32485         [BZ #14132]
32486         * elf/dl-reloc.c: Include <_itoa.h>.
32487         (_dl_reloc_bad_type): Remove use of INTUSE.
32488         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32489         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32490         * stdio-common/psiginfo.c (psiginfo): Likewise.
32491         * stdio-common/psignal.c (psignal): Likewise.
32492         * string/strsignal.c (strsignal): Likewise.
32493         * include/signal.h (_sys_siglist): Declare hidden proto.
32494         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32495         INTVARDEF with libc_hidden_data_def.
32496         * stdio-common/itoa-udigits.c: Likewise.
32497         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32498         (_itoa_lower_digits_internal): Remove declaration.
32499         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32500         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32501         (_sys_sigabbrev_internal): Remove aliases.
32502         (_sys_siglist): Define hidden alias.
32503
32504 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32505
32506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32507         bits/sysctl.h.
32508
32509 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32510
32511         [BZ #14117]
32512         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32513         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32514
32515         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32516         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32517         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32518         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32519         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32520         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32521
32522         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32523         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32524         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32525
32526         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32527         with __addr.
32528         (insw): Likewise.
32529         (insl): Likewise.
32530         (outsb): Likewise.
32531         (outsw): Likewise.
32532         (outsl): Likewise.
32533
32534         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32535         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32536         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32537
32538         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32539         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32540         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32541         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32542         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32543         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32544
32545         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32546         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32547
32548         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32549         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32550
32551         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32553         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32554
32555         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32556         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32557         to ...
32558         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32559
32560         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32561         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32562         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32563
32564         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32565         for x86-64.
32566         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32567
32568 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32569
32570         * math/math.h (M_El): Use two more decimal places.
32571         (M_LOG2El): Likewise.
32572         (M_LOG10El): Likewise.
32573         (M_LN2l): Likewise.
32574         (M_LN10l): Likewise.
32575         (M_PIl): Likewise.
32576         (M_PI_2l): Likewise.
32577         (M_PI_4l): Likewise.
32578         (M_1_PIl): Likewise.
32579         (M_2_PIl): Likewise.
32580         (M_2_SQRTPIl): Likewise.
32581         (M_SQRT2l): Likewise.
32582         (M_SQRT1_2l): Likewise.
32583
32584 2012-05-31  David S. Miller  <davem@davemloft.net>
32585
32586         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32587         values between float registers.
32588         * sysdeps/sparc/sparc64/memset.S: Likewise.
32589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32590
32591 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32592
32593         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32594         -D_FORTIFY_SOURCE=1.
32595         (CPPFLAGS-tst-longjmp_chk.c): Define.
32596         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32597         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32598         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32599         CFLAGS-tst-wchar-h.c.
32600
32601 2012-05-31  Marek Polacek  <polacek@redhat.com>
32602
32603         [BZ #14132]
32604         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32605         __endmntent_internal): Remove declaration.
32606         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32607         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32608         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32609
32610 2012-05-30  David S. Miller  <davem@davemloft.net>
32611
32612         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32613         (___Q_simulate_exceptions): Use real FP ops rather than writing
32614         into the %fsr.
32615         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32616         Likewise.
32617
32618 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32619
32620         [BZ #14117]
32621         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32622         * sysdeps/x86/bits/xtitypes.h: This.
32623
32624         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32625         * sysdeps/x86/bits/wordsize.h: This.
32626
32627         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32628         * sysdeps/x86/bits/huge_vall.h: This.
32629
32630         * sysdeps/i386/bits/select.h: Removed.
32631         * sysdeps/x86_64/bits/select.h: Renamed to ...
32632         * sysdeps/x86/bits/select.h: This.
32633
32634         * sysdeps/i386/bits/setjmp.h: Removed.
32635         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32636         * sysdeps/x86/bits/setjmp.h: This.
32637
32638         * sysdeps/i386/bits/mathdef.h: Removed.
32639         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32640         * sysdeps/x86/bits/mathdef.h: This.
32641
32642 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32643
32644         [BZ #14132]
32645         * include/sys/socket.h (__connect_internal)
32646         (__libc_sa_len_internal): Remove declaration.
32647         (__connect, __libc_sa_len): Declare hidden_proto.
32648         (SA_LEN): Remove use of INTUSE.
32649         * socket/connect.c: Add libc_hidden_def.
32650         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32651         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32652         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32653         alias.
32654         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32656         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32657         of adding _internal alias.
32658
32659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32660
32661         [BZ #14117]
32662         * sysdeps/i386/bits/link.h: Removed.
32663         * sysdeps/i386/bits/linkmap.h: Likewise.
32664         * sysdeps/x86_64/bits/link.h: Renamed to ...
32665         * sysdeps/x86/bits/link.h: This.
32666         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32667         * sysdeps/x86/bits/linkmap.h: This.
32668
32669         * sysdeps/i386/bits/endian.h: Removed.
32670         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32671         * sysdeps/x86/bits/endian.h: This.
32672
32673         * sysdeps/i386/bits/byteswap.h: Removed.
32674         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32675         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32676         * sysdeps/x86/bits/byteswap.h: This.
32677         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32678         * sysdeps/x86/bits/byteswap-16.h: This.
32679         * sysdeps/i386/Implies: Add x86.
32680         * sysdeps/x86_64/Implies: Likewise.
32681
32682 2012-05-30  David S. Miller  <davem@davemloft.net>
32683
32684         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32685         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32686         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32687         (FP_TRAPPING_EXCEPTIONS): Define.
32688         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32689         (FP_TRAPPING_EXCEPTIONS): Define.
32690         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32691         subnormals only when inexact has been signalled or underflow
32692         exceptions are enabled.
32693         (_FP_PACK_CANONICAL): Likewise.
32694
32695 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32696
32697         [BZ #14183]
32698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32699         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32700
32701 2012-05-30  Richard Henderson  <rth@twiddle.net>
32702
32703         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32704         with #ifndef NOT_IN_libc.
32705
32706         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32707         marked to avoid plt entry.
32708
32709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32710
32711         [BZ #14112]
32712         * Makeconfig (default-abi): New macro.
32713         (abi-includes): Likewise.
32714         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32715         $(abi-$(default-abi)-lib-soname) for soname if defined.
32716         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32717         abi-variants.
32718         * Makefile (installed-stubs): Likewise.
32719         * include/stubs-biarch.h: Removed.
32720         * scripts/lib-names.awk: Only handle one library at a time.
32721         * scripts/soversions.awk: Remove WORDSIZE support.
32722         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32723         entries.
32724         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32725         Removed.
32726         (syscall-list-default-condition): Likewise.
32727         (syscall-list-default-condition): Likewise.
32728         (syscall-list-includes): Likewise.
32729         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32730         syscall-list-* with abi-*.  Handle undefined abi-variants.
32731         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32732         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32733         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32734         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32735         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32736         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32737         Removed.
32738         (syscall-list-32-options): Likewise.
32739         (syscall-list-32-condition): Likewise.
32740         (syscall-list-64-options): Likewise.
32741         (syscall-list-64-condition): Likewise.
32742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32743         macro.
32744         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32745         Renamed to ...
32746         (abi-*): This.
32747         (abi-64-ld-soname): New macro.
32748         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32749         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32750         Renamed to ...
32751         (abi-*): This.
32752         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32753         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32754
32755 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32756
32757         * sysdeps/unix/sysv/linux/kernel-features.h
32758         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32759         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32760         include <kernel-features.h>.
32761         [!__NR_ftruncate64]: Remove conditional code.
32762         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32763         [__NR_ftruncate64]: Make code unconditional.
32764         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32765         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32766         include <kernel-features.h>.
32767         [!__NR_ftruncate64]: Remove conditional code.
32768         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32769         [__NR_ftruncate64]: Make code unconditional.
32770         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32772         include <kernel-features.h>.
32773         [!__NR_ftruncate64]: Remove conditional code.
32774         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32775         [__NR_ftruncate64]: Make code unconditional.
32776         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32778         include <kernel-features.h>.
32779         [!__NR_ftruncate64]: Remove conditional code.
32780         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32781         [__NR_ftruncate64]: Make code unconditional.
32782         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32783
32784         * configure.in (libc_cv_fpie): Weaken to a compile test using
32785         LIBC_TRY_CC_OPTION.
32786         * configure: Regenerated.
32787
32788 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32789
32790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32794         Refreshed.
32795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32801         Refreshed.
32802
32803 2012-05-27  David S. Miller  <davem@davemloft.net>
32804
32805         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32806         (___Q_zero): New.
32807         (__Q_simulate_exceptions): Return void.  Change to simulate
32808         exceptions by writing into the %fsr.
32809         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32810         (__Qp_handle_exceptions): Likewise.
32811         (numbers): Delete.
32812         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32813         __Qp_handle_exceptions.
32814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32815         __Qp_handle_exceptions.
32816         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32817         as unused and give dummy FP_RND_NEAREST initializer.
32818         (FP_INHIBIT_RESULTS): Define.
32819         (___Q_simulate_exceptions): Update declaration.
32820         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32821         formatting.
32822         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32823         as unused and give dummy FP_RND_NEAREST initializer.
32824         (__Qp_handle_exceptions): Update declaration.
32825         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32826         formatting.
32827
32828 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32829
32830         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32831         the temporary FPU control word.
32832         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32833         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32835         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32836         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32837         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32838         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32839         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32840         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32841         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32842         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32843
32844 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32845
32846         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32847         fields.
32848
32849 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32850
32851         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32852         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32853         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32854         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32855         Likewise.
32856         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32857         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32858         Likewise.
32859
32860 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32861
32862         * po/h.po: Update from translation team.
32863
32864 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32865
32866         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32867
32868         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32869         handling of denormals.
32870         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32871         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32872         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32873         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32874         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32875         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32877         Likewise.
32878
32879 2012-05-26  Marek Polacek  <polacek@redhat.com>
32880
32881         [BZ #14152]
32882         * math/libm-test.inc (fma_test): Don't always expect underflow
32883         exception.
32884
32885 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32886
32887         [BZ #12416]
32888         * elf/tst-execstack.c: Include stackinfo.h.
32889         (do_test): Adjust test case to ensure that pthread_getattr_np
32890         behaviour remains the same after marking stack executable.
32891
32892 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32893
32894         * sysdeps/unix/sysv/linux/kernel-features.h
32895         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32896         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32897         kernel-features.h.
32898         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32899         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32900         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32901         kernel-features.h.
32902         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32903         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32904
32905 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32906
32907         * configure.in: Define the default includes to being none.
32908         * configure: Regenerated.
32909
32910 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32911
32912         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32913         * sysdeps/x86_64/setjmp.S: Likewise.
32914         * sysdeps/i386/bsd-setjmp.S: Likewise.
32915         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32916         * sysdeps/i386/setjmp.S: Likewise.
32917         * sysdeps/i386/__longjmp.S: Likewise.
32918         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32919         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32920
32921         * include/stap-probe.h: New file.
32922         * configure.in: Handle --enable-systemtap.
32923         * configure: Regenerated.
32924         * config.h.in (USE_STAP_PROBE): New #undef.
32925         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32926         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32927         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32928
32929 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32930
32931         [BZ #13717]
32932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32933         to 2.4.0 where earlier.
32934         * sysdeps/unix/sysv/linux/configure: Regenerated.
32935         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
32944         [__ASSUME_32BITUIDS]: Make code unconditional.
32945         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32946         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32947         <kernel-features.h>.
32948         [__ASSUME_32BITUIDS]: Make code unconditional.
32949         [!__ASSUME_32BITUIDS]: Remove conditional code.
32950         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32951         <kernel-features.h>.
32952         [__ASSUME_32BITUIDS]: Make code unconditional.
32953         [!__ASSUME_32BITUIDS]: Remove conditional code.
32954         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32955         <kernel-features.h>.
32956         [__ASSUME_32BITUIDS]: Make code unconditional.
32957         [!__ASSUME_32BITUIDS]: Remove conditional code.
32958         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32959         <kernel-features.h>.
32960         [__ASSUME_32BITUIDS]: Make code unconditional.
32961         [!__ASSUME_32BITUIDS]: Remove conditional code.
32962         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32963         <kernel-features.h>.
32964         [__ASSUME_32BITUIDS]: Make code unconditional.
32965         [!__ASSUME_32BITUIDS]: Remove conditional code.
32966         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32967         <kernel-features.h>.
32968         [__ASSUME_32BITUIDS]: Make code unconditional.
32969         [!__ASSUME_32BITUIDS]: Remove conditional code.
32970         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32971         <kernel-features.h>.
32972         [__ASSUME_32BITUIDS]: Make code unconditional.
32973         [!__ASSUME_32BITUIDS]: Remove conditional code.
32974         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32975         <kernel-features.h>.
32976         [__ASSUME_32BITUIDS]: Make code unconditional.
32977         [!__ASSUME_32BITUIDS]: Remove conditional code.
32978         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32979         <kernel-features.h>.
32980         [__ASSUME_32BITUIDS]: Make code unconditional.
32981         [!__ASSUME_32BITUIDS]: Remove conditional code.
32982         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32983         <kernel-features.h>.
32984         [__ASSUME_32BITUIDS]: Make code unconditional.
32985         [!__ASSUME_32BITUIDS]: Remove conditional code.
32986         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32987         <kernel-features.h>.
32988         [__NR_setresgid] (__setresgid): Do not declare.
32989         [__ASSUME_32BITUIDS]: Make code unconditional.
32990         [!__ASSUME_32BITUIDS]: Remove conditional code.
32991         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32992         <kernel-features.h>.
32993         [__NR_setresuid] (__setresuid): Do not declare.
32994         [__ASSUME_32BITUIDS]: Make code unconditional.
32995         [!__ASSUME_32BITUIDS]: Remove conditional code.
32996         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32997         <kernel-features.h>.
32998         [__ASSUME_32BITUIDS]: Make code unconditional.
32999         [!__ASSUME_32BITUIDS]: Remove conditional code.
33000         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33001         <kernel-features.h>.
33002         [__ASSUME_32BITUIDS]: Make code unconditional.
33003         [!__ASSUME_32BITUIDS]: Remove conditional code.
33004         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33005         <kernel-features.h>.
33006         [__ASSUME_32BITUIDS]: Make code unconditional.
33007         [!__ASSUME_32BITUIDS]: Remove conditional code.
33008         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33009         <kernel-features.h>.
33010         [__ASSUME_32BITUIDS]: Make code unconditional.
33011         [!__ASSUME_32BITUIDS]: Remove conditional code.
33012         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33013         <kernel-features.h>.
33014         [__ASSUME_32BITUIDS]: Make code unconditional.
33015         [!__ASSUME_32BITUIDS]: Remove conditional code.
33016         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33017         <kernel-features.h>.
33018         [__ASSUME_32BITUIDS]: Make code unconditional.
33019         [!__ASSUME_32BITUIDS]: Remove conditional code.
33020         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33021         <kernel-features.h>.
33022         [__ASSUME_32BITUIDS]: Make code unconditional.
33023         [!__ASSUME_32BITUIDS]: Remove conditional code.
33024         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33025         <kernel-features.h>.
33026         [__ASSUME_32BITUIDS]: Make code unconditional.
33027         [!__ASSUME_32BITUIDS]: Remove conditional code.
33028         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33029         <kernel-features.h>.
33030         [__ASSUME_32BITUIDS]: Make code unconditional.
33031         [!__ASSUME_32BITUIDS]: Remove conditional code.
33032         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33033         <kernel-features.h>.
33034         [__ASSUME_32BITUIDS]: Make code unconditional.
33035         [!__ASSUME_32BITUIDS]: Remove conditional code.
33036         * sysdeps/unix/sysv/linux/kernel-features.h
33037         (__ASSUME_SETRESUID_SYSCALL): Remove.
33038         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33039         (__ASSUME_32BITUIDS): Likewise.
33040         (__ASSUME_LDT_WORKS): Likewise.
33041         (__ASSUME_O_DIRECTORY): Likewise.
33042         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33043         architecture but not kernel version.
33044         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33045         (__ASSUME_MMAP2_SYSCALL): Likewise.
33046         (__ASSUME_STAT64_SYSCALL): Likewise.
33047         (__ASSUME_IPC64): Likewise.
33048         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33049         <kernel-features.h>.
33050         [__ASSUME_32BITUIDS]: Make code unconditional.
33051         [!__ASSUME_32BITUIDS]: Remove conditional code.
33052         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33053         <kernel-features.h>.
33054         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33055         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33056         132096]: Remove conditional code.
33057         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33058         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33059         <kernel-features.h>.
33060         [__ASSUME_32BITUIDS]: Make code unconditional.
33061         [!__ASSUME_32BITUIDS]: Remove conditional code.
33062         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33063         <kernel-features.h>.
33064         [__ASSUME_32BITUIDS]: Make code unconditional.
33065         [!__ASSUME_32BITUIDS]: Remove conditional code.
33066         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33067         <kernel-features.h>.
33068         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33069         unconditional.
33070         (__setresgid): Do not declare.
33071         [__ASSUME_32BITUIDS]: Make code unconditional.
33072         [!__ASSUME_32BITUIDS]: Remove conditional code.
33073         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33074         <kernel-features.h>.
33075         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33076         unconditional.
33077         (__setresuid): Do not declare.
33078         [__ASSUME_32BITUIDS]: Make code unconditional.
33079         [!__ASSUME_32BITUIDS]: Remove conditional code.
33080         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33081         <kernel-features.h>.
33082         [__ASSUME_32BITUIDS]: Make code unconditional.
33083         [!__ASSUME_32BITUIDS]: Remove conditional code.
33084         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33085         <kernel-features.h>.
33086         [__ASSUME_32BITUIDS]: Make code unconditional.
33087         [!__ASSUME_32BITUIDS]: Remove conditional code.
33088
33089 2012-05-25  Richard Henderson  <rth@twiddle.net>
33090
33091         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33092         dl_hwcap to ifunc resolver.
33093         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33094         elf_ifunc_invoke.
33095         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33096         dl_hwcap to ifunc resolver.
33097         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33098
33099 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33100
33101         [BZ #14153]
33102         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33103         for |x| <= 2**-26, not 2**-57.
33104         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33105         exception.
33106
33107 2012-05-24  Jeff Law  <law@redhat.com>
33108
33109         * stdio-common/Makefile (tests): Add bug25.
33110         * stdio-common/bug25.c: New test.
33111
33112 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33113
33114         [BZ #13576]
33115         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33116         multiple of MALLOC_ALIGNMENT in size.
33117         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33118
33119 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33120
33121         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33122         Require >= 256.
33123         (FILENAME_MAX): Use macro-int-constant.
33124         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33125         (_IOFBF): Use macro-int-constant.
33126         (_IOLBF): Likewise.
33127         (_IONBF): Likewise.
33128         (SEEK_CUR): Likewise.
33129         (SEEK_END): Likewise.
33130         (SEEK_SET): Likewise.
33131         (TMP_MAX): Likewise.
33132         (EOF): Use macro-int-constant.  Require < 0.
33133         (NULL): Use macro-constant.  Require == 0.
33134         (stdin): Require type to be FILE *.
33135         (stdout): Likewise.
33136         (stderr): Likewise.
33137         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33138         macro-int-constant.
33139         (EXIT_SUCCESS): Likewise.
33140         (NULL): Use macro-constant.  Require == 0.
33141         (RAND_MAX): Use macro-int-constant.
33142         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33143         [C99-based standards] (strtof): Require function.
33144         [C99-based standards] (strtold): Likewise.
33145         [C99-based standards] (strtoll): Likewise.
33146         [C99-based standards] (strtoull): Likewise.
33147         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33148         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33149         [ISO || ISO99 || ISO11] (math.h): Likewise.
33150         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33151         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33153
33154 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33155
33156         [BZ #14132]
33157         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33158         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33159         * intl/dgettext.c (DCGETTEXT): Likewise.
33160         * intl/gettext.c (DCGETTEXT): Likewise.
33161         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33162         * posix/regex_internal.h (gettext): Likewise.
33163         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33164         Remove declaration.
33165         * include/argz.h (__argz_count_internal)
33166         (__argz_stringify_internal): Remove declaration.
33167         (__argz_count, __argz_stringify): Declare hidden proto.
33168         * intl/dcgettext.c: Remove use of INTDEF.
33169         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33170         * string/argz-stringify.c: Likewise.
33171         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33172         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33173         Declare hidden proto.
33174         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33175         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33176         Declare hidden proto.
33177         * include/stdio.h (__asprintf_internal): Don't declare.
33178         (__asprintf): Don't define as macro.  Declare hidden proto.
33179         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33180         (__fsetlocking): Declare hidden proto.
33181         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33182         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33183         hidden proto.
33184         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33185         (_IO_setlinebuf): Remove use of INTUSE.
33186         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33187         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33188         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33189         Remove declaration.
33190         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33191         (_IO_do_flush): Remove use of INTUSE.
33192         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33193         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33194         (_IO_adjust_column, _IO_least_wmarker)
33195         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33196         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33197         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33198         (_IO_default_doallocate, _IO_wdefault_doallocate)
33199         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33200         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33201         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33202         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33203         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33204         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33205         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33206         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33207         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33208         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33209         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33210         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33211         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33212         proto.
33213         (_IO_flush_all_internal, _IO_adjust_column_internal)
33214         (_IO_default_uflow_internal, _IO_default_finish_internal)
33215         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33216         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33217         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33218         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33219         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33220         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33221         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33222         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33223         (_IO_file_close_internal, _IO_file_close_it_internal)
33224         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33225         (_IO_file_init_internal, _IO_file_attach_internal)
33226         (_IO_file_fopen_internal, _IO_file_read_internal)
33227         (_IO_file_sync_internal, _IO_file_seek_internal)
33228         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33229         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33230         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33231         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33232         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33233         (_IO_list_all_internal, _IO_link_in_internal)
33234         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33235         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33236         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33237         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33238         (_IO_do_write_internal, _IO_padn_internal)
33239         (_IO_getline_info_internal, _IO_getline_internal)
33240         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33241         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33242         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33243         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33244         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33245         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33246         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33247         with libc_hidden_ver, remove use of INTUSE.
33248         * libio/genops.c: Likewise.
33249         * libio/freopen.c: Likewise.
33250         * libio/freopen64.c: Likewise.
33251         * libio/iofclose.c: Likewise.
33252         * libio/iofdopen.c: Likewise.
33253         * libio/iofflush.c: Likewise.
33254         * libio/iofflush_u.c: Likewise.
33255         * libio/iofgets.c: Likewise.
33256         * libio/iofgets_u.c: Likewise.
33257         * libio/iofopen.c: Likewise.
33258         * libio/iofopncook.c: Likewise.
33259         * libio/iofread.c: Likewise.
33260         * libio/iofread_u.c: Likewise.
33261         * libio/ioftell.c: Likewise.
33262         * libio/iofwrite.c: Likewise.
33263         * libio/iogetline.c: Likewise.
33264         * libio/iogets.c: Likewise.
33265         * libio/iogetwline.c: Likewise.
33266         * libio/iopadn.c: Likewise.
33267         * libio/iopopen.c: Likewise.
33268         * libio/ioseekoff.c: Likewise.
33269         * libio/ioseekpos.c: Likewise.
33270         * libio/iosetbuffer.c: Likewise.
33271         * libio/iosetvbuf.c: Likewise.
33272         * libio/ioungetc.c: Likewise.
33273         * libio/ioungetwc.c: Likewise.
33274         * libio/iovdprintf.c: Likewise.
33275         * libio/iovsprintf.c: Likewise.
33276         * libio/iovsscanf.c: Likewise.
33277         * libio/memstream.c: Likewise.
33278         * libio/obprintf.c: Likewise.
33279         * libio/oldfileops.c: Likewise.
33280         * libio/oldiofclose.c: Likewise.
33281         * libio/oldiofdopen.c: Likewise.
33282         * libio/oldiofopen.c: Likewise.
33283         * libio/oldiopopen.c: Likewise.
33284         * libio/oldstdfiles.c: Likewise.
33285         * libio/putc.c: Likewise.
33286         * libio/setbuf.c: Likewise.
33287         * libio/setlinebuf.c: Likewise.
33288         * libio/stdfiles.c: Likewise.
33289         * libio/strops.c: Likewise.
33290         * libio/vasprintf.c: Likewise.
33291         * libio/vscanf.c: Likewise.
33292         * libio/vsnprintf.c: Likewise.
33293         * libio/vswprintf.c: Likewise.
33294         * libio/wfiledoalloc.c: Likewise.
33295         * libio/wfileops.c: Likewise.
33296         * libio/wgenops.c: Likewise.
33297         * libio/wmemstream.c: Likewise.
33298         * libio/wstrops.c: Likewise.
33299         * libio/__fpurge.c: Likewise.
33300         * libio/__fsetlocking.c: Likewise.
33301         * assert/assert.c: Likewise.
33302         * debug/fgets_chk.c: Likewise.
33303         * debug/fgets_u_chk.c: Likewise.
33304         * debug/fread_chk.c: Likewise.
33305         * debug/fread_u_chk.c: Likewise.
33306         * debug/gets_chk.c: Likewise.
33307         * debug/obprintf_chk.c: Likewise.
33308         * debug/vasprintf_chk.c: Likewise.
33309         * debug/vdprintf_chk.c: Likewise.
33310         * debug/vsnprintf_chk.c: Likewise.
33311         * debug/vsprintf_chk.c: Likewise.
33312         * malloc/mtrace.c: Likewise.
33313         * misc/error.c: Likewise.
33314         * misc/syslog.c: Likewise.
33315         * stdio-common/asprintf.c: Likewise.
33316         * stdio-common/fxprintf.c: Likewise.
33317         * stdio-common/getw.c: Likewise.
33318         * stdio-common/isoc99_fscanf.c: Likewise.
33319         * stdio-common/isoc99_scanf.c: Likewise.
33320         * stdio-common/isoc99_vfscanf.c: Likewise.
33321         * stdio-common/isoc99_vscanf.c: Likewise.
33322         * stdio-common/isoc99_vsscanf.c: Likewise.
33323         * stdio-common/printf-prs.c: Likewise.
33324         * stdio-common/printf_fp.c: Likewise.
33325         * stdio-common/printf_fphex.c: Likewise.
33326         * stdio-common/printf_size.c: Likewise.
33327         * stdio-common/putw.c: Likewise.
33328         * stdio-common/scanf.c: Likewise.
33329         * stdio-common/sprintf.c: Likewise.
33330         * stdio-common/tmpfile.c: Likewise.
33331         * stdio-common/vfprintf.c: Likewise.
33332         * stdio-common/vfscanf.c: Likewise.
33333         * stdlib/strfmon_l.c: Likewise.
33334         * sunrpc/openchild.c: Likewise.
33335         * sunrpc/xdr_stdio.c: Likewise.
33336         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33337         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33338
33339 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33340
33341         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33342
33343         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33344         in the third column, to generate for the shared library an IFUNC
33345         that uses _dl_vdso_vsym.
33346         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33347         * Makeconfig (object-suffixes-noshared): New variable.
33348
33349         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33350         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33351         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33352         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33353
33354         [BZ #14132]
33355         * include/sys/time.h (__gettimeofday): Remove macro.
33356         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33357         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33358         Remove INTDEF.
33359         (__gettimeofday): Add libc_hidden_def.
33360         (gettimeofday): Add libc_hidden_weak.
33361         * sysdeps/mach/gettimeofday.c: Likewise.
33362         * sysdeps/posix/gettimeofday.c: Likewise.
33363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33364         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33365         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33366         (__gettimeofday_internal): Remove strong_alias.
33367         (__gettimeofday): Add libc_hidden_def.
33368         (gettimeofday): Add libc_hidden_weak.
33369         * sysdeps/unix/syscalls.list (gettimeofday):
33370         Remove __gettimeofday_internal alias.
33371
33372 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33373             H.J. Lu  <hongjiu.lu@intel.com>
33374
33375         [BZ #12495]
33376         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33377         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33378         (largebin_index_32_big): New.
33379         (largebin_index): Use it for 16-byte alignment.
33380         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33381         correction with front_misalign.
33382
33383 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33384
33385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33387         Likewise.
33388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33389         Likewise.
33390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33391         Likewise.
33392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33393         Likewise.
33394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33395         Likewise.
33396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33397         Likewise.
33398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33399         Likewise.
33400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33401         Likewise.
33402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33403         Likewise.
33404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33405         Likewise.
33406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33407         Likewise.
33408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33409         Likewise.
33410
33411         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33412         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33413
33414 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33415
33416         [BZ #10846]
33417         [BZ #14036]
33418         * math/libm-test.inc (exp_test): Add test from bug 14036.
33419         (pow_test): Add test from bug 10846.
33420
33421         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33422         and other flags.
33423         (special_function): Do not include flags in test name.
33424         (parse_args): Likewise.
33425         * sysdeps/i386/fpu/libm-test-ulps: Update.
33426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33428         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33430
33431         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33432         exceptions.
33433         * math/libm-test.inc ("Philosophy"): Update comment about
33434         exception testing.
33435         (UNDERFLOW_EXCEPTION): New macro.
33436         (UNDERFLOW_EXCEPTION_OK): Likewise.
33437         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33438         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33439         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33440         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33441         (INVALID_EXCEPTION_OK): Update value.
33442         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33443         (OVERFLOW_EXCEPTION_OK): Likewise.
33444         (IGNORE_ZERO_INF_SIGN): Likewise.
33445         (test_exceptions): Handle underflow exceptions.
33446         (acos_test): Update for underflow exception expectations.
33447         (cexp_test): Likewise.
33448         (clog_test): Likewise.
33449         (clog10_test): Likewise.
33450         (csqrt_test): Likewise.
33451         (ctan_test): Likewise.
33452         (ctanh_test): Likewise.
33453         (exp_test): Likewise.
33454         (exp10_test): Likewise.
33455         (exp2_test): Likewise.
33456         (expm1_test): Likewise.
33457         (fma_test): Likewise.
33458         (j0_test): Likewise.
33459         (jn_test): Likewise.
33460         (nexttoward_test): Likewise.
33461         (pow_test): Likewise.
33462         (scalbn_test): Likewise.
33463         (scalbln_test): Likewise.
33464         (tan_test): Likewise.
33465         (y1_test): Likewise.
33466         * sysdeps/i386/fpu/libm-test-ulps: Update.
33467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33468
33469 2012-05-23  David S. Miller  <davem@davemloft.net>
33470
33471         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33472         (__libc_sigaction): Remove unused local variables.
33473
33474 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33475
33476         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33477
33478 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33479
33480         mktime: avoid signed integer overflow
33481         * time/mktime.c (__mktime_internal): Do not mishandle the case
33482         where diff == INT_MIN.
33483
33484         mktime: simplify computation of average
33485         * time/mktime.c (ranged_convert): Use new time_t_avg function
33486         instead of rolling our own (probably-slower) code.
33487
33488         mktime: do not assume signed right shift propagates sign bit
33489         * time/mktime.c (isdst_differ): New static function.
33490         (__mktime_internal): No need to normalize tm_isdst now.
33491         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33492         tm_isdst values.
33493
33494         mktime: merge another wrapv change from gnulib
33495         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33496         from some compilers.
33497
33498         mktime: remove incorrect attempt at unusual arithmetics
33499         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33500         The code didn't really work on such machines anyway.
33501         (TYPE_MINIMUM): Assume two's complement.
33502         (twos_complement_arithmetic): Verify that long_int and time_t
33503         are two's complement (or unsigned, in the latter case).
33504
33505         mktime: check signed shifts on long_int and time_t, too
33506         * time/mktime.c (SHR): Check that shifts work as desired
33507         on the types long_int and time_t too, as SHR is used on
33508         such types.
33509
33510         mktime: do not assume 'long' is wide enough
33511         * time/mktime.c (verify): Move decl up.
33512         (long_int): New type.
33513         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33514         to remove assumption in the code that 'long' is wide enough to
33515         store year values.  This assumption is not true on x32 and on
33516         some non-glibc platforms.
33517
33518         mktime: merge wrapv change from gnulib
33519         * time/mktime.c (WRAPV): New macro.
33520         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33521         (guess_time_tm, __mktime_internal): Do not assume that signed
33522         integer overflow wraps around; modern compilers generate code
33523         where this assumption is no longer valid.
33524
33525 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33526
33527         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33528         Replace "jmp L(pseudo_end)" with "ret".
33529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33530         Likewise.
33531
33532 2012-05-23  Andreas Jaeger  <aj@suse.de>
33533
33534         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33535         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33536
33537 2012-05-23  Andreas Jaeger  <aj@suse.de>
33538             Maximilian Attems  <max@stro.at>
33539
33540         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33541         New macros.
33542
33543 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33544
33545         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33546         code so that pseudo_end is just ret and the stack pointer is
33547         correct also for static library in error case.
33548
33549 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33550
33551         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33552         move to syscalls.list.
33553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33557
33558         * manual/install.texi (Running make install): Do not mention Linux
33559         kernel version for which pt_chown is not needed.
33560         (Linux): Do not mention problems with nscd with 2.0 kernels.
33561         * INSTALL: Regenerated.
33562
33563 2012-05-23  Andreas Jaeger  <aj@suse.de>
33564
33565         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33566         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33567         macro.
33568         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33569         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33570         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33572         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33574         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33576         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33578         * sysdeps/unix/sysv/linux/bits/in.h
33579         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33580
33581 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33582
33583         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33584         (PREPARE_VERSION): Just use assert instead, it will be elided
33585         under [NDEBUG] anyway.
33586
33587 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33588
33589         * sysdeps/unix/sysv/linux/Makefile: Include
33590         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33591         (sysdep_routines): Remove sysctl.
33592         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33593         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33594         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33595         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33596         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33597
33598 2012-05-22  Andreas Jaeger  <aj@suse.de>
33599
33600         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33601         that pseudo_end is just ret and the stack pointer is correct also
33602         for static library in error case.
33603
33604 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33605
33606         [BZ #14122]
33607         * nss/nsswitch.c (defconfig_entries): New variable.
33608         (__nss_database_lookup): Don't leak defconfig entries.
33609         (nss_parse_service_list): Don't leak on error paths.
33610         (free_database_entries): New function.
33611         (free_defconfig): New function.
33612         (free_mem): Move common code to free_database_entries.
33613
33614 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33615
33616         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33617         Add arch_prctl.
33618         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33619
33620         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33621         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33623         New macro.
33624         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33625         (INTERNAL_SYSCALL_TYPES): Likewise.
33626         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33627         (LOAD_REGS_TYPES_[1-6]): Likewise.
33628         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33629         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33630
33631 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33632
33633         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33634         copysignl for GLIBC_2_0.
33635         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33636         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33638         logbl for GLIBC_2_0.
33639         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33640         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33641
33642 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33643
33644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33645         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33646
33647         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33648         Use "neg %eax".
33649
33650         * time/mktime.c: Update copyright years.
33651
33652 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33653
33654         mktime: merge comment-quoting-style change from gnulib
33655         * time/mktime.c: Quote 'like this' in comments.
33656         The GNU coding standards suggest that we no longer quote `like this',
33657         as "`" and "'" are typically rendered asymmetrically nowadays.
33658         The typical gnulib style is to quote 'like this' when quoting
33659         code, and "like this" when quoting English.
33660
33661         * time/mktime.c (compile-command): Add "-I.".
33662
33663         mktime: merge mktime-internal.h change from gnulib
33664         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33665
33666         mktime: merge time_r change from gnulib
33667         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33668
33669         mktime: merge DEBUG change from gnulib
33670         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33671         case system <time.h> has a #define.
33672
33673         mktime: merge <sys/types.h> change from gnulib
33674         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33675         since <time.t> is now guaranteed to define time_t.
33676
33677         mktime: merge HAVE_CONFIG_H change from gnulib
33678         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33679
33680 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33681
33682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33683         Use "neg %eax".
33684
33685         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33686         __rlim_t cast.
33687         (struct rusage): Use anonymous union to pad each field to
33688         __syscall_slong_t.
33689
33690 2012-05-21  David S. Miller  <davem@davemloft.net>
33691
33692         * Makefules (o-iterator): Remove .s cases.
33693         (compile-command.s): Delete.
33694         (COMPILE.s): Delete.
33695         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33696
33697 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33698
33699         * configure.in (libc_cv_predef_stack_protector): Only consider
33700         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33701         * configure: Regenerated.
33702
33703 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33704
33705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33706         New macro.  Use R*LP on int and pointer.
33707         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33708         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33709         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33710         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33711
33712         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33713         [__WORDSIZE_TIME64_COMPAT32] instead of
33714         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33715         (struct utmp): Likewise.
33716         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33717         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33718         Renamed to ...
33719         (__WORDSIZE_TIME64_COMPAT32): This.
33720         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33721         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33722         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33723         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33724         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33725         (__WORDSIZE_TIME64_COMPAT32): New macro.
33726
33727 2012-05-21  Andreas Jaeger  <aj@suse.de>
33728
33729         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33730         only if [SHARED]. Add prototype for __wcschr_ia32.
33731
33732 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33733
33734         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33735         of %rbp unmolested in the jmp_buf while mangling the low bits.
33736         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33737         unmolested high bits of %rbp while demangling the low bits.
33738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33739
33740 2012-05-21  Andreas Jaeger  <aj@suse.de>
33741
33742         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33743         * sunrpc/svc_simple.c: Use it for registerrpc.
33744         * sunrpc/xcrypt.c: Use it for passwd2des.
33745
33746         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33747
33748 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33749
33750         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33751         Don't define if [__SYSCALL_WORDSIZE != 32].
33752         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33753         New macro.
33754
33755 2012-05-21  Bruno Haible  <bruno@clisp.org>
33756             Andreas Jaeger  <aj@suse.de>
33757
33758         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33759         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33760         inptr and inend for must_buffer_ch.
33761         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33762         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33763         * stdio-common/Makefile (tests): Remove bug15.
33764         (bug15-ENV): Remove macro.
33765         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33766         anymore.
33767
33768 2012-05-19  Andreas Jaeger  <aj@suse.de>
33769             Roland McGrath  <roland@hack.frob.com>
33770
33771         * manual/contrib.texi: Completely rewritten. It contains now an
33772         alphabetical list of contributors and their contributions.
33773
33774 2012-05-21  Richard Henderson  <rth@twiddle.net>
33775
33776         * misc/getauxval.c (__getauxval): Use unsigned long int.
33777         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33778         (getauxval): Use unsigned long int.
33779
33780 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33781
33782         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33783
33784 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33785
33786         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33787         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33788         __alignof__ (long double).
33789
33790 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33791
33792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33793
33794 2012-05-20  Richard Henderson  <rth@twiddle.net>
33795
33796         * misc/getauxval.c: New file.
33797         * misc/sys/auxv.h: New file.
33798         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33799         (routines): Add getauxval.
33800         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33802         * elf/dl-sysdep.c (_dl_auxv): Remove.
33803         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33804         * elf/dl-support.c (_dl_auxv): New variable.
33805         (_dl_aux_init): Initialize it.
33806         * manual/startup.texi (Auxiliary Vector): New node.
33807         * sysdeps/generic/bits/hwcap.h: New file.
33808         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33809         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33810         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33811         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33812         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33815         Update.
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33819         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33824
33825 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33826
33827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33828
33829 2012-05-19  David S. Miller  <davem@davemloft.net>
33830
33831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33832
33833 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33834
33835         [BZ #14123]
33836         * math/s_ccosh.c: Include <float.h>
33837         (__ccosh): Avoid internal overflow calculating sinh and cosh
33838         values before multiplying by sin and cos values.
33839         * math/s_ccoshf.c: Likewise.
33840         * math/s_ccoshl.c: Likewise.
33841         * math/s_csin.c: Likewise.
33842         * math/s_csinf.c: Likewise.
33843         * math/s_csinl.c: Likewise.
33844         * math/s_csinh.c: Likewise.
33845         * math/s_csinhf.c: Likewise.
33846         * math/s_csinhl.c: Likewise.
33847         * math/libm-test.inc (ccos_test): Add more tests.
33848         (ccosh_test): Likewise.
33849         (csin_test): Likewise.
33850         (csinh_test): Likewise.
33851         * sysdeps/i386/fpu/libm-test-ulps: Update.
33852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33853
33854 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33855
33856         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33857         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33858
33859         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33860
33861 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33862
33863         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33864         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33865         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33866         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33867         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33868         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33869         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33870         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33871         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33872         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33873         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33874         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33875         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33876         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33877         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33878         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33879         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33880         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33881         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33882         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33883         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33884         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33885         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33886         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33887         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33888         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33889         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33890         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33891         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33892         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33893         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33894
33895 2012-05-18  Andreas Jaeger  <aj@suse.de>
33896
33897         * csu/.gitignore: Delete.
33898
33899 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33902         (timex): Use __syscall_slong_t.
33903
33904 2012-05-18  Andreas Jaeger  <aj@suse.de>
33905             Carlos O'Donell  <carlos_odonell@mentor.com>
33906
33907         * manual/install.texi (Configuring and compiling): Update
33908         description about files modified in the source directory.
33909         * INSTALL: Regenerated.
33910
33911 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33912
33913         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33914         value.  Use "or" to set return value to -1.
33915         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33916         negate return value.
33917
33918 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33919
33920         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33921         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33922         failure if the compiler has Graphite support disabled.
33923         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33924         Likewise.
33925         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33926         (CFLAGS-memmove.c): Likewise.
33927         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33928         Likewise.
33929
33930 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33931
33932         * sysdeps/x86_64/x32/_itoa.h: New file.
33933
33934         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33935         getdents system call only if kernel and user dirents have the
33936         same d_ino and d_off.
33937
33938         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33939         LLONG_MAX != LONG_MAX.
33940         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33941         (_fitoa_word): Likewise.
33942
33943         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33944         years.
33945         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33946         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33947         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33948
33949         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33950         include <bits/wordsize.h>.  Check __x86_64__ instead of
33951         __WORDSIZE.
33952         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33953         if __x86_64__ is defined.  Use anonymous union on fpstate.
33954
33955         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33956         anonymous union.
33957
33958 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33959
33960         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33961         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33962         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33963         Refer to _rtld_local_ro instead of _rtld_global_ro.
33964         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33965         Likewise.
33966         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33967         Likewise.
33968         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33969         Likewise.
33970         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33971         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33972         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33973
33974         * sysdeps/powerpc/powerpc32/dl-machine.c
33975         (__elf_machine_runtime_setup) [PROF]: Don't reference
33976         _dl_prof_resolve.
33977
33978 2012-05-18  Andreas Jaeger  <aj@suse.de>
33979
33980         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33981         function only available for GCCs before 3.4 since GCC 3.4
33982         introduced a builtin.
33983         (lrint): Likewise.
33984         (llrintf): Likewise.
33985         (llrint): Likewise.
33986         (fmaxf): Likewise.
33987         (fmax): Likewise.
33988         (fminf): Likewise.
33989         (fmin): Likewise.
33990         (rint): Likewise.
33991         (rintf): Likewise.
33992         (nearbyint): Likewise.
33993         (nearbyintf): Likewise.
33994         (ceil): Likewise.
33995         (ceilf): Likewise.
33996         (floor): Likewise.
33997         (floorf): Likewise.
33998
33999 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34000
34001         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34002         on both fields and cast pointer to __syscall_ulong_t.
34003
34004         * bits/types.h (__fsword_t): New type.
34005         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34006         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34008         (__FSWORD_T_TYPE): Likewise.
34009         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34010         (__FSWORD_T_TYPE): Likewise.
34011         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34012         (__FSWORD_T_TYPE): Likewise.
34013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34014         (__FSWORD_T_TYPE): Likewise.
34015         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34016         __SWORD_TYPE with __fsword_t.
34017         (statfs64): Likewise.
34018
34019 2012-05-17  David S. Miller  <davem@davemloft.net>
34020
34021         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34022
34023 2012-05-17  Andreas Jaeger  <aj@suse.de>
34024
34025         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34026         warning.
34027
34028 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34029
34030         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34031
34032 2012-05-17  Andreas Jaeger  <aj@suse.de>
34033
34034         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34035         when it is used.
34036
34037 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34038
34039         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34040
34041 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34042
34043         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34044         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34045
34046 2012-05-17  Andreas Jaeger  <aj@suse.de>
34047             Carlos O'Donell  <carlos_odonell@mentor.com>
34048
34049         [BZ #14059]
34050         * sysdeps/x86_64/multiarch/init-arch.h
34051         (bit_YMM_Usable): Rename to...
34052         (bit_AVX_Usable): ... this.
34053         (bit_FMA4_Usable): New macro.
34054         (bit_XMM_state): New macro.
34055         (bit_YMM_state): New macro.
34056         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34057         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34058         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34059         (CPUID_OSXSAVE): New macro.
34060         (CPUID_AVX): New macro.
34061         (CPUID_FMA4): New macro.
34062         (index_YMM_Usable): Rename to...
34063         (index_AVX_Usable): ... this.
34064         (HAS_AVX): Use HAS_ARCH_FEATURE.
34065         (HAS_FMA4): Likewise.
34066         (HAS_YMM_USABLE): Remove.
34067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34068         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34069         are present.
34070         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34071         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34072         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34073         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34074         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34075
34076 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34077
34078         * math/libm-test.c: Support platforms without multiple rounding modes.
34079         * math/bug-nextafter.c: Support platforms without FP exceptions.
34080         * math/bug-nexttoward.c: Likewise.
34081         * math/test-fenv.c: Likewise.
34082         * math/test-misc.c: Likewise.
34083         * stdlib/bug-getcontext.c: Likewise.
34084
34085 2012-05-17  Andreas Jaeger  <aj@suse.de>
34086
34087         * manual/examples/search.c (critter_cmp): Change signature to
34088         avoid warnings.
34089         * manual/string.texi (Collation Functions): Likewise.
34090
34091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34092
34093         * bits/types.h: Fold copyright years.
34094         * bits/typesizes.h: Likewise.
34095         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34099         * time/time.h: Likewise.
34100
34101 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34102
34103         [BZ #208]
34104         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34105         in instead of returning them.  Return void.
34106         (__libc_mallinfo): Accumulate over all arenas.
34107         (__malloc_stats): Adjust for change in int_mallinfo interface.
34108
34109 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34110
34111         [BZ #10375]
34112         * configure.in (NM): Add AC_CHECK_TOOL for it.
34113         (libc_extra_cflags): New substituted variable.
34114         Check for -fstack-protector being used implicitly.
34115         * configure: Regenerated.
34116         * config.make.in (config-extra-cflags): New variable,
34117         gets @libc_extra_cflags@.
34118         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34119
34120         [BZ #10375]
34121         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34122         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34123         * configure: Regenerated.
34124         * config.make.in (CPPUNDEFS): New substituted variable.
34125         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34126         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34127         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34128
34129 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34130
34131         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34132         (mq_attr): Use __syscall_slong_t.
34133
34134 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34135
34136         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34137         Check __x86_64__ instead of __WORDSIZE.
34138         (_STAT_VER_LINUX): Likewise.
34139         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34140         __syscall_ulong_t and __syscall_slong_t.
34141         (stat64): Likewise.
34142
34143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34144
34145         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34146
34147 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34148
34149         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34150
34151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34152
34153         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34154         __syscall_ulong_t.
34155
34156         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34157         include <bits/wordsize.h>.  Check __x86_64__ instead of
34158         __WORDSIZE.
34159         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34160         defined.
34161         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34162
34163         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34164         include <bits/wordsize.h>.  Check __x86_64__ instead of
34165         __WORDSIZE.
34166         (user_regs_struct): Use "__extension__ unsigned long long"
34167         instead of "unsigned long" if __x86_64__ is defined.
34168         (user): Likewise.  Pad after pointer field if __ILP32__ is
34169         defined.
34170
34171 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34172
34173         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34174         versions 5 to 9.
34175         * configure: Regenerated.
34176         * manual/install.texi (texinfo): Increase version requirement to
34177         4.5 or later.
34178         * INSTALL: Regenerated.
34179
34180         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34181
34182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34183
34184         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34185
34186         * sysdeps/x86_64/x32/ffs.c: New file.
34187
34188         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34189         __syscall_ulong_t.
34190         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34191         defined.  Use __syscall_ulong_t.
34192         (shminfo): Use __syscall_ulong_t.
34193         (shm_info): Likewise.
34194
34195         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34196         __syscall_ulong_t.
34197
34198         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34199         <bits/wordsize.h>.
34200         (msgqnum_t): Use __syscall_ulong_t.
34201         (msglen_t): Likewise.
34202         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34203         __syscall_ulong_t.
34204
34205         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34207
34208         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34209
34210         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34211         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34212
34213         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34214         __syscall_slong_t.
34215
34216         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34217         include <bits/wordsize.h>.  Check __x86_64__ instead of
34218         __WORDSIZE.
34219
34220         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34221         "unsigned long long int" if __x86_64__ is defined.
34222         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34223
34224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34225         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34226         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34227
34228         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34229         <stdint.h>.
34230         (GET_PC): Cast to uintptr_t first.
34231         (GET_FRAME): Likewise.
34232         (GET_STACK): Likewise.
34233
34234         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34236         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34237         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34238         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34239         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34240         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34241         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34242         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34243         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34245         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34247         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34251         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34252         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34253         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34254         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34255         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34257         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34259         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34260         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34263
34264 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34265
34266         * Makerules (+depfiles): Also collect depfiles from .oS in
34267         $(extra-objs).
34268         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34269         .oS, $(libnldbl-routines)).
34270
34271         * Makerules (native-compile-mkdep-flags): Define.
34272         * sunrpc/Makefile (extra-objs): Add $(addprefix
34273         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34274         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34275         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34276         calling $(make-target-directory).
34277
34278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34279
34280         * bits/types.h (__snseconds_t): Removed.
34281         * time/time.h (struct timespec): Replace __snseconds_t with
34282         __syscall_slong_t.
34283         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34284         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34285         Likewise.
34286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34287         (__SNSECONDS_T_TYPE): Likewise.
34288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34289         (__SNSECONDS_T_TYPE): Likewise.
34290         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34291         (__SNSECONDS_T_TYPE): Likewise.
34292
34293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34294
34295         * sysdeps/mach/hurd/bits/typesizes.h
34296         (__SYSCALL_SLONG_TYPE): New macro.
34297         (__SYSCALL_ULONG_TYPE): Likewise.
34298
34299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34300
34301         * bits/types.h (__syscall_slong_t): New type.
34302         (__syscall_ulong_t): Likewise.
34303
34304         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34305         (__SYSCALL_ULONG_TYPE): Likewise.
34306         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34307         (__SYSCALL_SLONG_TYPE): Likewise.
34308         (__SYSCALL_ULONG_TYPE): Likewise.
34309         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34310         (__SYSCALL_SLONG_TYPE): Likewise.
34311         (__SYSCALL_ULONG_TYPE): Likewise.
34312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34313         (__SYSCALL_SLONG_TYPE): Likewise.
34314         (__SYSCALL_ULONG_TYPE): Likewise.
34315
34316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34317
34318         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34319         Add sigaltstack-offsets.sym.
34320         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34321         <sigaltstack-offsets.h>.
34322         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34323         longjmp_msg pointer.
34324         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34325         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34326         signal stack.
34327         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34328
34329 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34330
34331         * elf/stackguard-macros.h: Remove file.
34332         * sysdeps/generic/stackguard-macros.h: New file.
34333         * sysdeps/i386/stackguard-macros.h: Likewise.
34334         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34335         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34336         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34337         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34338         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34339         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34340         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34341         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34342         <elf/stackguard-macros.h>.
34343
34344         [BZ #14109]
34345         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34346         __aligned__ in attribute.
34347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34348         (gregset_t): Likewise.
34349
34350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34351
34352         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34353         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34354         * sysdeps/x86_64/x32/Implies-after: New file.
34355
34356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34357
34358         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34359         and access return value for _dl_profile_fixup.  Use R10_LP to
34360         load frame size.
34361
34362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34363
34364         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34365
34366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34367
34368         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34369         * sysdeps/x86_64/x32/sysdep.h: New file.
34370
34371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34372
34373         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34374         * sysdeps/x86_64/setjmp.S: Likewise.
34375
34376 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34377
34378         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34380         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34381         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34382         remove unused global constant.
34383
34384 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34385
34386         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34387         include of <not-cancel.h>.
34388
34389 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34390
34391         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34392
34393 2012-05-15  Jeff Law  <law@redhat.com>
34394             Andreas Jaeger  <aj@suse.de>
34395
34396         [BZ #13594]
34397         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34398         out from...
34399         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34400         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34402         code changing __hst_map_handle.map.
34403
34404 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34405
34406         * configure.in (sysnames): Look for Implies-before and Implies-after
34407         files.
34408         * configure: Regenerated.
34409
34410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34411
34412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34413         8-byte data alignment with LP_SIZE alignment.
34414
34415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34416
34417         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34418         into R10_LP.
34419
34420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34421
34422         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34423
34424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34425
34426         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34427         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34428         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34429         Likewise.
34430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34431
34432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34433
34434         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34435         (stackinfo_sub_sp): Likewise.
34436
34437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34438
34439         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34440         RAX_LP.
34441
34442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34443
34444         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34445         into R*_LP.
34446
34447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34448
34449         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34450         sizes into R*_LP.
34451
34452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34453
34454         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34455
34456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34457
34458         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34459         into R11_LP and load __x86_64_shared_cache_size_half into
34460         R8_LP.
34461
34462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34463
34464         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34465         R8_LP.
34466
34467 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34468
34469         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34470         logb for POWER7.
34471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34472         logbf for POWER7.
34473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34474         logbl for POWER7.
34475         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34476         powerpc32/power7/fpu/s_logb.c via #include.
34477         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34478         powerpc32/power7/fpu/s_logbf.c via #include.
34479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34480         powerpc32/power7/fpu/s_logbl.c via #include.
34481
34482 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34483
34484         * README.libm: Remove file.
34485
34486 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34487
34488         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34489         count for x32.  Use R*_LP and omit operand-size suffix.
34490
34491 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34492
34493         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34494         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34495         * sysdeps/x86_64/x32/shlib-versions: New file.
34496
34497 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34498
34499         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34500         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34501         Use _dl_fatal_printf instead.
34502
34503 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34504
34505         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34506         set if not set by the user.  Do not allow for being unset.
34507         * sysdeps/unix/sysv/linux/configure: Regenerated.
34508
34509 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34510
34511         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34512         the `q' suffix from lea and replace .quad with ASM_ADDR.
34513
34514 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34515
34516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34517         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34518         instead of $17.
34519         (PTR_DEMANGLE): Likewise.
34520
34521 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34522
34523         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34524         (LP_OP): Likewise.
34525         (ASM_ADDR): Likewise.
34526         (RAX_LP): Likewise.
34527         (RBP_LP): Likewise.
34528         (RBX_LP): Likewise.
34529         (RCX_LP): Likewise.
34530         (RDI_LP): Likewise.
34531         (RSI_LP): Likewise.
34532         (RSP_LP): Likewise.
34533         (R8_LP): Likewise.
34534         (R9_LP): Likewise.
34535         (R10_LP): Likewise.
34536         (R10_LP): Likewise.
34537         (R11_LP): Likewise.
34538         (R12_LP): Likewise.
34539         (R13_LP): Likewise.
34540         (R14_LP): Likewise.
34541         (R15_LP): Likewise.
34542
34543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34544
34545         * sysdeps/x86_64/x32/dl-machine.h: New file.
34546
34547 2012-05-14  Andreas Jaeger  <aj@suse.de>
34548
34549         * manual/Makefile (subdir): Remove export of subdir.
34550         (all): Remove target.
34551         (.PHONY): Remove all from list.
34552         (mkinstalldirs): Remove.
34553         (.PHONY): Remove installdirs from list.
34554         ($(inst_infodir)/libc.info): Use make-target-directory.
34555         (installdirs): Remove.
34556         (subdir_%): Remove.
34557         (glibc-targets): Remove.
34558         (lib): Remove.
34559         (stubs): Remove.
34560         ($(objpfx)stubs ../po/manual.pot): Remove.
34561         ($(objpfx)stamp%): Remove.
34562         (make-target-directory): Remove.
34563         (subdir_install): Remove.
34564         (routines): Remove.
34565         (aux): Remove.
34566         (sources): Remove.
34567         (objects): Remove.
34568         (headers): Remove.
34569
34570         [BZ #13750]
34571         * manual/.gitignore: Remove, it's not needed anymore.
34572         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34573         all files in it.
34574         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34575         directory.
34576         (texis): Renamed to $(objpfx)texis.
34577         (texis-path): New, contains path to generated files.
34578         (chapters.%): Use texis-path for complete path, add extra argument
34579         libc-texinfo.sh.
34580         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34581         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34582         (summary,texi, stamp-summary): Use complete path of
34583         files. Generate files in build dir.
34584         (dir-add.texi): Build in build dir.
34585         (libm-err.texi,stamp-libm-err): Likewise.
34586         (version.texi, stamp-version): Likewise.
34587         (.%c.texi): Likewise.
34588         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34589         (mostlyclean): Remove target.
34590         (realclean): Remove target.
34591         (generated): Add new variable with contents from mostlyclean and
34592         realclean, remove entries duplicated in common-mostlyclean, add
34593         stamp-libm-err and stamp-version.
34594         (generated-dirs): Add libc directory.
34595         ($(inst_infodir)/libc.info): Install files from build dir.
34596
34597         * manual/install.texi (Configuring and compiling): Adjust since
34598         the info files are not part of the tar ball anymore.
34599
34600 2012-05-14  Andreas Jaeger  <aj@suse.de>
34601
34602         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34603         variable.
34604
34605 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34606
34607         [BZ #13717]
34608         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34609         to 2.2.0 where earlier.
34610         * sysdeps/unix/sysv/linux/configure: Regenerated.
34611         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34612         Remove conditional code.
34613         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34614         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34615         Remove conditional code.
34616         [!__NR_lchown]: Likewise.
34617         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34618         [__NR_lchown]: Likewise.
34619         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34620         comment referencing __ASSUME_LCHOWN_SYSCALL.
34621         * sysdeps/unix/sysv/linux/i386/sigaction.c
34622         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34623         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34624         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34625         Remove conditional code.
34626         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34627         (__protocol_available): Remove #if 0 code.
34628         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34629         conditional code.
34630         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34631         * sysdeps/unix/sysv/linux/kernel-features.h
34632         (__ASSUME_GETCWD_SYSCALL): Don't define.
34633         (__ASSUME_REALTIME_SIGNALS): Likewise.
34634         (__ASSUME_PREAD_SYSCALL): Likewise.
34635         (__ASSUME_PWRITE_SYSCALL): Likewise.
34636         (__ASSUME_POLL_SYSCALL): Likewise.
34637         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34638         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34639         non-SPARC.
34640         (__ASSUME_SIOCGIFNAME): Don't define.
34641         (__ASSUME_MSG_NOSIGNAL): Likewise.
34642         (__ASSUME_SENDFILE): Define unconditionally.
34643         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34644         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34645         conditional code.
34646         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34647         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34648         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34649         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34650         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34651         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34652         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34654         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34657         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34660         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34661         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34663         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34666         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34667         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34669         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34670         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34672         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34673         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34675         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34676         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34677         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34678         Remove conditional code.
34679         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34680         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34681         Remove conditional code.
34682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34683         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34684         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34685         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34686         Remove conditional code.
34687         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34688         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34689         Remove conditional code.
34690         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34691         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34692         Remove conditional code.
34693         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34694         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34695         Remove conditional code.
34696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34697         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34698         Remove conditional code.
34699         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34700         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34701         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34702         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34703         * sysdeps/unix/sysv/linux/sigaction.c
34704         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34705         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34706         * sysdeps/unix/sysv/linux/sigpending.c
34707         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34708         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34709         * sysdeps/unix/sysv/linux/sigprocmask.c
34710         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34711         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34712         * sysdeps/unix/sysv/linux/sigsuspend.c
34713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34715         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34716         (__libc_missing_rt_sigs): Remove.
34717         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34718         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34719         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34720         Remove conditional code.
34721         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34722         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34723         return 1.
34724         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34725         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34726         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34727         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34728
34729 2012-05-14  Andreas Jaeger  <aj@suse.de>
34730
34731         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34732         it's not used in glibc.
34733         (__coshm1): Likewise.
34734         (__acosh1p): Likewise.
34735         (__sgn): Likewise.
34736
34737         * manual/string.texi (Copying and Concatenation): Add missing
34738         variable in concat example.
34739         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34740
34741 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34742
34743         [BZ #14103]
34744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34745         __builtin_clzl with __builtin_clzll.
34746
34747 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34748
34749         [BZ #14104]
34750         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34751         libc_freeres_ptr.
34752
34753 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34754
34755         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34756         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34757         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34758         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34759
34760 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34761
34762         * NEWS: Update ia64 info.
34763
34764 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34765
34766         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34767         used as bcopy.
34768
34769 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34770
34771         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34772         * sysdeps/unix/syscalls.list (dup3): Likewise.
34773         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34774         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34775
34776 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34777
34778         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34779         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34780
34781 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34782
34783         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34784         thread pointer.
34785         (TLS_IE): Use mov/add instead of movq/addq to load thread
34786         pointer.
34787         (TLS_GD_PREFIX): New.
34788         (TLS_GD): Use it.
34789
34790 2012-05-11  David S. Miller  <davem@davemloft.net>
34791
34792         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34793         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34794         (_FPU_SETCW): Likewise.
34795
34796 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34797
34798         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34799         is 32-byte aligned.
34800
34801 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34802
34803         [BZ #11837]
34804         * iconvdata/gb18030.c: Update tables.
34805         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34806         characters specially.
34807         (BODY for TO_LOOP): Add encoding of missing ranges.
34808
34809 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34810
34811         [BZ #13673]
34812         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34813         * sysdeps/mach/hurd/dup3.c: Likewise.
34814         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34815         * sysdeps/powerpc/memmove.c:: Likewise.
34816
34817 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34818
34819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34820         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34821
34822 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34823
34824         * elf/elf.h (R_X86_64_RELATIVE64): New.
34825         (R_X86_64_NUM): Updated.
34826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34827         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34828         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34829         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34830         tst-quad1pie tst-quad2pie
34831         (modules-names): Add tst-quadmod1 tst-quadmod2.
34832         ($(objpfx)tst-quad1): New dependency.
34833         ($(objpfx)tst-quad2): Likewise.
34834         ($(objpfx)tst-quad1pie): Likewise.
34835         ($(objpfx)tst-quad2pie): Likewise.
34836         * sysdeps/x86_64/tst-quad1.c: New file.
34837         * sysdeps/x86_64/tst-quad1pie.c: New file.
34838         * sysdeps/x86_64/tst-quad2.c: Likewise.
34839         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34840         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34841         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34842         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34843         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34844
34845 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34846
34847         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34848         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34849         * streams/stropts.h (t_scalar_t): Define type.
34850
34851         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34852         (_PATH_PRESERVE): Set to "/var/lib".
34853         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34854
34855         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34856         instead of int.
34857
34858         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34859         if __dir_mkfile succeeded.
34860
34861         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34862         checking for _hurd_dtablesize.  Unlock it right after having
34863         finished _hurd_dtable allocation.
34864
34865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34866
34867         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34868         * sysdeps/mach/hurd/configure: Regenerated.
34869         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34870         special-casing to...
34871         * sysdeps/gnu/configure.in: ... this new file.
34872         * sysdeps/unix/sysv/linux/configure: Regenerated.
34873         * sysdeps/gnu/configure: New generated file.
34874
34875         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34876         for Linux: use nsec instead of usec, as well as:
34877         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34878         members of type struct timespec.
34879         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34880         New macros.
34881         (struct stat64): Likewise.
34882         (_STATBUF_ST_NSEC): New macro.
34883         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34884
34885         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34886         __strtoul_internal rather than strtoul.
34887
34888 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34889
34890         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34891         and reject them.
34892
34893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34894
34895         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34896         which preserves existing values.
34897         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34898
34899 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34900
34901         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34902         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34903         greater than FD_SETSIZE.
34904
34905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34906
34907         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34908         allocated, call __vm_protect to finish enabling the existing space, and
34909         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34910         allocate the remainder.
34911
34912 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34913
34914         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34915         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34916
34917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34918
34919         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34920         sysdeps/mach/hurd/readlink.c.
34921
34922         * posix/tst-sysconf.c (posix_options): Only use
34923         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34924         _POSIX_SYNCHRONIZED_IO when they are defined
34925         * sysdeps/mach/hurd/bits/posix_opt.h:
34926         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34927         (_XOPEN_REALTIME): Undefine macro.
34928         (_XOPEN_REALTIME_THREADS): Undefine macro.
34929         (_XOPEN_SHM): Undefine macro.
34930         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34931         macro to -1.
34932         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34933         macro to -1.
34934         (_POSIX_ASYNC_IO): Undefine macro.
34935         (_POSIX_PRIORITIZED_IO): Undefine macro.
34936         (_POSIX_SPIN_LOCKS): Define macro to -1.
34937
34938         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34939         SA_NODEFER, SA_RESETHAND.
34940         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34941         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34942         F_DUPFD_CLOEXEC.
34943
34944 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34945
34946         * elf/Makefile (pldd-modules): Define unconditionally.
34947
34948 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34949
34950         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34951
34952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34953
34954         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34955         Return ENOENT when name is empty.
34956         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34957
34958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34959
34960         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34961
34962         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34963
34964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34965
34966         Fix mlock in all cases except non-readable pages.
34967         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34968         instead of VM_PROT_ALL as parameter to __vm_wire function.
34969
34970         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34971         (__mkdir): When path is `/', just fail with EEXIST.
34972         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34973
34974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34975
34976         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34977         <sys/uio.h> (for writev).
34978         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34979         and <sys/param.h> (for MIN).
34980
34981 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34982
34983         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34984         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34985         if interrupted.
34986
34987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34988
34989         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34990         Depend on against $(link-rpcuserlibs).
34991
34992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34993
34994         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34995         (__libc_stack_end): Do not use attribute_relro.
34996         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34997         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34998         to libthread-provided value.
34999         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35000         attribute_relro.
35001
35002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35003
35004         [BZ #3748]
35005         * bits/libc-lock.h (__libc_once_get): New macro.
35006         * sysdeps/mach/bits/libc-lock.h: Likewise.
35007         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35009         instead of using implementation details.
35010
35011         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35012         * libio/freopen.c: Likewise.
35013         * libio/freopen64.c: Likewise.
35014         * misc/syslog.c: Likewise.
35015         * nscd/connections.c: Likewise.
35016         * nscd/netgroupcache.c: Likewise.
35017         * sysdeps/posix/getcwd.c: Likewise.
35018
35019 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35020
35021         * math/w_ilogbf.c: Add #include <limits.h>.
35022
35023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35024
35025         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35026         path instead of returning without unlocking.
35027
35028         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35029         immediate-write ioctls.
35030         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35031
35032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35033
35034         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35035         __builtin_frame_address instead of making assumptions about the
35036         location of the return address relative to DATA.  Force early load of
35037         the return address.
35038         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35039         __builtin_frame_address.
35040
35041         dup3 for GNU Hurd.
35042         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35043         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35044         implement dup3 and do some further code clean-ups.
35045         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35046         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35047
35048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35049
35050         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35051
35052         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35053         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35054         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35055         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35056         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35057         d->port.lock.
35058
35059         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35060         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35061         when handler == SIG_ERR, not when handler != SIG_ERR.
35062
35063 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35064
35065         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35066         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35067         definitions.
35068
35069         accept4 for GNU Hurd.
35070         * include/sys/socket.h (__libc_accept4): New prototype.
35071         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35072         to implement __libc_accept4.
35073         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35074         __libc_accept4.
35075         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35076
35077         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35078         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35079         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35080         signal-defines.sym.
35081
35082 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35083
35084         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35085
35086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35087
35088         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35089         assertion on O_CLOEXEC flag.
35090         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35091         * hurd/intern-fd.c: Likewise.
35092         * hurd/port2fd.c: Likewise.
35093
35094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35095
35096         [BZ #3906]
35097         * bits/in.h (IPV6_PKTINFO): Define new macro.
35098         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35099
35100 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35101
35102         [BZ #13954]
35103         [BZ #13955]
35104         [BZ #13956]
35105         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35106         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35107         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35108         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35109         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35110         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35111         * math/libm-test.inc (logb_test) : Additional logb tests.
35112
35113 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35114             Andreas Jaeger  <aj@suse.de>
35115
35116         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35117         * configure: Regenerated.
35118         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35119         * config.make.in (link-obsolete-rpc): New substituted variable.
35120         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35121         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35122         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35123         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35124         so that libc.a contains the symbols.
35125         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35126         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35127         * sunrpc/auth_none.c: Likewise.
35128         * sunrpc/auth_unix.c: Likewise.
35129         * sunrpc/authdes_prot.c: Likewise.
35130         * sunrpc/authuxprot.c: Likewise.
35131         * sunrpc/clnt_gen.c: Likewise.
35132         * sunrpc/clnt_perr.c: Likewise.
35133         * sunrpc/clnt_raw.c: Likewise.
35134         * sunrpc/clnt_simp.c: Likewise.
35135         * sunrpc/clnt_tcp.c: Likewise.
35136         * sunrpc/clnt_udp.c: Likewise.
35137         * sunrpc/clnt_unix.c: Likewise.
35138         * sunrpc/des_crypt.c: Likewise.
35139         * sunrpc/des_soft.c: Likewise.
35140         * sunrpc/get_myaddr.c: Likewise.
35141         * sunrpc/key_call.c: Likewise.
35142         * sunrpc/key_prot.c: Likewise.
35143         * sunrpc/netname.c: Likewise.
35144         * sunrpc/pm_getmaps.c: Likewise.
35145         * sunrpc/pm_getport.c: Likewise.
35146         * sunrpc/pmap_clnt.c: Likewise.
35147         * sunrpc/pmap_prot.c: Likewise.
35148         * sunrpc/pmap_prot2.c: Likewise.
35149         * sunrpc/pmap_rmt.c: Likewise.
35150         * sunrpc/publickey.c: Likewise.
35151         * sunrpc/rpc_cmsg.c: Likewise.
35152         * sunrpc/rpc_common.c: Likewise.
35153         * sunrpc/rpc_dtable.c: Likewise.
35154         * sunrpc/rpc_prot.c: Likewise.
35155         * sunrpc/rpc_thread.c: Likewise.
35156         * sunrpc/rtime.c: Likewise.
35157         * sunrpc/svc.c: Likewise.
35158         * sunrpc/svc_auth.c: Likewise.
35159         * sunrpc/svc_raw.c: Likewise.
35160         * sunrpc/svc_run.c: Likewise.
35161         * sunrpc/svc_tcp.c: Likewise.
35162         * sunrpc/svc_udp.c: Likewise.
35163         * sunrpc/svc_unix.c: Likewise.
35164         * sunrpc/svcauth_des.c: Likewise.
35165         * sunrpc/xcrypt.c: Likewise.
35166         * sunrpc/xdr.c: Likewise.
35167         * sunrpc/xdr_array.c: Likewise.
35168         * sunrpc/xdr_float.c: Likewise.
35169         * sunrpc/xdr_intXX_t.c: Likewise.
35170         * sunrpc/xdr_mem.c: Likewise.
35171         * sunrpc/xdr_rec.c: Likewise.
35172         * sunrpc/xdr_ref.c: Likewise.
35173         * sunrpc/xdr_sizeof.c: Likewise.
35174         * sunrpc/xdr_stdio.c: Likewise.
35175
35176 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35177
35178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35179         change.  Update copyright years.
35180
35181 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35182
35183         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35184
35185 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35186             Joseph Myers  <joseph@codesourcery.com>
35187             Paul Pluzhnikov  <ppluzhnikov@google.com>
35188
35189         [BZ #14012]
35190         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35191         requiring rpcgen.
35192         [cross-compiling] (extra-libs): Likewise.
35193         [cross-compiling] (extra-libs-others): Likewise.
35194         [cross-compiling] (librpcsvc-routines): Likewise.
35195         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35196         [cross-compiling] (omit-deps): Likewise.
35197         (sunrpc-CPPFLAGS): New variable.
35198         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35199         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35200         (cross-rpcgen-objs): New variable.
35201         (extra-objs): Append $(cross-rpcgen-objs).
35202         ($(cross-rpcgen-objs)): New rule.
35203         ($(objpfx)cross-rpcgen): Likewise.
35204         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35205         comment.
35206         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35207         ($(objpfx)x%.stmp): Likewise.
35208         * sunrpc/proto.h [IS_IN_build] (_): Define.
35209         [IS_IN_build] (_libc_intl_domainname): Likewise.
35210
35211 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35212
35213         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35214         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35215         and R_X86_64_TPOFF64.
35216
35217 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35218
35219         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35220         sysdeps/unix/sysv/syscalls.list.
35221         (stime): Likewise.
35222         (utime): Likewise.
35223         * sysdeps/unix/sysv/syscalls.list: Remove file.
35224
35225 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35226
35227         [BZ #3440]
35228         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35229         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35230         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35231         (__LC_IDENTIFICATION): Make these macros useful in #if
35232         expressions, as required by C99.
35233
35234 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35235
35236         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35237         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35238         after this.
35239
35240 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35241
35242         * stdlib/longlong.h: Updated from GCC.
35243
35244 2012-05-09  Andreas Jaeger  <aj@suse.de>
35245
35246         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35247         default is first entry.
35248         (run_mode): Set type.
35249         (main): Remove informal message about syslog.
35250         (options): Fix typo.
35251
35252         [BZ #14053]
35253         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35254         to asm.
35255         (lrint): Likewise.
35256         (llrintf): Likewise.
35257         (llrint): Likewise.
35258         (rint): Likewise.
35259         (rintf): Likewise.
35260         (nearbyint): Likewise.
35261         (nearbyintf): Likewise.
35262
35263 2012-05-09  Andreas Jaeger  <aj@suse.de>
35264             Pedro Alves  <palves@redhat.com>
35265
35266         * nscd/nscd.c (run_mode): Use enum.
35267         (main): Cleanup coding style issue.
35268
35269 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35270             Andreas Jaeger  <aj@suse.de>
35271
35272         * nscd/nscd.c (go_background): Replaced with...
35273         (run_mode): ... this.
35274         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35275         (options): Add -F --foreground.
35276         (main): Implement it.
35277         (parse_opt): Parse it.
35278
35279 2012-05-09  Andreas Jaeger  <aj@suse.de>
35280
35281         [BZ #14083]
35282         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35283         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35284         -Wconversion warning.
35285         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35286         Likewise.
35287
35288 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35289
35290         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35291         == 0.
35292         (LC_ALL): Use macro-int-constant.
35293         (LC_COLLATE): Likewise.
35294         (LC_CTYPE): Likewise.
35295         (LC_MESSAGES): Likewise.
35296         (LC_MONETARY): Likewise.
35297         (LC_NUMERIC): Likewise.
35298         (LC_TIME): Likewise.
35299         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35300         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35302         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35303         Specify type.
35304         [C99-based standards] (float_t): Expect type.
35305         [C99-based standards] (double_t): Expect type.
35306         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35307         type.
35308         [C99-based standards] (HUGE_VALL): Likewise.
35309         [C99-based standards] (INFINITY): Likewise.
35310         [C99-based standards] (NAN): Likewise.
35311         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35312         [C99-based standards] (FP_NAN): Likewise.
35313         [C99-based standards] (FP_NORMAL): Likewise.
35314         [C99-based standards] (FP_SUBNORMAL): Likewise.
35315         [C99-based standards] (FP_ZERO): Likewise.
35316         [C99-based standards] (FP_FAST_FMA): Use
35317         optional-macro-int-constant.  Specify type.  Require == 1.
35318         [C99-based standards] (FP_FAST_FMAF): Likewise.
35319         [C99-based standards] (FP_FAST_FMAL): Likewise.
35320         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35321         [C99-based standards] (FP_ILOGBNAN): Likewise.
35322         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35323         Specify type.
35324         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35325         [C99-based standards] (math_errhandling): Specify type.
35326         [ISO99 || ISO11] (signgam): Do not allow.
35327         [non-C99-based standards] (copysignf): Do not allow.
35328         [non-C99-based standards] (exp2f): Likewise.
35329         [non-C99-based standards] (log2f): Likewise.
35330         [non-C99-based standards] (modff): Allow.
35331         [non-C99-based standards] (erff): Do not allow.
35332         [non-C99-based standards] (erfcf): Likewise.
35333         [non-C99-based standards] (gammaf): Likewise.
35334         [non-C99-based standards] (hypotf): Likewise.
35335         [non-C99-based standards] (j0f): Likewise.
35336         [non-C99-based standards] (j1f): Likewise.
35337         [non-C99-based standards] (jnf): Likewise.
35338         [non-C99-based standards] (lgammaf): Likewise.
35339         [non-C99-based standards] (tgammaf): Likewise.
35340         [non-C99-based standards] (y0f): Likewise.
35341         [non-C99-based standards] (y1f): Likewise.
35342         [non-C99-based standards] (ynf): Likewise.
35343         [non-C99-based standards] (isnanf): Likewise.
35344         [non-C99-based standards] (acoshf): Likewise.
35345         [non-C99-based standards] (asinhf): Likewise.
35346         [non-C99-based standards] (atanhf): Likewise.
35347         [non-C99-based standards] (cbrtf): Likewise.
35348         [non-C99-based standards] (expm1f): Likewise.
35349         [non-C99-based standards] (ilogbf): Likewise.
35350         [non-C99-based standards] (log1pf): Likewise.
35351         [non-C99-based standards] (logbf): Likewise.
35352         [non-C99-based standards] (nextafterf): Likewise.
35353         [non-C99-based standards] (remainderf): Likewise.
35354         [non-C99-based standards] (rintf): Likewise.
35355         [non-C99-based standards] (scalbf): Likewise.
35356         [non-C99-based standards] (copysignl): Likewise.
35357         [non-C99-based standards] (exp2l): Likewise.
35358         [non-C99-based standards] (log2l): Likewise.
35359         [non-C99-based standards] (modfl): Allow.
35360         [non-C99-based standards] (erfl): Do not allow.
35361         [non-C99-based standards] (erfcl): Likewise.
35362         [non-C99-based standards] (gammal): Likewise.
35363         [non-C99-based standards] (hypotl): Likewise.
35364         [non-C99-based standards] (j0l): Likewise.
35365         [non-C99-based standards] (j1l): Likewise.
35366         [non-C99-based standards] (jnl): Likewise.
35367         [non-C99-based standards] (lgammal): Likewise.
35368         [non-C99-based standards] (tgammal): Likewise.
35369         [non-C99-based standards] (y0l): Likewise.
35370         [non-C99-based standards] (y1l): Likewise.
35371         [non-C99-based standards] (ynl): Likewise.
35372         [non-C99-based standards] (isnanl): Likewise.
35373         [non-C99-based standards] (acoshl): Likewise.
35374         [non-C99-based standards] (asinhl): Likewise.
35375         [non-C99-based standards] (atanhl): Likewise.
35376         [non-C99-based standards] (cbrtl): Likewise.
35377         [non-C99-based standards] (expm1l): Likewise.
35378         [non-C99-based standards] (ilogbl): Likewise.
35379         [non-C99-based standards] (log1pl): Likewise.
35380         [non-C99-based standards] (logbl): Likewise.
35381         [non-C99-based standards] (nextafterl): Likewise.
35382         [non-C99-based standards] (remainderl): Likewise.
35383         [non-C99-based standards] (rintl): Likewise.
35384         [non-C99-based standards] (scalbl): Likewise.
35385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35386         [non-C99-based standards] (FP_*): Do not allow.
35387         [C99-based standards] (FP_*): Change to
35388         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35389         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35390         allow.
35391         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35392         (SIG_ERR): Likewise.
35393         [X/Open-based standards] (SIG_HOLD): Likewise.
35394         (SIG_IGN): Likewise.
35395         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35396         positive value.
35397         (SIGFPE): Likewise.
35398         (SIGILL): Likewise.
35399         (SIGINT): Likewise.
35400         (SIGSEGV): Likewise.
35401         (SIGTER): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35404         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35405         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35407         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35408         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35409         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35410         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35411         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35412         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35413         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35414         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35415         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35416         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35417         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35418         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35419         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35420         [X/Open-based standards] (SIGTRAP): Likewise.
35421         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35422         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35423         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35424         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35425         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35426         allow.
35427
35428 2012-05-08  Ian Wienand  <ianw@vmware.com>
35429
35430         [BZ #14080]
35431         * time/tzset.c (__tzset_parse_tz): Update default rules for
35432         daylight time changes in the Energy Policy Act of 2005.
35433
35434 2012-05-09  Andreas Jaeger  <aj@suse.de>
35435
35436         [BZ #13983]
35437         * elf/ldconfig.c (parse_conf): Change string to make clear that
35438         ldconfig only issued a warning if ld.so.conf does not exist.
35439
35440 2012-05-08  David S. Miller  <davem@davemloft.net>
35441
35442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35443         movxtod instead of popping the value on the stack.
35444
35445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35446
35447 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35448
35449         * config.h.in: Add HAVE_ARM_PCS_VFP.
35450
35451 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35452
35453         [BZ #13979]
35454         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35455         checking but the checks are disabled for any reason.
35456
35457 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35458
35459         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35460         and ELF64_R_TYPE with ELFW(R_TYPE).
35461
35462 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35463
35464         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35465         (ulimit): Likewise.
35466
35467         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35468         (settimeofday): Likewise.
35469
35470 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35471
35472         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35473         a struct th_u2 inside the union, and move tu_block/tu_code into
35474         a new th_u3 union of tu_block/tu_code inside of that.  Move
35475         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35476         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35477         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35478         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35479         (th_stuff): Change to th_u1.tu_stuff.
35480         (th_data): Define.
35481         (th_msg): Change to th_u1.th_u2.tu_data.
35482
35483 2012-05-07  David S. Miller  <davem@davemloft.net>
35484
35485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35486
35487         [BZ #14074]
35488         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35489         (SETUP_PIC_REG): Use it.
35490         (SETUP_PIC_REG_LEAF): Use it.
35491
35492 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35493
35494         [BZ #13885]
35495         [BZ #13923]
35496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35497         USE_AS_EXPM1L.
35498         (EXPL_FINITE): Likewise.
35499         (FLDLOG): Likewise.
35500         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35501         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35502         e_expl.S.
35503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35504         USE_AS_EXPM1L.
35505         (EXPL_FINITE): Likewise.
35506         (FLDLOG): Likewise.
35507         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35508         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35509         e_expl.S.
35510         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35511         test of -max_value argument for long double.
35512         * sysdeps/i386/fpu/libm-test-ulps: Update.
35513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35514
35515 2012-05-06  David S. Miller  <davem@davemloft.net>
35516
35517         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35518         quad soft-float symbols whose references which are compiler
35519         generated.
35520         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35521
35522 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35523
35524         [BZ #13884]
35525         [BZ #13914]
35526         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35527         USE_AS_EXP10L.
35528         (EXPL_FINITE): Likewise.
35529         (FLDLOG): Likewise.
35530         (c0): Likewise.
35531         (c1): Likewise.
35532         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35533         Adjust comments for base varying.
35534         (__expl_finite): Change alias to EXPL_FINITE.
35535         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35536         e_expl.S.
35537         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35538         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35539         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35540         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35542         USE_AS_EXP10L.
35543         (EXPL_FINITE): Likewise.
35544         (FLDLOG): Likewise.
35545         (c0): Likewise.
35546         (c1): Likewise.
35547         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35548         Adjust comments for base varying.
35549         (__expl_finite): Change alias to EXPL_FINITE.
35550         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35551         tests for bugs.
35552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35553
35554         [BZ #14064]
35555         * math/libm-test.inc (check_float_internal): Correct ulp
35556         calculation for subnormal expected results.
35557
35558 2012-05-06  Andreas Jaeger  <aj@suse.de>
35559
35560         * Makeconfig (+math-flags): New, set to -frounding-math.
35561         (+cflags): Add +math-flags so that all of glibc gets compiled with
35562         it.
35563
35564         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35565
35566 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35567
35568         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35569         Disable one test.
35570
35571         [BZ #13787]
35572         [BZ #13922]
35573         [BZ #14036]
35574         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35575         (__ieee754_expl): Allow for and saturate large arguments.
35576         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35577         (u_threshold): Likewise.
35578         (__exp): Call __ieee754_exp before checking for overflow and
35579         underflow.
35580         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35581         (u_threshold): Likewise.
35582         (__expf): Call __ieee754_expf before checking for overflow and
35583         underflow.
35584         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35585         (u_threshold): Likewise.
35586         (__expl): Call __ieee754_expl before checking for overflow and
35587         underflow.
35588         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35589         (__ieee754_expl): Allow for and saturate large arguments.
35590         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35591         missing overflow exception on overflow.
35592         (expm1_test): Do not allow missing overflow exception on overflow.
35593
35594         * sysdeps/i386/fpu/e_expl.c: Move to ...
35595         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35596         rather than using inline asm.
35597         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35598         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35599         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35600
35601         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35602         (nice): Likewise.
35603         (poll): Likewise.
35604         (signal): Likewise.
35605         (time): Likewise.
35606         (times): Likewise.
35607
35608 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35609
35610         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35611         sysdeps/unix/common/syscalls.list.
35612         (fchmod): Likewise.
35613         (fchown): Likewise.
35614         (ftruncate): Likewise.
35615         (getrusage): Likewise.
35616         (gettimeofday): Likewise.
35617         (setpgid): Likewise.
35618         (setregid): Likewise.
35619         (setreuid): Likewise.
35620         (sigaction): Likewise.
35621         (truncate): Likewise.
35622         (vhangup): Likewise.
35623         * sysdeps/unix/common/syscalls.list: Remove file.
35624         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35625         * sysdeps/unix/sysv/linux/Implies: Likewise.
35626
35627 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35628
35629         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35631         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35632         Moved to ...
35633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35634         Here.
35635         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35636         to ...
35637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35638         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35639         to ...
35640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35641         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35642         to ...
35643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35644         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35645         to ...
35646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35647         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35648         to ...
35649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35650         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35651         to ...
35652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35653         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35654         to ...
35655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35656         Here.
35657         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35658         to ...
35659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35660         Here.
35661         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35662         to ...
35663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35664         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35665         Moved to ...
35666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35667         Here.
35668         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35669         to ...
35670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35671
35672 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35673
35674         * sysdeps/unix/common/bits/dirent.h: Remove file.
35675         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35676
35677         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35678         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35679         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35680         * sysdeps/unix/bsd/isatty.c: Likewise.
35681         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35682         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35683         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35684
35685 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35686
35687         [BZ #13563]
35688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35689         long double comparison inaccuracies.
35690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35692
35693 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35694
35695         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35697
35698 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35699
35700         [BZ #14049]
35701         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35702         nonzero digits before rounding a hex value.
35703         * stdlib/tst-strtod.c (tests): Add another test.
35704
35705 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35706
35707         * sysdeps/s390/fpu/libm-test-ulps: Update.
35708
35709 2012-05-03  Andreas Jaeger  <aj@suse.de>
35710
35711         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35712         does not get optimized out.
35713         (malloc_opt_barrier): New.
35714
35715 2012-05-03  Andreas Jaeger  <aj@suse.de>
35716             Roland McGrath  <roland@hack.frob.com>
35717
35718         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35719         intermediate file deletion.
35720         (generated): Add .symlist files.
35721
35722 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35723
35724         [BZ #13775]
35725         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35726         Redirect under this condition.
35727         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35728         [__USE_GNU] (__dprintf_chk): Not under this condition.
35729         [__USE_GNU] (__vdprintf_chk): Likewise.
35730         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35731         under this condition.
35732         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35733         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35734         [__USE_XOPEN2K8] (vdprintf): Likewise.
35735         [__USE_GNU] (__dprintf_chk): Not under this condition.
35736         [__USE_GNU] (__vdprintf_chk): Likewise.
35737         [__USE_GNU] (dprintf): Likewise.
35738         [__USE_GNU] (vdprintf): Likewise.
35739
35740 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35741
35742         * elf/Makefile (common-generated): Set this instead of generated for
35743         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35744         $(all-built-dso)-derived lists.
35745
35746 2012-05-03  Andreas Jaeger  <aj@suse.de>
35747
35748         * sysdeps/i386/fpu/libm-test-ulps: Update.
35749
35750         * FAQ: Removed.
35751         * FAQ.in: Likewise.
35752         * scripts/gen-FAQ.pl: Likewise.
35753         * manual/install.texi (Installation): Point to online location of
35754         FAQ.
35755         * Makefile (files-for-dist): Remove FAQ.
35756         (FAQ): Remove.
35757
35758 2012-05-02  Allan McRae  <allan@archlinux.org>
35759
35760         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35761         (LDFLAGS-reldepmod5.so): Likewise.
35762         (LDFLAGS-reldep6mod1.so): Likewise.
35763         (LDFLAGS-reldep6mod4.so): Likewise.
35764         (LDFLAGS-reldep8mod3.so): Likewise.
35765         (LDFLAGS-unload4mod1.so): Likewise.
35766         (LDFLAGS-unload4mod2.so): Likewise.
35767         (LDFLAGS-tst-initorder): Likewise.
35768         (LDFLAGS-tst-initordera2.so): Likewise.
35769         (LDFLAGS-tst-initordera3.so): Likewise.
35770         (LDFLAGS-tst-initordera4.so): Likewise.
35771         (LDFLAGS-tst-initorderb2.so): Likewise.
35772         (LDFLAGS-noload): Likewise.
35773         (LDFLAGS-next): Likewise.
35774         (LDFLAGS-order2mod1.so): Likewise.
35775         (LDFLAGS-order2mod2.so): Likewise.
35776         (LDFLAGS-tst-initorder2): Likewise.
35777         (LDFLAGS-tst-initorder2a.so): Likewise.
35778         (LDFLAGS-tst-initorder2b.so): Likewise.
35779         (LDFLAGS-tst-initorder2c.so): Likewise.
35780         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35781
35782 2012-05-02  David S. Miller  <davem@davemloft.net>
35783
35784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35785
35786 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35787
35788         [BZ #14055]
35789         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35790
35791 2012-05-02  Andreas Jaeger  <aj@suse.de>
35792
35793         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35794         since we manipulate rounding mode.
35795         (CPPFLAGS-test-idouble.c): Likewise.
35796         (CPPFLAGS-test-ifloat.c): Likewise.
35797         (CFLAGS-test-ldouble.c): Likewise.
35798         (CFLAGS-test-double.c): Likewise.
35799         (CFLAGS-test-float.c): Likewise.
35800         (CFLAGS-test-misc.c): Likewise.
35801         (CFLAGS-test-test-fenv.c): Likewise.
35802
35803 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35804
35805         [BZ #2550]
35806         [BZ #2570]
35807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35808         comparisons to determine direction to adjust input.
35809
35810 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35811
35812         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35813         output to the target.
35814
35815         * scripts/localplt.awk: New file.
35816         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35817         (check-localplt-CFLAGS): Variable removed.
35818         ($(all-built-dso:=.jmprel)): New static pattern rule.
35819         (generated): Add those targets.
35820         (localplt-built-dso): New variable.
35821         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35822
35823         * elf/check-localplt.c: File removed.
35824
35825         * scripts/check-execstack.awk: New file.
35826         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35827         (check-execstack-CFLAGS): Variable removed.
35828         ($(objpfx)check-execstack.h): Target removed.
35829         ($(objpfx)execstack-default): New target.
35830         (generated): Add that instead of check-execstack.h.
35831         ($(all-built-dso:=.phdr)): New static pattern rule.
35832         (generated): Add those targets.
35833         * elf/check-execstack.c: File removed.
35834
35835         * scripts/check-textrel.awk: New file.
35836         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35837         (check-textrel-CFLAGS): Variable removed.
35838         (all-built-dso): Use := to define.o
35839         ($(all-built-dso:=.dyn)): New static pattern rule.
35840         (generated): Add those targets.
35841         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35842         * config.make.in (READELF): New substituted variable.
35843         * elf/check-textrel.c: File removed.
35844
35845 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35846
35847         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35848         allow.
35849         * conform/data/ctype.h-data [C99-based standards] (isblank):
35850         Expect function.
35851         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35852         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35854         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35855         Specify type.  Require positive value.
35856         (EILSEQ): Likewise.
35857         (ERANGE): Likewise.
35858         [ISO || POSIX] (EILSEQ): Do not expect.
35859         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35860         Specify type.  Require positive value.
35861         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35862         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35863         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35864         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35865         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35866         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35867         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35868         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35869         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35870         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35871         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35872         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35873         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35874         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35875         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35876         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35877         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35878         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35879         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35880         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35881         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35882         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35883         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35884         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35885         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35886         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35887         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35888         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35889         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35890         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35891         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35892         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35893         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35894         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35895         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35896         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35897         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35898         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35899         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35900         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35901         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35902         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35903         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35904         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35905         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35906         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35907         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35908         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35909         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35910         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35911         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35912         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35913         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35914         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35915         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35916         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35917         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35918         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35919         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35920         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35921         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35922         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35923         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35924         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35925         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35926         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35927         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35928         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35929         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35930         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35931         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35932         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35933         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35934         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35935         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35936         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35937         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35938         Require >= 2.
35939         (FLT_ROUNDS): Expect as macro, not constant.
35940         (FLT_MANT_DIG): Use macro-int-constant.
35941         (DBL_MANT_DIG): Likewise.
35942         (LDBL_MANT_DIG): Likewise.
35943         (FLT_DIG): Likewise.
35944         (DBL_DIG): Likewise.
35945         (LDBL_DIG): Likewise.
35946         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35947         (DBL_MIN_EXP): Likewise.
35948         (LDBL_MIN_EXP): Likewise.
35949         (FLT_MAX_EXP): Use macro-int-constant.
35950         (DBL_MAX_EXP): Likewise.
35951         (LDBL_MAX_EXP): Likewise.
35952         (FLT_MAX_10_EXP): Likewise.
35953         (DBL_MAX_10_EXP): Likewise.
35954         (LDBL_MAX_10_EXP): Likewise.
35955         (FLT_MAX): Use macro-constant.
35956         (DBL_MAX): Likewise.
35957         (LDBL_MAX): Likewise.
35958         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35959         (DBL_EPSILON): Likewise.
35960         (LDBL_EPSILON): Likewise.
35961         (FLT_MIN): Likewise.
35962         (DBL_MIN): Likewise.
35963         (LDBL_MIN): Likewise.
35964         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35965         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35966         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35967         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35968         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35969         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35970         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35971         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35972         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35973         [ISO11] (FLT_TRUE_MIN): Likewise.
35974         [ISO11] (LDBL_TRUE_MIN): Likewise.
35975         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35976         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35977         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35978         (SCHAR_MAX): Likewise.
35979         (UCHAR_MAX): Likewise.
35980         (CHAR_MIN): Likewise.
35981         (CHAR_MAX): Likewise.
35982         (MB_LEN_MAX): Use macro-int-constant.
35983         (SHRT_MIN): Use macro-int-constant.  Specify type.
35984         (SHRT_MAX): Likewise.
35985         (USHRT_MAX): Likewise.
35986         (INT_MAX): Likewise.
35987         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35988         bound negative.
35989         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35990         bound with "U".
35991         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35992         bound with "L".
35993         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35994         bound negative.  Suffix upper bound with "L".
35995         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35996         bound with "UL".
35997         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35998         Specify type.
35999         [C99-based standards] (LLONG_MAX): Likewise.
36000         [C99-based standards] (ULLONG_MAX): Likewise.
36001         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36002         == 0.
36003         [ISO11] (max_align_t): Require type.
36004         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36005
36006         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36007         from $CFLAGS, without defining away __attribute__ calls.
36008         (checknamespace): Use $CFLAGS_namespace.
36009
36010         * conform/conformtest.pl (@keywords): Only include C99 keywords
36011         for standards based on C99 or C11.
36012
36013         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36014         Disable tests.
36015         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36016         UNIX98]: Likewise.
36017
36018         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36019         usability of symbols in #if.
36020
36021         * conform/conformtest.pl: If macro or constant types start
36022         "promoted:", expect the symbol to be of the following type
36023         promoted by the integer promotions.
36024
36025         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36026         in one place.  Also handle "macro-constant".
36027
36028         * conform/conformtest.pl: Only accept expected macro values with
36029         "==".  Parse all "macro" lines in one place.
36030         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36031
36032         * conform/conformtest.pl: Handle braced types on "constant" lines
36033         instead of handling "typed-constant".
36034         * conform/data/signal.h-data: Use "constant" instead of
36035         "typed-constant".
36036
36037         * conform/conformtest.pl: Handle "optional-" at start of lines in
36038         one place rather than duplicating several cases.  Handle each
36039         format of "macro" line with initial "optional-".
36040
36041         * conform/conformtest.pl: Only accept expected constant or
36042         optional-constant values with "==".  Parse all "constant" lines in
36043         one place.  Parse all "optional-constant" lines in one place.
36044         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36045         * conform/data/fmtmsg.h-data: Likewise.
36046         * conform/data/netinet/in.h-data: Likewise.
36047         * conform/data/tar.h-data: Likewise.
36048         * conform/data/limits.h-data: Use "==" form on "constant" and
36049         "optional-constant" lines.
36050
36051         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36052         Use -std=c99 for XOPEN2K.
36053         (@knownproblems): Remove.
36054         (newtoken): Don't check %isknown.
36055
36056         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36057         Do not expect macro.
36058         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36065         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36068         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36069         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36070         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36071         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36072         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36074         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36075         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36076         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36077         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36078         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36079         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36088         [XPG3] (acosh): Likewise.
36089         [XPG3] (asinh): Likewise.
36090         [XPG3] (atanh): Likewise.
36091         [XPG3] (cbrt): Likewise.
36092         [XPG3] (expm1): Likewise.
36093         [XPG3] (ilogb): Likewise.
36094         [XPG3] (log1p): Likewise.
36095         [XPG3] (logb): Likewise.
36096         [XPG3] (nextafter): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36099         [XPG3] (remainder): Likewise.
36100         [XPG3] (rint): Likewise.
36101         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36102         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36103         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36104         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36105         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36106         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36107         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36108         [UNIX98 || XOPEN2K] (scalb): Expect.
36109         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36110         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36111         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36112         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36113         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36114         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36115         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36116         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36117         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36118         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36119         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36120         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36121         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36122         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36123         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36124         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36125         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36126         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36127         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36128         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36129         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36130         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36131         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36132         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36133         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36134         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36135         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36136         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36137         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36138         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36139         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36140         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36141         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36142         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36143         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36144         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36145         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36146         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36147         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36148         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36149         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36150         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36151         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36152         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36153         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36154         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36155         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36156         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36157         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36158         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36159         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36160         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36161         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36162         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36163         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36164         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36165         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36166         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36167         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36168         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36169         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36170         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36171         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36172         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36173         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36174         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36175         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36176         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36177         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36178         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36179         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36180         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36181         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36182         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36183         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36184         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36185         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36186         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36187         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36188         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36189         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36190         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36191         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36192         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36193         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36194         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36195         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36196         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36197         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36198         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36199         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36200         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36201         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36202         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36203         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36204         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36205         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36206         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36207         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36208         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36209         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36210         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36211         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36212         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36213         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36214         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36215         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36216         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36217         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36218         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36219         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36220         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36221         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36222         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36223         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36224         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36225         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36226         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36227         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36228         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36229         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36230         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36231         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36232         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36233         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36234         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36235         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36236         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36237         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36238         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36239         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36240         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36241         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36242         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36243         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36244         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36245         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36246
36247         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36248         _XOPEN_SOURCE_EXTENDED for XPG4.
36249
36250         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36251
36252         * Makeconfig (localtime): Remove variable.
36253         (inst_localtime-file): Likewise.
36254
36255 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36256
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36258         Update.
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36260         Update.
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36262         Update.
36263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36264         Update.
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36266         Update.
36267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36268         Update.
36269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36270         Update.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36272         Update.
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36274         Update.
36275
36276 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36277
36278         [BZ #2550]
36279         [BZ #2570]
36280         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36281         comparisons to determine direction to adjust input.
36282         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36283         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36284         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36285         Likewise.
36286         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36287         Likewise.
36288         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36289         Likewise.
36290         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36291         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36292         Likewise.
36293         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36294         Likewise.
36295         * math/libm-test.inc (nexttoward_test): Add more tests.
36296
36297 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36298
36299         [BZ #14040]
36300         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36301         in version GLIBC_2.1, not GLIBC_2.0.
36302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36303         Likewise.
36304
36305 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36306
36307         [BZ #13942]
36308         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36309         (1 - x) * (1 + x).
36310         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36311         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36312         * math/libm-test.inc (acos_test): Add more tests.
36313         (asin_test): Likewise.
36314         * sysdeps/i386/fpu/libm-test-ulps: Update.
36315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36316
36317         [BZ #14034]
36318         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36319         of square root.
36320         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36321         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36322         * math/libm-test.inc (acos_test_tonearest): New function.
36323         (acos_test_towardzero): Likewise.
36324         (acos_test_downward): Likewise.
36325         (acos_test_upward): Likewise.
36326         (asin_test_tonearest): Likewise.
36327         (asin_test_towardzero): Likewise.
36328         (asin_test_downward): Likewise.
36329         (asin_test_upward): Likewise.
36330         (main): Call the new functions.
36331         * sysdeps/i386/fpu/libm-test-ulps: Update.
36332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36333
36334         [BZ #13884]
36335         [BZ #13924]
36336         * math/e_exp10.c: Include <float.h>.
36337         (__ieee754_exp10): Handle underflow here rather than multiplying
36338         large negative argument by M_LN10.
36339         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36340         of __ieee754_expf.
36341         * math/e_exp10l.c: Include <float.h>.
36342         (__ieee754_exp10l): Handle underflow here rather than multiplying
36343         large negative argument by M_LN10l.
36344         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36345         spurious overflow exception on underflow.
36346
36347 2012-04-29  Marek Polacek  <polacek@redhat.com>
36348
36349         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36350         (__fortify_function): New macro.
36351         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36352         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36353         __extern_always_inline.
36354         * libio/bits/stdio2.h: Likewise.
36355         * libio/bits/stdio.h: Likewise.
36356         * string/string.h: Likewise.
36357         * string/bits/string3.h: Likewise.
36358         * include/stdio.h: Likewise.
36359         * stdlib/bits/stdlib.h: Likewise.
36360         * stdlib/stdlib.h: Likewise.
36361         * rt/bits/mqueue2.h: Likewise.
36362         * rt/mqueue.h: Likewise.
36363         * posix/bits/unistd.h: Likewise.
36364         * posix/unistd.h: Likewise.
36365         * io/bits/poll2.h: Likewise.
36366         * io/bits/fcntl2.h: Likewise.
36367         * io/fcntl.h: Likewise.
36368         * io/sys/poll.h: Likewise.
36369         * misc/bits/syslog.h: Likewise.
36370         * misc/bits/syslog-ldbl.h: Likewise.
36371         * misc/sys/syslog.h: Likewise.
36372         * socket/bits/socket2.h: Likewise.
36373         * socket/sys/socket.h: Likewise.
36374         * debug/tst-chk1.c: Likewise.
36375         * wcsmbs/bits/wchar2.h: Likewise.
36376         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36377         * wcsmbs/wchar.h: Likewise.
36378
36379 2012-04-29  Andreas Jaeger  <aj@suse.de>
36380
36381         * Makerules (tests): Remove enable-check-abi protection.
36382         (check-abi-warn): Remove.
36383         (check-abi-%): Remove check-abi-warn usage.
36384
36385         * configure.in: Remove check-abi configure option.
36386         * configure: Regenerated.
36387         * config.make.in (enable-check-abi): Remove.
36388
36389 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36390
36391         [BZ #14033]
36392         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36393         double functions to double *_finite functions.
36394
36395         [BZ #13941]
36396         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36397         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36398         LDBL_MIN_EXP.
36399         * stdio-common/Makefile (tests): Add tst-sprintf3.
36400         * stdio-common/tst-sprintf3.c: New file.
36401
36402         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36403         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36404
36405 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36406
36407         * conform/conformtest.pl: Remove duplicate typed-constant
36408         handling.
36409
36410 2012-04-28  David S. Miller  <davem@davemloft.net>
36411
36412         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36413         (check-abi-%): Remove AWK script prerequisite and explicit
36414         abilist directory.
36415         (check-abi): Rewrite to just diff the symlist with the abilist.
36416         (config-tls, config-abi-config): Delete, no longer used.
36417         (update-abi-%): Remove AWK script and explicit abilist directory.
36418         (update-abi): Rewrite to simply compare and conditionally copy the
36419         symlist and the sysdep abilist file.  Remove update-abi-config
36420         checks.
36421         * abilist/ld.abilist: Remove.
36422         * abilist/libBrokenLocale.abilist: Remove.
36423         * abilist/libanl.abilist: Remove.
36424         * abilist/libcrypt.abilist: Remove.
36425         * abilist/libdl.abilist: Remove.
36426         * abilist/librt.abilist: Remove.
36427         * abilist/libthread_db.abilist: Remove.
36428         * abilist/libutil.abilist: Remove.
36429         * scripts/extract-abilist.awk: Remove.
36430         * scripts/merge-abilist.awk: Remove.
36431         * sysdeps/generic/libcidn.abilist: New file.
36432         * sysdeps/generic/libnss_compat.abilist: New file.
36433         * sysdeps/generic/libnss_db.abilist: New file.
36434         * sysdeps/generic/libnss_dns.abilist: New file.
36435         * sysdeps/generic/libnss_files.abilist: New file.
36436         * sysdeps/generic/libnss_hesiod.abilist: New file.
36437         * sysdeps/generic/libnss_nis.abilist: New file.
36438         * sysdeps/generic/libnss_nisplus.abilist: New file.
36439         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36440         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36441         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36442         file.
36443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36444         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36445         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36446         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36447         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36448         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36449         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36450         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36451         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36452         file.
36453         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36454         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36455         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36456         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36457         file.
36458         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36459         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36460         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36461         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36462         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36463         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36464         file.
36465         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36466         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36467         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36468         file.
36469         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36471         New file.
36472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36473         New file.
36474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36475         New file.
36476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36477         New file.
36478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36479         New file.
36480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36481         New file.
36482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36483         New file.
36484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36485         New file.
36486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36487         New file.
36488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36489         New file.
36490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36491         New file.
36492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36493         New file.
36494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36495         New file.
36496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36497         file.
36498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36499         New file.
36500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36501         New file.
36502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36503         file.
36504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36505         New file.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36507         New file.
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36509         file.
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36511         New file.
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36513         New file.
36514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36515         New file.
36516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36517         New file.
36518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36519         New file.
36520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36521         New file.
36522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36524         file.
36525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36526         New file.
36527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36528         file.
36529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36530         file.
36531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36532         file.
36533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36534         file.
36535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36536         file.
36537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36538         New file.
36539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36540         file.
36541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36542         file.
36543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36544         New file.
36545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36546         file.
36547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36549         file.
36550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36551         New file.
36552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36553         file.
36554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36555         file.
36556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36557         file.
36558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36559         file.
36560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36561         file.
36562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36563         New file.
36564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36565         file.
36566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36567         file.
36568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36569         New file.
36570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36571         file.
36572         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36573         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36574         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36575         file.
36576         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36577         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36578         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36579         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36580         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36581         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36582         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36583         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36584         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36585         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36588         file.
36589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36590         New file.
36591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36592         file.
36593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36594         file.
36595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36596         file.
36597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36598         file.
36599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36600         file.
36601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36602         New file.
36603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36604         New file.
36605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36606         file.
36607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36608         New file.
36609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36610         file.
36611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36613         file.
36614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36615         New file.
36616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36617         file.
36618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36619         file.
36620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36621         file.
36622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36623         file.
36624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36625         file.
36626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36627         New file.
36628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36629         New file.
36630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36631         file.
36632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36633         New file.
36634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36635         file.
36636
36637 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36638
36639         * conform/conformtest.pl: Fix typo in handling typed-constant from
36640         allow-header.
36641
36642 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36643
36644         * README: Cut down references to pre-2.6 Linux kernels and
36645         Linuxthreads.  Update lists of configurations in libc and ports
36646         and sort alphabetically.  Say "or newer" with Linux kernel version
36647         requirements.
36648
36649         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36650
36651 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36652
36653         [BZ #887]
36654         * math/libm-test.inc (logb_test_downward): New test to expose
36655         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36656         rounding mode.
36657
36658 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36659
36660         [BZ #14027]
36661         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36662         to be done.
36663         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36664         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36665
36666 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36667
36668         * sysdeps/unix/i386/brk.S: Remove file.
36669         * sysdeps/unix/i386/dl-brk.S: Likewise.
36670         * sysdeps/unix/i386/pipe.S: Likewise.
36671         * sysdeps/unix/i386/sigreturn.S: Likewise.
36672         * sysdeps/unix/i386/syscall.S: Likewise.
36673         * sysdeps/unix/i386/vfork.S: Likewise.
36674         * sysdeps/unix/i386/wait.S: Likewise.
36675
36676         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36677         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36678
36679         * configure.in (arm*-none*): Do not allow without
36680         --enable-hacker-mode.
36681         (netbsd*): Remove case setting base_os.
36682         (386bsd*): Likewise.
36683         (freebsd*): Likewise.
36684         (bsdi*): Likewise.
36685         (osf*): Likewise.
36686         (sunos*): Likewise.
36687         (ultrix*): Likewise.
36688         (newsos*): Likewise.
36689         (dynix*): Likewise.
36690         (*bsd*): Likewise.
36691         (sysv*): Likewise.
36692         (isc*): Likewise.
36693         (esix*): Likewise.
36694         (sco*): Likewise.
36695         (minix*): Likewise.
36696         (irix4*): Likewise.
36697         (irix6*): Likewise.
36698         (solaris[2-9]*): Likewise.
36699         (none): Likewise.
36700         * configure: Regenerated.
36701
36702 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36703
36704         [BZ #11521]
36705         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36706         overflow or cancellation in calculating denominator.
36707         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36708         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36709         down expression to avoid unexpected rounding in newer GCCs.
36710         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36711
36712 2012-04-26  David S. Miller  <davem@davemloft.net>
36713
36714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36715         long-double compat symbols.
36716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36729
36730 2012-04-25  David S. Miller  <davem@davemloft.net>
36731
36732         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36733         HWCAP_* values only after the memory barriers have been defined.
36734         (atomic_full_barrier): Define.
36735         (atomic_read_barrier): Define.
36736         (atomic_write_barrier): Define.
36737
36738 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36739
36740         * shlib-versions: Add libgcc_s version information.
36741         * sysdeps/generic/libgcc_s.h: Remove.
36742         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36743         libgcc_s.h.
36744         * sysdeps/gnu/unwind-resume.c: Likewise.
36745         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36746
36747 2012-04-25  David S. Miller  <davem@davemloft.net>
36748
36749         * sysdeps/unix/sparc/brk.S: Delete.
36750         * sysdeps/unix/sparc/dl-brk.S: Delete.
36751         * sysdeps/unix/sparc/pipe.S: Delete.
36752         * sysdeps/unix/sparc/sysdep.S: Delete.
36753         * sysdeps/unix/sparc/sysdep.h: Delete.
36754         * sysdeps/unix/sparc/vfork.S: Delete.
36755         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36756         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36757         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36758         (ret_ERRVAL, r0, r1, MOVE): Define.
36759         (JUMPTARGET): Remove.
36760         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36761         sysdeps/unix/sparc/sysdep.h
36762         (ENTRY, END): Remove.
36763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36764
36765 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36766
36767         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36768         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36769         -DIS_IN_build.
36770
36771         * timezone/README: Update upstream location and email address for
36772         tzcode and tzdata.
36773         * timezone/zdump.c: Update from tzcode 2012b.
36774         * timezone/zic.c: Likewise.
36775
36776         * configure.in (libc_cv_as_needed): Remove test.
36777         * configure: Regenerated.
36778         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36779         conditional definition.
36780         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36781         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36782         * config.make.in (have-as-needed): Remove variable.
36783
36784 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785             Paul Pluzhnikov  <ppluzhnikov@google.com>
36786
36787         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36788         strings correctly.
36789
36790 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36791
36792         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36793         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36794         * sysdeps/sh/strlen.S: Likewise.
36795
36796 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36797
36798         * sysdeps/unix/fork.S: Remove file.
36799         * sysdeps/unix/i386/fork.S: Likewise.
36800         * sysdeps/unix/sparc/fork.S: Likewise.
36801
36802         * sysdeps/unix/system.c: Remove file.
36803         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36804
36805         * sysdeps/unix/getegid.S: Remove file.
36806         * sysdeps/unix/geteuid.S: Likewise.
36807
36808 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36809
36810         * scripts/check-localplt.awk: New file.
36811         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36812         of diff.
36813         * scripts/data/localplt-generic.data: Add a comment.
36814
36815         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36816         NODE when __dir_mkfile failed.
36817         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36818         Reported by Ludovic Courtès <ludo@gnu.org>.
36819
36820 2012-04-24  Andreas Jaeger  <aj@suse.de>
36821
36822         * Makerules (common-clean): Also remove gen-as-const-headers
36823         files.
36824
36825 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36826
36827         * Makerules (native-compile): Do not change working directory for
36828         build.  Use $(OUTPUT_OPTION) in command.
36829         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36830
36831 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36832
36833         [BZ #13886]
36834         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36835         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36836         * math/libm-test.inc (floor_test): Add more tests.
36837         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36838
36839 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36840
36841         * sysdeps/unix/getdents.c: Remove file.
36842         * sysdeps/unix/sysv/getdents.c: Likewise.
36843         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36844
36845         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36846         sysdeps/unix/mman/syscalls.list.
36847         (mmap): Likewise.
36848         (mprotect): Likewise.
36849         (msync): Likewise.
36850         (munmap): Likewise.
36851         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36852         * sysdeps/unix/mman/syscalls.list: Remove.
36853         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36854
36855         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36856         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36857         * configure: Regenerated.
36858         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36859         $(libgcc_s_suffix).
36860         * config.make.in (libgcc_s_suffix): Remove variable.
36861
36862 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36863
36864         * sysdeps/unix/sysv/gethostname.c: Move to ...
36865         * sysdeps/posix/gethostname.c: ... here.
36866
36867         * sysdeps/unix/execve.S: Remove file.
36868
36869         * sysdeps/unix/_exit.S: Remove file.
36870
36871 2012-04-23  Andreas Jaeger  <aj@suse.de>
36872
36873         [BZ #13739]
36874         * manual/Makefile: Remove make dist support, there's no
36875         need for a stand-alone documentation tar ball.
36876         (TEXI2DVI): Define always, it's not in Makeconfig.
36877         (dist): Removed.
36878         (tar-it): Removed.
36879         (edition): Removed.
36880         (glibc-doc-$(edition).tar): Removed
36881         (%.Z): Removed.
36882         (%.gz): Removed.
36883         (%.uu): Removed.
36884         (ETAGS): Remove, it's in Makeconfig.
36885         (move-if-change): Remove, it's in Makeconfig.
36886
36887 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36888
36889         [BZ #13970]
36890         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36891         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36892         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36893         (strtod_l, strtof_l, strtold_l): Remove __wur.
36894         It is not necessarily an error to ignore strtol's return value.
36895         One can reliably look at the stored endptr to decide whether
36896         the number had valid syntax.
36897
36898 2012-04-21  Andreas Jaeger  <aj@suse.de>
36899
36900         [BZ #13739]
36901         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36902
36903 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36904
36905         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36906         * sysdeps/unix/sysv/Versions: Remove file.
36907
36908 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36909
36910         [BZ #13927]
36911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36912
36913 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36914
36915         [BZ #7064]
36916         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36917         version from __vm86.
36918
36919 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36920
36921         * sysdeps/unix/common/lxstat.c: Remove file.
36922         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36923
36924         * sysdeps/unix/sysv/Makefile: Remove file.
36925
36926         * sysdeps/unix/sysv/direct.h: Remove file.
36927
36928         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36929         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36930         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36931         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36932         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36933         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36934         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36935
36936         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36937
36938         * sysdeps/unix/xmknod.c: Remove file.
36939         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36940
36941         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36942
36943         * sysdeps/unix/sysv/i386/time.S: Remove file.
36944
36945         * sysdeps/unix/fxstat.c: Remove file.
36946         * sysdeps/unix/xstat.c: Likewise.
36947         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36948
36949         * sysdeps/unix/sysv/sigaction.c: Remove file.
36950
36951         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36952         (sysdep_headers): Remove variable.
36953         [termio.h not in sysdep_headers] (generated): Likewise.
36954         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36955         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36956         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36957         * sysdeps/unix/sysv/tcflow.c: Likewise.
36958         * sysdeps/unix/sysv/tcflush.c: Likewise.
36959         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36960         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36961         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36962         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36963         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36964
36965         * sysdeps/unix/siglist.c: Remove file.
36966
36967         * sysdeps/unix/getppid.S: Remove file.
36968
36969         * sysdeps/unix/mkdir.c: Remove file.
36970         * sysdeps/unix/rmdir.c: Likewise.
36971
36972 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36973
36974         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36975         ERR_MAX value.
36976         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36977         errlist-compat value.
36978
36979 2012-04-18  David S. Miller  <davem@davemloft.net>
36980
36981         * sysdeps/generic/memcopy.h (reg_char): Delete.
36982         * debug/strcat_chk.c: Use char, not reg_char.
36983         * debug/strcpy_chk.c: Likewise.
36984         * debug/strncat_chk.c: Likewise.
36985         * debug/strncpy_chk.c: Likewise.
36986         * string/memchr.c: Likewise.
36987         * string/memrchr.c: Likewise.
36988         * string/rawmemchr.c: Likewise.
36989         * string/strcat.c: Likewise.
36990         * string/strchr.c: Likewise.
36991         * string/strchrnul.c: Likewise.
36992         * string/strcmp.c: Likewise.
36993         * string/strcpy.c: Likewise.
36994         * string/strncat.c: Likewise.
36995         * string/strncmp.c: Likewise.
36996         * string/strncpy.c: Likewise.
36997
36998 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36999
37000         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37001         __builtin_memcopy is called when src and dest ranges are known to not
37002         overlap.
37003
37004 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37005
37006         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37007         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37008         fwd_align_merge macro call.
37009         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37010         bwd_align_merge macro call.
37011         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37012
37013 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37014
37015         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37016         bwd_align_merge macros.
37017         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37018         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37019         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37020
37021 2012-04-18  David S. Miller  <davem@davemloft.net>
37022
37023         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37024
37025 2012-04-18  Andreas Jaeger  <aj@suse.de>
37026
37027         [BZ# 6794]
37028         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37029         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37030         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37031
37032         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37033         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37034         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37035
37036         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37037         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37038         Adjust for changed ldbl-128 files.
37039
37040         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37041         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37042         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37043
37044 2012-04-17  David S. Miller  <davem@davemloft.net>
37045
37046         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37047
37048 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37049
37050         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37051         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37052         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37053         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37054         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37055         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37056
37057 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37058
37059         [BZ #6794]
37060         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37061         * math/libm-test.inc: Add ilogb errno and exception tests.
37062         * math/w_ilogb.c: New file: ilogb wrapper.
37063         * math/w_ilogbf.c: New file: ilogbf wrapper.
37064         * math/w_ilogbl.c: New file: ilogbl wrapper.
37065         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37066         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37067         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37068         exception being thrown with 0.0 as argument.
37069         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37070         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37071         exception being thrown with 0.0 as argument.
37072         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37073         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37074         exception being thrown with 0.0 as argument.
37075         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37076         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37077         exception being thrown with 0.0 as argument.
37078         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37079         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37080         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37081         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37082         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37083         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37084         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37085         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37086         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37087
37088 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37089
37090         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37091         with altivec.
37092
37093 2012-04-16  Marek Polacek  <polacek@redhat.com>
37094
37095         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37096
37097 2012-04-16  Marek Polacek  <polacek@redhat.com>
37098
37099         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37100         operands of fdivp instruction.
37101
37102 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37103
37104         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37105         * elf/tst-auditmod3b.c: Likewise.
37106         * elf/tst-auditmod4b.c: Likewise.
37107         * elf/tst-auditmod5b.c: Likewise.
37108         * elf/tst-auditmod6b.c: Likewise.
37109         * elf/tst-auditmod6c.c: Likewise.
37110         * elf/tst-auditmod7b.c: Likewise.
37111         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37112         * sysdeps/x86_64/preconfigure.in: Likewise.
37113         * sysdeps/x86_64/preconfigure: Regenerated.
37114
37115 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37116
37117         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37118         __ILP32__.
37119
37120 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37121
37122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37123         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37124
37125 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37126
37127         [BZ #13973]
37128         * locale/iso-639.def: Fix gl language name. Spotted by
37129         Yaron Shahrabani.
37130
37131 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37132
37133         [BZ #2074]
37134         * libio/libio.h (__io_write_fn): Update comment.
37135
37136 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37137
37138         [BZ #2074]
37139         * stdio.texi (Hook Functions): The user provided writer function
37140         is not allowed to return -1.
37141
37142 2012-04-11  David S. Miller  <davem@davemloft.net>
37143
37144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37145
37146 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37147
37148         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37149         Add a leading slash to rtkaio.
37150
37151 2012-04-11  Jim Meyering  <meyering@redhat.com>
37152
37153         [BZ #11959]
37154         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37155         It is not necessarily an error to ignore fwrite's return
37156         value.  One can reliably use ferror to test for errors after
37157         the fact.
37158
37159 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37160
37161         * bits/types.h (__snseconds_t): New type.
37162         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37163
37164         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37165         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37166         (__SNSECONDS_T_TYPE): Likewise.
37167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37168         (__SNSECONDS_T_TYPE): Likewise.
37169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37170         (__SNSECONDS_T_TYPE): Likewise.
37171
37172 2012-04-10  Andreas Jaeger  <aj@suse.de>
37173
37174         [BZ #2636]
37175         * manual/time.texi (Processor Time): Return type of times is
37176         elapsed real time since an arbitrary point in the past.
37177         (CPU Time): Move CLK_TCK from here...
37178         (Processor Time): ...to here.  Correct description.
37179         * manual/conf.texi (Constants for Sysconf): Correct description of
37180         _SC_CLK_TCK.
37181
37182 2012-04-10  David S. Miller  <davem@davemloft.net>
37183
37184         [BZ #13967]
37185         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37186         where the is a gap between DT_REL(A) and DT_JMPREL.
37187
37188 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37189
37190         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37191         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37192         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37193
37194 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37195
37196         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37197         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37198         (dl_main): Handle --inhibit-cache.
37199         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37200         _dl_inhibit_cache.
37201         * elf/dl-load.c (_dl_map_object): Use it.
37202         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37203
37204 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37205
37206         [BZ #13872]
37207         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37208         (__ieee754_powl): Saturate large exponents rather than testing for
37209         overflow of y*log2(x).
37210         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37211         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37212         exceptions.
37213
37214         [BZ #11521]
37215         * math/s_ctan.c: Include <float.h>.
37216         (__ctan): Avoid internal overflow or cancellation in calculating
37217         denominator.
37218         * math/s_ctanf.c: Likewise.
37219         * math/s_ctanl.c: Likewise.
37220         * math/s_ctanh.c: Likewise.
37221         * math/s_ctanhf.c: Likewise.
37222         * math/s_ctanhl.c: Likewise.
37223         * math/libm-test.inc (ctan_test): Add more tests.
37224         (ctanh_test): Likewise.
37225         * sysdeps/i386/fpu/libm-test-ulps: Update.
37226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37227
37228 2012-04-09  Andreas Jaeger  <aj@suse.de>
37229
37230         [BZ #6894]
37231         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37232         is an optional BSD extension.
37233
37234         [BZ #10254]
37235         * manual/stdio.texi (Opening Streams): Document additional fopen
37236         parameters.
37237
37238 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37239
37240         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37241         %eax without telling the compiler.
37242
37243 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37244
37245         [BZ # 13963]
37246         * manual/install.texi: Use sourceware.org.
37247
37248 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37249
37250         [BZ #13873]
37251         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37252         (__ieee754_pow): Generate overflow and underflow using huge*huge
37253         and tiny*tiny rather than just returning constant infinity or zero
37254         for large exponents.
37255         * math/libm-test.inc (pow_test): Require overflow exceptions for
37256         applicable cases of large exponents.
37257
37258         [BZ #706]
37259         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37260         (__ieee754_pow): Use iterative multiplication algorithm only for
37261         integer exponents with absolute value below 1024.  Check for odd
37262         integer exponents when using algorithm for real exponents.
37263         * math/libm-test.inc (pow_test): Add more tests.
37264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37265
37266 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37267
37268         [BZ #13705]
37269         * math/libm-test.inc (exp_test): Do not allow overflow exception
37270         on underflow test.
37271
37272 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37273
37274         [BZ #13705]
37275         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37276         instead of __kernel_standard_f.
37277
37278 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37279
37280         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37281         * sysdeps/x86_64/memset_chk.S: Likewise.
37282
37283 2012-04-08  Andreas Jaeger  <aj@suse.de>
37284
37285         [BZ #10153]
37286         * manual/startup.texi (Environment Access): Describe return value
37287         for putenv and setenv.
37288
37289         [BZ #6895]
37290         * manual/filesys.texi (Directory Entries): Add description for
37291         DT_LNK.
37292
37293         [BZ #6890]
37294         * manual/filesys.texi (Directory Entries): Clarify that it's file
37295         system not operating system in the description of DT_UNKNOWN.
37296
37297         [BZ #6578]
37298         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37299
37300 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37301
37302         [BZ #6649]
37303         * manual/llio.texi (Opening and Closing Files): Add cross
37304         reference to explain mode argument.
37305
37306 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37307
37308         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37309         * sysdeps/x86_64/memset_chk.S: Likewise.
37310
37311 2012-04-07  David S. Miller  <davem@davemloft.net>
37312
37313         * elf/elf.h (R_SPARC_WDISP10): Define.
37314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37315         R_SPARC_SIZE32.
37316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37317         R_SPARC_SIZE64 and R_SPARC_H34.
37318
37319 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37320
37321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37322         conditions and remove no longer applicable assertion.
37323
37324 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37325
37326         * bits/byteswap.h: Include <features.h>.
37327         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37328         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37329
37330 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37331
37332         * bits/byteswap.h (__bswap_16): Removed.
37333         Include <bits/byteswap-16.h> to get __bswap_16.
37334         * sysdeps/i386/bits/byteswap.h: Likewise.
37335         * sysdeps/s390/bits/byteswap.h: Likewise.
37336         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37337         * bits/byteswap-16.h: New file.
37338         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37339         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37340         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37341         * string/Makefile (headers): Add bits/byteswap-16.h.
37342
37343 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37344
37345         [BZ #13895]
37346         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37347         extra indirection.
37348         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37349         * nss/tst-nss-static.c: New.
37350
37351 2012-04-06  Robert Millan  <rmh@gnu.org>
37352
37353         [BZ #6486]
37354         * manual/llio.texi (File Position Primitive): lseek
37355         refers to WHENCE when it really means OFFSET.
37356
37357 2012-04-06  Andreas Jaeger  <aj@suse.de>
37358
37359         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37360         strncmp declarations.
37361
37362         * abilist/libc.abilist: Add __poll and __ppoll.
37363
37364 2012-04-05  David S. Miller  <davem@davemloft.net>
37365
37366         * scripts/check-local-headers.sh: Accept a host triplet in the
37367         path matched by the exclude regexp.
37368
37369         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37370         definition.
37371         * sysdeps/powerpc/powerpc32/dl-machine.h
37372         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37373         * sysdeps/s390/s390-32/dl-machine.h
37374         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37375         * sysdeps/sparc/sparc32/dl-machine.h
37376         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37377         * sysdeps/sparc/sparc64/dl-machine.h
37378         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37379
37380         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37381         lazy binding.
37382         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37383         undefined symbol errors.
37384
37385         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37386         DT_NEEDED entries.
37387
37388 2012-04-05  Michael Matz  <matz@suse.de>
37389
37390         [BZ #13592]
37391         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37392
37393 2012-04-05  Andreas Jaeger  <aj@suse.de>
37394
37395         [BZ #13908]
37396         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37397         comment.
37398
37399 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37400
37401         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37402         which ROUND is no valid rounding mode.
37403
37404 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37405
37406         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37407         read again.
37408         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37409
37410 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37411
37412         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37413         an exception using FPU order intentionally.
37414
37415 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37416
37417         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37418         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37419         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37420         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37421
37422 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37423
37424         [BZ #12340]
37425         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37426         EINVAL when BUFLEN is too smal.
37427
37428 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37429
37430         [BZ #13553]
37431         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37432         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37433
37434 2012-04-03  Andreas Jaeger  <aj@suse.de>
37435
37436         [BZ #13938]
37437         * manual/setjmp.texi (System V contexts): Fix sentence.
37438
37439         [BZ #13926]
37440         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37441         New macro for this case.
37442         [!__GNUC__] (__bswap_64): New inline function for this case.
37443         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37444         * bits/byteswap.h: Likewise.
37445         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37446         ull, guard with __GLIBC_HAVE_LONG_LONG.
37447
37448         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37449         __GLIBC_HAVE_LONG_LONG.
37450
37451         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37452         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37453
37454 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37455
37456         [BZ #13691]
37457         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37458         inptr and inend, rather than using last_ch.
37459
37460 2012-04-02  David S. Miller  <davem@davemloft.net>
37461
37462         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37463         * stdio-common/printf-parse.h (read_int): Change return type to
37464         'int', return -1 on INT_MAX overflow.
37465         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37466         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37467         overflows INT_MAX.  Check for overflow of in-format-string precision
37468         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37469         SIZE_MAX not INT_MAX for integer overflow test.
37470         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37471         skip the construct in the format string but do not record anything.
37472         * stdio-common/bug22.c: Adjust to test both width/prevision
37473         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37474         explicitly for proper errno values.
37475
37476 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37477
37478         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37479         CHAR_MAX.
37480         * string/test-strcmp.c [! WIDE]: Likewise.
37481         * time/tst-mktime2.c: Likewise for INT_MAX.
37482         * string/test-string.h: #include <sys/param.h> for MIN.
37483
37484         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37485         * sysdeps/i386/init-first.c (init): Likewise.
37486         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37487         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37488         * sysdeps/sh/init-first.c (init): Likewise.
37489
37490 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37491
37492         * po/ru.po: Update from translation team.
37493         * po/vi.po: Likewise.
37494
37495 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37496
37497         * resolv/nss_dns/dns-host.c: Merge copyright years.
37498
37499 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37500
37501         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37502         Optimize memcpy with prefetch if
37503         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37504         src, dst pointers have unequal 16 byte alignments.
37505
37506 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37507
37508         [BZ #13928]
37509         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37510         from a CNAME entry and return the minimum ttl for the query.
37511         (gaih_getanswer_slice): Likewise.
37512
37513 2012-03-30  Jeff Law  <law@redhat.com>
37514
37515         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37516         due to long keys.
37517         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37518         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37519
37520         * resolv/nss_dns/dns-host.c: Update copyright year.
37521
37522 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37523
37524         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37525         requests to save a system call.  Fix check that all bytes are sent.
37526
37527         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37528         comments for sendmmsg.
37529
37530 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37531
37532         [BZ #13691]
37533         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37534         with only 1 character between 0x0041 and 0x01b0.
37535         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37536         * wcsmbs/tst-mbsnrtowcs.c: New file.
37537
37538 2012-03-29  David S. Miller  <davem@davemloft.net>
37539
37540         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37541         small copies by hand.
37542
37543 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37544
37545         [BZ #13761]
37546         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37547         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37548         group memberships.
37549
37550 2012-03-28  David S. Miller  <davem@davemloft.net>
37551
37552         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37553         that branches into memcpy.
37554         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37557         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37559         bits.
37560         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37561         implementation too.
37562         * sysdeps/sparc/mempcpy.S: New file.
37563
37564         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37565         the IFUNC routine in the libc case.
37566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37567
37568         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37569         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37570         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37571         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37572         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37573         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37574         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37575         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37576
37577         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37578         loop to 256 bytes instead of 64 bytes and fix test signedness.
37579
37580         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37581         * sysdeps/sparc/sparc32/Makefile: rather than here...
37582         * sysdeps/sparc/sparc64/Makefile: and here.
37583
37584 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37585
37586         * malloc/mallocbug.c: Avoid warnings about unused variables.
37587
37588 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37589
37590         [BZ #13760]
37591         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37592         in the right place. Discard and retry query if response is
37593         larger than input buffer size.
37594
37595 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37596
37597         [BZ #369]
37598         [BZ #2678]
37599         [BZ #3866]
37600         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37601         x for large integer exponent.
37602         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37603         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37604         sign of result as needed afterwards.
37605         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37606         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37607         result for underflowing pow the same as for overflow.
37608         (__kernel_standard_l): Handle powl overflow and underflow here
37609         rather than calling __kernel_standard.
37610         * math/libm-test.inc (pow_test): Add more tests.
37611
37612         [BZ #3868]
37613         [BZ #13879]
37614         [BZ #13910]
37615         [BZ #13911]
37616         [BZ #13912]
37617         [BZ #13913]
37618         [BZ #13915]
37619         [BZ #13916]
37620         [BZ #13917]
37621         [BZ #13918]
37622         [BZ #13919]
37623         [BZ #13920]
37624         [BZ #13921]
37625         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37626         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37627         (__kernel_standard_l): New function.
37628         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37629         __kernel_standard.
37630         * math/w_acosl.c (__acosl): Likewise.
37631         * math/w_asinl.c (__asinl): Likewise.
37632         * math/w_atan2l.c (__atan2l): Likewise.
37633         * math/w_atanhl.c (__atanhl): Likewise.
37634         * math/w_coshl.c (__coshl): Likewise.
37635         * math/w_exp10l.c (__exp10l): Likewise.
37636         * math/w_exp2l.c (__exp2l): Likewise.
37637         * math/w_fmodl.c (__fmodl): Likewise.
37638         * math/w_hypotl.c (__hypotl): Likewise.
37639         * math/w_j0l.c (__j0l, __y0l): Likewise.
37640         * math/w_j1l.c (__j1l, __y1l): Likewise.
37641         * math/w_jnl.c (__jnl, __ynl): Likewise.
37642         * math/w_lgammal.c (__lgammal): Likewise.
37643         * math/w_log10l.c (__log10l): Likewise.
37644         * math/w_log2l.c (__log2l): Likewise.
37645         * math/w_logl.c (__logl): Likewise.
37646         * math/w_powl.c (__powl): Likewise.
37647         * math/w_remainderl.c (__remainderl): Likewise.
37648         * math/w_scalbl.c (sysv_scalbl): Likewise.
37649         * math/w_sinhl.c (__sinhl): Likewise.
37650         * math/w_sqrtl.c (__sqrtl): Likewise.
37651         * math/w_tgammal.c (__tgammal): Likewise.
37652         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37653         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37654         * math/libm-test.inc (acos_test): Add more tests.
37655         (acosh_test): Likewise.
37656         (asin_test): Likewise.
37657         (atanh_test): Likewise.
37658         (exp_test): Likewise.
37659         (exp10_test): Likewise.
37660         (exp2_test): Likewise.
37661         (expm1_test): Likewise.
37662         (lgamma_test): Likewise.
37663         (log_test): Likewise.
37664         (log10_test): Likewise.
37665         (log1p_test): Likewise.
37666         (log2_test): Likewise.
37667         (pow_test): Do not allow some spurious overflow exceptions.
37668         (sqrt_test): Add more tests.
37669         (tgamma_test): Likewise.
37670         (y0_test): Likewise.
37671         (y1_test): Likewise.
37672         (yn_test): Likewise.
37673
37674 2012-03-27  Anton Blanchard  <anton@samba.org>
37675
37676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37677         MAP_HUGETLB.
37678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37681
37682 2012-03-27  David S. Miller  <davem@davemloft.net>
37683
37684         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37685
37686         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37687         have-as-vis3 check.
37688
37689 2012-03-27  Andreas Jaeger  <aj@suse.de>
37690
37691         * sysdeps/x86_64/elf/configure.in: Moved to ...
37692         * sysdeps/x86_64/configure.in: ... here.
37693         * sysdeps/x86_64/elf/start.S: Moved to ...
37694         * sysdeps/x86_64/start.S: ... here.
37695         * sysdeps/x86_64/elf/configure: Delete.
37696
37697         * sysdeps/x86_64/configure.in: Merge contents from
37698         sysdeps/i386/configure.in (without i686 check).
37699
37700         * sysdeps/i386/elf/Versions: Merge into ...
37701         * sysdeps/i386/Versions: ... this.
37702         * sysdeps/i386/elf/Versions: Delete file.
37703         * sysdeps/i386/elf/start.S: Moved to ...
37704         * sysdeps/i386/start.S: ...here.
37705         * sysdeps/i386/elf/configure.in: Merge into...
37706         * sysdeps/i386/configure.in: ...here.
37707         * sysdeps/i386/elf/configure.in: Delete file.
37708         * sysdeps/i386/elf/configure: Delete file.
37709
37710         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37711         * debug/backtracesyms.c: ... here.
37712         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37713         * debug/backtracesymsfd.c: ... here.
37714         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37715         * sysdeps/generic/ifunc-sel.h: ... here.
37716
37717         * sysdeps/unix/i386/start.c: Delete file.
37718         * sysdeps/unix/sparc/start.c: Delete file.
37719         * sysdeps/unix/start.c: Delete file.
37720
37721         * sysdeps/sh/elf/configure.in: Moved to ...
37722         * sysdeps/sh/configure.in: ... here.
37723         * sysdeps/sh/elf/start.S: Moved to ...
37724         * sysdeps/sh/start.S: ... here.
37725         * sysdeps/sh/elf/configure: Delete file.
37726
37727         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37728         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37729         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37730         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37731         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37732         * sysdeps/powerpc/powerpc64/start.S: here.
37733         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37734         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37735         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37736         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37737         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37738
37739         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37740         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37741         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37742         * sysdeps/powerpc/powerpc32/start.S: ... here.
37743         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37744         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37745         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37746
37747         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37748         * sysdeps/powerpc/ifunc-sel.h: ... here.
37749         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37750         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37751
37752         * sysdeps/sparc/elf/configure.in: Moved to ...
37753         * sysdeps/sparc/configure.in: ... here.
37754         * sysdeps/sparc/elf/configure: Delete file.
37755         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37756         * sysdeps/sparc/sparc32/start.S: ... here.
37757         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37758         * sysdeps/sparc/sparc64/start.S: ... here.
37759         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37760         * sysdeps/sparc/sparc32/Makefile: ... this.
37761         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37762         * sysdeps/sparc/sparc64/Makefile: ... this.
37763
37764         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37765         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37766         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37767         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37768         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37769         * sysdeps/s390/s390-32/setjmp.S: ... here.
37770         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37771         * sysdeps/s390/s390-32/configure.in: ... here.
37772         * sysdeps/s390/s390-32/elf/configure: Delete file.
37773         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37774         * sysdeps/s390/s390-32/start.S: ... here.
37775
37776         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37777         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37778         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37779         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37780         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37781         * sysdeps/s390/s390-64/setjmp.S: ... here.
37782         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37783         * sysdeps/s390/s390-64/configure.in: ... here
37784         * sysdeps/s390/s390-64/elf/configure: Delete file.
37785         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37786         * sysdeps/s390/s390-64/start.S: ... here.
37787         * sysdeps/s390/s390-64/elf/configure: Delete.
37788
37789         * configure.in: Remove support for elf directories in sysdeps.
37790
37791         * configure: Regenerated.
37792         * sysdeps/i386/configure: Regenerated.
37793         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37794         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37795         * sysdeps/s390/s390-32/configure: Regenerated.
37796         * sysdeps/s390/s390-64/configure: Regenerated.
37797         * sysdeps/sh/configure: Regenerated.
37798         * sysdeps/sparc/configure: Regenerated.
37799         * sysdeps/x86_64/configure: Regenerated.
37800
37801 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37802
37803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37804
37805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37806         denormal result into account.
37807
37808 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37809
37810         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37811         Reported by Allan McRae <allan@archlinux.org>.
37812
37813 2012-03-23  Jeff Law  <law@redhat.com>
37814
37815         * nss/getnssent.c (__nss_getent): Fix typo.
37816
37817 2012-03-23  David S. Miller  <davem@davemloft.net>
37818
37819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37820
37821 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37822
37823         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37824         to pad to uint64_t for each field.
37825         (dl_tls_index): Replace unsigned long with uint64_t.
37826
37827 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37828         Paul Pluzhnikov  <ppluzhnikov@google.com>
37829
37830         [BZ #6528]
37831         * grp/Makefile (otherlibs): Don't set it.
37832         * inet/Makefile (otherlibs): Likewise.
37833         * login/Makefile (otherlibs): Likewise.
37834         * nscd/Makefile (otherlibs): Likewise.
37835         * posix/Makefile (otherlibs): Likewise.
37836         * pwd/Makefile (otherlibs): Likewise.
37837         * rt/Makefile (otherlibs): Likewise.
37838         * sunrpc/Makefile (otherlibs): Likewise.
37839         * nss/Makefile (otherlibs): Likewise.
37840         Add libnss_files to routines and static-only-routines.
37841         ($(objpfx)getent): Remove rule.
37842         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37843         static-only-routines.
37844
37845 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37846
37847         [BZ #13892]
37848         * math/s_cexp.c: Include <float.h>.
37849         (__cexp): Handle exp result overflowing not necessarily
37850         overflowing both real and imaginary parts of result.
37851         * math/s_cexpf.c: Likewise.
37852         * math/s_cexpl.c: Likewise.
37853         * math/libm-test.inc (cexp_test): Add more tests.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37856
37857 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37858
37859         * include/link.h (ELFW): New macro.
37860         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37861         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37862
37863 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37864
37865         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37866         with uint64_t.
37867
37868 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37869
37870         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37871         declaration.
37872         (struct La_x32_retval): Likewise.
37873
37874 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37875
37876         * sysdeps/x86_64/preconfigure.in: New file.
37877         * sysdeps/x86_64/preconfigure: New generated file.
37878
37879 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37880
37881         [BZ #13824]
37882         * math/e_exp2l.c: Include <float.h>.
37883         (__ieee754_exp2l): Handle overflow and underflow cases
37884         separately.  Only pass fractional part of argument to
37885         __ieee754_expl.
37886         * math/libm-test.inc (exp2_test): Add more tests.
37887
37888         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37889         negating x to take absolute value.
37890         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37891         Likewise.
37892         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37893         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37894         Likewise.
37895         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37896         computing low part if x was negated.
37897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37898
37899 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37900
37901         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37902         la_x32_gnu_pltexit.
37903         (pltexit): Cast int_retval to ptrdiff_t.
37904         * elf/tst-auditmod3b.c: Likewise.
37905         * elf/tst-auditmod4b.c: Likewise.
37906         * elf/tst-auditmod5b.c: Likewise.
37907         * elf/tst-auditmod6b.c: Likewise.
37908         * elf/tst-auditmod6c.c: Likewise.
37909         * elf/tst-auditmod7b.c: Likewise.
37910
37911         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37912         and x32_gnu_pltexit.
37913
37914         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37915         __ELF_NATIVE_CLASS.
37916         (La_x32_regs): New macro.
37917         (La_x32_retval): Likewise.
37918         (la_x32_gnu_pltenter): New function prototype.
37919         (la_x32_gnu_pltexit): Likewise.
37920
37921 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37922
37923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37924         exponent.
37925
37926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37927
37928         * configure.in (libc_cv_cc_nofma): Check for option to disable
37929         generation of FMA instructions.
37930         * configure: Regenerate.
37931         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37932         * sysdeps/ieee754/dbl-64/Makefile: New file.
37933         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37934         Remove brandred-fma4.
37935         (CFLAGS-brandred-fma4.c): Remove.
37936         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37937         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37938         define.
37939         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37940         define.
37941
37942 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37943
37944         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37945         LLONG_MAX != LONG_MAX.
37946         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37947         (_fitoa_word): Likewise.
37948         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37949         LLONG_MAX != LONG_MAX.
37950         * stdio-common/_itowa.h: Include <_itoa.h>.
37951         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37952         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37953         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37954         only if not defined.
37955         (_ITOA_WORD_TYPE): Likewise.
37956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37957         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37958
37959 2012-03-21  David S. Miller  <davem@davemloft.net>
37960
37961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37962
37963 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37964
37965         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37966         of x86_64 when setting libc_cv_slibdir, libdir and
37967         libc_cv_localedir.
37968         * sysdeps/unix/sysv/linux/configure: Regenerated.
37969
37970 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37971
37972         * manual/lang.texi (Old Varargs): Remove section.
37973         (How Variadic): Update menu.
37974         (va_start): Do not mention varargs.h.
37975
37976 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37977             Joseph Myers  <joseph@codesourcery.com>
37978
37979         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37980         link test.
37981         * configure: Regenerated.
37982
37983 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37984
37985         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37986         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37987         conformtest.pl
37988
37989 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37990
37991         * NOTES: Remove.
37992         * Makefile (files-for-dist): Remove NOTES.
37993         (NOTES): Remove rule.
37994         * README: Don't refer to NOTES.
37995         * manual/creature.texi: Don't include macros.texi.
37996         * manual/intro.texi (creature.texi): Remove comment referring to
37997         NOTES.
37998
37999         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38000         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38001         * configure: Regenerated.
38002         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38003         LIBC_TRY_CC_OPTION.
38004         (libc_cv_as_i686): Likewise.
38005         (libc_cv_cc_avx): Likewise.
38006         (libc_cv_cc_sse2avx): Likewise.
38007         (libc_cv_cc_fma4): Likewise.
38008         (libc_cv_cc_novzeroupper): Likewise.
38009         * sysdeps/i386/configure: Regenerated.
38010
38011         [BZ #13883]
38012         * sysdeps/i386/fpu/s_cexp.S: Remove.
38013         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38014         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38015         * math/libm-test.inc (cexp_test): Add more tests.
38016         * sysdeps/i386/fpu/libm-test-ulps: Update.
38017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38018
38019 2012-03-21  Allan McRae  <allan@archlinux.org>
38020
38021         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38022
38023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38024
38025         [BZ #13871]
38026         * math/w_exp2.c: Do not include <float.h>.
38027         (o_threshold, u_threshold): Remove.
38028         (__exp2): Calculate result before checking finiteness and calling
38029         __kernel_standard.
38030         * math/w_exp2f.c: Likewise.
38031         * math/w_exp2l.c: Likewise.
38032         * math/libm-test.inc (exp2_test): Require overflow exception for
38033         1e6 input.
38034
38035         [BZ #3866]
38036         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38037         range of signed 64-bit integers before using fistpll.  Remove
38038         checks for whether integers fit in mantissa bits.
38039         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38040         the range of signed 32-bit integers before using fistpl.  Remove
38041         checks for whether integers fit in mantissa bits.
38042         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38043         (__ieee754_powl): Test for y outside the range of signed 64-bit
38044         integers before using fistpll.  Reduce 64-bit values to 63-bit
38045         ones as needed.
38046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38047         divide-by-zero is raised for zero to large negative powers.
38048         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38049         (__ieee754_powl): Test for y outside the range of signed 64-bit
38050         integers before using fistpll.  Reduce 64-bit values to 63-bit
38051         ones as needed.
38052         * math/libm-test.inc (pow_test): Add more tests.
38053
38054 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38055
38056         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38057         <stdio-common/_itoa.h>.
38058         * debug/segfault.c: Likewise.
38059         * elf/dl-cache.c: Likewise.
38060         * elf/dl-minimal.c: Likewise.
38061         * elf/dl-misc.c: Likewise.
38062         * elf/dl-sysdep.c: Likewise.
38063         * elf/dl-version.c: Likewise.
38064         * elf/rtld.c: Likewise.
38065         * hurd/hurdsock.c: Likewise.
38066         * hurd/lookup-retry.c: Likewise.
38067         * malloc/malloc.c: Likewise.
38068         * malloc/mtrace.c: Likewise.
38069         * nscd/nscd_getgr_r.c: Likewise.
38070         * nscd/nscd_getpw_r.c: Likewise.
38071         * nscd/nscd_getserv_r.c: Likewise.
38072         * posix/getopt_init.c: Likewise.
38073         * posix/wordexp.c: Likewise.
38074         * stdio-common/_itoa.c: Likewise.
38075         * stdio-common/printf_fphex.c: Likewise.
38076         * stdio-common/vfprintf.c: Likewise.
38077         * string/_strerror.c: Likewise.
38078         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38079         * sysdeps/i386/i686/hp-timing.h: Likewise.
38080         * sysdeps/mach/_strerror.c: Likewise.
38081         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38082         * sysdeps/mach/hurd/sethostid.c: Likewise.
38083         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38084         * sysdeps/mach/xpg-strerror.c: Likewise.
38085         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38087         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38088         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38089         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38090         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38092         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38093         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38094         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38095         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38096         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38097         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38098         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38099         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38100         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38101         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38102         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38103         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38104         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38105         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38106
38107         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38108
38109         * stdio-common/_itoa.h: Moved to ...
38110         * sysdeps/generic/_itoa.h: Here.
38111
38112         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38113
38114         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38115         instead of "_itoa.h" and "_itowa.h".
38116         * stdio-common/vfprintf.: Likewise.
38117
38118 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38119
38120         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38121         <bits/wordsize.h>.
38122         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38123         (__signbit): Likwise.
38124         (llrintf): Likwise.
38125         (llrint): Likwise.
38126
38127 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38128
38129         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38130         __WORDSIZE != 64.
38131
38132 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38133
38134         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38135         OVERFLOW_EXCEPTION_OK.
38136         * math/libm-test.inc ("Philosophy"): Update comment about
38137         exception testing.
38138         (OVERFLOW_EXCEPTION): Define.
38139         (OVERFLOW_EXCEPTION_OK): Likewise.
38140         (INVALID_EXCEPTION_OK): Renumber.
38141         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38142         (IGNORE_ZERO_INF_SIGN): Likewise.
38143         (test_exceptions): Handle FE_OVERFLOW.
38144         (exp10_test): Expect overflow exceptions.
38145         (exp2_test): Likewise.
38146         (expm1_test): Likewise.
38147         (nextafter_test): Likewise.
38148         (pow_test): Likewise.
38149         (scalbn_test): Likewise.
38150         (scalbln_test): Likewise.
38151
38152 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38153
38154         * sysdeps/x86_64/bits/atomic.h
38155         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38156         64bit integer.
38157         (atomic_exchange_acq): Likewise.
38158         (__arch_exchange_and_add_body): Likewise.
38159         (__arch_add_body): Likewise.
38160         (atomic_add_negative): Likewise.
38161         (atomic_add_zero): Likewise.
38162
38163 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38164
38165         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38166         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38167
38168 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38169
38170         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38171         Check __x86_64__ instead of __WORDSIZE.
38172
38173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38174
38175         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38176
38177 2012-03-19  David S. Miller  <davem@davemloft.net>
38178
38179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38180
38181         * sysdeps/sparc/fpu/fenv_private.h: New file.
38182         * sysdeps/sparc/fpu/math_private.h: Use it.
38183         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38184         Remove.
38185         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38186         (libc_feholdexcept_setroundl): Remove.
38187         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38188         Remove.
38189         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38190         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38191
38192 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38193
38194         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38195         int64_t instead of long int.
38196         (INSERT_WORDS64): Likwise.
38197
38198 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38199
38200         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38201         _Unwind_GetCFA return to _Unwind_Ptr first.
38202
38203 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38204
38205         [BZ #13629]
38206         * math/s_clog.c: Include <float.h>.
38207         (__clog): Scale large or subnormal inputs.
38208         * math/s_clogf.c: Likewise.
38209         * math/s_clogl.c: Likewise.
38210         * math/s_clog10.c: Include <float.h>.
38211         (M_LOG10_2): Define.
38212         (__clog10): Scale large or subnormal inputs.
38213         * math/s_clog10f.c: Likewise.
38214         * math/s_clog10l.c: Likewise.
38215         * math/libm-test.inc (clog_test): Add more tests.
38216         (clog10_test): Likewise.
38217         * sysdeps/i386/fpu/libm-test-ulps: Update.
38218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38219
38220         [BZ #11451]
38221         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38222         x and y.
38223         * math/libm-test.inc (atan2_test): Add another test.
38224
38225         * Makerules (common-objdir-compile): Remove.
38226         * sysdeps/unix/Makefile (config-generated): Do not add
38227         $(unix-generated) to variable.
38228         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38229         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38230         Remove rule.
38231         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38232         Likewise.
38233         [generic bits/local_lim.h] (before-compile): Do not append to
38234         variable.
38235         [generic bits/local_lim.h] (common-generated): Likewise.
38236         [generic sys/param.h] (before-compile): Do not append to variable.
38237         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38238         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38239         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38240         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38241         include.
38242         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38243         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38244         [generic sys/param.h] ($(addprefix
38245         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38246         [generic sys/param.h] (common-generated): Do not append to
38247         variable.
38248         [generic sys/param.h] (sysdep_headers): Likewise.
38249         [generic bits/errno.h] (before-compile): Do not append to
38250         variable.
38251         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38252         rule.
38253         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38254         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38255         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38256         [generic bits/errno.h] (common-generated): Do not append to
38257         variable.
38258         [generic bits/ioctls.h] (before-compile): Do not append to
38259         variable.
38260         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38261         rule.
38262         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38263         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38264         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38265         rule.
38266         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38267         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38268         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38269         [generic bits/ioctls.h] (common-generated): Do not append to
38270         variable.
38271         [generic sys/syscall.h] (syscall.h): Remove variable.
38272         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38273         rule.
38274         [generic sys/syscall.h] (before-compile): Do not append to
38275         variable.
38276         [generic sys/syscall.h] (common-generated): Likewise.
38277         * sysdeps/unix/errnos-tmpl.c: Remove file.
38278         * sysdeps/unix/errnos.awk: Likewise.
38279         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38280         * sysdeps/unix/ioctls.awk: Likewise.
38281         * sysdeps/unix/mk-local_lim.c: Likewise.
38282         * sysdeps/unix/snarf-ioctls: Likewise.
38283
38284 2012-03-19  Richard Henderson  <rth@twiddle.net>
38285
38286         * sysdeps/i386/fpu/fenv_private.h: New file.
38287         * sysdeps/i386/fpu/math_private.h: Use it.
38288         (math_opt_barrier, math_force_eval): Remove.
38289         (libc_feholdexcept_setround_53bit): Remove.
38290         (libc_feupdateenv_53bit): Remove.
38291         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38292         (math_opt_barrier, math_force_eval): Remove.
38293         (libc_feholdexcept): Remove.
38294         (libc_feholdexcept_setround): Remove.
38295         (libc_fetestexcept, libc_fesetenv): Remove.
38296         (libc_feupdateenv_test): Remove.
38297         (libc_feupdateenv, libc_feholdsetround): Remove.
38298         (libc_feresetround): Remove.
38299
38300         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38301         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38302
38303         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38304         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38305         (libc_feupdateenv_testl): New.
38306         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38307         (libc_feupdateenv_testf): New.
38308         (libc_feupdateenv): Use libc_feupdateenv_test.
38309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38310         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38311
38312         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38313         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38314         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38315         (libc_feresetround_noex): New.
38316         (libc_feresetround_noexf): New.
38317         (libc_feresetround_noexl): New.
38318         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38319         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38320         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38321         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38322         SET_RESTORE_ROUND.
38323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38324         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38325         (__cos): Likewise.
38326         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38328         SET_RESTORE_ROUND_NOEX.
38329         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38330         SET_RESTORE_ROUND_NOEXF.
38331         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38332         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38333         (libc_feholdsetroundf): New.
38334         (libc_feresetround, libc_feresetroundf): New.
38335
38336         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38337         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38338         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38339
38340         * sysdeps/generic/math_private.h: Include <fenv.h>.
38341         (default_libc_feholdexcept): New.
38342         (default_libc_feholdexcept_setround): New.
38343         (default_libc_fesetenv, default_libc_feupdateenv): New.
38344         (libc_feholdexcept): Only define if undefined.
38345         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38346         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38347         (libc_feholdexcept_setroundl): Likewise.
38348         (libc_feholdexcept_setround_53bit): Likewise.
38349         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38350         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38351         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38352         (libc_feupdateenv_53bit): Likewise.
38353         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38354         (libc_feholdexcept): Convert from macro to inline function.
38355         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38356         (libc_fesetenv, libc_feupdateenv): Likewise.
38357
38358         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38359         not previously defined.
38360         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38361         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38362         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38363         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38364         * sysdeps/ieee754/flt-32/math_private.h: New file.
38365         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38366         math_private.h below SET_FLOAT_WORD.
38367         (__isnan, __isinf_ns, __finite): Remove.
38368         (__isnanf, __isinf_nsf, __finitef): Remove.
38369
38370 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38371
38372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38373
38374 2012-03-17  David S. Miller  <davem@davemloft.net>
38375
38376         [BZ #6471]
38377         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38378         for 2.16.
38379
38380 2012-03-16  David S. Miller  <davem@davemloft.net>
38381
38382         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38383         warnings.
38384
38385         [BZ #6471]
38386         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38387         properly.
38388         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38389         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38390         sysdep_routines when subdir is sysvipc.
38391         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38392         __getshmlba helper.
38393
38394         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38395
38396 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38397
38398         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38399         [__LP64__].
38400
38401 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38402
38403         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38404         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38405         (__lround): Renamed to ...
38406         (__llround): This.  Replace long int with long long int.
38407         Define lround functions as aliases of llround functions.
38408         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38409
38410 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38411
38412         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38413         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38414         adresses to uintptr_t.  Replace "long int" and "unsigned long
38415         int" with "greg_t" on va_arg.
38416
38417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38418
38419         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38420         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38421
38422         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38423         Move e_machine check before EI_CLASS check.  Handle x32
38424         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38425         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38426         SKIP_EM_IA_64 and include
38427         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38428
38429         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38430         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38431         (add_system_dir): New macro.
38432
38433         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38434         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38435
38436 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38437
38438         [BZ #2551]
38439         [BZ #2552]
38440         [BZ #2553]
38441         [BZ #2554]
38442         [BZ #2562]
38443         [BZ #2563]
38444         [BZ #2565]
38445         [BZ #2566]
38446         [BZ #2576]
38447         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38448         (y0): Likewise.
38449         * math/w_j0f.c (j0f): Likewise.
38450         (y0f): Likewise.
38451         * math/w_j0l.c (__j0l): Likewise.
38452         (__y0l): Likewise.
38453         * math/w_j1.c (j1): Likewise.
38454         (y1): Likewise.
38455         * math/w_j1f.c (j1f): Likewise.
38456         (y1f): Likewise.
38457         * math/w_j1l.c (__j1l): Likewise.
38458         (__y1l): Likewise.
38459         * math/w_jn.c (jn): Likewise.
38460         (yn): Likewise.
38461         * math/w_jnf.c (jnf): Likewise.
38462         (ynf): Likewise.
38463         * math/w_jnl.c (__jnl): Likewise.
38464         (__ynl): Likewise.
38465         * math/libm-test.inc (j0_test): Add more tests.
38466         (j1_test): Likewise.
38467         (jn_test): Likewise.  Add trailing semicolon to existing test.
38468         (y0_test): Likewise.
38469         (y1_test): Likewise.
38470         * sysdeps/i386/fpu/libm-test-ulps: Update.
38471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38472
38473         [BZ #13851]
38474         [BZ #13854]
38475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38476         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38477         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38478         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38479         (__tanl): Set errno for infinite argument.
38480         * sysdeps/i386/fpu/mptan.c: Remove.
38481         * sysdeps/i386/fpu/s_tan.S: Likewise.
38482         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38483         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38484         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38485         * math/libm-test.inc (tan_test): Add more tests and enable more
38486         tests for double and long double.
38487         * sysdeps/i386/fpu/libm-test-ulps: Update.
38488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38489
38490 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38491
38492         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38493         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38494
38495 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38496
38497         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38498         * configure.in: Use it for both main tree and add-ons.
38499         * configure: Regenerated.
38500
38501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38502
38503         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38504
38505 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38506
38507         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38508         in comment.
38509
38510         [BZ #13851]
38511         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38512         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38516         infinite argument.
38517         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38519         != 0 for prec == 2.
38520         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38521         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38522         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38523         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38524         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38525         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38526         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38527         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38528         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38529         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38530         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38531         * math/libm-test.inc (cos_test): Add more tests and enable more
38532         tests for long double.
38533         (sin_test): Likewise.
38534         (sincos_test): Likewise.
38535         * sysdeps/i386/fpu/libm-test-ulps: Update.
38536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38537
38538 2012-03-16  David S. Miller  <davem@davemloft.net>
38539
38540         * sysdeps/sparc/fpu/math_private.h: New file.
38541
38542 2012-03-15  David S. Miller  <davem@davemloft.net>
38543
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38545         file.
38546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38548         file.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38555         sysdep routines.
38556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38557
38558         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38559         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38560
38561         * sysdeps/sparc/sparc-ifunc.h: New file.
38562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38563         sparc-ifunc.h
38564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38566         Likewise.
38567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38568         Likewise.
38569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38573         Likewise.
38574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38579         Likewise.
38580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38581         Likewise.
38582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38600         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38602         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38606
38607 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38608
38609         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38610         scaling.
38611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38612
38613 2012-03-15  Andreas Jaeger  <aj@suse.de>
38614
38615         [BZ #13852]
38616         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38617         ieee754/flt-32 implementation for sin, cos and sincos.
38618         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38619         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38620         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38621         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38622         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38623         ieee754/flt-32 implementation for tan.
38624
38625         * math/libm-test.inc (cos_test): Enable some large input tests for
38626         float as well
38627         (sin_test): Likewise.
38628         (sincos_test): Likewise.
38629         (tan_test): Add tests for large input.
38630
38631         * sysdeps/i386/fpu/libm-test-ulps: Update.
38632
38633 2012-03-15  Andreas Jaeger  <aj@suse.de>
38634
38635         [BZ #13658]
38636         * math/libm-test.inc (cos_test): Add more test cases.
38637         (sin_test): Likewise.
38638         (sincos_test): Likewise.
38639
38640 2012-03-15  Andreas Jaeger  <aj@suse.de>
38641
38642         [BZ #13837]
38643         * math/libm-test.inc (cos_test): Add a test case for large input
38644         value.
38645         (sin_test): Likewise.
38646         (sincos_test): Likewise.
38647
38648 2012-03-15  Andreas Jaeger  <aj@suse.de>
38649             Joseph Myers  <joseph@codesourcery.com>
38650
38651         [BZ #13658]
38652         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38653         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38654         * sysdeps/i386/fpu/branred.c: Likewise.
38655         * sysdeps/i386/fpu/dosincos.c: Likewise.
38656         * sysdeps/i386/fpu/mpa.c: Likewise.
38657         * sysdeps/i386/fpu/s_cos.S: Likewise.
38658         * sysdeps/i386/fpu/s_sin.S: Likewise.
38659         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38660         * sysdeps/i386/fpu/sincos32.c: Likewise.
38661
38662         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38663         Define.
38664         (libc_feupdateenv_53bit): Define.
38665         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38666         Define.
38667         (libc_feupdateenv_53bit): Define.
38668
38669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38670         53 bit (without extend i386 double precision).
38671
38672         * math/libm-test.inc (sincos_test): Add tests for large input.
38673         (sin): Likewise.
38674         (cos): Likewise.
38675
38676         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38677
38678 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38679
38680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38681
38682 2012-03-15  David S. Miller  <davem@davemloft.net>
38683
38684         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38685         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38686         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38687         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38700         file.
38701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38703         file.
38704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38706         file.
38707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38709         file.
38710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38711         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38712         fmin/fmax sysdep routines.
38713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38714
38715 2012-03-14  David S. Miller  <davem@davemloft.net>
38716
38717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38721         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38729         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38737         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38741         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38746         routines.
38747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38748         file.
38749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38751         file.
38752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38754         file.
38755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38757         file.
38758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38760         file.
38761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38763         file.
38764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38765         file.
38766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38767         file.
38768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38769         file.
38770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38771         New file.
38772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38773         file.
38774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38775         file.
38776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38778         file.
38779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38781         file.
38782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38784         file.
38785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38787         VIS3 routines.
38788
38789         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38790         New file.
38791
38792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38793
38794         * sysdeps/sparc/configure.in: New file.
38795         * sysdeps/sparc/configure: Generate.
38796         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38797         * configure: Regenerate.
38798         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38799         * config.make.in (have-as-vis3): New.
38800         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38801         available use -Av9d instead of -Av9a.
38802         * sysdeps/sparc/sparc64/Makefile: Likewise.
38803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38805         New file.
38806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38807         file.
38808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38809         New file.
38810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38811         file.
38812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38813         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38817
38818         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38819         fzeros/fnegs to load 0x80000000 into a float register instead of
38820         using the stack.
38821         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38822
38823 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38824
38825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38826         bits/syscall.h.
38827         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38828         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38829         ($(inst_includedir)/bits/syscall.h): Remove rule.
38830         ($(objpfx)bits/syscall.d): Include instead of
38831         $(objpfx)syscall-list.d.
38832         (generated): Change syscall-list.h and syscall-list.d to
38833         bits/syscall.h and bits/syscall.d.
38834
38835 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38836
38837         [BZ #13846]
38838         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38839
38840 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38841
38842         [BZ #13841]
38843         * math/s_csqrt.c: Include <float.h>.
38844         (__csqrt): Scale large or subnormal inputs.
38845         * math/s_csqrtf.c: Likewise.
38846         * math/s_csqrtl.c: Likewise.
38847         * math/libm-test.inc (csqrt_test): Add more tests.
38848         * sysdeps/i386/fpu/libm-test-ulps: Update.
38849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38850
38851         [BZ #13840]
38852         * math/libm-test.inc (hypot_test): Add more tests.
38853
38854 2012-03-13  David S. Miller  <davem@davemloft.net>
38855
38856         [BZ #13840]
38857         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38858         double-precision for the calculation instead of scaling.
38859
38860 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38861
38862         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38863         manipulate bits before adding and subtracting TWO52[sx].
38864         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38865         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38866         Likewise.
38867         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38868
38869 2012-03-13  David S. Miller  <davem@davemloft.net>
38870
38871         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38872         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38874         rtld-global-offsets.h
38875         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38876
38877         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38878         large parameters.
38879
38880         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38881
38882         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38883         'err' in the ifdef scope in which it is actually used.
38884
38885         * nss/nss_db/db-init.c: Include string.h
38886
38887 2012-03-12  David S. Miller  <davem@davemloft.net>
38888
38889         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38890         masking out of the most significant byte of random value used.
38891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38892         Fix coding style in previous change.
38893
38894         * sysdeps/unix/sysv/linux/kernel-features.h
38895         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38896         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38897         expression.
38898         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38899         later.
38900
38901 2012-03-11  David S. Miller  <davem@davemloft.net>
38902
38903         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38904         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38905         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38906         for 'resultvar' otherwise things get truncated on 64-bit.
38907
38908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38909         Fix masking out of the most significant byte of random value used.
38910
38911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38912
38913 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38914
38915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38916
38917 2012-03-09  David S. Miller  <davem@davemloft.net>
38918
38919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38920         variables with appropriate CPP guards.
38921         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38922         from the frame pointer, not the stack pointer.  Correct layout
38923         comments.  Fix test on resulting framesize and the management of
38924         the outregs buffer for pltexit.  Preserve floating point return
38925         values across _dl_call_pltexit call.
38926         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38927         framesize and the management of the outregs buffer for pltexit.
38928         Preserve floating point return values across _dl_call_pltexit
38929         call.
38930         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38931         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38932         (la_sparc64_gnu_pltexit): New functions.
38933         (print_exit): Fix format string for return register value.
38934
38935 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38936
38937         * sunrpc/Makefile (others): Add rpcgen.
38938         ($(objpfx)rpcgen): Remove special build rule and dependency on
38939         libc.
38940         * sunrpc/rpcgen.c: New file.
38941
38942 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38943
38944         [BZ #13673]
38945         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38946         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38947         * sysdeps/i386/crti.S: Likewise.
38948         * sysdeps/i386/crtn.S: Likewise.
38949         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38950         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38951         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38952         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38953         * sysdeps/sh/crti.S: Likewise.
38954         * sysdeps/sh/crtn.S: Likewise.
38955         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38956
38957         [BZ #13673]
38958         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38959         with URL.
38960         * locale/programs/locfile-kw.gperf: Likewise.
38961         * locale/programs/charmap-kw.h: Regenerated.
38962         * locale/programs/locfile-kw.h: Likewise.
38963
38964         [BZ #13673]
38965         * intl/plural.y: Replace FSF snail mail address with URL.
38966         * intl/plural.c: Regenerated.
38967
38968 2012-03-09  Richard Henderson  <rth@twiddle.net>
38969
38970         * include/math_private.h: Remove file.
38971         * math/math_private.h: Move file ...
38972         * sysdeps/generic/math_private.h: ... here.
38973
38974         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38975         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38976         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38977
38978         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38979         and <math_private.h>.
38980         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38981         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38982         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38983         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38984         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38997         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38998         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39004         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39005         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39010         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39012         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39013         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39014         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39016         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39017         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39018         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39019         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39020         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39021         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39022         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39023         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39024         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39025         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39026         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39027         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39028         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39029         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39030         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39031         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39032         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39033         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39034         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39035         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39036         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39038         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39039         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39040         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39041         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39043         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39044         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39045         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39046         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39047         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39048         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39049         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39050         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39051         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39052         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39054         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39060         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39061         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39063         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39064         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39065         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39067         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39068         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39069         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39070         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39071         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39073         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39074         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39075         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39076         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39077         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39078         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39079         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39080         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39081         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39082         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39083         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39084         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39085         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39086         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39087         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39088         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39089         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39090         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39091         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39092         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39093         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39094         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39095         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39096         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39097         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39098         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39099         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39100         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39101         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39102         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39103         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39104         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39105         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39106         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39107         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39108         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39109         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39110         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39111         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39112         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39113         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39114         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39115         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39116         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39117         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39118         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39119         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39120         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39121         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39122         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39123         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39124         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39125         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39126         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39127         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39128         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39129         * sysdeps/ieee754/k_standard.c: Likewise.
39130         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39133         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39134         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39135         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39136         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39143         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39144         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39147         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39149         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39150         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39151         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39152         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39153         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39154         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39155         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39156         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39157         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39158         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39159         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39160         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39161         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39162         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39163         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39164         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39165         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39166         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39167         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39168         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39169         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39170         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39171         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39172         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39173         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39174         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39175         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39176         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39178         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39179         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39180         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39181         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39182         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39183         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39184         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39185         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39186         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39187         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39188         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39189         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39190         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39191         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39192         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39196         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39198         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39200         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39202         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39204         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39206         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39207         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39208         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39209         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39211         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39212         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39214         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39215         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39216         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39217         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39218         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39220         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39221         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39222         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39223         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39224         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39225         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39226         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39227         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39228         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39231         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39235         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39236         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39237         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39238         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39239         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39240         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39241         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39243         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39244         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39245         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39246         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39247         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39248         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39249         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39250         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39251         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39252         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39253         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39254         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39255         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39257         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39260         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39261         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39262         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39265         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39266         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39267         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39268         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39269         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39270         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39271         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39272         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39273         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39274         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39275         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39278         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39279         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39280         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39281         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39284         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39288         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39289         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39290         * sysdeps/ieee754/s_lib_version.c: Likewise.
39291         * sysdeps/ieee754/s_matherr.c: Likewise.
39292         * sysdeps/ieee754/s_signgam.c: Likewise.
39293         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39294         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39295         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39296         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39297         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39298         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39299         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39300         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39301         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39302         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39303         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39304         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39305         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39306         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39307         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39308         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39309         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39310         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39311         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39312         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39314
39315 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39316
39317         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39318         * sunrpc/rpc_main.c: Likewise.
39319         * sunrpc/rpc_svcout.c: Likewise.
39320
39321 2012-03-09  David S. Miller  <davem@davemloft.net>
39322
39323         * include/math_private.h: New file.
39324
39325 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39326
39327         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39328         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39329         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39330         from <bits/socket_type.h>.
39331         (enum __socket_type): Don't define here.
39332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39334         bits/socket_type.h.
39335
39336         [BZ #13566]
39337         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39338         checking __USE_GNU.
39339
39340         * Makerules ($(inst_includedir)/%.h): New rule.
39341         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39342         (install-others): Remove variable setting.
39343         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39344
39345 2012-03-08  Richard Henderson  <rth@twiddle.net>
39346
39347         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39348         from macro to inline function; merge with the
39349         !__LIBC_INTERNAL_MATH_INLINES version.
39350         (__ieee754_sqrtf): Likewise.
39351
39352         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39353         to inline function.
39354         (__rintf, __floor, __floorf): Likewise.
39355
39356         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39357         macro to inline function.
39358         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39359
39360         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39361         not <math/math_private.h>.
39362
39363 2012-03-08  David S. Miller  <davem@davemloft.net>
39364
39365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39366         copyright year.
39367         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39368
39369 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39370
39371         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39372         normalization.
39373         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39374         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39375
39376 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39377
39378         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39379         be defined individually, they must be defined as a block.  Define
39380         S for printing a string instead of hidint the different by using a
39381         macro for adding the 'l'.
39382         * stdio-common/tst-fphex-wide.c: Adjust.
39383
39384 2012-03-07  Marek Polacek  <polacek@redhat.com>
39385
39386         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39387
39388 2012-03-08  Marek Polacek  <polacek@redhat.com>
39389
39390         [BZ #13806]
39391         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39392         * stdio-common/tst-fphex.c: Define a few macros to make the
39393         test reusable.  Use them.
39394         * stdio-common/tst-fphex-wide.c: New file.
39395
39396 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39397
39398         [BZ #6911]
39399         * manual/macros.texi (gnusystems): New macro.
39400         (nongnusystems): Likewise.
39401         (gnulinuxhurdsystems): Likewise.
39402         (gnuhurdsystems): Likewise..
39403         (gnulinuxsystems): Likewise.
39404         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39405         variants of the GNU system, not "GNU system".
39406         * manual/conf.texi: Likewise.
39407         * manual/errno.texi: Likewise.  Update example of errno macro
39408         expansion.
39409         * manual/filesys.texi: Likewise.
39410         (getumask): Document as specific to GNU/Hurd.
39411         * manual/install.texi: Likewise.  Reword some references to
39412         GNU/Linux.
39413         * manual/intro.texi: Likewise.
39414         * manual/io.texi: Likewise.
39415         (File Name Portability): Detail which constraints are inapplicable
39416         to all GNU systems and which are only inapplicable to GNU/Hurd.
39417         * manual/job.texi: Likewise.
39418         * manual/llio.texi: Likewise.
39419         (O_NOCTTY): Document as present on GNU/Linux.
39420         * manual/maint.texi: Likewise.
39421         * manual/memory.texi: Likewise.
39422         * manual/pattern.texi: Likewise.
39423         * manual/pipe.texi: Likewise.
39424         * manual/process.texi: Likewise.
39425         * manual/resource.texi: Likewise.
39426         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39427         child on GNU/Hurd.
39428         * manual/setjmp.texi: Likewise.
39429         * manual/signal.texi: Likewise.
39430         * manual/startup.texi: Likewise.
39431         * manual/stdio.texi: Likewise.
39432         * manual/terminal.texi: Likewise.
39433         (ONLCR): Document as POSIX.
39434         (OXTABS): Document availability on GNU/Linux as XTABS.
39435         (ONOEOT): Document availability separately from other bits.
39436         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39437         * manual/time.texi: Likewise.
39438         * manual/users.texi: Likewise.
39439         * INSTALL: Regenerated.
39440         * sysdeps/gnu/errlist.c: Regenerated.
39441
39442         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39443         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39444         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39445         puts.
39446         * configure: Regenerated.
39447
39448 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39449
39450         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39451         default includes instead of AC_HEADER_CHECK.
39452         * sysdeps/i386/configure: Regenerated.
39453
39454         [BZ #10716]
39455         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39456         * math/s_cacoshf.c (__cacoshf): Likewise.
39457         * math/s_cacoshl.c (__cacoshl): Likewise.
39458         * math/s_casinh.c (__casinh): Set signs of result from argument.
39459         * math/s_casinhf.c (__casinhf): Likewise.
39460         * math/s_casinhl.c (__casinhl): Likewise.
39461         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39462         (casinh_test): Add more tests.
39463         * sysdeps/i386/fpu/libm-test-ulps: Update.
39464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39465
39466 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39467
39468         * po/zh_TW.po: Update from translation team.
39469
39470         * login/Makefile (distribute): Remove variable.
39471         * catgets/Makefile: Likewise.
39472         * mach/Makefile: Likewise.
39473         * malloc/Makefile: Likewise.
39474         * misc/Makefile: Likewise.
39475         * iconv/Makefile: Likewise.
39476         * nscd/Makefile: Likewise.
39477         * hurd/Makefile: Likewise.
39478         * manual/Makefile: Likewise.
39479         * locale/Makefile: Likewise.
39480         * intl/Makefile: Likewise.
39481         * conform/Makefile: Likewise.
39482         * nss/Makefile: Likewise.
39483         * time/Makefile: Likewise.
39484         * soft-fp/Makefile: Likewise.
39485         * dirent/Makefile: Likewise.
39486         * gmon/Makefile: Likewise.
39487         * po/Makefile: Likewise.
39488         * rt/Makefile: Likewise.
39489         * socket/Makefile: Likewise.
39490         * math/Makefile: Likewise.
39491         * signal/Makefile: Likewise.
39492         * debug/Makefile: Likewise.
39493         * elf/Makefile: Likewise.
39494         * timezone/Makefile: Likewise.
39495         * stdlib/Makefile: Likewise.
39496         * iconvdata/Makefile: Likewise.
39497         * sunrpc/Makefile: Likewise.
39498         * io/Makefile: Likewise.
39499         * argp/Makefile: Likewise.
39500         * inet/Makefile: Likewise.
39501         * hesiod/Makefile: Likewise.
39502         * grp/Makefile: Likewise.
39503         * csu/Makefile: Likewise.
39504         * wctype/Makefile: Likewise.
39505         * crypt/Makefile: Likewise.
39506         * libio/Makefile: Likewise.
39507         * string/Makefile: Likewise.
39508         * nis/Makefile: Likewise.
39509         * resolv/Makefile: Likewise.
39510         * stdio-common/Makefile: Likewise.
39511         * wcsmbs/Makefile: Likewise.
39512         * dlfcn/Makefile: Likewise.
39513         * posix/Makefile: Likewise.
39514
39515         [BZ #6959]
39516         * timezone/Makefile: Don't install timezone files, just the programs
39517         and scripts.
39518
39519 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39520
39521         * nss/databases.def: Add missing gshadow entry.
39522
39523         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39524
39525 2012-03-06  Marek Polacek  <polacek@redhat.com>
39526
39527         [BZ #13726]
39528         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39529         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39530         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39531         * stdio-common/tst-long-dbl-fphex.c: New file.
39532
39533 2012-03-06  David S. Miller  <davem@davemloft.net>
39534
39535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39536         (set_obp_int): New function.
39537         (get_obp_int): New function.
39538         (__get_clockfreq_via_dev_openprom): Likewise.
39539         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39540         Avoid unused variable warnings on 'val' and use builtin_expect.
39541         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39542         __builtin_expect.
39543         (INLINE_CLONE_SYSCALL): Likewise.
39544
39545 2012-03-05  David S. Miller  <davem@davemloft.net>
39546
39547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39548
39549 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39550
39551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39552
39553         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39554         only for |x| >= 40.
39555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39556
39557 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39558
39559         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39560         Replace gettimeofday with __vdso_gettimeofday.
39561
39562         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39563         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39564         __vdso_clock_gettime and __vdso_getcpu.
39565
39566         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39567         time with __vdso_time.
39568
39569 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39570
39571         * manual/lang.texi (size_t): Note types to which size_t may be
39572         equivalent with the GNU C Library, but do not describe when
39573         differences between them are significant.
39574
39575 2012-03-05  Andreas Jaeger  <aj@suse.de>
39576
39577         * sysdeps/i386/fpu/libm-test-ulps: Update.
39578
39579 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39580
39581         [BZ #3976]
39582         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39583         (__ieee754_pow): Save and restore rounding mode and use
39584         round-to-nearest for main computations.
39585         * math/libm-test.inc (pow_test_tonearest): New function.
39586         (pow_test_towardzero): Likewise.
39587         (pow_test_downward): Likewise.
39588         (pow_test_upward): Likewise.
39589         (main): Call the new functions.
39590         * sysdeps/i386/fpu/libm-test-ulps: Update.
39591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39592
39593         [BZ #3976]
39594         * math/libm-test.inc (cosh_test_tonearest): New function.
39595         (cosh_test_towardzero): Likewise.
39596         (cosh_test_downward): Likewise.
39597         (cosh_test_upward): Likewise.
39598         (sinh_test_tonearest): Likewise.
39599         (sinh_test_towardzero): Likewise.
39600         (sinh_test_downward): Likewise.
39601         (sinh_test_upward): Likewise.
39602         (main): Call the new functions.
39603         * sysdeps/i386/fpu/libm-test-ulps: Update.
39604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39605
39606 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39607
39608         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39609         default stack guard is set in last bytes.
39610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39611
39612 2012-03-05  Kees Cook  <keescook@chromium.org>
39613
39614         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39615
39616         [BZ #13656]
39617         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39618         possibly allocate from heap instead of stack.
39619         * stdio-common/bug-vfprintf-nargs.c: New file.
39620         * stdio-common/Makefile (tests): Add nargs overflow test.
39621
39622 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39623
39624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39625
39626 2012-03-03  Marek Polacek  <polacek@redhat.com>
39627
39628         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39629         * math/math_private.h: Likewise.
39630         * stdlib/tst-strtod.c: Likewise.
39631         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39632         * sysdeps/x86_64/bits/atomic.h: Likewise.
39633
39634 2012-03-02  David S. Miller  <davem@davemloft.net>
39635
39636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39640         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39641         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39642         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39643         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39644
39645 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39646
39647         [BZ #13792]
39648         * manual/examples/README: New file, says the example source files
39649         can be used under GPL>=2.
39650         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39651         line containing just "*/".
39652         * manual/examples/add.c: Add copyright header (GPL>=2).
39653         * manual/examples/argp-ex1.c: Likewise.
39654         * manual/examples/argp-ex2.c: Likewise.
39655         * manual/examples/argp-ex3.c: Likewise.
39656         * manual/examples/argp-ex4.c: Likewise.
39657         * manual/examples/atexit.c: Likewise.
39658         * manual/examples/db.c: Likewise.
39659         * manual/examples/dir.c: Likewise.
39660         * manual/examples/dir2.c: Likewise.
39661         * manual/examples/execinfo.c: Likewise.
39662         * manual/examples/filecli.c: Likewise.
39663         * manual/examples/filesrv.c: Likewise.
39664         * manual/examples/fmtmsgexpl.c: Likewise.
39665         * manual/examples/genpass.c: Likewise.
39666         * manual/examples/inetcli.c: Likewise.
39667         * manual/examples/inetsrv.c: Likewise.
39668         * manual/examples/isockad.c: Likewise.
39669         * manual/examples/longopt.c: Likewise.
39670         * manual/examples/memopen.c: Likewise.
39671         * manual/examples/memstrm.c: Likewise.
39672         * manual/examples/mkfsock.c: Likewise.
39673         * manual/examples/mkisock.c: Likewise.
39674         * manual/examples/mygetpass.c: Likewise.
39675         * manual/examples/pipe.c: Likewise.
39676         * manual/examples/popen.c: Likewise.
39677         * manual/examples/rprintf.c: Likewise.
39678         * manual/examples/search.c: Likewise.
39679         * manual/examples/select.c: Likewise.
39680         * manual/examples/setjmp.c: Likewise.
39681         * manual/examples/sigh1.c: Likewise.
39682         * manual/examples/sigusr.c: Likewise.
39683         * manual/examples/stpcpy.c: Likewise.
39684         * manual/examples/strdupa.c: Likewise.
39685         * manual/examples/strftim.c: Likewise.
39686         * manual/examples/strncat.c: Likewise.
39687         * manual/examples/subopt.c: Likewise.
39688         * manual/examples/swapcontext.c: Likewise.
39689         * manual/examples/termios.c: Likewise.
39690         * manual/examples/testopt.c: Likewise.
39691         * manual/examples/testpass.c: Likewise.
39692         * manual/examples/timeval_subtract.c: Likewise.
39693
39694         [BZ #13792]
39695         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39696         function to ...
39697         * manual/timeval_subtract.c.texi: ... here, new file.
39698
39699 2012-03-02  David S. Miller  <davem@davemloft.net>
39700
39701         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39702
39703 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39704
39705         [BZ #3976]
39706         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39707         (__sin): Save and restore rounding mode and use round-to-nearest
39708         for all computations.
39709         (__cos): Save and restore rounding mode and use round-to-nearest
39710         for all computations.
39711         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39712         <fenv.h>.
39713         (tan): Save and restore rounding mode and use round-to-nearest for
39714         all computations.
39715         * math/libm-test.inc (cos_test_tonearest): New function.
39716         (cos_test_towardzero): Likewise.
39717         (cos_test_downward): Likewise.
39718         (cos_test_upward): Likewise.
39719         (sin_test_tonearest): Likewise.
39720         (sin_test_towardzero): Likewise.
39721         (sin_test_downward): Likewise.
39722         (sin_test_upward): Likewise.
39723         (tan_test_tonearest): Likewise.
39724         (tan_test_towardzero): Likewise.
39725         (tan_test_downward): Likewise.
39726         (tan_test_upward): Likewise.
39727         (main): Call the new functions.
39728         * sysdeps/i386/fpu/libm-test-ulps: Update.
39729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39730
39731         [BZ #10135]
39732         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39733         small n, then large n, before computing and testing k+n.
39734         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39736         Likewise.
39737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39738         Likewise.
39739         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39740         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39743         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39744         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39747         * math/libm-test.inc (scalbn_test): Add more tests.
39748         (scalbln_test): Likewise.
39749
39750         * manual/filesys.texi (mode_t): Describe constraints on size and
39751         signedness, not exact equivalence to a particular type.
39752         (ino_t): Likewise.
39753         (ino64_t): Likewise.
39754         (dev_t): Likewise.
39755         (nlink_t): Likewise.
39756         (blkcnt_t): Likewise.
39757         (blkcnt64_t): Likewise.
39758         * manual/llio.texi (off_t): Likewise.
39759
39760         [BZ #3976]
39761         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39762         (__ieee754_exp): Save and restore rounding mode and use
39763         round-to-nearest for all computations.
39764         * math/libm-test.inc (exp_test_tonearest): New function.
39765         (exp_test_towardzero): Likewise.
39766         (exp_test_downward): Likewise.
39767         (exp_test_upward): Likewise.
39768         (main): Call the new functions.
39769         * sysdeps/i386/fpu/libm-test-ulps: Update.
39770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39771
39772 2012-03-01  Chris Demetriou  <cgd@google.com>
39773
39774         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39775         have predictable order.
39776
39777 2012-03-01  David S. Miller  <davem@davemloft.net>
39778
39779         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39780
39781         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39782         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39783         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39784         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39785
39786         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39787         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39788         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39790         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39791         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39792         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39793         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39794         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39795
39796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39797
39798         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39799         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39800         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39801
39802         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39803         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39804         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39805         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39806         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39807         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39809         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39810         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39811         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39812         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39813         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39815         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39816         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39818         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39819         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39820         * sysdeps/sparc/elf/configure: Regenerated.
39821
39822 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39823
39824         * configure.in (AS, LD): Require binutils 2.20 or later.
39825         * configure: Regenerated.
39826         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39827         as required minimum version.
39828         * INSTALL: Regenerated.
39829
39830         [BZ #2541]
39831         [BZ #4108]
39832         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39833         before squaring exponent.
39834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39835         bottom long double and 27 bits of top long double before squaring
39836         exponent.
39837         * math/libm-test.inc (erfc_test): Add more tests.
39838         * sysdeps/i386/fpu/libm-test-ulps: Update.
39839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39841
39842 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39843
39844         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39845         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39846         containing bit-fields.
39847         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39848         * soft-fp/single.h (_FP_UNION_S): Likewise.
39849         * soft-fp/double.h (_FP_UNION_D): Likewise.
39850
39851 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39852
39853         [BZ #13786]
39854         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39855         not include ../strcmp.S.
39856         [USE_AS_STRNCASECMP_L]: Likewise.
39857         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39858         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39859         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39860         (__strncasecmp_l_ia32): Define as alias to
39861         __strncasecmp_l_nonascii.
39862
39863         [BZ #5794]
39864         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39865         * sysdeps/i386/fpu/libm-test-ulps: Update.
39866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39867
39868         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39870
39871 2012-02-29  Jeff Law  <law@redhat.com>
39872
39873         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39874         out of bounds read.
39875
39876 2012-02-29  Marek Polacek  <polacek@redhat.com>
39877
39878         [BZ #13706]
39879         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39880         * elf/Makefile: Add rules to run tst-unused-dep.out.
39881
39882 2012-02-28  David S. Miller  <davem@davemloft.net>
39883
39884         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39885         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39886         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39888         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39889         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39890
39891 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39892
39893         * math/libm-test.inc (llround_test): Move one test from
39894         lround_test.  Use TEST_f_L in moved test.
39895         (lround_test): Move misplaced test to llround_test.  Add testcase
39896         from bug 2561.
39897
39898 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39899
39900         * sysdeps/x86_64/fpu/e_expf.S: New file.
39901         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39902
39903 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39904
39905         [BZ #13637]
39906         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39907         of remain_len that may cause incomplete multi-byte character and
39908         false match.
39909         * posix/bug-regex33.c: New file.
39910         * posix/Makefile (tests): Add bug-regex33.
39911
39912 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39913
39914         * manual/macros.texi: New file.
39915         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39916         * manual/libc.texinfo: Include macros.texi.
39917         * manual/creatute.texi: Likewise.
39918         * manual/install.texi: Likewise.
39919         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39920         @glibcadj{} in references to the GNU C Library.
39921         * manual/charset.texi: Likewise.
39922         * manual/conf.texi: Likewise.
39923         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39924         when not using those macros.
39925         * manual/creature.texi: Likewise.
39926         * manual/crypt.texi: Likewise.
39927         * manual/errno.texi: Likewise.
39928         * manual/filesys.texi: Likewise.
39929         * manual/header.texi: Likewise.
39930         * manual/install.texi: Likewise.
39931         * manual/intro.texi: Likewise.
39932         * manual/io.texi: Likewise.
39933         * manual/job.texi: Likewise.
39934         * manual/lang.texi: Likewise.
39935         * manual/libc.texiinfo: Likewise.
39936         * manual/llio.texi: Likewise.
39937         * manual/locale.texi: Likewise.
39938         * manual/maint.texi: Likewise.
39939         * manual/math.texi: Likewise.
39940         * manual/memory.texi: Likewise.
39941         * manual/message.texi: Likewise.
39942         * manual/nss.texi: Likewise.
39943         * manual/pattern.texi: Likewise.
39944         * manual/process.texi: Likewise.
39945         * manual/resource.texi: Likewise.
39946         * manual/search.texi: Likewise.
39947         * manual/setjmp.texi: Likewise.
39948         * manual/signal.texi: Likewise.
39949         * manual/socket.texi: Likewise.
39950         * manual/startup.texi: Likewise.
39951         * manual/stdio.texi: Likewise.
39952         * manual/string.texi: Likewise.
39953         * manual/sysinfo.texi: Likewise.
39954         * manual/syslog.texi: Likewise.
39955         * manual/terminal.texi: Likewise.
39956         * manual/time.texi: Likewise.
39957         * manual/users.texi: Likewise.
39958         * INSTALL: Regenerated.
39959         * NOTES: Regenerated.
39960         * sysdeps/gnu/errlist.c: Regenerated.
39961
39962 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39963
39964         * include/dirent.h: Include <dirstream.h> before
39965         <dirent/dirent.h>.
39966
39967 2012-02-28  David S. Miller  <davem@davemloft.net>
39968
39969         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39970         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39971         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39972         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39973
39974 2012-02-27  David S. Miller  <davem@davemloft.net>
39975
39976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39978         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39979         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39980
39981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39982         frame pointer instead of stack pointer relative arg slot.
39983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39984         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39985         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39986
39987 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39988
39989         [BZ #3992]
39990         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39991
39992 2012-02-27  David S. Miller  <davem@davemloft.net>
39993
39994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39998         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39999         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40000         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40001         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40002
40003 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40004
40005         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40006         later.  Allow versions 5-9.
40007         * configure: Regenerated.
40008         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40009         required minimum version and 4.6 as recommended version.  Do not
40010         mention bugs in GCC 2.7 and 2.8.
40011         * INSTALL: Regenerated.
40012
40013 2012-02-27  David S. Miller  <davem@davemloft.net>
40014
40015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40019         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40020         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40021         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40022         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40023
40024         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40025         manipulate bits before adding and subtracting TWO112[sx].
40026         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40027
40028 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40029
40030         [BZ #13775]
40031         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40032         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40033         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40034         being in POSIX, because they are in 1003.1-2008.
40035
40036         * rt/tst-aio.c: Include <fcntl.h>.
40037         * rt/tst-aio7.c: Likewise.
40038         * rt/tst-aio64.c: Likewise.
40039
40040         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40041
40042 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40043
40044         * manual/install.texi (--with-headers): Describe headers as
40045         interface headers, not private headers.
40046         (Specific advice for GNU/Linux systems): Describe use of headers
40047         from "make headers_install", not private headers from older
40048         kernels.
40049         * INSTALL: Regenerated.
40050         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40051         Change to 2.6.19.
40052         * sysdeps/unix/sysv/linux/configure: Regenerated.
40053
40054         * manual/llio.texi (fclean): Remove documentation.
40055
40056         * manual/Makefile (libc-texi-generated): New variable.  Include
40057         version.texi.
40058         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40059         $(libc-texi-generated), not duplicated list of files.
40060         (version.texi, stamp-version): New rules.
40061         (realclean): Remove $(libc-texi-generated), not individual files
40062         from that list.  Do not remove dir-add.texinfo.
40063         * manual/libc.texinfo: Comment out uses of edition numbers and
40064         references to printed manual.  Remove last-updated dates.
40065         (EDITION): Comment out.
40066         (ISBN): Likewise.
40067         (VERSION, UPDATED): Remove.
40068         (version.texi): Include.
40069
40070 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40071
40072         * sysdeps/posix/spawni.c: Include <signal.h>.
40073         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40074         * sysdeps/pthread/aio_fsync.c: Likewise.
40075
40076 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40077
40078         * conform/Makefile (tests): Run only when not cross-compiling and
40079         when fast-check is not defined.
40080
40081         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40082         * conform/data/limits.h-data: Fixes for POSIX2008.
40083         * conform/run-conformtest.sh: Run all tests.
40084         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40085         headers.
40086         * include/bits/dlfcn.h: Likewise.
40087         * include/langinfo.h: Likewise.
40088         * include/monetary.h: Likewise.
40089         * include/sys/poll.h: Likewise.
40090
40091         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40092         for __USE_GNU.
40093         * posix/spawn.h: Define __need_sigset_t.
40094         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40095         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40096         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40097         to get sigevent_t only.
40098         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40099         only for __USE_GNU.
40100         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40101         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40102         process_vm_writev only for __USE_GNU.
40103         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40104
40105         * conform/Makefile: For now ignore errors from run-conformtest.
40106         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40107         POSIX to avoid namespace pollution.  Don't prepend headers.
40108         * conform/data/aio.h-data: Fixes for POSIX testing.
40109         * conform/data/fcntl.h-data: Likewise.
40110         * conform/data/glob.h-data: Likewise.
40111         * conform/data/grp.h-data: Likewise.
40112         * conform/data/pthread.h-data: Likewise.
40113         * conform/data/pwd.h-data: Likewise.
40114         * conform/data/signal.h-data: Likewise.
40115         * conform/data/spawn.h-data: Likewise.
40116         * conform/data/stdio.h-data: Likewise.
40117         * conform/data/stdlib.h-data: Likewise.
40118         * conform/data/stropts.h-data: Likewise.
40119         * conform/data/sys/mman.h-data: Likewise.
40120         * conform/data/sys/stat.h-data: Likewise.
40121         * conform/data/sys/types.h-data: Likewise.
40122         * conform/data/sys/wait.h-data: Likewise.
40123         * conform/data/time.h-data: Likewise.
40124         * conform/data/unistd.h-data: Likewise.
40125         * conform/data/utime.h-data: Likewise.
40126
40127         * io/sys/stat.h: fchmod was always in POSIX.
40128         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40129         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40130         * rt/aio.h: Define __need_timespec before including <time.h>.
40131         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40132         struct.  Add forward declaration of pthread_attr_t and use it in
40133         sigevent.
40134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40136         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40137         always remove CLK_TCK definition.
40138
40139 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40140
40141         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40142
40143 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40144
40145         * conform/run-conformtest.sh: New file.
40146         * conform/Makefile: Run run-conformtest for tests.
40147         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40148         support.
40149
40150         * conform/data/uchar.h-data: New file.
40151         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40152         * conform/data/arpa/inet.h-data: Likewise.
40153         * conform/data/assert.h-data: Likewise.
40154         * conform/data/complex.h-data: Likewise.
40155         * conform/data/cpio.h-data: Likewise.
40156         * conform/data/ctype.h-data: Likewise.
40157         * conform/data/dirent.h-data: Likewise.
40158         * conform/data/dlfcn.h-data: Likewise.
40159         * conform/data/errno.h-data: Likewise.
40160         * conform/data/fcntl.h-data: Likewise.
40161         * conform/data/float.h-data: Likewise.
40162         * conform/data/fmtmsg.h-data: Likewise.
40163         * conform/data/fnmatch.h-data: Likewise.
40164         * conform/data/ftw.h-data: Likewise.
40165         * conform/data/glob.h-data: Likewise.
40166         * conform/data/grp.h-data: Likewise.
40167         * conform/data/iconv.h-data: Likewise.
40168         * conform/data/inttypes.h-data: Likewise.
40169         * conform/data/langinfo.h-data: Likewise.
40170         * conform/data/libgen.h-data: Likewise.
40171         * conform/data/limits.h-data: Likewise.
40172         * conform/data/locale.h-data: Likewise.
40173         * conform/data/math.h-data: Likewise.
40174         * conform/data/monetary.h-data: Likewise.
40175         * conform/data/mqueue.h-data: Likewise.
40176         * conform/data/ndbm.h-data: Likewise.
40177         * conform/data/net/if.h-data: Likewise.
40178         * conform/data/netdb.h-data: Likewise.
40179         * conform/data/netinet/in.h-data: Likewise.
40180         * conform/data/nl_types.h-data: Likewise.
40181         * conform/data/poll.h-data: Likewise.
40182         * conform/data/pthread.h-data: Likewise.
40183         * conform/data/pwd.h-data: Likewise.
40184         * conform/data/regex.h-data: Likewise.
40185         * conform/data/sched.h-data: Likewise.
40186         * conform/data/search.h-data: Likewise.
40187         * conform/data/semaphore.h-data: Likewise.
40188         * conform/data/setjmp.h-data: Likewise.
40189         * conform/data/signal.h-data: Likewise.
40190         * conform/data/spawn.h-data: Likewise.
40191         * conform/data/stdarg.h-data: Likewise.
40192         * conform/data/stdio.h-data: Likewise.
40193         * conform/data/stdlib.h-data: Likewise.
40194         * conform/data/string.h-data: Likewise.
40195         * conform/data/strings.h-data: Likewise.
40196         * conform/data/stropts.h-data: Likewise.
40197         * conform/data/sys/ipc.h-data: Likewise.
40198         * conform/data/sys/mman.h-data: Likewise.
40199         * conform/data/sys/msg.h-data: Likewise.
40200         * conform/data/sys/resource.h-data: Likewise.
40201         * conform/data/sys/select.h-data: Likewise.
40202         * conform/data/sys/sem.h-data: Likewise.
40203         * conform/data/sys/shm.h-data: Likewise.
40204         * conform/data/sys/socket.h-data: Likewise.
40205         * conform/data/sys/stat.h-data: Likewise.
40206         * conform/data/sys/statvfs.h-data: Likewise.
40207         * conform/data/sys/time.h-data: Likewise.
40208         * conform/data/sys/timeb.h-data: Likewise.
40209         * conform/data/sys/times.h-data: Likewise.
40210         * conform/data/sys/types.h-data: Likewise.
40211         * conform/data/sys/uio.h-data: Likewise.
40212         * conform/data/sys/un.h-data: Likewise.
40213         * conform/data/sys/utsname.h-data: Likewise.
40214         * conform/data/sys/wait.h-data: Likewise.
40215         * conform/data/syslog.h-data: Likewise.
40216         * conform/data/tar.h-data: Likewise.
40217         * conform/data/termios.h-data: Likewise.
40218         * conform/data/utime.h-data: Likewise.
40219         * conform/data/utmpx.h-data: Likewise.
40220         * conform/data/varargs.h-data: Likewise.
40221         * conform/data/wchar.h-data: Likewise.
40222         * conform/data/wctype.h-data: Likewise.
40223         * conform/data/wordexp.h-data: Likewise.
40224
40225         * include/stropts.h: New file.
40226         * include/uchar.h: New file.
40227         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40228         * include/assert.h: Likewise.
40229         * include/ctype.h: Likewise.
40230         * include/dirent.h: Likewise.
40231         * include/dlfcn.h: Likewise.
40232         * include/fcntl.h: Likewise.
40233         * include/fnmatch.h: Likewise.
40234         * include/glob.h: Likewise.
40235         * include/grp.h: Likewise.
40236         * include/libio.h: Likewise.
40237         * include/locale.h: Likewise.
40238         * include/math.h: Likewise.
40239         * include/net/if.h: Likewise.
40240         * include/netdb.h: Likewise.
40241         * include/netinet/in.h: Likewise.
40242         * include/pthread.h: Likewise.
40243         * include/pwd.h: Likewise.
40244         * include/regex.h: Likewise.
40245         * include/sched.h: Likewise.
40246         * include/search.h: Likewise.
40247         * include/setjmp.h: Likewise.
40248         * include/signal.h: Likewise.
40249         * include/stdio.h: Likewise.
40250         * include/stdlib.h: Likewise.
40251         * include/string.h: Likewise.
40252         * include/sys/cdefs.h: Likewise.
40253         * include/sys/mman.h: Likewise.
40254         * include/sys/msg.h: Likewise.
40255         * include/sys/resource.h: Likewise.
40256         * include/sys/select.h: Likewise.
40257         * include/sys/socket.h: Likewise.
40258         * include/sys/stat.h: Likewise.
40259         * include/sys/statvfs.h: Likewise.
40260         * include/sys/time.h: Likewise.
40261         * include/sys/times.h: Likewise.
40262         * include/sys/uio.h: Likewise.
40263         * include/sys/utsname.h: Likewise.
40264         * include/sys/wait.h: Likewise.
40265         * include/termios.h: Likewise.
40266         * include/time.h: Likewise.
40267         * include/ulimit.h: Likewise.
40268         * include/unistd.h: Likewise.
40269         * include/utime.h: Likewise.
40270         * include/wchar.h: Likewise.
40271         * include/wctype.h: Likewise.
40272         * include/wordexp.h: Likewise.
40273
40274         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40275
40276         * time/time.h: TIME_UTC must be a macro.
40277         Make timespec_get available for ISO C11 only as well.
40278
40279 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40280
40281         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40282         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40283
40284 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40285
40286         * configure.in: Use -o not -a in test for unsupported multi-arch.
40287
40288 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40289
40290         * manual/texinfo.tex: Update to version 2012-01-19.16.
40291
40292 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40293
40294         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40295
40296 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40297
40298         [BZ #13738]
40299         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40300         * manual/fdl-1.3.texi: New file.
40301         * manual/fdl-1.1.texi: File removed.
40302
40303         [BZ #13738]
40304         * manual/libc.texinfo (FDL_VERSION): New @set.
40305         Use it for mention of FDL in cover text.
40306         (Documentation License): Use it in @include file name.
40307
40308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40309             Roland McGrath  <roland@hack.frob.com>
40310
40311         [BZ #5461]
40312         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40313         (not LONG_LONG_MAX and LONG_LONG_MIN.
40314         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40315         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40316         name.
40317         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40318
40319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40320
40321         [BZ #2547]
40322         [BZ #11365]
40323         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40324         manipulate bits before adding and subtracting TWO23[sx].
40325         * math/libm-test.inc (nearbyint_test): Add more tests.
40326
40327 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40328
40329         [BZ #2548]
40330         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40331         bits before adding and subtracting TWO23[sx].
40332         * math/libm-test.inc (rint_test): Add more tests.
40333         (rint_test_tonearest): Likewise.
40334         (rint_test_towardzero): Likewise.
40335         (rint_test_downward): Likewise.
40336         (rint_test_upward: Likewise.
40337
40338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40339
40340         [BZ #10110]
40341         * include/stdc-predef.h: New file.  Extracted from features.h.
40342         * include/features.h: Include stdc-predef.h.
40343         * Makefile (headers): Add stdc-predef.h.
40344         * CONFORMANCE (Compiler limitations): Update.
40345
40346 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40347
40348         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40349
40350 2012-02-21  David S. Miller  <davem@davemloft.net>
40351
40352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40353         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40354
40355 2012-02-20  David S. Miller  <davem@davemloft.net>
40356
40357         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40358         using a normal save/restore sequence, rather than allocating a
40359         dummy stack frame just to store a frame pointer and restore.
40360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40361
40362 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40363
40364         * manual/install.texi: Fix stray word in line-wrapped comment.
40365
40366 2012-02-20  David S. Miller  <davem@davemloft.net>
40367
40368         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40369         both binutils and gcc support GOTDATA.
40370
40371         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40372         "rd %pc" in the PIC register setup sequences.
40373
40374         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40375         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40376         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40377         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40378         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40381         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40383         (SYSCALL_ERROR_HANDLER): Likewise.
40384         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40387         (SYSCALL_ERROR_HANDLER): Likewise.
40388
40389         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40390         (HAVE_GCC_GOTDATA): New.
40391         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40392         relocation support in both binutils and gcc.
40393         * sysdeps/sparc/elf/configure: Regenerate.
40394
40395         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40396         * sysdeps/sparc/sparc32/elf/configure: Delete.
40397         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40398         * sysdeps/sparc/sparc64/elf/configure: Delete.
40399         * sysdeps/sparc/elf/configure.in: New file.
40400         * sysdeps/sparc/elf/configure: Generate.
40401
40402         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40403         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40404         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40405         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40406         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40407
40408 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40409
40410         * manual/install.texi: Do not mention specific glibc version
40411         numbers.
40412         * manual/libc.texinfo (VERSION, UPDATED): Update.
40413         (@copying): Use @copyright{} and range of years.
40414
40415 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40416
40417         [BZ #13695]
40418         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40419         [crti.S not in sysdirs] (generated): Do not append.
40420         [crti.S not in sysdirs] (omit-deps): Likewise.
40421         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40422         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40423         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40424         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40425         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40426         Likewise.
40427         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40428         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40429         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40430         * csu/defs.awk: Remove file.
40431         * sysdeps/generic/initfini.c: Likewise.
40432         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40433         variable.
40434         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40435         Likewise.
40436
40437 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40438
40439         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40440         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40441         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40442         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40443         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40444         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40445         <bits/epoll.h>.
40446         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40447         (__EPOLL_PACKED): Define to empty if not defined by
40448         <bits/epoll.h>.
40449         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40451         bits/epoll.h.
40452
40453 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40454
40455         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40456         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40457         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40458         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40459         <bits/timerfd.h>.
40460         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40462         bits/timerfd.h.
40463
40464 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40465
40466         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40467         in C locale.
40468         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40469         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40470         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40472
40473 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40474
40475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40476         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40477
40478 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40479
40480         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40481         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40482         defined.
40483         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40484         Likewise.
40485         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40486         entry for 2.16.
40487
40488 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40489
40490         * math/w_acos.c: Use non-signaling floating-point comparisons.
40491         * math/w_acosf.c: Likewise.
40492         * math/w_acosh.c: Likewise.
40493         * math/w_acoshf.c: Likewise.
40494         * math/w_acoshl.c: Likewise.
40495         * math/w_acosl.c: Likewise.
40496         * math/w_asin.c: Likewise.
40497         * math/w_asinf.c: Likewise.
40498         * math/w_asinl.c: Likewise.
40499         * math/w_atanh.c: Likewise.
40500         * math/w_atanhf.c: Likewise.
40501         * math/w_atanhl.c: Likewise.
40502         * math/w_exp2.c: Likewise.
40503         * math/w_exp2f.c: Likewise.
40504         * math/w_exp2l.c: Likewise.
40505         * math/w_j0.c: Likewise.
40506         * math/w_j0f.c: Likewise.
40507         * math/w_j0l.c: Likewise.
40508         * math/w_j1.c: Likewise.
40509         * math/w_j1f.c: Likewise.
40510         * math/w_j1l.c: Likewise.
40511         * math/w_jn.c: Likewise.
40512         * math/w_jnf.c: Likewise.
40513         * math/w_log.c: Likewise.
40514         * math/w_log10.c: Likewise.
40515         * math/w_log10f.c: Likewise.
40516         * math/w_log10l.c: Likewise.
40517         * math/w_log2.c: Likewise.
40518         * math/w_log2f.c: Likewise.
40519         * math/w_log2l.c: Likewise.
40520         * math/w_logf.c: Likewise.
40521         * math/w_logl.c: Likewise.
40522         * math/w_sqrt.c: Likewise.
40523         * math/w_sqrtf.c: Likewise.
40524         * math/w_sqrtl.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40528         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40529         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40530
40531 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40532
40533         [BZ #9739]
40534         * manual/string.texi (strnlen): Use correct parameter name in
40535         equivalent expression.
40536
40537 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40538
40539         [BZ #11174]
40540         * manual/users.texi (seteuid): Consistently use neweuid for
40541         argument name.
40542
40543 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40544
40545         [BZ #13704]
40546         * manual/nss.texi (Services in the NSS configuration): Correct
40547         list of services in example configuration file.
40548
40549 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40550
40551         [BZ #11322]
40552         * manual/arith.texi: Remove statements about negative zero
40553         behaving identically to zero.
40554
40555 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40556
40557         [BZ #5993]
40558         * manual/install.texi: Do not document upgrading from libc5.
40559
40560 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40561
40562         [BZ #4596]
40563         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40564
40565 2012-02-18  David S. Miller  <davem@davemloft.net>
40566
40567         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40568         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40569         %o7 across the call.
40570         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40571         instead.
40572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40573         SETUP_PIC_REG_LEAF.
40574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40575         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40576         * sysdeps/sparc/crtn.S: Likewise.
40577
40578 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40579
40580         * aout/Makefile: Remove.
40581
40582 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40583
40584         [BZ #13058]
40585         * manual/examples/argp-ex1.c (main): Format definition in GNU
40586         style.
40587         * manual/examples/argp-ex2.c (main): Likewise.
40588         * manual/examples/argp-ex3.c (main): Likewise.
40589         * manual/examples/argp-ex4.c (main): Likewise.
40590         * manual/examples/longopt.c (main): Use new-style prototype
40591         definition.
40592         * manual/examples/strncat.c (main): Specify return type and use
40593         (void) for arguments.
40594         * manual/examples/subopt.c (main): Use char **argv argument.
40595
40596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40597
40598         [BZ #5077]
40599         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40600         rounding modes.
40601
40602 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40603
40604         [BZ #6907]
40605         * manual/string.texi (strchr): Change when strchrnul is
40606         recommended.
40607
40608 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40609
40610         [BZ #174]
40611         * manual/locale.texi (setlocale): Document LOCPATH.
40612
40613 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40614
40615         [BZ #10210]
40616         * manual/process.texi (execle): Move @dots{} before last argument.
40617
40618 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40619
40620         [BZ #12047]
40621         * manual/charset.texi (Generic Charset Conversion): Fix typo
40622         (LC_TYPE -> LC_CTYPE).
40623
40624 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40625
40626         [BZ #5805]
40627         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40628         (scalbnf): Likewise.
40629         (scalbnl): Likewise.
40630         (scalbln): Likewise.
40631         (scalblnf): Likewise.
40632         (scalblnl): Likewise.
40633         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40634         (vwarnx): Likewise.
40635         (verr): Likewise.
40636         (verrx): Likewise.
40637         * manual/filesys.texi (telldir): Use braces around return type.
40638         * manual/llio.texi (mmap): Add space after comma.
40639         (mmap64): Likewise.
40640         * manual/math.texi (jn): Use @var{} on parameter names.
40641         (jnf): Likewise.
40642         (jnl): Likewise.
40643         (yn): Likewise.
40644         (ynf): Likewise.
40645         (ynl): Likewise.
40646         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40647         line.
40648         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40649         "...".
40650         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40651         (sched_get_priority_max): Likewise.
40652         * manual/signal.texi (sigvec): Add space after comma.
40653         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40654         names.
40655         (if_indextoname): Likewise.
40656         (if_freenameindex): Likewise.
40657         (sendto): Use ',' instead of '.' in prototype.
40658         * manual/startup.texi (syscall): Use @dots{} instead of literal
40659         "...".
40660         * manual/stdio.texi (__fpending): Separate initial words of
40661         paragraph from @deftypefun line.
40662         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40663         "...".
40664         (vsyslog): Use @var{} on parameter names.
40665         * manual/terminal.texi (stty): Use @var{} on parameter names.
40666         * manual/users.texi (getutmp): Use @var{} on parameter names.
40667         (getutmpx): Likewise.
40668
40669 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40670
40671         [BZ #6884]
40672         * manual/stdio.texi (fopen): Fix typos in description of
40673         ",ccs=STRING".
40674
40675 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40676
40677         [BZ #4026]
40678         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40679         get clock_id definition.
40680
40681 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40682
40683         [BZ #4822]
40684         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40685         (madvise): Cast every argument to void on its own.
40686
40687 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40688
40689         [BZ #9902]
40690         * manual/startup.texi (Exit Status): Fix typo.
40691
40692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40693
40694         [BZ #10140]
40695         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40696         * manual/examples/argp-ex2.c: Likewise.
40697         * manual/examples/argp-ex3.c: Likewise.
40698
40699 2012-02-16  Richard Henderson  <rth@redhat.com>
40700
40701         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40702         * sysdeps/s390/s390-32/initfini.c: Remove.
40703         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40704         * sysdeps/s390/s390-64/initfini.c: Remove.
40705
40706 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40707
40708         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40709         compiler output for sysdeps/generic/initfini.c.
40710         * sysdeps/sh/elf/initfini.c: Remove file.
40711
40712 2012-02-16  David S. Miller  <davem@davemloft.net>
40713
40714         [BZ #11494]
40715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40716
40717         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40718         * sysdeps/sparc/crti.S: New file.
40719         * sysdeps/sparc/crtn.S: New file.
40720         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40721         * sysdeps/sparc/sparc64/Makefile: Likewise.
40722
40723 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40724
40725         [BZ #3335]
40726         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40727
40728 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40729
40730         [BZ #4822]
40731         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40732
40733         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40734         (write, read, close): Likewise.
40735         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40736
40737 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40738
40739         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40740         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40741         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40742         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40743         <bits/signalfd.h>.
40744         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40746         bits/signalfd.h.
40747
40748 2012-02-14  Marek Polacek  <polacek@redhat.com>
40749
40750         * sysdeps/x86_64/crti.S: New file.
40751         * sysdeps/x86_64/crtn.S: New file.
40752         * sysdeps/x86_64/elf/initfini.c: Remove file.
40753
40754 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40755
40756         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40757         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40758         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40759         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40760         <bits/inotify.h>.
40761         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40763         bits/inotify.h.
40764
40765 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40766
40767         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40768         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40769         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40770         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40771         <bits/eventfd.h>.
40772         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40774         bits/eventfd.h.
40775
40776 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40777
40778         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40779         __feraiseexcept instead of feraiseexcept.
40780
40781         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40782         nanosleep invocations.
40783         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40784         strings, and add error checking for a nanosleep invocations.
40785
40786 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40787
40788         Replace FSF snail mail address with URLs, as per GNU coding standards.
40789         Most of the snail mail addresses were wrong anyway, and omitting
40790         them makes the source code easier to maintain.  Almost all of the
40791         changes are to license notices and to locale LC_IDENTIFICATION
40792         addresses, except for this one:
40793         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40794         not its snail mail address.
40795
40796 2012-02-09  Richard Henderson  <rth@twiddle.net>
40797
40798         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40799         of kernel-features.h.
40800
40801         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40802
40803 2012-02-08  Marek Polacek  <polacek@redhat.com>
40804
40805         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40806         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40807         * sysdeps/gnu/_G_config.h: Likewise.
40808         * sysdeps/generic/_G_config.h: Likewise.
40809
40810 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40811
40812         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40813         tests.
40814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40815
40816         * sysdeps/powerpc/powerpc32/crti.S: New file.
40817         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40818         * sysdeps/powerpc/powerpc64/crti.S: New file.
40819         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40820
40821         * Makeconfig (have-initfini): Don't set.
40822         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40823         * configure.in (nopic_initfini): Don't substitute.
40824         * config.h.in (HAVE_INITFINI): Don't #undef.
40825         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40826         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40827
40828 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40829
40830         Support crti.S and crtn.S provided directly by architectures.
40831         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40832         [crti.S in sysdirs] (omit-deps): Likewise.
40833         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40834         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40835         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40836         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40837         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40838         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40839         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40840         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40841         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40842         compiler output for sysdeps/generic/initfini.c.
40843         * sysdeps/i386/elf/Makefile: Remove file.
40844         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40845
40846 2012-02-07  Marek Polacek  <polacek@redhat.com>
40847
40848         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40849         * sysdeps/gnu/_G_config.h: Likewise.
40850         * sysdeps/mach/hurd/_G_config.h: Likewise.
40851
40852 2012-02-07  Marek Polacek  <polacek@redhat.com>
40853
40854         * math/Makefile (tests): Add tst-CMPLX2.
40855         * math/tst-CMPLX2.c: New file.
40856
40857 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40858
40859         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40860
40861         * math/libm-test.inc (jn_test): Add missing L suffix.
40862
40863 2012-02-06  Marek Polacek  <polacek@redhat.com>
40864
40865         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40866         * sysdeps/i386/fpu/e_powf.S: Likewise.
40867         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40868         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40869         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40870         * sysdeps/i386/fpu/e_pow.S: Likewise.
40871         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40872         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40873         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40874         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40875         * sysdeps/i386/fpu/e_log2.S: Likewise.
40876         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40877         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40878         * sysdeps/i386/fpu/e_powl.S: Likewise.
40879         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40880         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40881         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40882         * sysdeps/i386/fpu/e_logl.S: Likewise.
40883         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40884         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40885         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40886         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40887         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40888         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40889         * sysdeps/i386/fpu/e_log.S: Likewise.
40890         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40891         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40892         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40893         * sysdeps/i386/fpu/e_logf.S: Likewise.
40894         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40895         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40896         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40897         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40898         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40899         * sysdeps/i386/fpu/e_log10.S: Likewise.
40900         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40901         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40902         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40903         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40904         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40905         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40906         * sysdeps/i386/asm-syntax.h: Likewise.
40907         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40908         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40909         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40910         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40911         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40912         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40913         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40914         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40915         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40916         * sysdeps/powerpc/sysdep.h: Likewise.
40917         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40918         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40919
40920 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40921
40922         [BZ #411]
40923         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40924
40925 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40926
40927         * sysdeps/i386/sysdep.h: Include <features.h>.
40928         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40929         version.
40930
40931 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40932
40933         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40934         Define.
40935         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40936         LOAD_PIC_REG_STR.
40937
40938 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40939
40940         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40941         (SETUP_PIC_REG): Use GET_PC_THUNK.
40942         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40943         macro.
40944
40945 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40946
40947         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40948         for non-PIC compilation.
40949         (SETUP_PIC_REG): Add .p2align directive.
40950         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40951         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40952         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40953         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40954         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40955         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40956         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40957         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40958         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40959         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40960         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40961         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40962         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40964         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40965         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40966         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40967         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40968         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40969         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40970         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40971         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40972         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40973         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40974         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40976         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40977         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40978         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40979         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40980         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40981         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40982         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40983         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40984         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40985         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40986         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40987         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40988         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40989         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40990         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40991
40992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40993
40994         * math/tst-CMPLX.c: Include <stdio.h>.
40995
40996 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40997
40998         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40999         float.
41000         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41001         * sysdeps/sparc/bits/mathdef.h: Likewise.
41002
41003 2012-01-31  Marek Polacek  <polacek@redhat.com>
41004
41005         * libio/libio.h: Don't define _PARAMS.
41006         * locale/programs/config.h: Don't define PARAMS.
41007         * stdlib/strtol_l.c: Likewise.
41008         (__strtol_l): Remove PARAMS from the prototype.
41009
41010 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41011
41012         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41013         names.  Just use the correct names.  Remove unnecessary wrapper
41014         functions.
41015         * malloc/arena.c: Likewise.
41016         * malloc/hooks.c: Likewise.
41017
41018         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41019         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41020         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41021
41022 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41023
41024         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41025         into tail calls.
41026         (update_get_addr): New function.
41027         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41028         GET_ADDR_MODULE parameter.
41029
41030 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41031
41032         * crypt/cert.c: Remove __STDC__ conditionals.
41033         * crypt/crypt-entry.c: Likewise.
41034         * crypt/crypt_util.c: Likewise.
41035         * libio/filedoalloc.c: Likewise.
41036         * libio/fileops.c: Likewise.
41037         * libio/genops.c: Likewise.
41038         * libio/iofclose.c: Likewise.
41039         * libio/iofdopen.c: Likewise.
41040         * libio/iofopen.c: Likewise.
41041         * libio/iofopen64.c: Likewise.
41042         * libio/iogetdelim.c: Likewise.
41043         * libio/iopopen.c: Likewise.
41044         * libio/obprintf.c: Likewise.
41045         * libio/oldfileops.c: Likewise.
41046         * libio/oldiofclose.c: Likewise.
41047         * libio/oldiofdopen.c: Likewise.
41048         * libio/oldiofopen.c: Likewise.
41049         * libio/oldiopopen.c: Likewise.
41050         * libio/wfiledoalloc.c: Likewise.
41051         * libio/wgenops.c: Likewise.
41052         * locale/programs/xmalloc.c: Likewise.
41053         * misc/syslog.c: Likewise.
41054         * stdio-common/xbug.c: Likewise.
41055         * string/memchr.c: Likewise.
41056         * string/memcmp.c: Likewise.
41057         * string/memrchr.c: Likewise.
41058         * string/rawmemchr.c: Likewise.
41059         * sysdeps/posix/getcwd.c: Likewise.
41060         * time/strftime_l.c: Likewise.
41061
41062 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41063
41064         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41065         * config.make.in (config-cflags-sse2avx): Define.
41066         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41067         Fix typo.
41068
41069 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41070
41071         * scripts/config.guess: Update from upstream config git repository.
41072         * scripts/config.sub: Likewise.
41073
41074 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41075
41076         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41077         (EM_NUM): Update.
41078         (R_TILEPRO_*, R_TILEGX_*): New macros.
41079
41080         * scripts/firstversions.awk: Fix bug in version range handling.
41081
41082         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41083
41084         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41085
41086         * include/sys/epoll.h: New file.
41087         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41088         libc_hidden_def.
41089
41090 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41091
41092         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41093         Avoid unnecessary __WORDSIZE == 64 test.
41094         (fmaxf): Use VEX format if possible.
41095         (fmax): Likewise.
41096         (fminf): Likewise.
41097         (fmin): Likewise.
41098
41099         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41100         * math/math_private.h: Remove libc_fegetround* and
41101         libc_fesetround*.
41102         * sysdeps/i386/configure.in: Check for -msse2avx.
41103         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41104         also if SSE2AVX is defined.
41105         Remove libc_fegetround* and libc_fesetround*.
41106         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41107         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41108         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41109         of HAS_YMM_USABLE.
41110         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41111         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41112         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41113         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41115
41116         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41117
41118 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41119
41120         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41121         size is not set.
41122         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41123
41124 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41125
41126         [BZ #13618]
41127         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41128         relocation.
41129         * Makeconfig (libm): Define.
41130         * elf/Makefile: Add rules to build and run tst-relsort1.
41131         * elf/tst-relsort1.c: New file.
41132         * elf/tst-relsort1mod1.c: New file.
41133         * elf/tst-relsort1mod2.c: New file.
41134
41135 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41136
41137         * math/s_ldexp.c: Remove __STDC__ conditionals.
41138         * math/s_ldexpf.c: Likewise.
41139         * math/s_ldexpl.c: Likewise.
41140         * math/s_nextafter.c: Likewise.
41141         * math/s_nexttowardf.c: Likewise.
41142         * math/s_significand.c: Likewise.
41143         * math/s_significandf.c: Likewise.
41144         * math/s_significandl.c: Likewise.
41145         * math/w_jnl.c: Likewise.
41146         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41147         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41148         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41149         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41150         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41151         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41154         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41155         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41158         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41159         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41160         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41161         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41163         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41165         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41166         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41167         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41168         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41169         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41170         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41171         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41172         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41173         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41174         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41175         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41176         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41177         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41178         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41179         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41180         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41181         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41182         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41183         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41184         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41185         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41186         * sysdeps/ieee754/k_standard.c: Likewise.
41187         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41188         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41189         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41190         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41191         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41192         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41193         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41194         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41195         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41196         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41197         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41242         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41247         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41248         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41250         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41252         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41253         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41254         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41255         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41256         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41257         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41258         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41259         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41262         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41263         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41264         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41265         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41266         * sysdeps/ieee754/s_matherr.c: Likewise.
41267         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41268         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41271
41272 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41273
41274         * crypt/md5.h: Remove __STDC__ conditionals.
41275         * libio/libioP.h: Likewise.
41276         * locale/programs/config.h: Likewise.
41277         * sysdeps/generic/sysdep.h: Likewise.
41278         * sysdeps/i386/asm-syntax.h: Likewise.
41279         * sysdeps/s390/asm-syntax.h: Likewise.
41280         * sysdeps/unix/sysdep.h: Likewise.
41281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41283
41284 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41285
41286         * libio/libio.h: Remove __STDC__ conditionals.
41287         * malloc/obstack.h: Likewise.
41288         * math/complex.h: Likewise.
41289         * math/math.h: Likewise.
41290         * sysdeps/generic/_G_config.h: Likewise.
41291         * sysdeps/gnu/_G_config.h: Likewise.
41292         * sysdeps/mach/hurd/_G_config.h: Likewise.
41293         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41294         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41295         * sysdeps/sparc/bits/mathdef.h: Likewise.
41296
41297 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41298
41299         [BZ #13583]
41300         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41301         Clean up HAS_* macros.
41302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41303         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41304         possible.
41305         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41306         HAS_AVX.
41307         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41308         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41309         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41310         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41311         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41312
41313 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41314
41315         * elf/tst-unique3.cc (gets): Remove declaration.
41316         * elf/tst-unique3lib.cc (gets): Likewise.
41317         * elf/tst-unique3lib2.cc (gets): Likewise.
41318         * elf/tst-unique4.cc (gets): Likewise.
41319
41320 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41321
41322         * include/stdio.h: Add C++ protection.  Add gets declarations and
41323         definitions.
41324         * debug/tst-chk1.c: Don't declare gets here.
41325         * stdio-common/tst-gets.c: Likewise.
41326
41327 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41328
41329         * posix/glob: Remove directory.
41330
41331 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41332
41333         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41334
41335 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41336
41337         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41338         of the non-standard EPFNOSUPPORT.
41339
41340 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41341
41342         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41343         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41344         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41345
41346 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41347
41348         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41349
41350 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41351
41352         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41353         transient errors.
41354         * nscd/grpcache.c (cache_addgr): Likewise.
41355         * nscd/hstcache.c (cache_addhst): Likewise.
41356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41357         * nscd/pwdcache.c (cache_addpw): Likewise.
41358         * nscd/servicescache.c (cache_addserv): Likewise.
41359
41360 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41361
41362         * malloc/malloc.c: Various cleanups.
41363         * malloc/hooks.c: Likewise.
41364
41365         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41366         * stdlib/bug-fmtmsg1.c: New file.
41367
41368         * stdlib/fmtmsg.c (init): Add missing unlock.
41369         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41370
41371 2012-01-12  Marek Polacek  <polacek@redhat.com>
41372
41373         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41374         and _GNU_SOURCE.
41375
41376 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41377
41378         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41379         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41380         macro to ensure uniqueness of label name.
41381         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41382         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41383
41384 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41385
41386         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41387
41388         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41389         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41392
41393 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41394
41395         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41396
41397         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41398         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41399         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41400
41401         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41402
41403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41404         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41407
41408         * math/bits/math-finite.h: Add ldexp support.
41409
41410 2012-01-10  Marek Polacek  <polacek@redhat.com>
41411
41412         * locale/programs/localedef.h (show_archive_content): Add noreturn
41413         attribute.
41414
41415 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41416
41417         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41418
41419 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41420
41421         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41422
41423         * io/Makefile (headers): Add bits/poll2.h.
41424
41425 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41426
41427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41428         typo #include statement.
41429
41430 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41431
41432         * include/sys/cdefs.h: Define __attribute_alloc_size.
41433         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41434         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41435         * elf/pldd.c: Likewise.
41436         * iconv/iconv_charmap.c: Likewise.
41437         * iconv/iconvconfig.c: Likewise.
41438         * iconv/strtab.c: Likewise.
41439         * locale/programs/locale.c: Likewise.
41440         * locale/programs/localedef.h: Likewise.
41441         * locale/programs/simple-hash.c: Likewise.
41442         * nscd/nscd.h: Likewise.
41443         * nss/makedb.c: Likewise.
41444         * sysdeps/generic/ldconfig.h: Likewise.
41445         * locale/programs/localedef.c: Remove xmalloc prototype.
41446         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41447
41448 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41449
41450         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41451         appropriate.
41452
41453 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41454
41455         * math/Makefile (tests): Add tst-CMPLX.
41456         * math/tst-CMPLX.c: New file.
41457
41458         * math/complex.h (CMPLXL): Fix typo.
41459
41460         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41461         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41462         GLIBC_2.16.
41463         * debug/tst-chk1.c: Add poll and ppoll tests.
41464         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41465         * include/sys/poll.h: Add hidden proto for ppoll.
41466         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41467         * sysdeps/mach/hurd/ppoll.c: Likewise.
41468         * io/ppoll.c: Likewise.
41469         * debug/poll_chk.c: New file.
41470         * debug/ppoll_chk.c: New file.
41471         * include/bits/poll2.h: New file.
41472         * io/bits/poll2.h: New file.
41473
41474         [BZ #1350]
41475         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41476
41477         * configure.in: static is always set to yes.  Remove.
41478         * config.make.in: Don't set build-static.
41479         * Makeconfig: Remove use of build-static.
41480         * dlfcn/Makefile: Likewise.
41481         * elf/Makefile: Likewise.
41482         * math/Makefile: Likewise.
41483         * misc/Makefile: Likewise.
41484         * nptl/Makefile: Likewise.
41485         * sysdeps/mach/hurd/Makefile: Likewise.
41486
41487         * configure.in: PWD_P is not used anymore.
41488         * config.make.in: Remove PWD_P entry.
41489
41490         * configure.in: Remove last remnants of RANLIB.
41491         No need to check for signed size_t anymore.
41492         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41493         and IA-64.
41494         Remove __builtin_expect test because we require at least gcc 3.4.
41495         * aclocal.m4: Likewise.
41496
41497         * wcsmbs/mbrtoc16.c: Implement using towc function.
41498         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41499         * wcsmbs/wcsmbsload.c: Likewise.
41500         * iconv/gconv_simple.c: Likewise.
41501         * iconv/gconv_int.h: Likewise.
41502         * iconv/gconv_builtin.h: Likewise.
41503         * iconv/iconv_prog.c: Remove CHAR16 handling.
41504
41505         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41506
41507         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41508
41509         * configure.in: Remove --with-elf and --enable-bounded options.
41510         Dont set base_machine for ia64.  More non-ELF conditions removed.
41511         Remove testing and setting of leading underscore information.
41512         * config.make.in (build-bounded): Set to no.
41513         * config.h.in: Remove NO_UNDERSCORES entry.
41514         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41515         them.
41516         * csu/start.c: Remove !NO_UNDERSCORE code.
41517         * locale/localeinfo.h: Likewise.
41518         * sysdeps/generic/machine-gmon.h: Likewise.
41519         * sysdeps/generic/sysdep.h: Likewise.
41520         * sysdeps/i386/sysdep.h: Likewise.
41521         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41522         * sysdeps/mach/sysdep.h: Likewise.
41523         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41524         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41525         * sysdeps/sh/sysdep.h: Likewise.
41526         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41527         * sysdeps/unix/i386/sysdep.S: Likewise.
41528         * sysdeps/unix/sparc/start.c: Likewise.
41529         * sysdeps/unix/sparc/sysdep.S: Likewise.
41530         * sysdeps/unix/sparc/sysdep.h: Likewise.
41531         * sysdeps/unix/start.c: Likewise.
41532         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41533         * sysdeps/x86_64/sysdep.h: Likewise.
41534
41535 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41536
41537         [BZ #13553]
41538         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41539         for non-gcc.
41540         * argp/argp-fmtstream.h: Use const instead __const.
41541         * argp/argp.h: Likewise.
41542         * assert/assert.h: Likewise.
41543         * bits/fenv.h: Likewise.
41544         * bits/sched.h: Likewise.
41545         * bits/sigset.h: Likewise.
41546         * bits/sigthread.h: Likewise.
41547         * catgets/nl_types.h: Likewise.
41548         * conform/data/pthread.h-data: Likewise.
41549         * crypt/crypt-private.h: Likewise.
41550         * crypt/crypt.h: Likewise.
41551         * crypt/crypt_util.c: Likewise.
41552         * ctype/ctype.h: Likewise.
41553         * debug/execinfo.h: Likewise.
41554         * debug/mbsnrtowcs_chk.c: Likewise.
41555         * debug/mbsrtowcs_chk.c: Likewise.
41556         * debug/wcsnrtombs_chk.c: Likewise.
41557         * debug/wcsrtombs_chk.c: Likewise.
41558         * debug/wcstombs_chk.c: Likewise.
41559         * dirent/dirent.h: Likewise.
41560         * dlfcn/dlfcn.h: Likewise.
41561         * elf/neededtest4.c: Likewise.
41562         * grp/grp.h: Likewise.
41563         * gshadow/gshadow.h: Likewise.
41564         * iconv/gconv.h: Likewise.
41565         * iconv/gconv_int.h: Likewise.
41566         * iconv/gconv_simple.c: Likewise.
41567         * iconv/iconv.h: Likewise.
41568         * iconv/loop.c: Likewise.
41569         * iconv/skeleton.c: Likewise.
41570         * include/aio.h: Likewise.
41571         * include/aliases.h: Likewise.
41572         * include/argz.h: Likewise.
41573         * include/arpa/inet.h: Likewise.
41574         * include/assert.h: Likewise.
41575         * include/dirent.h: Likewise.
41576         * include/dlfcn.h: Likewise.
41577         * include/execinfo.h: Likewise.
41578         * include/fcntl.h: Likewise.
41579         * include/fenv.h: Likewise.
41580         * include/glob.h: Likewise.
41581         * include/grp.h: Likewise.
41582         * include/libintl.h: Likewise.
41583         * include/mntent.h: Likewise.
41584         * include/netdb.h: Likewise.
41585         * include/pwd.h: Likewise.
41586         * include/rpc/netdb.h: Likewise.
41587         * include/sched.h: Likewise.
41588         * include/search.h: Likewise.
41589         * include/shadow.h: Likewise.
41590         * include/signal.h: Likewise.
41591         * include/stdio.h: Likewise.
41592         * include/stdlib.h: Likewise.
41593         * include/string.h: Likewise.
41594         * include/sys/socket.h: Likewise.
41595         * include/sys/stat.h: Likewise.
41596         * include/sys/statfs.h: Likewise.
41597         * include/sys/statvfs.h: Likewise.
41598         * include/sys/syslog.h: Likewise.
41599         * include/sys/time.h: Likewise.
41600         * include/sys/uio.h: Likewise.
41601         * include/time.h: Likewise.
41602         * include/unistd.h: Likewise.
41603         * include/utmp.h: Likewise.
41604         * include/wchar.h: Likewise.
41605         * include/wctype.h: Likewise.
41606         * inet/aliases.h: Likewise.
41607         * inet/arpa/inet.h: Likewise.
41608         * inet/netinet/ether.h: Likewise.
41609         * inet/netinet/in.h: Likewise.
41610         * intl/libintl.h: Likewise.
41611         * io/bits/fcntl2.h: Likewise.
41612         * io/fcntl.h: Likewise.
41613         * io/ftw.h: Likewise.
41614         * io/sys/poll.h: Likewise.
41615         * io/sys/stat.h: Likewise.
41616         * io/sys/statfs.h: Likewise.
41617         * io/sys/statvfs.h: Likewise.
41618         * io/utime.h: Likewise.
41619         * libio/bits/stdio.h: Likewise.
41620         * libio/bits/stdio2.h: Likewise.
41621         * libio/libio.h: Likewise.
41622         * libio/libioP.h: Likewise.
41623         * libio/stdio.h: Likewise.
41624         * locale/lc-ctype.c: Likewise.
41625         * locale/locale.h: Likewise.
41626         * login/utmp.h: Likewise.
41627         * malloc/arena.c: Likewise.
41628         * malloc/malloc.c: Likewise.
41629         * malloc/malloc.h: Likewise.
41630         * malloc/mcheck.c: Likewise.
41631         * malloc/mtrace.c: Likewise.
41632         * math/bits/mathcalls.h: Likewise.
41633         * math/fenv.h: Likewise.
41634         * math/math_private.h: Likewise.
41635         * misc/bits/error.h: Likewise.
41636         * misc/bits/syslog.h: Likewise.
41637         * misc/err.h: Likewise.
41638         * misc/error.h: Likewise.
41639         * misc/fstab.h: Likewise.
41640         * misc/mntent.h: Likewise.
41641         * misc/regexp.h: Likewise.
41642         * misc/search.h: Likewise.
41643         * misc/sgtty.h: Likewise.
41644         * misc/sys/mman.h: Likewise.
41645         * misc/sys/syslog.h: Likewise.
41646         * misc/sys/uio.h: Likewise.
41647         * misc/sys/xattr.h: Likewise.
41648         * misc/ttyent.h: Likewise.
41649         * nis/rpcsvc/ypclnt.h: Likewise.
41650         * nss/nss.h: Likewise.
41651         * posix/bits/unistd.h: Likewise.
41652         * posix/fnmatch.h: Likewise.
41653         * posix/glob.h: Likewise.
41654         * posix/sched.h: Likewise.
41655         * posix/spawn.h: Likewise.
41656         * posix/sys/wait.h: Likewise.
41657         * posix/unistd.h: Likewise.
41658         * posix/wordexp.h: Likewise.
41659         * pwd/pwd.h: Likewise.
41660         * resolv/netdb.h: Likewise.
41661         * resource/sys/resource.h: Likewise.
41662         * rt/aio.h: Likewise.
41663         * rt/bits/mqueue2.h: Likewise.
41664         * rt/mqueue.h: Likewise.
41665         * shadow/shadow.h: Likewise.
41666         * signal/signal.h: Likewise.
41667         * socket/send.c: Likewise.
41668         * socket/sendto.c: Likewise.
41669         * socket/sys/socket.h: Likewise.
41670         * stdio-common/printf.h: Likewise.
41671         * stdlib/bits/stdlib.h: Likewise.
41672         * stdlib/fmtmsg.h: Likewise.
41673         * stdlib/monetary.h: Likewise.
41674         * stdlib/stdlib.h: Likewise.
41675         * stdlib/ucontext.h: Likewise.
41676         * streams/stropts.h: Likewise.
41677         * string/argz.h: Likewise.
41678         * string/bits/string2.h: Likewise.
41679         * string/string.h: Likewise.
41680         * string/strings.h: Likewise.
41681         * sunrpc/rpc/auth.h: Likewise.
41682         * sunrpc/rpc/auth_des.h: Likewise.
41683         * sunrpc/rpc/clnt.h: Likewise.
41684         * sunrpc/rpc/netdb.h: Likewise.
41685         * sunrpc/rpc/pmap_clnt.h: Likewise.
41686         * sunrpc/rpc/xdr.h: Likewise.
41687         * sysdeps/generic/inttypes.h: Likewise.
41688         * sysdeps/generic/net/if.h: Likewise.
41689         * sysdeps/generic/sys/swap.h: Likewise.
41690         * sysdeps/gnu/net/if.h: Likewise.
41691         * sysdeps/gnu/utmpx.h: Likewise.
41692         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41693         * sysdeps/i386/i486/bits/string.h: Likewise.
41694         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41695         * sysdeps/s390/bits/string.h: Likewise.
41696         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41697         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41698         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41699         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41700         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41701         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41702         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41703         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41704         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41705         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41706         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41707         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41708         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41709         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41710         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41711         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41712         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41714         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41716         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41717         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41718         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41719         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41720         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41721         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41722         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41723         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41724         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41725         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41726         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41727         * sysvipc/sys/ipc.h: Likewise.
41728         * sysvipc/sys/msg.h: Likewise.
41729         * sysvipc/sys/sem.h: Likewise.
41730         * sysvipc/sys/shm.h: Likewise.
41731         * termios/termios.h: Likewise.
41732         * time/sys/time.h: Likewise.
41733         * time/time.h: Likewise.
41734         * wcsmbs/bits/wchar2.h: Likewise.
41735         * wcsmbs/uchar.h: Likewise.
41736         * wcsmbs/wchar.h: Likewise.
41737         * wctype/wctype.h: Likewise.
41738
41739         [BZ #13551]
41740         * Makeconfig: Remove all but ELF support including AIX support.
41741         * Makerules: Likewise.
41742         * config.h.in: Likewise.
41743         * config.make.in: Likewise.
41744         * configure: Likewise.
41745         * configure.in: Likewise.
41746         * csu/Makefile: Likewise.
41747         * csu/version.c: Likewise.
41748         * debug/Makefile: Likewise.
41749         * dlfcn/Makefile: Likewise.
41750         * elf/Makefile: Likewise.
41751         * extra-lib.mk: Likewise.
41752         * iconv/Makefile: Likewise.
41753         * include/libc-symbols.h: Likewise.
41754         * include/shlib-compat.h: Likewise.
41755         * resolv/Makefile: Likewise.
41756         * resolv/res_libc.c: Likewise.
41757         * rt/Makefile: Likewise.
41758         * sysdeps/i386/asm-syntax.h: Likewise.
41759         * sysdeps/i386/sysdep.h: Likewise.
41760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41761         * sysdeps/mach/sysdep.h: Likewise.
41762         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41763         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41764         * sysdeps/s390/asm-syntax.h: Likewise.
41765         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41767         * sysdeps/sh/sysdep.h: Likewise.
41768         * sysdeps/unix/sparc/sysdep.h: Likewise.
41769         * sysdeps/wordsize-32/divdi3.c: Likewise.
41770         * sysdeps/x86_64/sysdep.h: Likewise.
41771
41772         * argp/Versions: Remove _argp_unlock_xxx.
41773
41774         [BZ #13559]
41775         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41776         * abilist/libBrokenLocale.abilist: Likewise.
41777         * abilist/libanl.abilist: Likewise.
41778         * abilist/libc.abilist: Likewise.
41779         * abilist/libcrypt.abilist: Likewise.
41780         * abilist/libdl.abilist: Likewise.
41781         * abilist/libm.abilist: Likewise.
41782         * abilist/libnsl.abilist: Likewise.
41783         * abilist/libpthread.abilist: Likewise.
41784         * abilist/libresolv.abilist: Likewise.
41785         * abilist/librt.abilist: Likewise.
41786         * abilist/libthread_db.abilist: Likewise.
41787         * abilist/libutil.abilist: Likewise.
41788         * abilist/libnss_db.abilist: New file.
41789
41790         * scripts/abilist.awk: Add support for indirect functions.
41791
41792         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41793
41794         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41795
41796         * shlib-versions: Remove entries for ports architectures.
41797
41798         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41799         files in ports.
41800         * elf/stackguard-macros.h: Remove support for IA-64.
41801         * elf/tst-auditmod1.c: Likewise.
41802         * sysdeps/generic/ldsodefs.h: Likewise.
41803
41804         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41805         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41806         configure files.
41807
41808         [BZ #13552]
41809         * configure.in: Remove --enable-omitfp support.
41810         * FAQ.in: Adjust.
41811         * config.make.in: Likewise.
41812         * Makeconfig: Likewise.
41813         * manual/install.texi: Likewise.
41814
41815         In case anyone cares, the IA-64 architecture could move to ports.
41816         * sysdeps/ia64/*: Removed.
41817         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41818         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41819
41820         [BZ #13555]
41821         * configure.in: Remove entries for unsupported architectures.
41822
41823         [BZ #13533]
41824         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41825         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41826         routines.
41827         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41828         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41829         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41830         fall back to using wcrtomb.
41831         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41832         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41833         renaming.
41834         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41835         * wcsmbs/tst-c16c32-1.c: New file.
41836
41837         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41838         local variable.
41839
41840         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41841
41842         * elf/tst-unique3.cc: Add explicit declaration of gets.
41843         * elf/tst-unique3lib.cc: Likewise.
41844         * elf/tst-unique3lib2.cc: Likewise.
41845         * elf/tst-unique4.cc: Likewise.
41846
41847         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41848
41849 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41850
41851         [BZ #13566]
41852         * assert/assert.h (static_assert): Don't define for C++.
41853         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41854         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41855
41856 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41857
41858         * iconv/loop.c (single loop): Fix assertion in storing of
41859         remaining bytes.
41860
41861         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41862
41863 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41864
41865         * posix/getconf.c: Update copyright year.
41866         * nss/getent.c: Likewise.
41867         * nss/makedb.c: Likewise.
41868         * iconv/iconvconfig.c: Likewise.
41869         * iconv/iconv_prog.c: Likewise.
41870         * elf/ldconfig.c: Likewise.
41871         * elf/pldd.c: Likewise.
41872         * elf/sotruss.ksh: Likewise.
41873         * catgets/gencat.c: Likewise.
41874         * csu/version.c: Likewise.
41875         * elf/ldd.bash.in: Likewise.
41876         * elf/sprof.c (print_version): Likewise.
41877         * locale/programs/locale.c: Likewise.
41878         * locale/programs/localedef.c: Likewise.
41879         * login/programs/pt_chown.c: Likewise.
41880         * nscd/nscd.c (print_version): Likewise.
41881         * debug/xtrace.sh: Likewise.
41882         * malloc/memusage.sh: Likewise.
41883         * malloc/mtrace.pl: Likewise.
41884         * debug/catchsegv.sh: Likewise.
41885
41886 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41887
41888         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41889         pure attribute.
41890
41891 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41892
41893         [BZ #13533]
41894         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41895         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41896         transformations.
41897         * iconv/gconv_int.h: Likewise.
41898         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41899         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41900         from libc for GLIBC_2.16.
41901         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41902         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41903         * wcsmbs/uchar.h: Really define mbstate_t.
41904         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41905         * wcsmbs/c16rtomb.c: New file.
41906         * wcsmbs/mbrtoc16.c: New file.
41907         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41908         for C/POSIX locale.
41909         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41910         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41911
41912         * wcsmbs/wchar.h: Add missing __restrict.
41913
41914 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41915
41916         [BZ #13532]
41917         * time/Makefile (routines): Add timespec_get.
41918         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41919         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41920         timespec for ISO C11.
41921         * time/timespec_get.c: New file.
41922         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41923         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41924
41925         [BZ #13531]
41926         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41927         * stdlib/stdlib.h: Declare aligned_alloc.
41928         * Versions.def: Add GLIBC_2.16 for libc.
41929         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41930
41931         [BZ 13527]
41932         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41933         ISO C11.
41934
41935         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41936         code.
41937
41938         [BZ #13528]
41939         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41940
41941         [BZ #13529]
41942         * assert/assert.h (static_assert): Define.
41943
41944         * version.h: Update for 2.16 development version.
41945
41946         [BZ #13526]
41947         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41948         _ISOC11_SOURCE.
41949
41950         * version.h (RELEASE): Bump for 2.15 release.
41951         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41952
41953         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41954         Patch by Marek Polacek <mpolacek@redhat.com>.
41955
41956         * bits/byteswap.h: Protect long long constants with __extension__.
41957         * sysdeps/i386/bits/byteswap.h: Likewise.
41958         * sysdeps/ia64/bits/byteswap.h: Likewise.
41959         * sysdeps/s390/bits/byteswap.h: Likewise.
41960         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41961
41962 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41963
41964         [BZ #13540]
41965         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41966         destination buffer.
41967         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41968
41969 2011-12-23  Marek Polacek  <polacek@redhat.com>
41970
41971         * elf/dl-addr.c (determine_info): Add inline keyword.
41972         * elf/tst-auditmod4b.c (check_avx): Likewise.
41973         * elf/tst-auditmod6b.c (check_avx): Likewise.
41974         * elf/tst-auditmod6c.c (check_avx): Likewise.
41975         * elf/tst-auditmod7b.c (check_avx): Likewise.
41976
41977 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41978
41979         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41980         !__SSE_MATH__.
41981
41982 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41983
41984         [BZ #13540]
41985         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41986         processing for last bytes.
41987
41988 2011-08-06  Bruno Haible  <bruno@clisp.org>
41989
41990         [BZ #13061]
41991         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41992         U+0385, not to U+1FEE.
41993
41994         [BZ #13062]
41995         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41996         entry for U+00A5 U+0301.
41997
41998 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41999
42000         [BZ #13166]
42001         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42002         buffer for the output is too small.
42003
42004         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42005         optimization.
42006
42007         [BZ #13185]
42008         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42009         SSE flags if possible.
42010
42011 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42012
42013         [BZ #13540]
42014         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42015         processing for last bytes.
42016
42017 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42018
42019         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42020         (syscall-list-default-options, syscall-list-default-condition)
42021         (syscall-list-includes): Define.
42022         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42023         list of ABIs and options and #if conditions for each ABI.  Do not
42024         handle common syscalls between ABIs specially.
42025         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42026         Remove.
42027         (syscall-list-variants, syscall-list-32bit-options)
42028         (syscall-list-32bit-condition, syscall-list-64bit-options)
42029         (syscall-list-64bit-condition): Define.
42030         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42031         (syscall-list-variants, syscall-list-32bit-options)
42032         (syscall-list-32bit-condition, syscall-list-64bit-options)
42033         (syscall-list-64bit-condition): Define.
42034         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42035         Remove.
42036         (syscall-list-variants, syscall-list-32bit-options)
42037         (syscall-list-32bit-condition, syscall-list-64bit-options)
42038         (syscall-list-64bit-condition): Define.
42039         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42040         Remove.
42041         (syscall-list-variants, syscall-list-32bit-options)
42042         (syscall-list-32bit-condition, syscall-list-64bit-options)
42043         (syscall-list-64bit-condition): Define.
42044
42045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42046
42047         * locale/iso-639.def: Add brx entry.
42048
42049         [BZ #13328]
42050         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42051         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42052
42053         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42054         __feraiseexcept_renamed.
42055
42056 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42057
42058         [BZ #13538]
42059         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42060         EPOLLET with unsigned values.
42061         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42062         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42063
42064         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42065         to large cancellation.
42066         * math/s_cacoshf.c: Likewise.
42067         * math/s_cacoshl.c: Likewise.
42068
42069 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42070
42071         [BZ #13305]
42072         [BZ #12786]
42073         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42074         * math/s_cacoshf.c: Likewise.
42075         * math/s_cacoshl.c: Likewise.
42076
42077 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42078
42079         [BZ #13439]
42080         * iconv/gconv.h: Define __GCONV_SWAP.
42081         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42082         * iconvdata/utf-16.c: Likewise.
42083         * iconvdata/utf-32.c: Likewise.
42084
42085 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42086
42087         [BZ #13524]
42088         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42089         numerator after shifting it by one limb.
42090
42091 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42092
42093         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42094         under [__USE_EXTERN_INLINES].
42095
42096 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42097
42098         [BZ #13446]
42099         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42100
42101 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42102
42103         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42104         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42105         optimized code.
42106         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42108         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42109         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42110         for strncasecmp/strncasecmp_l compilation.
42111         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42112         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42113
42114 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42115
42116         [BZ #13484]
42117         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42118         of __asm__.
42119
42120 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42121
42122         [BZ #13506]
42123         * time/tzfile.c (__tzfile_read): Check values from file header.
42124
42125 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42126
42127         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42128         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42129         * powerpc/powerpc32/dl-start.S: Likewise.
42130         * powerpc/powerpc32/elf/start.S: Likewise.
42131         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42132         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42133         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42134         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42135         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42136         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42137         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42138         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42139         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42140         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42141         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42142         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42143         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42144         * powerpc/powerpc32/memset.S: Likewise.
42145         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42146         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42147         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42148         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42149         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42150         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42151         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42152         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42153         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42154         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42155         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42156         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42157         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42158
42159 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42160
42161         * math/libm-test.inc: Added more nearbyint tests.
42162         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42164         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42166
42167 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42168
42169         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42170         FD_CLOEXEC.
42171
42172 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42173
42174         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42175         Add wcscpy-ssse3 wcscpy-c.
42176         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42177         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42178         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42179         * sysdeps/x86_64/wcschr.S: New file.
42180         * sysdeps/x86_64/wcsrchr.S: New file.
42181         * string/test-strcmp.c: Remove checking of wcscmp function for
42182         wrong alignments.
42183         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42184         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42185         wcsrchr-sse2 wcsrchr-c.
42186         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42187         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42188         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42189         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42190         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42191         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42192         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42193         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42194         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42195         * wcsmbc/wcschr.c (WCSCHR): New macro.
42196
42197 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42198
42199         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42200         * wcsmbs/test-wcsrchr.c: New file.
42201         * string/test-strrchr.c: Add wcsrchr support.
42202         (WIDE): New macro.
42203         * wcsmbs/test-wcscpy.c: New file.
42204         * string/test-strcpy.c: Add wcscpy support.
42205         (WIDE): New macro.
42206
42207 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42208
42209         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42210         the inner loop.
42211
42212 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42213
42214         [BZ #13472]
42215         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42216
42217 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42218
42219         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42220         Minor optimizations.
42221
42222         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42223         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42224         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42225
42226 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42227
42228         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42229         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42230         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42231         for gcc to avoid warnings.
42232         * inet/Makefile (tests): Add tst-checks.
42233         * inet/tst-checks.c: New file.
42234
42235         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42236         warning.
42237
42238         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42239         __wmemcmp_sse2.
42240
42241         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42242         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42243
42244         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42245
42246 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42247
42248         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42249         problem.
42250
42251         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42252
42253 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42254
42255         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42256         conditional on GCC version.
42257         (__arch_compare_and_exchange_val_8_acq)
42258         (__arch_compare_and_exchange_val_16_acq)
42259         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42260         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42261         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42262
42263 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42264
42265         * sysdeps/sh/backtrace.c: New file.
42266
42267 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42268
42269         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42270         parenthesis.
42271
42272 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42273
42274         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42275         falling back to utime.
42276
42277 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42278
42279         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42280         expectations for float.
42281
42282 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42283
42284         * locale/weight.h (findidx): Add parameter len.
42285         * locale/weightwc.h (findidx): Likewise.
42286         * posix/fnmatch_loop.c (FCT): Adjust caller.
42287         * posix/regcomp.c (build_equiv_class): Likewise.
42288         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42289         * posix/regexec.c (check_node_accept_bytes): Likewise.
42290         * string/strcoll_l.c (STRCOLL): Likewise.
42291         * string/strxfrm_l.c (STRXFRM): Likewise.
42292
42293 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42294
42295         * Makefile.in: Remove CVSOPT handling.
42296         * configure.in: Remove use of AC_REVISION.
42297         * iconvdata/Makefile (distribute): No need to filter out CVS.
42298         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42299         handling.
42300
42301 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42302
42303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42304         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42305         [USE_AS_STRNCASECMP_L]: Likewise.
42306         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42307         NO_TLS_DIRECT_SEG_REFS.
42308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42309         Fix argument offsets for non-PIC.
42310         [USE_AS_STRNCASECMP_L]: Likewise.
42311         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42312         NO_TLS_DIRECT_SEG_REFS.
42313
42314 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42315
42316         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42317         O_CLOEXEC.
42318         * locale/loadlocale.c (_nl_load_locale): Likewise.
42319
42320 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42321
42322         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42323         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42324         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42325         (SYSCALL_GETTIME): Set errno on error.
42326
42327         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42328         count references to noai6ai_cached.
42329
42330 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42331
42332         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42333
42334         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42335         FD_CLOEXEC for /proc/self/maps.
42336
42337         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42338         FD_CLOEXEC for /proc/meminfo.
42339
42340         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42341         gai.conf.
42342
42343         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42344         FD_CLOEXEC for given file.
42345
42346         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42347
42348         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42349         FD_CLOEXEC for /etc/hosts.
42350         (_gethtent): Likewise.
42351
42352         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42353
42354         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42355         cancellation and set FD_CLOEXEC for /etc/netgroup.
42356
42357         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42358         reading /etc/publickey.
42359
42360         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42361         allow cancellation when reading /etc/group.
42362
42363         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42364         cancellation.
42365         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42366
42367         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42368         when using data file.
42369
42370         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42371
42372         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42373         (write_nis_obj): Use "c" and "e" in fopen.
42374
42375         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42376
42377         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42378
42379         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42380
42381         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42382
42383         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42384         locale.alias.
42385
42386         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42387
42388         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42389
42390         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42391
42392         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42393         file parsing and set FD_CLOEXEC.
42394
42395 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42396
42397         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42398
42399 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42400
42401         * malloc/arena.c (arena_get2): Don't call reused_arena when
42402         _int_new_arena failed.
42403
42404 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42405
42406         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42407         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42408         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42409         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42410         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42411         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42412         to compile strcasecmp and strncasecmp.
42413         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42414         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42415
42416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42417
42418 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42419
42420         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42421         locale-defines.sym to gen-as-const-headers.
42422         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42423         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42425         to compile strcasecmp and strncasecmp.
42426         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42427         strcasecmp_l and strncasecmp_l.
42428         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42429         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42430         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42431         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42432         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42433         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42434         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42435         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42436         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42437         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42438         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42439
42440 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42441
42442         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42443         result of SYSDEP_GETTIME_CPU to retval.
42444         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42445         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42446
42447         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42448         variable.
42449
42450         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42451         mantissa words.
42452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42453
42454         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42455         from unused variable.
42456
42457         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42458         DWARF definitions.
42459         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42460         for assembling.
42461
42462         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42463         over namespaces.
42464
42465         * sunrpc/rpc_prot.c (rejected): Fix case value.
42466
42467         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42468         unsigned long long int to avoid warnings in shift.
42469
42470         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42471         of use of trans.
42472         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42473         variable tmp.
42474
42475         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42476         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42477         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42478
42479         * nis/nis_table.c (nis_list): Use variable of correct type for
42480         result of __follow_path call.
42481
42482 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42483
42484         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42485         of math functions ceil, trunc, floor, round, and sqrt, when
42486         avaliable on the platform.
42487         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42488         name clash.
42489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42490         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42491         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42492
42493 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42494
42495         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42496         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42497
42498 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42499
42500         * include/unistd.h: Fix __readlink return type.
42501         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42502
42503 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42504
42505         * stdlib/ucontext.h: Undo last change for makecontext.
42506
42507 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42508
42509         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42510
42511         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42512         * setjmp/setjmp.h: Mark functions as non-leaf.
42513         * setjmp/bits/setjmp2.h: Likewise.
42514         * stdlib/ucontext.h: Likewise.
42515
42516 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42517
42518         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42519         (reused_arena): Don't check arena limit.
42520         (arena_get2): Atomically check arena limit.
42521
42522 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42523
42524         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42525         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42526
42527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42528         instructions.
42529
42530 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42531
42532         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42533         handler when locking.
42534
42535         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42536         Fix size of allocated buffer.
42537
42538 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42539
42540         [BZ #10103]
42541         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42542         declarations for long double functions.
42543         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42544
42545         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42546
42547 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42548
42549         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42550         installed.
42551
42552         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42553         is disabled.
42554
42555 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42556
42557         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42558
42559 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42560
42561         * include/alloca.h (stackinfo_alloca_round): Define.
42562         (extend_alloca): Use it.
42563         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42564         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42565         here.
42566
42567         * scripts/check-local-headers.sh: Ignore libaudit.h.
42568
42569         * nscd/Makefile (extra-objs): Make recursively expanded.
42570
42571 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42572
42573         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42574         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42575
42576         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42577         * posix/tst-rfc3484-2.c: Likewise.
42578         * posix/tst-rfc3484-3.c: Likewise.
42579
42580         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42581         process_vm_writev.
42582         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42583         process_vm_writev.
42584         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42585         process_vm_writev from libc using GLIBC_2.15 version.
42586
42587         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42588
42589 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42590
42591         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42592         stack usage.
42593
42594 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42595
42596         [BZ #13367]
42597         * nss/getent.c (initgroups_keys): Show error message in case no group
42598         names are given.
42599
42600         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42601         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42602         __bump_nl_timestamp.
42603         * nscd/connections (nscd_init): When host database is served open
42604         netlink socket and request notification about configuration changes.
42605         (main_loop_poll): Track netlink file descriptor and bump timestamp
42606         in case data becomes available.
42607         (main_loop_epoll): Likewise.
42608         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42609         (database_pers_head): Add extra_data fileds.
42610         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42611         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42612         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42613         Adjust caller.
42614         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42615         in6ai data, call __free_in6ai.
42616         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42617         Add -DHAVE_NETLINK.
42618         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42619         interface information.  Reuse previous data if netlink timestamp
42620         is not changed.
42621         (__bump_nl_timestamp): New function.
42622         (__free_in6ai): New function.
42623
42624 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42625
42626         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42627         close_not_cancel_no_status here.
42628         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42629
42630 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42631
42632         [BZ #13276]
42633         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42634         return value.
42635
42636         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42637         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42638         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42639
42640 2011-07-03  Andreas Jaeger  <aj@suse.de>
42641
42642         [BZ #10709]
42643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42644         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42645         * math/libm-test.inc (sin_test): Add test case.
42646
42647 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42648
42649         [BZ #13337]
42650         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42651         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42652
42653         * elf/chroot_canon.c (chroot_canon): Cleanups.
42654
42655         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42656
42657         [BZ #13335]
42658         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42659         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42660
42661         * string/test-strchr.c: Make usable for strchrnul testing.
42662         * string/test-strchrnul.c: New file.
42663         * string/Makefile (strop-tests): Add strchrnul.
42664
42665         * po/it.po: Update from translation team.
42666         * po/es.po: Likewise.
42667
42668 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42669
42670         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42671         the three constants needed as parameters.  Drop the others.
42672         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42673         __m128i_strloadu_tolower.
42674         Create and initialize variable zero and use it in all the places
42675         where _mm_setzero_si128 was used.
42676
42677         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42678         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42679         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42681         anymore.
42682         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42683         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42684         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42685         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42686         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42687         __mpranred, __mptan.
42688         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42689         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42690         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42691         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42692         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42693         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42694         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42695         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42696         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42697
42698 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42699
42700         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42701         redefine if SHARED.
42702         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42703
42704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42705         wide char related routines to wcsmbs subdir.
42706
42707 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42708
42709         [BZ #13344]
42710         * misc/sys/cdefs.h (__THROWNL): Define.
42711         * posix/unistd.h: Use __THREADNL instead of __THREAD
42712         for memory synchronization functions.
42713
42714 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42715
42716         [BZ #13349]
42717         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42718         doesn't exist.
42719         * manual/stdio.texi (Obstack Streams): Node removed.
42720
42721 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42722
42723         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42724         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42725         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42726
42727         * math/math_private.h (math_force_eval): Allow non-addressable
42728         arguments.
42729         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42730
42731 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42732
42733         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42734         file is not needed.
42735
42736         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42737         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42738         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42739         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42740         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42741         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42743         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42744         Add AVX variants.
42745         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42746         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42747         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42748         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42749         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42750         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42751         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42752         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42753         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42754         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42755         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42756         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42758         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42759         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42760         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42761         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42762         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42763         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42764
42765         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42766         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42767
42768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42769         place.  Use VEX encoding when compiling for AVX.
42770
42771 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42772
42773         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42774         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42775
42776         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42777
42778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42779
42780         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42781         useless if() expression.
42782         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42784         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42791         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42792         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42793         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42794         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42795         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42796         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42799         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42800         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42801
42802         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42803
42804 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42805
42806         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42807         condition.
42808         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42809
42810 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42811
42812         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42813         .text section.  Avoid duplicate constants.
42814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42816         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42820         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42822         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42823         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42824         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42825         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42826         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42827         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42828         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42830         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42831         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42832         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42833         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42834         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42835         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42836         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42837         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42838         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42839         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42840         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42841         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42842         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42843         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42844         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42845         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42846         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42847         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42848         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42849         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42850         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42851         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42852         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42853         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42854         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42855         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42856         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42857         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42858         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42859
42860 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42861
42862         * sysdeps/x86_64/dla.h: Move to ...
42863         * sysdeps/x86_64/fpu/dla.h: ...here.
42864         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42865         situations.  Use __builtin_fma only for gcc 4.6 and up.
42866
42867         * config.make.in: Add have-mfma4 entry.
42868         * configure.in: Substitute libc_cv_cc_fma4.
42869         * math/Makefile (dbl-only-routines): Add sincostab.
42870         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42871         Use __sincostab not sincos.
42872         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42873         name is a macro.
42874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42877         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42878         using __copysign.
42879         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42880         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42881         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42882         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42883         and __inv.
42884         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42885         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42886         __copysign.
42887         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42888         define aliases when function name is a macro.
42889         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42890         sysdeps/ieee754/dbl-64/sincos.tbl.
42891         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42892         fma4-enabled routines.
42893         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42894         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42895         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42896         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42897         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42898         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42899         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42900         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42901         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42902         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42903         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42904         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42905         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42906         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42907         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42908         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42909         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42910         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42911         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42912         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42913         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42914         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42915         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42916         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42917         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42918         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42919         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42920         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42921         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42922         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42923
42924         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42925         rename.
42926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42929         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42931         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42934
42935 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42936
42937         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42938
42939 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42940
42941         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42942
42943         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42944         prediction.
42945         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42946
42947         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42948         Remove unused variable magic_bits.
42949         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42950
42951         * string/strnlen.c: Define and use STRNLEN macro.
42952         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42953         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42955         * wcsmbs/wcslen.c: Define and use WCSLEN.
42956         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42957         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42958         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42959         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42960         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42961         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42962         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42963
42964 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42965
42966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42967         strnlen-sse2-no-bsf.
42968         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42970         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42971         Add strnlen support.
42972         (USE_AS_STRNLEN): New macro.
42973         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42974         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42975         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42976         * sysdeps/x86_64/wcslen.S: New file.
42977
42978 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42979
42980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42981         XMM-moves are used for copying on small sizes.
42982
42983 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42984
42985         * wcsmbs/Makefile (strop-tests): Add wcschr.
42986         * wcsmbs/test-wcschr.c: New file.
42987         * string/test-strchr.c: Update.
42988         Add wcschr support.
42989         (WIDE): New macro.
42990
42991 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42992
42993         * wcsmbs/Makefile (strop-tests): Add wcslen.
42994         * wcsmbs/test-wcslen.c: New file.
42995         * string/test-strlen.c: Update.
42996         Add wcslen support.
42997         (WIDE): New macro.
42998
42999 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43000
43001         * po/it.po: Update from translation team.
43002
43003 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43004
43005         * sysdeps/x86_64/wcscmp.S: Update.
43006         Fix wrong comparison semantics.
43007         wcscmp shall use signed comparison not unsigned.
43008         Don't use substraction to avoid overflow bug.
43009         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43010         * wcsmbc/wcscmp.c: Likewise.
43011         * string/test-strcmp.c: Likewise.
43012         Add new tests to check cases with negative values.
43013
43014 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43017         * sysdeps/x86_64/dla.h: ...here.  New file.
43018         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43025         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43026         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43027
43028 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43029
43030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43031         __ynl_finite aliases.
43032
43033 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43034
43035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43036
43037         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43038         define DLA_FMA.
43039         [DLA_FMA] (EMULV): Use DLA_FMA.
43040         [DLA_FMA] (MUL12): Use EMULV.
43041         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43042         that are not needed.
43043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43046         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43050
43051 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43052
43053         * math/s_nan.c: Undef __nan.
43054         * math/s_nanf.c: Undef __nanf.
43055         * math/s_nanl.c: Undef __nanl.
43056         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43057         "math_private.h".
43058
43059 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43060
43061         * math/s_catan.c: Add branch predictions.
43062         * math/s_catanf.c: Likewise.
43063         * math/s_catanh.c: Likewise.
43064         * math/s_catanhf.c: Likewise.
43065         * math/s_catanhl.c: Likewise.
43066         * math/s_catanl.c: Likewise.
43067         * math/s_cexp.c: Likewise.
43068         * math/s_cexpf.c: Likewise.
43069         * math/s_cexpl.c: Likewise.
43070         * math/s_clog.c: Likewise.
43071         * math/s_clog10.c: Likewise.
43072         * math/s_clog10f.c: Likewise.
43073         * math/s_clog10l.c: Likewise.
43074         * math/s_clogf.c: Likewise.
43075         * math/s_clogl.c: Likewise.
43076         * math/s_csqrt.c: Likewise.
43077         * math/s_csqrtf.c: Likewise.
43078         * math/s_csqrtl.c: Likewise.
43079         * math/s_ctanf.c: Likewise.
43080         * math/s_ctanh.c: Likewise.
43081         * math/s_ctanhf.c: Likewise.
43082         * math/s_ctanhl.c: Likewise.
43083         * math/s_ctanl.c: Likewise.
43084
43085         * math/math_private.h: Define __nan, __nanf, __nanl.
43086         * math/s_cacosh.c: Include <math_private.h>.
43087         * math/s_cacoshl.c: Likewise.
43088         * math/s_casinh.c: Likewise.
43089         * math/s_casinhf.c: Likewise.
43090         * math/s_casinhl.c: Likewise.
43091         * math/s_ccos.c: Rely entire on ccosh.
43092         * math/s_ccosf.c: Rely entire on ccoshf.
43093         * math/s_ccosl.c: Rely entirely on ccoshl.
43094         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43095         Remove tests for FE_INVALID.
43096         * math/s_ccoshf.c: Likewise.
43097         * math/s_ccoshl.c: Likewise.
43098         * math/s_csin.c: Likewise.
43099         * math/s_csinf.c: Likewise.
43100         * math/s_csinh.c Likewise.
43101         * math/s_csinhf.c: Likewise.
43102         * math/s_csinhl.c: Likewise.
43103         * math/s_csinl.c: Likewise.
43104         * math/s_ctan.c: Likewise.
43105         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43106         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43107         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43108
43109 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43110
43111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43112         compilation problems.
43113
43114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43115         __builtin_expect.
43116
43117 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43118
43119         * sysdeps/i386/configure.in: Test for -mfma4 option.
43120         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43121         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43122         COMMON_CPUID_INDEX_80000001.
43123         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43124         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43125         use it if FMA3 is not supported.
43126         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43127
43128         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43129         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43130
43131 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43132
43133         [BZ #12892]
43134         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43135         it would create a cycle with a link time dependency.
43136
43137 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43138
43139         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43140         instruction.
43141         * string/Makefile (strop-tests): Add rawmemchr.
43142         * string/test-rawmemchr.c: New file.
43143
43144         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43146         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43147         when compiling str{,n}casecmp and when AVX is available.  Hook up
43148         new optimized code in initializers.
43149
43150 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43151
43152         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43153         __feraiseexcept instead of feraiseexcept.
43154
43155 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43156
43157         * math/math_private.h: Define defaults for libc_fetestexcept and
43158         libc_feupdateenv.
43159         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43160         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43161         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43162         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43164         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43165         libc_fetestexcept and libc_feupdateenv.
43166
43167         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43168         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43169         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43170         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43171         libc_feholdexcept_setround.
43172
43173         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43174         Add s_nearbyint-c and s_nearbyintf-c.
43175         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43176         nearbyintf inlines.
43177         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43178         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43179         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43181
43182         * math/math_private.h: Define defaults for libc_fegetround,
43183         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43184         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43185         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43186         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43187         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43188         standard functions.
43189         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43190         Remove comments and hacks for old compiler versions.
43191         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43192         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43193         libc_feholdexceptl.
43194
43195 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43196
43197         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43198         (__feraiseexcept_renamed): Add __NTH.
43199         (feraiseexcept): Add __NTH.  Rename local variables to fix
43200         namespace violations.
43201
43202 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43203
43204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43205
43206         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43207
43208         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43209         recently added interfaces.
43210         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43211
43212         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43213         about macro parameter expansion.
43214
43215         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43216         __NO_MATH_INLINES is defined.  Cleanups.
43217
43218         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43219         and __floorf is target has SSE4.1.
43220         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43221         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43222         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43223         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43224
43225         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43226         name.
43227         (floorf): Likewise.
43228
43229         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43230
43231 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43232
43233         * misc/sys/cdefs.h: Fix last change.
43234
43235         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43236         database lookup.
43237
43238 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43239
43240         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43241
43242         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43243         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43244         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43245         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43246         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43247         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43248         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43249         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43250         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43251         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43252         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43253         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43254         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43255         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43256         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43257         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43258         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43259         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43260         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43261         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43262         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43263         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43264
43265         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43266         ceil, ceilf, floor, floorf.
43267
43268         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43269         Perform IRELATIVE relocations last.
43270
43271         * elf/do-rel.h: Add another parameter nrelative, replacing the
43272         local variable with the same name.  Change name of the function
43273         to end in Rel or Rela (uppercase).
43274         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43275         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43276         elf_dynamic_do_##reloc function.
43277
43278 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43279
43280         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43281         is sufficient, at least on modern CPUs.
43282
43283         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43284
43285         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43286         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43287
43288         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43289         __expl_finite.
43290         * math/bits/math-finite.h: Add entries for exp.
43291         * math/e_expl.c: Add __*_finite alias.
43292         * sysdeps/i386/fpu/e_exp.S: Likewise.
43293         * sysdeps/i386/fpu/e_expf.S: Likewise.
43294         * sysdeps/i386/fpu/e_expl.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43296         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43297         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43298         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43299         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43300         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43301         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43302
43303         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43304         is sufficient, at least on modern CPUs.
43305
43306         * ctype/ctype-info.c (__ctype_init): Define.
43307         * include/ctype.h (__ctype_init): Declare.
43308         (__ctype_b_loc): The variable is always initialized.
43309         (__ctype_toupper_loc): Likewise.
43310         (__ctype_tolower_loc): Likewise.
43311         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43312         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43313
43314 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43315
43316         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43317
43318         * configure.in: Also look in $cxxmachine/include for C++ system
43319         headers.
43320
43321 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43322
43323         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43324         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43325         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43326         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43327         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43328         (USE_AS_WMEMCMP): New macro.
43329         Fixing indents.
43330         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43331         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43332         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43333         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43335         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43336         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43337         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43338         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43339         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43340         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43341         (USE_AS_WMEMCMP): New macro.
43342         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43343         * sysdeps/string/test-memcmp.c: Update.
43344         Fix simple_wmemcmp.
43345         Add new tests.
43346         * wcsmbs/wmemcmp.c: Update.
43347         (WMEMCMP): New macro.
43348         Fix overflow bug.
43349
43350 2011-10-12  Andreas Jaeger  <aj@suse.de>
43351
43352         [BZ #13268]
43353         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43354
43355 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43356
43357         * libio/iofwide.c (do_length): Avoid warning.
43358
43359         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43360
43361 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43362
43363         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43364
43365         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43366         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43367         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43368         * sysdeps/i386/i686/fpu/e_log.S: New file.
43369         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43370         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43371
43372         * ctype/ctype.h: Add support for inlined isXXX functions when
43373         compiling C++ code.
43374
43375 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43376
43377         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43378
43379         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43380
43381 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43382
43383         [BZ #13291]
43384         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43385
43386 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43387
43388         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43389         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43390         feraiseexcept.
43391
43392         * sysdeps/x86_64/memrchr.S: Check for zero size.
43393
43394         * string/stratcliff.c: Add memrchr tests.
43395
43396 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43397
43398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43399         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43400         rawmemchr-sse2 rawmemchr-sse2-bsf.
43401         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43402         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43403         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43404         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43405         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43406         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43407         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43408         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43409         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43410         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43411         * string/memrchr.c (MEMRCHR): New macro.
43412
43413 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43414
43415         Add integration with gcc's -ffinite-math-only and optimize wrapper
43416         functions in libm.
43417         * Versions.def: Define GLIBC_2.15 version for libm.
43418         * math/Makefile (headers): Add bits/math-finite.h.
43419         * math/bits/math-finite.h: New file.
43420         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43421         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43422         * math/e_acoshl.c: Add __*_finite alias.
43423         * math/e_acosl.c: Likewise.
43424         * math/e_asinl.c: Likewise.
43425         * math/e_atan2l.c: Likewise.
43426         * math/e_atanhl.c: Likewise.
43427         * math/e_coshl.c: Likewise.
43428         * math/e_exp10.c: Likewise.
43429         * math/e_exp10f.c: Likewise.
43430         * math/e_exp10l.c: Likewise.
43431         * math/e_exp2l.c: Likewise.
43432         * math/e_fmodl.c: Likewise.
43433         * math/e_gammal_r.c: Likewise.
43434         * math/e_hypotl.c: Likewise.
43435         * math/e_j0l.c: Likewise.
43436         * math/e_j1l.c: Likewise.
43437         * math/e_jnl.c: Likewise.
43438         * math/e_lgammal_r.c: Likewise.
43439         * math/e_log10l.c: Likewise.
43440         * math/e_log2l.c: Likewise.
43441         * math/e_logl.c: Likewise.
43442         * math/e_powl.c: Likewise.
43443         * math/e_sinhl.c: Likewise.
43444         * math/e_sqrtl.c: Likewise.
43445         * math/e_scalb.c: Completely rewritten and optimized.
43446         * math/e_scalbf.c: Likewise.
43447         * math/e_scalbl.c: Likewise.
43448         * math/w_acos.c: Likewise.
43449         * math/w_acosf.c: Likewise.
43450         * math/w_acosl.c: Likewise.
43451         * math/w_acosh.c: Likewise.
43452         * math/w_acoshf.c: Likewise.
43453         * math/w_acoshl.c: Likewise.
43454         * math/w_asin.c: Likewise.
43455         * math/w_asinf.c: Likewise.
43456         * math/w_asinl.c: Likewise.
43457         * math/w_atan2.c: Likewise.
43458         * math/w_atan2f.c: Likewise.
43459         * math/w_atan2l.c: Likewise.
43460         * math/w_atanh.c: Likewise.
43461         * math/w_atanhf.c: Likewise.
43462         * math/w_atanhl.c: Likewise.
43463         * math/w_exp10.c: Likewise.
43464         * math/w_exp10f.c: Likewise.
43465         * math/w_exp10l.c: Likewise.
43466         * math/w_fmod.c: Likewise.
43467         * math/w_fmodf.c: Likewise.
43468         * math/w_fmodl.c: Likewise.
43469         * math/w_j0.c: Likewise.
43470         * math/w_j0f.c: Likewise.
43471         * math/w_j0l.c: Likewise.
43472         * math/w_j1.c: Likewise.
43473         * math/w_j1f.c: Likewise.
43474         * math/w_j1l.c: Likewise.
43475         * math/w_jn.c: Likewise.
43476         * math/w_jnf.c: Likewise.
43477         * math/w_log.c: Likewise.
43478         * math/w_logf.c: Likewise.
43479         * math/w_logl.c: Likewise.
43480         * math/w_log10.c: Likewise.
43481         * math/w_log10f.c: Likewise.
43482         * math/w_log10l.c: Likewise.
43483         * math/w_log2.c: Likewise.
43484         * math/w_log2f.c: Likewise.
43485         * math/w_log2l.c: Likewise.
43486         * math/w_pow.c: Likewise.
43487         * math/w_powf.c: Likewise.
43488         * math/w_powl.c: Likewise.
43489         * math/w_remainder.c: Likewise.
43490         * math/w_remainderf.c: Likewise.
43491         * math/w_remainderl.c: Likewise.
43492         * math/w_scalb.c: Likewise.
43493         * math/w_scalbf.c: Likewise.
43494         * math/w_scalbl.c: Likewise.
43495         * math/w_sqrt.c: Likewise.
43496         * math/w_sqrtf.c: Likewise.
43497         * math/w_sqrtl.c: Likewise.
43498         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43499         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43500         used.
43501         * math/math_private.h: Declare __kernel_standard_f.
43502         * math/w_cosh.c: Remove cruft and optimize a bit.
43503         * math/w_coshf.c: Likewise.
43504         * math/w_coshl.c: Likewise.
43505         * math/w_exp2.c: Likewise.
43506         * math/w_exp2f.c: Likewise.
43507         * math/w_exp2l.c: Likewise.
43508         * math/w_hypot.c: Likewise.
43509         * math/w_hypotf.c: Likewise.
43510         * math/w_hypotl.c: Likewise.
43511         * math/w_lgamma.c: Likewise.
43512         * math/w_lgamma_r.c: Likewise.
43513         * math/w_lgammaf.c: Likewise.
43514         * math/w_lgammaf_r.c: Likewise.
43515         * math/w_lgammal.c: Likewise.
43516         * math/w_lgammal_r.c: Likewise.
43517         * math/w_sinh.c: Likewise.
43518         * math/w_sinhf.c: Likewise.
43519         * math/w_sinhl.c: Likewise.
43520         * math/w_tgamma.c: Likewise.
43521         * math/w_tgammaf.c: Likewise.
43522         * math/w_tgammal.c: Likewise.
43523         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43524         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43525         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43526         Minor optimizations.  Pretty printing.  Remove cruft.
43527         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43528         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43529         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43530         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43531         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43532         * sysdeps/i386/fpu/e_asin.S: Likewise.
43533         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43534         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43535         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43536         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43537         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43538         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43539         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43540         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43541         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43542         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43543         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43544         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43545         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43546         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43547         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43548         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43549         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43550         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43551         * sysdeps/i386/fpu/e_log.S: Likewise.
43552         * sysdeps/i386/fpu/e_log10.S: Likewise.
43553         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43555         * sysdeps/i386/fpu/e_log2.S: Likewise.
43556         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43557         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43558         * sysdeps/i386/fpu/e_logf.S: Likewise.
43559         * sysdeps/i386/fpu/e_logl.S: Likewise.
43560         * sysdeps/i386/fpu/e_pow.S: Likewise.
43561         * sysdeps/i386/fpu/e_powf.S: Likewise.
43562         * sysdeps/i386/fpu/e_powl.S: Likewise.
43563         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43564         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43565         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43567         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43568         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43569         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43570         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43571         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43572         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43573         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43575         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43576         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43577         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43578         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43579         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43580         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43581         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43582         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43583         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43585         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43586         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43589         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43590         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43592         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43593         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43594         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43595         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43596         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43597         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43598         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43599         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43600         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43601         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43602         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43603         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43604         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43606         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43607         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43608         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43609         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43610         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43611         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43612         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43613         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43615         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43616         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43617         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43618         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43619         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43620         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43621         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43622         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43624         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43625         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43626         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43627         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43628         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43629         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43630         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43633         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43636         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43637         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43640         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43641         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43642         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43643         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43644         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43645         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43646         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43647         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43648         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43649         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43650         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43652         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43653         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43654         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43655         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43656         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43657         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43658         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43659         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43660         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43661         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43663         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43664         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43665         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43666         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43667         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43668         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43669         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43670         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43671         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43672         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43673         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43674         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43675         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43676         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43678         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43679         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43680         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43681         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43682         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43683         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43684         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43685         (__isnanf): Likewise.
43686         (__isinf_ns): Likewise.
43687         (__isinf_nsf): Likewise.
43688         (__finite): Likewise.
43689         (__finitef): Likewise.
43690         (__ieee754_sqrt): Define as macro.
43691         (__ieee754_sqrtf): Define as macro.
43692         (__ieee754_sqrtl): Define as macro.
43693         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43694         inlined copy.
43695         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43696         __FINITE_MATH_ONLY__ consistent.
43697         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43698
43699 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43700
43701         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43702         of rawmemchr.
43703
43704         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43705
43706 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43707
43708         * po/ja.po: Update from translation team.
43709
43710 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43711
43712         * locale/programs/locarchive.c (prepare_address_space): New function.
43713         (create_archive, enlarge_archive, open_archive): Use it.
43714
43715         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43716         inside [SHARED], where it is used.
43717
43718         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43719
43720         * nss/getent.c (netgroup_keys): Remove unused variable.
43721         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43722
43723 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43724
43725         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43726         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43727         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43728         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43729         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43730         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43731         * math/Makefile (libm-calls): Add s_isinf_ns.
43732         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43733         * math/multc3.c: Likewise.
43734         * math/s_casin.c: Likewise.
43735         * math/s_casinf.c: Likewise.
43736         * math/s_casinl.c: Likewise.
43737         * math/s_ccos.c: Likewise.
43738         * math/s_ccosf.c: Likewise.
43739         * math/s_ccosl.c: Likewise.
43740         * math/s_ctan.c: Likewise.
43741         * math/s_ctanf.c: Likewise.
43742         * math/s_ctanh.c: Likewise.
43743         * math/s_ctanhf.c: Likewise.
43744         * math/s_ctanhl.c: Likewise.
43745         * math/s_ctanl.c: Likewise.
43746         * math/w_fmod.c: Likewise.
43747         * math/w_fmodf.c: Likewise.
43748         * math/w_fmodl.c: Likewise.
43749         * math/w_remainder.c: Likewise.
43750         * math/w_remainderf.c: Likewise.
43751         * math/w_remainderl.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43753         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43754         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43756         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43757         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43758         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43759         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43760
43761         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43762         of the number.
43763         * stdio-common/printf_fphex.c: Likewise.
43764         * stdio-common/printf_size.c: Likewise.
43765
43766         * math/e_exp10.c: Include math_private.h using <...> not "...".
43767         * math/e_exp10f.c: Likewise.
43768         * math/e_exp10l.c: Likewise.
43769         * math/e_exp2l.c: Likewise.
43770         * math/e_j0l.c: Likewise.
43771         * math/e_j1l.c: Likewise.
43772         * math/e_jnl.c: Likewise.
43773         * math/e_lgammal_r.c: Likewise.
43774         * math/e_rem_pio2l.c: Likewise.
43775         * math/e_scalb.c: Likewise.
43776         * math/e_scalbf.c: Likewise.
43777         * math/e_scalbl.c: Likewise.
43778         * math/k_cosl.c: Likewise.
43779         * math/k_sinl.c: Likewise.
43780         * math/k_tanl.c: Likewise.
43781         * math/s_cacoshf.c: Likewise.
43782         * math/s_catan.c: Likewise.
43783         * math/s_catanf.c: Likewise.
43784         * math/s_catanh.c: Likewise.
43785         * math/s_catanhf.c: Likewise.
43786         * math/s_catanhl.c: Likewise.
43787         * math/s_catanl.c: Likewise.
43788         * math/s_ccosh.c: Likewise.
43789         * math/s_ccoshf.c: Likewise.
43790         * math/s_ccoshl.c: Likewise.
43791         * math/s_cexp.c: Likewise.
43792         * math/s_cexpf.c: Likewise.
43793         * math/s_cexpl.c: Likewise.
43794         * math/s_clog.c: Likewise.
43795         * math/s_clog10.c: Likewise.
43796         * math/s_clog10f.c: Likewise.
43797         * math/s_clog10l.c: Likewise.
43798         * math/s_clogf.c: Likewise.
43799         * math/s_clogl.c: Likewise.
43800         * math/s_csin.c: Likewise.
43801         * math/s_csinf.c: Likewise.
43802         * math/s_csinh.c: Likewise.
43803         * math/s_csinhf.c: Likewise.
43804         * math/s_csinhl.c: Likewise.
43805         * math/s_csinl.c: Likewise.
43806         * math/s_csqrt.c: Likewise.
43807         * math/s_csqrtf.c: Likewise.
43808         * math/s_csqrtl.c: Likewise.
43809         * math/s_ctan.c: Likewise.
43810         * math/s_ctanf.c: Likewise.
43811         * math/s_ctanh.c: Likewise.
43812         * math/s_ctanhf.c: Likewise.
43813         * math/s_ctanhl.c: Likewise.
43814         * math/s_ctanl.c: Likewise.
43815         * math/s_ldexp.c: Likewise.
43816         * math/s_ldexpf.c: Likewise.
43817         * math/s_ldexpl.c: Likewise.
43818         * math/s_significand.c: Likewise.
43819         * math/s_significandf.c: Likewise.
43820         * math/s_significandl.c: Likewise.
43821         * math/w_acos.c: Likewise.
43822         * math/w_acosf.c: Likewise.
43823         * math/w_acosh.c: Likewise.
43824         * math/w_acoshf.c: Likewise.
43825         * math/w_acoshl.c: Likewise.
43826         * math/w_acosl.c: Likewise.
43827         * math/w_asin.c: Likewise.
43828         * math/w_asinf.c: Likewise.
43829         * math/w_asinl.c: Likewise.
43830         * math/w_atan2.c: Likewise.
43831         * math/w_atan2f.c: Likewise.
43832         * math/w_atan2l.c: Likewise.
43833         * math/w_atanh.c: Likewise.
43834         * math/w_atanhf.c: Likewise.
43835         * math/w_atanhl.c: Likewise.
43836         * math/w_cosh.c: Likewise.
43837         * math/w_coshf.c: Likewise.
43838         * math/w_coshl.c: Likewise.
43839         * math/w_dremf.c: Likewise.
43840         * math/w_exp10.c: Likewise.
43841         * math/w_exp10f.c: Likewise.
43842         * math/w_exp10l.c: Likewise.
43843         * math/w_exp2.c: Likewise.
43844         * math/w_exp2f.c: Likewise.
43845         * math/w_fmod.c: Likewise.
43846         * math/w_fmodf.c: Likewise.
43847         * math/w_fmodl.c: Likewise.
43848         * math/w_hypot.c: Likewise.
43849         * math/w_hypotf.c: Likewise.
43850         * math/w_hypotl.c: Likewise.
43851         * math/w_j0.c: Likewise.
43852         * math/w_j0f.c: Likewise.
43853         * math/w_j0l.c: Likewise.
43854         * math/w_j1.c: Likewise.
43855         * math/w_j1f.c: Likewise.
43856         * math/w_j1l.c: Likewise.
43857         * math/w_jn.c: Likewise.
43858         * math/w_jnf.c: Likewise.
43859         * math/w_jnl.c: Likewise.
43860         * math/w_lgamma.c: Likewise.
43861         * math/w_lgamma_r.c: Likewise.
43862         * math/w_lgammaf.c: Likewise.
43863         * math/w_lgammaf_r.c: Likewise.
43864         * math/w_lgammal.c: Likewise.
43865         * math/w_lgammal_r.c: Likewise.
43866         * math/w_log.c: Likewise.
43867         * math/w_log10.c: Likewise.
43868         * math/w_log10f.c: Likewise.
43869         * math/w_log10l.c: Likewise.
43870         * math/w_log2.c: Likewise.
43871         * math/w_log2f.c: Likewise.
43872         * math/w_log2l.c: Likewise.
43873         * math/w_logf.c: Likewise.
43874         * math/w_logl.c: Likewise.
43875         * math/w_pow.c: Likewise.
43876         * math/w_powf.c: Likewise.
43877         * math/w_powl.c: Likewise.
43878         * math/w_remainder.c: Likewise.
43879         * math/w_remainderf.c: Likewise.
43880         * math/w_remainderl.c: Likewise.
43881         * math/w_scalb.c: Likewise.
43882         * math/w_scalbf.c: Likewise.
43883         * math/w_scalbl.c: Likewise.
43884         * math/w_sinh.c: Likewise.
43885         * math/w_sinhf.c: Likewise.
43886         * math/w_sinhl.c: Likewise.
43887         * math/w_sqrt.c: Likewise.
43888         * math/w_sqrtf.c: Likewise.
43889         * math/w_sqrtl.c: Likewise.
43890         * math/w_tgamma.c: Likewise.
43891         * math/w_tgammaf.c: Likewise.
43892         * math/w_tgammal.c: Likewise.
43893
43894         * po/ja.po: Update from translation team.
43895
43896 2011-09-29  Andreas Jaeger  <aj@suse.de>
43897
43898         [BZ #13179]
43899         * sunrpc/netname.c (netname2host): Fix logic.
43900
43901         [BZ #6779]
43902         [BZ #6783]
43903         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43904         correctly.
43905         * math/w_remainder.c (__remainder): Likewise.
43906         * math/w_remainderf.c (__remainderf): Likewise.
43907         * math/libm-test.inc (remainder_test): Add test cases.
43908
43909 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43910
43911         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43912         sdiv_qrnnd.
43913
43914 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43915
43916         * string/test-memcmp.c: Avoid unncessary #defines.
43917         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43918
43919 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43920
43921         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43922         Use new sse2 version for core i3 - i7 as it's faster
43923         than sse42 version.
43924         (bit_Prefer_PMINUB_for_stringop): New.
43925         * sysdeps/x86_64/rawmemchr.S: Update.
43926         Replace with faster SSE2 version.
43927         * sysdeps/x86_64/memrchr.S: New file.
43928         * sysdeps/x86_64/memchr.S: Update.
43929         Replace with faster SSE2 version.
43930
43931 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43932
43933         * elf/dl-load.c (lose): Add cast to avoid warning.
43934
43935 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43936
43937         * po/ca.po: Update from translation team.
43938
43939         * inet/getnetgrent_r.c: Hook up nscd.
43940         * nscd/Makefile (routines): Add nscd_netgroup.
43941         (nscd-modules): Add netgroupcache.
43942         (CFLAGS-netgroupcache.c): Define.
43943         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43944         (cache_search): Add const to second parameter.
43945         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43946         INNETGR.
43947         (dbs): Add netgrdb entry.
43948         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43949         (verify_persistent_db): Handle netgrdb.
43950         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43951         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43952         GETFDNETGR.
43953         (netgroup_response_header): Define.
43954         (innetgroup_response_header): Define.
43955         (datahead): Add netgroup_response_header and innetgroup_response_header
43956         elements.
43957         * nscd/nscd.conf: Add entries for netgroup cache.
43958         * nscd/nscd.h (dbtype): Add netgrdb.
43959         (_PATH_NSCD_NETGROUP_DB): Define.
43960         (netgroup_iov_disabled): Declare.
43961         (xmalloc, xcalloc, xrealloc): Move declarations here.
43962         (cache_search): Adjust prototype.
43963         Add netgroup-related prototypes.
43964         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43965         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43966         (__nscd_innetgr): Declare.
43967         * nscd/selinux.c (perms): Use access_vector_t as element type and
43968         add netgroup-related initializers.
43969         * nscd/netgroupcache.c: New file.
43970         * nscd/nscd_netgroup.c: New file.
43971         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43972         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43973         For four parameters use innetgr.
43974         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43975         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43976         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43977         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43978
43979         * nscd/connections.c (register_traced_file): Don't register file
43980         for disabled databases.
43981
43982 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43983
43984         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43985
43986         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43987         from tree and freeing node.
43988
43989 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43990
43991         * nss/nsswitch.c (__nss_database_lookup): Handle
43992         nss_parse_service_list out of memory case.
43993
43994 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43995
43996         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43997         out of memory case.
43998
43999 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44000
44001         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44002         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44003         pass it down.
44004         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44005         elf_machine_rela, elf_machine_lazy_rel.
44006         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44007         (ELF_DYNAMIC_DO_REL): Likewise.
44008         (ELF_DYNAMIC_DO_RELA): Likewise.
44009         (ELF_DYNAMIC_RELOCATE): Likewise.
44010         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44011         to ELF_DYNAMIC_DO_REL.
44012         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44013         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44014         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44015         elf_machine_rela.
44016         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44017         skip_ifunc, don't call ifunc function if non-zero.
44018         (elf_machine_rela): Likewise.
44019         (elf_machine_lazy_rel): Likewise.
44020         (elf_machine_lazy_rela): Likewise.
44021         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44022         (elf_machine_lazy_rel): Likewise.
44023         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44024         Likewise.
44025         (elf_machine_lazy_rel): Likewise.
44026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44027         Likewise.
44028         (elf_machine_lazy_rel): Likewise.
44029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44030         (elf_machine_lazy_rel): Likewise.
44031         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44032         (elf_machine_lazy_rel): Likewise.
44033         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44034         (elf_machine_lazy_rel): Likewise.
44035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44036         (elf_machine_lazy_rel): Likewise.
44037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44038         (elf_machine_lazy_rel): Likewise.
44039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44040         (elf_machine_lazy_rel): Likewise.
44041
44042 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44043
44044         * nss/nss_files/files-init.c (_nss_files_init): Use static
44045         initialization for all the *_traced_file variables.
44046
44047 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44048
44049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44050
44051 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44052
44053         [BZ #13226]
44054         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44055
44056 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44057
44058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44059         Reread the line before reparsing it.
44060
44061 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44062
44063         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44064
44065 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44066             Maxim Kuvyrkov  <maxim@codesourcery.com>
44067             Joseph Myers  <joseph@codesourcery.com>
44068
44069         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44070         if needed for __stack_chk_guard.
44071
44072 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44073
44074         * sysdeps/posix/spawni.c (script_execute): Always define it.
44075         It will be optimized away if unused.
44076         (maybe_script_execute): New function.
44077         (__spawni): Call it.
44078
44079         * Makerules: Don't include tls.make.
44080         (config-tls): Always set to thread.
44081         * tls.make.c: File removed.
44082
44083 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44084
44085         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44086         * config.make.in (CPPFLAGS-config): New substituted variable.
44087
44088 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44089
44090         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44091
44092         [BZ #13192]
44093         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44094         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44095
44096 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44097
44098         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44099         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44101         (CALL_FAIL): Likewise.
44102         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44103         (CALL_FAIL): Macro removed.
44104         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44105
44106 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44107
44108         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44109         for __FINITE_MATH_ONLY__ == 1.
44110
44111 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44112
44113         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44114         __ieee754_sqrt instead of sqrt.
44115         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44116         __ieee754_sqrtf instead of sqrtf.
44117         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44118         __floorf instead of floorf.
44119         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44120         __floorf, __truncf instead of floorf, truncf.
44121
44122 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44123
44124         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44125
44126         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44127         __extern_always_inline.
44128         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44129         32-bit.
44130
44131 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44132
44133         * elf/rtld.c (dl_main): Also relocate in dependency order when
44134         doing symbol dependency testing.
44135
44136 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44137
44138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44139         Always define `refsym'.
44140
44141 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44142
44143         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44144         (__FD_ELT): Renamed from __FDELT.
44145         * misc/bits/select2.h (__FD_ELT): Likewise.
44146         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44147         __FD_MASK instead of __FDELT, __FDMASK.
44148         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44149         Likewise.
44150         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44151         Likewise.
44152
44153         * elf/Makefile (gen-ldd): Fix pattern.
44154
44155         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44156         (init_tls): Likewise.
44157
44158 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44159
44160         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44161
44162 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44163
44164         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44165         `struct cmsghdr *' instead of `void *'.
44166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44167         Likewise.
44168
44169 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44170
44171         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44172         if non-absolute.
44173         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44174         ldd_rewrite_script.
44175
44176 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44177
44178         * configure.in: Remove --with-tls option.
44179         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44180         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44181         out in case it is missing.
44182         * sysdeps/ia64/elf/configure.in: Likewise.
44183         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44184         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44185         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44186         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44187         * sysdeps/sh/elf/configure.in: Likewise.
44188         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44189         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44190         * sysdeps/x86_64/elf/configure.in: Likewise.
44191         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44192         * sysdeps/mach/hurd/tls.h: Likewise.
44193
44194         [BZ #13067]
44195         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44196
44197         [BZ #13090]
44198         * configure.in: Fix use of AC_INIT.
44199
44200         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44201
44202 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44203
44204         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44205         __set_errno.
44206         * malloc/hooks.c: Likewise.
44207
44208         [BZ #11929]
44209         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44210         variables statically.
44211         (narenas): Initialize.
44212         (list_lock): Initialize.
44213         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44214         initializtion of main_arena and list_lock.  Small cleanups.
44215         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44216         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44217         Add initializers to main_arena and mp_.
44218         (malloc_state): Remove pagesize member.  Change all users to use
44219         GLRO(dl_pagesize).
44220
44221         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44222         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44223         is always initialized.
44224
44225         * malloc/malloc.c: Removed unused configurations and dead code.
44226         * malloc/arena.c: Likewise.
44227         * malloc/hooks.c: Likewise.
44228         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44229
44230         * include/tls.h: Removed.  USE___THREAD must always be defined.
44231         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44232         * elf/dl-libc.c: Likewise.
44233         * elf/dl-tsd.c: Likewise.
44234         * include/errno.h: Likewise.
44235         * include/netdb.h: Likewise.
44236         * include/resolv.h: Likewise.
44237         * inet/herrno-loc.c: Likewise.
44238         * inet/herrno.c: Likewise.
44239         * malloc/arena.c: Likewise.
44240         * malloc/hooks.c: Likewise.
44241         * malloc/malloc.c: Likewise.
44242         * resolv/res-state.c: Likewise.
44243         * resolv/res_libc.c: Likewise.
44244         * sysdeps/i386/dl-machine.h: Likewise.
44245         * sysdeps/ia64/dl-machine.h: Likewise.
44246         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44247         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44248         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44249         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44250         * sysdeps/sh/dl-machine.h: Likewise.
44251         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44252         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44253         * sysdeps/unix/i386/sysdep.S: Likewise.
44254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44255         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44260         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44264         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44265         * sysdeps/x86_64/dl-machine.h: Likewise.
44266         * tls.make.c: Likewise.
44267
44268         * configure.in: Remove --with-__thread option.  Make tests for
44269         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44270         tls_model attribute fail if no support is available.  Remove
44271         USE_IN_LIBIO.
44272         * Makeconfig: Adjust for dropped configure option.  All features are
44273         now mandatory.
44274         * Makerules: Likewise.
44275         * Versions.def: Likewise.
44276         * argp/argp-fmtstream.c: Likewise.
44277         * argp/argp-fmtstream.h: Likewise.
44278         * argp/argp-help.c: Likewise.
44279         * assert/assert.c: Likewise.
44280         * config.h.in: Likewise.
44281         * config.make.in: Likewise.
44282         * configure: Likewise.
44283         * configure.in: Likewise.
44284         * csu/Versions: Likewise.
44285         * csu/init.c: Likewise.
44286         * elf/tst-audit2.c: Likewise.
44287         * elf/tst-tls10.c: Likewise.
44288         * elf/tst-tls10.h: Likewise.
44289         * elf/tst-tls11.c: Likewise.
44290         * elf/tst-tls12.c: Likewise.
44291         * elf/tst-tls14.c: Likewise.
44292         * elf/tst-tlsmod11.c: Likewise.
44293         * elf/tst-tlsmod12.c: Likewise.
44294         * elf/tst-tlsmod13.c: Likewise.
44295         * elf/tst-tlsmod13a.c: Likewise.
44296         * elf/tst-tlsmod14a.c: Likewise.
44297         * elf/tst-tlsmod15b.c: Likewise.
44298         * elf/tst-tlsmod16a.c: Likewise.
44299         * elf/tst-tlsmod16b.c: Likewise.
44300         * elf/tst-tlsmod7.c: Likewise.
44301         * elf/tst-tlsmod8.c: Likewise.
44302         * elf/tst-tlsmod9.c: Likewise.
44303         * gmon/gmon.c: Likewise.
44304         * grp/fgetgrent_r.c: Likewise.
44305         * grp/putgrent.c: Likewise.
44306         * hurd/fopenport.c: Likewise.
44307         * include/libc-symbols.h: Likewise.
44308         * include/tls.h: Likewise.
44309         * intl/gettextP.h: Likewise.
44310         * intl/loadinfo.h: Likewise.
44311         * locale/global-locale.c: Likewise.
44312         * locale/localeinfo.h: Likewise.
44313         * mach/devstream.c: Likewise.
44314         * malloc/arena.c: Likewise.
44315         * malloc/set-freeres.c: Likewise.
44316         * misc/err.c: Likewise.
44317         * misc/getttyent.c: Likewise.
44318         * misc/mntent_r.c: Likewise.
44319         * posix/getopt.c: Likewise.
44320         * posix/wordexp.c: Likewise.
44321         * pwd/fgetpwent_r.c: Likewise.
44322         * resolv/Versions: Likewise.
44323         * resolv/res_hconf.c: Likewise.
44324         * shadow/fgetspent_r.c: Likewise.
44325         * shadow/putspent.c: Likewise.
44326         * stdio-common/printf_fphex.c: Likewise.
44327         * stdio-common/tmpfile.c: Likewise.
44328         * stdlib/abort.c: Likewise.
44329         * stdlib/fmtmsg.c: Likewise.
44330         * sunrpc/auth_unix.c: Likewise.
44331         * sunrpc/clnt_perr.c: Likewise.
44332         * sunrpc/clnt_tcp.c: Likewise.
44333         * sunrpc/clnt_udp.c: Likewise.
44334         * sunrpc/clnt_unix.c: Likewise.
44335         * sunrpc/openchild.c: Likewise.
44336         * sunrpc/svc_simple.c: Likewise.
44337         * sunrpc/svc_tcp.c: Likewise.
44338         * sunrpc/svc_udp.c: Likewise.
44339         * sunrpc/svc_unix.c: Likewise.
44340         * sunrpc/xdr.c: Likewise.
44341         * sunrpc/xdr_array.c: Likewise.
44342         * sunrpc/xdr_rec.c: Likewise.
44343         * sunrpc/xdr_ref.c: Likewise.
44344         * sunrpc/xdr_stdio.c: Likewise.
44345
44346 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44347
44348         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44349
44350 2011-07-03  Andreas Jaeger  <aj@suse.de>
44351
44352         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44353         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44354         regenerate with gen-libm-tests.pl.
44355
44356 2010-05-12  Petr Baudis  <pasky@suse.cz>
44357
44358         [BZ #11589]
44359         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44360         around j0() zero points by switching to j1().
44361         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44364         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44365
44366 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44367
44368         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44369         instead of 0.
44370         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44371         instead of 0.
44372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44373         Patch in part by Pavel Roskin <proski@gnu.org>.
44374
44375         [BZ #13138]
44376         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44377         realloc.
44378         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44379         Free memory block if necessary.
44380
44381         [BZ #12847]
44382         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44383         be NULL.  Don't lock in this case.
44384
44385 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44386
44387         * elf/elf.h (ELFOSABI_GNU): New macro.
44388         (ELFOSABI_LINUX): Define to that.
44389
44390 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44391
44392         * string/strncat.c (strncat): Undef the symbol in case it has been
44393         defined in bits/string.h.
44394
44395 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44396
44397         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44398
44399         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44400         link map.
44401
44402 2011-08-17  Andreas Jaeger  <aj@suse.de>
44403
44404         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44405
44406 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44407             Ian Lance Taylor  <iant@google.com>
44408
44409         * math/libm-test.inc (lround_test): New testcase.
44410         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44411
44412 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44413
44414         * Makefile: Remove support for automatic cvs check-ins.
44415         * Makerules: Likewise.
44416         * config.make.in: Likewise.
44417         * configure.in: Likewise.
44418         * intl/Makefile: Likewise.
44419         * locale/Makefile: Likewise.
44420         * po/Makefile: Likewise.
44421         * posix/Makefile: Likewise.
44422         * sysdeps/gnu/Makefile: Likewise.
44423         * sysdeps/mach/hurd/Makefile: Likewise.
44424         * sysdeps/sparc/sparc32/Makefile: Likewise.
44425
44426         [BZ #13118]
44427         * posix/Makefile (bug-regex32-ENV): Define.
44428         Patch by John Stanley <jpsinthemix@verizon.net>.
44429
44430         * misc/Makefile (headers): Add bits/select2.h.
44431         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44432         * misc/bits/select2.h: New file.
44433         * include/bits/select2.h: New file.
44434         * debug/Makefile (routines): Add fdelt_chk.
44435         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44436         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44437         FD_ISSET.
44438         * debug/fdelt_chk.c: New file.
44439
44440         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44441         * wcsmbs/test-wmemcmp.c: Likewise.
44442         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44443         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44444
44445 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44446
44447         * string/Makefile (strop-tests): Add memcmp.
44448         * string/test-wmemcmp.c: New file.
44449         * string/test-memcmp.c: Add wmemcmp support.
44450
44451 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44452
44453         [BZ #13153]
44454         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44455         2011-07-19 change.
44456
44457         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44458         garbage value in a __mach_port_mod_refs call in the cases of the
44459         task-self and thread-self ports.
44460
44461 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44462
44463         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44464
44465 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44466
44467         * elf/dl-load.c (lose): Check for non-null L.
44468
44469 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44470
44471         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44472
44473         * elf/dl-libc.c (dlerror_run): Pass back error code from
44474         dl_catch_error.
44475
44476         [BZ #13123]
44477         * elf/dl-load.c (lose): Free l_origin if it is valid.
44478
44479         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44480         names.
44481         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44482         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44483         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44484         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44485         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44486         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44487
44488 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44489
44490         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44491         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44492         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44493         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44494         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44495         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44496         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44497         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44498         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44499         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44500
44501 2011-08-15  Alan Modra  <amodra@gmail.com>
44502
44503         [BZ #13092]
44504         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44505         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44506         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44507         ppc_mcount to static-only-routines.
44508         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44509         __mcount_internal.
44510         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44511         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44512
44513 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44514
44515         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44516         for finite and infinity parameters.
44517
44518 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44519
44520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44521         and add nop instructions for throughput optimization.
44522         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44523
44524 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44525
44526         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44527         aligned copy for power7 with vector-scalar instructions.
44528         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44529
44530 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44531
44532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44533         AVX check.
44534
44535 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44536
44537         [BZ #13144]
44538         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44539         last change.
44540
44541 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44542
44543         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44544         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44545         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44546         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44547         clock_gettime.
44548
44549 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44550
44551         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44552         Forgot to demangle the pointer.
44553
44554         * sysdeps/i386/sysdep.h: Define atom_text_section.
44555         * sysdeps/x86_64/sysdep.h: Likewise.
44556         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44557         section with atom_text_section.
44558         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44559         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44560         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44561         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44562         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44563
44564         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44565         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44566         already be defined.  Change to take two parameters and don't assign
44567         result to variable.  Adjust all users.
44568         Define INTERNAL_GETTIME if not already defined.
44569         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44570         call.
44571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44572         HAVE_CLOCK_GETTIME_VSYSCALL.
44573         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44574
44575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44576         gettimeofday vsyscall, just use time.
44577
44578 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44579
44580         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44581         <errno.h>.
44582
44583 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44584
44585         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44586         syscall on x86-64.
44587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44588         syscall.
44589         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44590         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44591         syscall if possible.
44592
44593 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44594
44595         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44596         e_ident.  Don't pass to find_mapsXX.
44597         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44598
44599 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44600
44601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44602         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44603         * sysdeps/x86_64/multiarch/strchr.S: Update.
44604         Check bit_slow_BSF bit.
44605         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44606         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44607         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44608
44609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44610
44611         [BZ #13134]
44612         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44613         before glibc 2.15.
44614         (tryshell): Define.
44615         (__spawni): Change last parameter to be flag.  Test
44616         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44617         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44618         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44619         * posix/spawni.c: Likewise.
44620         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44621         * posix/spawnp.c: Likewise.  Change normal version to use
44622         SPAWN_XFLAGS_USE_PATH.
44623         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44624         SPAWN_XFLAGS_TRY_SHELL.
44625
44626         [BZ #13150]
44627         * posix/glob.h: Remove gcc 1.x support.
44628
44629         [BZ #13068]
44630         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44631
44632 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44633
44634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44635         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44636         strrchr-sse2-bsf
44637         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44638         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44639         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44640         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44641         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44642         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44643
44644 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44645
44646         * sysdeps/x86_64/wcscmp.S: New file.
44647
44648         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44649         wcscmp-c wcscmp-sse2
44650         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44651         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44652         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44653         * wcsmbs/wcscmp.c: Allow renaming.
44654
44655 2011-09-05  David S. Miller  <davem@davemloft.net>
44656
44657         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44658         stack slot, rather than the struct return pointer slot.
44659         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44660         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44662         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44663
44664 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44665
44666         * po/ja.po: Update from translation team.
44667
44668         [BZ #13144]
44669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44670         kernel in 64-bit binaries.
44671
44672 2011-09-01  David S. Miller  <davem@davemloft.net>
44673
44674         * elf/elf.h (HWCAP_SPARC_*): Move to..
44675         * sysdeps/sparc/sysdep.h: this new file and add new values.
44676         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44677         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44678         _DL_HWCAP_COUNT to 24.
44679         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44680         entries.
44681         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44682         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44683         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44685         instead of magic constants.
44686         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44687
44688 2011-08-31  David S. Miller  <davem@davemloft.net>
44689
44690         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44692         Reimplement to do errno handling inline.
44693         (SYSCALL_ERROR_HANDLER): New macro.
44694         (__SYSCALL_STRING): Do not do errno handling in asm.
44695         (__CLONE_SYSCALL_STRING): Delete.
44696         (__INTERNAL_SYSCALL_STRING): Delete.
44697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44698         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44699         (PSEUDO): Reimplement to do errno handling inline.
44700         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44701         (SYSCALL_ERROR_HANDLER): New macro.
44702         (__SYSCALL_STRING): Do not do errno handling in asm.
44703         (__CLONE_SYSCALL_STRING): Delete.
44704         (__INTERNAL_SYSCALL_STRING): Delete.
44705         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44706         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44707         i386.
44708         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44709         (inline_syscall*): Add 'err' argument.
44710         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44711         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44712         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44713         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44714
44715         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44716         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44717
44718 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44719
44720         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44721
44722 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44723
44724         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44725         directive.
44726
44727 2011-08-24  David S. Miller  <davem@davemloft.net>
44728
44729         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44730
44731 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44732
44733         * elf/Makefile: Add rules to build and run unload8 test.
44734         * elf/unload8.c: New file.
44735         * elf/unload8mod1.c: New file.
44736         * elf/unload8mod1x.c: New file.
44737         * elf/unload8mod2.c: New file.
44738         * elf/unload8mod3.c: New file.
44739
44740         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44741         it wasn't used.
44742
44743 2011-08-23  David S. Miller  <davem@davemloft.net>
44744
44745         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44746         subtract stack bias.
44747         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44748         %sp not %fp in calculations.
44749         (_JMPBUF_UNWINDS_ADJ): Likewise.
44750
44751         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44752         (aio_suspend): Call it to force an exception region around the
44753         AIO_MISC_WAIT() invocation.
44754
44755 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44756
44757         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44758         backslash.
44759
44760 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44761
44762         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44763         protection macro.
44764         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44765         and <dl-machine.h>.
44766         (Elf64_FuncDesc): Remove.
44767
44768 2011-08-22  David S. Miller  <davem@davemloft.net>
44769
44770         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44771         sigaltstack check, add missing cfi directives.
44772         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44773         missing cfi directives, and sigaltstack handling.
44774
44775 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44776
44777         [BZ #11724]
44778         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44779         object is seen twice.
44780         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44781
44782         * elf/Makefile (distribute): Add tst-initorder2.c.
44783         (tests): Add tst-initorder2.
44784         (modules-names): Add tst-initorder2a tst-initorder2b
44785         tst-initorder2c tst-initorder2d.  Add rules to build them.
44786         ($(objpfx)tst-initorder2.out): New rule.
44787         * elf/tst-initorder2.c: New file.
44788         * elf/tst-initorder2.exp: New file.
44789
44790 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44791
44792         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44793
44794         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44795         dependencies back to end of function.
44796
44797         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44798         $(elfobjdir)/ld.so.
44799
44800 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44803         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44804         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44805         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44806         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44807         of __vdso_gettimeofday.
44808         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44809         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44810         attribute_hidden.
44811         (_libc_vdso_platform_setup): Remove initialization of
44812         __vdso_gettimeofday and __vdso_time.
44813
44814 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44815
44816         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44817         and fgetc_unlocked.
44818         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44819         getc_unlocked.
44820
44821         * elf/dl-open.c (add_to_global): Report additions to the global scope
44822         for LD_DEBUG=scopes.
44823         (dl_open_worker): Also print scope of newly loaded dependencies.
44824         (_dl_show_scope): Indicate if there is no scope.
44825
44826         [BZ #13114]
44827         * stdio-common/Makefile (tests): Add bug24.
44828         * stdio-common/bug24.c: New file.
44829
44830 2011-08-19  Andreas Jaeger  <aj@suse.de>
44831
44832         [BZ #13114]
44833         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44834         non-existant file when using close-on-exec mode.
44835
44836 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44837
44838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44839         the very first instruction.
44840
44841         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44842         the CFI state in the end.
44843         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44844         inclusion of dl-trampoline.h.
44845         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44846
44847 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44848
44849         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44850         expectations for long double.
44851
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44853         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44854
44855 2011-08-14  David S. Miller  <davem@davemloft.net>
44856
44857         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44858         artificual limit depends upon the system page size.
44859
44860 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44861
44862         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44863         * resolv/Makefile: Define CFLAGS-libresolv.
44864
44865 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44866
44867         * nss/makedb.c (compute_tables): Make variables used in nested
44868         function static.
44869
44870 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44871
44872         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44873         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44874         if buffer was too small.
44875
44876         * elf/pldd.c (main): Attach to all threads in the process.
44877         Rewrite /proc handling to use *at functions.
44878
44879 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44880
44881         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44882         specifies first scope to show.
44883         (dl_open_worker): Update callers.  Move printing scope of new
44884         object to before the relocation.
44885         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44886         * sysdeps/generic/ldsodefs.h: Update declaration.
44887
44888         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44889         string for the scope number.
44890
44891 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44892
44893         * nscd/servicescache.c (cache_addserv): Make sure written is always
44894         initialized.
44895
44896 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44897
44898         * sysdeps/i386/i486/bits/atomic.h
44899         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44900         statement expression, so as to suppress "set but not used" warning.
44901         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44902
44903         * string/strncat.c (STRNCAT): Use prototype definition.
44904
44905         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44906         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44907         -Iprograms here.
44908         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44909         (localedef-modules): Add localedef.
44910         (locale-modules): Add locale.
44911
44912         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44913         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44914         to avoid a warning.
44915
44916 2011-08-14  David S. Miller  <davem@davemloft.net>
44917
44918         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44919         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44920
44921 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44922
44923         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44924         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44925         * elf/rtld.c (dl_main): Set l_name of vDSO.
44926         Call _dl_show_scope when DL_DEBUG_SCOPES.
44927         (process_dl_debug): Recognize scopes flag and also set it for all.
44928         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44929         Declare _dl_show_scope.
44930
44931         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44932         (do_dlopen): Pass caller_dlopen to dl_open.
44933         (__libc_dlopen_mode): Initialize caller_dlopen.
44934
44935         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44936         of libc.  Make tolower call locale-independent.  Optimize a bit by
44937         using isdigit instead of isalnum.
44938         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44939
44940 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44941
44942         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44943         was a dependency or dynamically loaded.
44944
44945 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44946
44947         * intl/l10nflist.c: Allow architecture-specific pop function.
44948         * sysdeps/x86_64/l10nflist.c: New file.
44949
44950         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44951         classification.
44952
44953 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44954
44955         * include/dirent.h: Add libc_hidden_proto for scandirat and
44956         scandirat64.  Don't declare __scandirat64.
44957         * dirent/scandirat.c: Add libc_hidden_def.
44958         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44959         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44960
44961 2011-08-10  David S. Miller  <davem@davemloft.net>
44962
44963         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44964         enum.
44965         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44966         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44967         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44968
44969 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44970
44971         * Versions.def [libc]: Add GLIBC_2.15.
44972         * dirent/Makefile (routines): Add scandirat and scandirat64.
44973         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44974         GLIBC_2.15.
44975         * dirent/dirent.h: Declare scandirat and scandirat64.
44976         * dirent/scandirat.c: New file.
44977         * dirent/scandirat64.c: New file.
44978         * sysdeps/wordsize-64/scandirat.c: New file.
44979         * sysdeps/wordsize-64/scandirat64.c: New file.
44980         * dirent/opendir.c: Define opendirat.
44981         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44982         using scandirat.
44983         * dirent/scandir64.c: Adjust for scandir.c change.
44984         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44985         __scandirat64, and __scandir_cancel_handler.
44986         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44987         additional parameter and use openat instead of open (outside of ld.so).
44988         Add new __opendir as wrapper around __opendirat.
44989         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44990         here without requiring old scandirat implementation.
44991
44992 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44993
44994         * dirent/scandir.c (cancel_handler): Renamed to
44995         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44996         defined.  Adjust users.
44997         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44998         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44999
45000 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45001
45002         * string/test-string.h (IMPL): Use __STRING to expand name and then
45003         stringify it.
45004
45005         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45006         of cleanups.
45007
45008 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45009
45010         * string/Makefile: Update.
45011         (strop-tests): Append strncat.
45012         * string/test-wcscmp.c: New file.
45013         New comprehensive test for wcscmp.
45014         * string/test-strcmp.c: Update.
45015         (WIDE): New define.
45016
45017 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45018
45019         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45020         line.
45021
45022 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45023
45024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45025         encoding to ACE if AI_IDN.
45026
45027 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45028
45029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45030         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45031
45032 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45033
45034         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45035         Fix overflow bug in strncat.
45036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45037
45038         * string/test-strncat.c: Update.
45039         Add new tests for checking overflow bugs.
45040
45041 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45042
45043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45044         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45045         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45046         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45047         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45048         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45049         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45050         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45051         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45052
45053         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45054         (USE_AS_STRCAT): Define.
45055         Add strcat and strncat support.
45056         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45057
45058 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45059
45060         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45061         __n bigger than INT_MAX+1.
45062         (__strncmp_g): Likewise.
45063
45064 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45065
45066         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45067         * libio/stido.h: Likewise.
45068
45069         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45070         (AF_NFC): Define.
45071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45072         (AF_NFC): Define.
45073
45074         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45077         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45078         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45079
45080         [BZ #13021]
45081         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45082         installed.
45083
45084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45085         typo.
45086         (_dl_x86_64_save_sse): Likewise.
45087
45088 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45089
45090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45091         OSXSAVE.
45092         (_dl_x86_64_save_sse): Likewise.
45093
45094         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45095
45096         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45097
45098 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45099
45100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45101         change.
45102         (_dl_x86_64_save_sse): Use correct AVX check.
45103
45104 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45105
45106         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45107         bug in strncpy/strncat.
45108         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45109
45110 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45111
45112         * string/tester.c (test_strcat): Add tests for different alignments
45113         of source and destination.
45114         (test_strncat): Likewise.
45115
45116 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45117
45118         [BZ #12852]
45119         * posix/glob.c (glob): Check passed in values before using them in
45120         expressions to avoid some overflows.
45121         (glob_in_dir): Likewise.
45122
45123         [BZ #13007]
45124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45125         check for AVX enablement so that we don't crash with old kernels and
45126         new hardware.
45127         * elf/tst-audit4.c: Add same checks here.
45128         * elf/tst-audit6.c: Likewise.
45129
45130         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45131
45132 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45133
45134         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45135
45136 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45137
45138         * po/cs.po: Update from translation team.
45139         * po/bg.po: Likewise.
45140
45141 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45142
45143         * misc/sys/cdefs.h: Add support for const attribute.
45144         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45145         to gnu_dev_{major,minor,makedev} functions.
45146
45147 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45148
45149         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45150
45151 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45152
45153         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45154         strlen results.
45155
45156 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45157
45158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45159         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45160         register in order to avoid conflicts with the soft frame pointer
45161         being held in r11 when necessary.
45162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45163         (INTERNAL_VSYSCALL_NCS): Likewise.
45164
45165 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45166
45167         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45168         * elf/dl-fini.c (_dl_fini): Adjust caller.
45169         * elf/dl-close.c (_dl_close_worker): Likewise.
45170         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45171
45172 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45173
45174         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45175         "aux_cache->nlibs < 0".
45176
45177         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45178         in the reload-count case.
45179
45180 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45181
45182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45183         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45184         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45185         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45186         * sysdeps/x86_64/multiarch/strcat.S: New file.
45187         * sysdeps/x86_64/multiarch/strncat.S: New file.
45188         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45189         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45190         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45191         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45193         (USE_AS_STRCAT): Define.
45194         Add strcat and strncat support.
45195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45196         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45197         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45198         * string/strncat.c: Update.
45199         (USE_AS_STRNCAT): Define.
45200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45201         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45202         and i7.
45203         * sysdeps/x86_64/multiarch/init-arch.h
45204         (bit_Prefer_PMINUB_for_stringop): New.
45205         (index_Prefer_PMINUB_for_stringop): Likewise.
45206         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45207         bit_Prefer_PMINUB_for_stringop.
45208
45209 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45210
45211         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45212         buffer64.
45213         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45214         of casting of buffer.
45215         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45216         buffer32 and buffer64.
45217         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45218         writes instead of casting of buffer.
45219         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45220         buffer32.
45221         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45222         casting of buffer.
45223
45224 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45225
45226         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45227
45228 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45229
45230         * nscd/nscd.c (termination_handler): Don't do anything for a database
45231         if it has not yet been initialized.
45232
45233 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45234
45235         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45236
45237 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45238
45239         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45240
45241 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45242
45243         * po/nl.po: Update from translation team.
45244         * po/sv.po: Likewise.
45245
45246 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45247
45248         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45249         now disallowed by GCC.
45250
45251         * configure.in (use-default-link): Default to yes if a test -shared
45252         link meets our qualifications.
45253         * configure: Regenerated.
45254
45255         * config.make.in (output-format): New variable.
45256         * configure.in: Check for ld --print-output-format support.
45257         * configure: Regenerated.
45258         * Makerules ($(common-objpfx)format.lds)
45259         [$(output-format) != unknown]: Just use $(output-format),
45260         instead of the linker-script munging.
45261
45262 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45263
45264         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45265         of $(common-objpfx)shlib.lds.
45266         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45267
45268         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45269         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45270
45271         * configure.in (-z relro check): Adjust test code to add a large
45272         writable data section after it.
45273         * configure: Regenerated.
45274
45275 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45276
45277         * configure.in (-z relro check): Fix test code to make the variable
45278         truly const.
45279         * configure: Regenerated.
45280
45281 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45282
45283         * nscd/nscd.h (struct traced_file): Define.
45284         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45285         elements.  Add traced_files.
45286         (inotify_fd): Declare.
45287         (register_traced_file): Declare.
45288         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45289         (inotify_fd): Export.
45290         (resolv_conf_descr): Remove.
45291         (nscd_init): Move inotify descriptor creation to main.
45292         Don't register files for notification here.
45293         (register_traced_file): New function.
45294         (invalidate_cache): Don't use reset_res to determine whether to call
45295         res_init, go through the list of registered files.
45296         (main_loop_poll): The inotify descriptors are now stored in the
45297         structures for the traced files.
45298         (main_loop_epoll): Likewise
45299         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45300         to __nss_disable_nscd.
45301         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45302         for a database anymore.  Check the records for all the registered
45303         files instead.
45304         * nss/Makefile (libnss_files-routines): Add files-init.
45305         (libnss_db-routines): Add db-init.
45306         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45307         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45308         * nss/nss_db/db-init.c: New file.
45309         * nss/nss_files/files-init.c: New file.
45310         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45311         __nss_lookup_function.
45312         (__nss_lookup_function): Call nss_load_library.
45313         (nss_load_all_libraries): New function.
45314         (__nss_disable_nscd): Take parameter with callback function for files
45315         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45316         used for the cached services.
45317         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45318         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45319         options for features to all the files in nscd.
45320
45321         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45322
45323 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45324
45325         * csu/elf-init.c (__libc_csu_init): Comment typo.
45326
45327 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45328
45329         * po/pl.po: Update from translation team.
45330         * po/ja.po: Likewise.
45331         * po/ru.po: Likewise.
45332         * po/ko.po: Likewise.
45333         * po/fr.po: Likewise.
45334
45335 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45336
45337         * configure.in (.ctors/.dtors header and trailer check):
45338         Use an empirical test on a built program.
45339         * configure: Regenerated.
45340
45341         * configure.in (-z relro check): Use an empirical test on a built DSO.
45342         Detect, but do not require, on ia64.
45343         * configure: Regenerated.
45344
45345         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45346         Update tests that use readelf to use $READELF instead.
45347         * configure: Regenerated.
45348
45349 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45350
45351         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45352         if the result is not used.
45353
45354 2011-07-05  Andreas Jaeger  <aj@suse.de>
45355
45356         [BZ#9696]
45357         * stdlib/tst-strtod.c: Add testcase.
45358
45359 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45360
45361         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45362         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45363         The latter has a higher limit.  Take additional parameter to pass to
45364         the new function.
45365         (__pathconf): Pass file to __statfs_link_max.
45366         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45367         __statfs_link_max.
45368         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45369         __statfs_link_max.
45370
45371         [BZ #12868]
45372         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45374         Handle Lustre.
45375         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45376         (__statfs_filesize_max): Likewise.
45377         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45378
45379 2011-07-05  Andreas Jaeger  <aj@suse.de>
45380
45381         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45382
45383 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45384
45385         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45386         `status' variable.
45387         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45388         Likewise.
45389
45390 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45391
45392         * Makefile (strop-tests): Add strncat.
45393         * string/test-strncat.c: New file.
45394
45395 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45396
45397         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45398
45399 2011-06-21  Andreas Jaeger  <aj@suse.de>
45400
45401         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45402         Copy rule from iconvdata/Makefile.
45403
45404 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45405
45406         [BZ #12922]
45407         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45408         but no long options are defined, just return 'W'.
45409
45410 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45411
45412         [BZ #9696]
45413         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45414
45415 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45416
45417         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45418         netgroups to read.
45419         (innetgr): Likewise.
45420
45421 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45422
45423         * config.make.in (install_root): Default to $(DESTDIR).
45424
45425 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45426
45427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45428
45429 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45430
45431         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45432
45433         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45434         containing directory rather than embedding absolute directory names.
45435
45436         * scripts/check-local-headers.sh: Rewritten using awk.
45437         Match by word, not by line.  Print error messages for matches.
45438         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45439
45440         * Makerules [shlib-lds-flags empty]:
45441         ($(common-objpfx)libc_pic.opts): New target.
45442         ($(common-objpfx)libc_pic.os.clean): New target.
45443         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45444
45445         * config.make.in (OBJCOPY): New variable.
45446         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45447         * configure: Regenerated.
45448
45449         * config.make.in (use-default-link): New variable.
45450         * configure.in (use_default_link): Grok --with-default-link to set it.
45451         * configure: Regenerated.
45452         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45453         (shlib-lds, shlib-lds-flags): Define to empty.
45454
45455         * Makerules (shlib-lds): New variable.
45456         (shlib-lds-flags): New variable.
45457         (build-shlib, build-moduile, build-module-asneeded): Use it.
45458         ($(common-objpfx)libc.so): Use $(shlib-lds).
45459         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45460         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45461
45462         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45463         DT_FLAGS/DT_FLAGS_1 with zero flags.
45464
45465         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45466         linker script munging.
45467
45468 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45469
45470         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45471         as 128-bit value.
45472         * crypt/sha512.c (sha512_process_block): Perform total addition using
45473         128-bit if possible.
45474         (__sha512_finish_ctx): Likewise.
45475         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45476         as 64-bit value.
45477         * crypt/sha256.c (SWAP64): Define.
45478         (sha256_process_block): Perform total addition using 64-bit if
45479         possible.
45480         (__sha256_finish_ctx): Likewise.
45481
45482 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45483
45484         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45486         * nscd/hstcache.c (cache_addhst): Likewise.
45487         * nscd/grpcache.c (cache_addgr): Likewise.
45488         * nscd/aicache.c (addhstaiX): Likewise
45489         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45490
45491 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45492
45493         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45494         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45495         * nscd/hstcache.c (cache_addhst): Likewise.
45496         * nscd/grpcache.c (cache_addgr): Likewise.
45497         * nscd/aicache.c (addhstaiX): Likewise
45498
45499 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45500
45501         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45502         domain only when needed.
45503
45504 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45505
45506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45507         is always restored.
45508
45509 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45512         are re-adding the entry.
45513         * nscd/servicescache.c (cache_addserv): Likewise.
45514
45515 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45516
45517         * sysdeps/generic/dl-irel.h: fix protection against multiple
45518         inclusions.
45519         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45520
45521 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45522
45523         [BZ #12935]
45524         * malloc/memusage.sh: Fix quoting in message.
45525         * debug/xtrace.sh: Likewise.
45526
45527         * configure.in: Remove support for --experimental-malloc option, make
45528         it the default.
45529         * config.make.in: Likewise.
45530         * malloc/Makefile: Likewise.
45531
45532 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45533
45534         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45535         two-byte characters.
45536
45537 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45538
45539         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45540         AC_CACHE_CHECK invocation.
45541         * configure: Regenerated.
45542
45543         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45544
45545 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45546
45547         [BZ #12350]
45548         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45549         bit from old_res_options.
45550
45551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45552
45553         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45554         value type for setfct.
45555
45556 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45557
45558         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45559         __gettimeofday instead of gettimeofday.
45560
45561 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45562
45563         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45564
45565 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45566
45567         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45568
45569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45570         info.
45571
45572 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45573
45574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45575         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45576         strcpy-sse2-unaligned strncpy-sse2-unaligned
45577         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45578         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45579         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45580         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45581         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45583         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45584         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45585         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45586         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45587         (STRCPY): Support SSE2 and SSSE3 versions.
45588
45589 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45590
45591         [BZ #12874]
45592         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45593         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45594         kernels which artificially limit size of requests.
45595
45596 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45597
45598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45599         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45600         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45601         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45602         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45603         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45604         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45605         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45606         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45608         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45609         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45610         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45611         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45612         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45614         Enable unaligned load optimization for Intel Core i3, i5 and i7
45615         processors.
45616         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45617         Define.
45618         (index_Fast_Unaligned_Load): Define.
45619         (HAS_FAST_UNALIGNED_LOAD): Define.
45620
45621 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45622
45623         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45624
45625 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45626
45627         [BZ #12907]
45628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45629         until it is clear that the information is realy needed.
45630         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45631
45632 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45633
45634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45635
45636 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45637
45638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45639         /sys/devices/system/cpu/online if it is usable.
45640
45641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45642         reading the information from the /proc filesystem to once a second.
45643
45644 2011-06-21  Andreas Jaeger  <aj@suse.de>
45645
45646         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45647         NULL after inclusion of kernel headers.
45648
45649 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45650
45651         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45652         calls to internal_setent.
45653
45654         [BZ #12885]
45655         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45656         addresses using gethostbyname4_r ignore IPv4 addresses.
45657
45658         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45659         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45660
45661         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45662
45663 2011-06-20  David S. Miller  <davem@davemloft.net>
45664
45665         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45666         inclusions.
45667         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45668
45669         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45670         (elf_irel): Use it.
45671         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45672         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45673         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45674         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45675         * sysdeps/x86_64/dl-irel.h: Likewise.
45676
45677         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45678         * elf/dl-sym.c: Likewise.
45679
45680 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45681
45682         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45683         need to dereference resplen2.
45684
45685 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45686
45687         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45688
45689 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45690
45691         * Makeconfig: Define vardbdir and inst_vardbdir.
45692         * nss/Makefile: Add rules to install db-Makefile.
45693
45694         * nss/nss_db/db-XXX.c: Cleanup.
45695
45696         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45697         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45698         GLIBC_PRIVATE.
45699         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45700         * nss/makedb.c: Implement -g option to specify that value strings
45701         are generated and should not be added to table iterated over for
45702         get*ent calls.
45703         * nss/nss_db/db-initgroups.c: New file.
45704
45705         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45706         interface.
45707
45708         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45709         (internal_getgrouplist): Adjust to name change.
45710         Update use_initgroups_entry if this is not the first call.
45711         * nss/databases.def: Add initgroups entry.
45712
45713         * nss/makedb.c (compute_tables): Check result of multiple hash table
45714         sizes to minimize maximum chain length.
45715
45716 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45717
45718         * Versions.def: Add entry for libnss_db.
45719         * shlib-versions: Likewise.
45720         * nss/Makefile: Add rules to build libnss_db.
45721         * nss/Versions: Add libnss_db information.  Organize libnss_files
45722         entries better.
45723         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45724         makedb progra.  Some minor improvements to generate smaller files.
45725         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45726         here from...
45727         * nss/makedb.c: ...here.
45728         Improve database format to be smaller and require less memory at
45729         runtime.
45730         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45731         db anymore.
45732         * nss/nss_db/db-netgrp.c: Likewise.
45733         * nss/nss_db/db-open.c: Likewise.
45734         * nss/nss_files/flies-XXX.x: Adjust comments.
45735         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45736         * nss/nss_files/files-grp.c: Likewise.
45737         * nss/nss_files/files-hosts.c: Likewise.
45738         * nss/nss_files/files-network.c: Likewise.
45739         * nss/nss_files/files-proto.c: Likewise.
45740         * nss/nss_files/files-pwd.c: Likewise.
45741         * nss/nss_files/files-rpc.c: Likewise.
45742         * nss/nss_files/files-service.c: Likewise.
45743         * nss/nss_files/files-sgrp.c: Likewise.
45744         * nss/nss_files/files-spwd.c: Likewise.
45745         * nss/nss_db/db-alias.c: Removed.
45746         * nss/nss_db/dummy-db.h: Removed.
45747
45748 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45749
45750         * nss/makedb.c: Rewritten to not use database library.
45751         * nss/Makefile: Update to build new makedb program.
45752
45753 2011-06-14  Andreas Jaeger  <aj@suse.de>
45754
45755         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45756         memset declaration.
45757
45758 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45759
45760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45761         tmpbuf.
45762
45763 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45764
45765         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45766         * elf/Makefile ($(objpfx)ld.so): Likewise.
45767
45768         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45769         Don't list ld.so twice in dependencies.
45770
45771         * posix/bug-regex31.c: Include <stdlib.h>.
45772
45773         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45774
45775         * nis/nss_compat/compat-spwd.c
45776         (getspent_next_nss_netgr): Remove unused variable.
45777         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45778
45779         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45780         nonmembers" output to use the right array.
45781
45782         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45783
45784         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45785
45786         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45787         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45788         * catgets/gencat.c (read_input_file): Likewise.
45789         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45790
45791         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45792         variable definition inside #if's controlling its use.
45793
45794         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45795
45796         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45797
45798         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45799
45800         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45801         unreachable code.
45802
45803         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45804
45805         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45806         * configure: Regenerated.
45807
45808         * Makerules: Revert last change.
45809         * elf/Makefile: Likewise.
45810
45811 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45812
45813         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45814         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45815         (reloc-link): Likewise.
45816
45817 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45818
45819         * elf/Makefile: Add rules to build pldd.
45820         * elf/pldd.c: New file.
45821         * elf/pldd-xx.c: New file.
45822
45823 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45824
45825         * version.h: Update for 2.15 development version.
45826
45827 2011-06-07  David S. Miller  <davem@davemloft.net>
45828
45829         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45830         ifuncs.
45831         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45832         elf_machine_lazy_rel): Likewise.
45833         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45834         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45835         elf_machine_lazy_rel): Likewise.
45836         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45837         dl_hwcap via passed in argument.
45838         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45839         Likewise.
45840
45841 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45842
45843         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45844
45845 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45846
45847         [BZ #12849]
45848         * manual/fdl-1.1.texi: New file, verbatim from:
45849         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45850         * manual/lgpl-2.1.texi: New file, verbatim from:
45851         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45852         * manual/Makefile (licenses): New variable, list those new file names.
45853         (texis): Use it.
45854         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45855
45856         * manual/fdl.texi: File removed.
45857         * manual/lesser.texi: File removed.
45858         * manual/libc.texinfo (Copying, Documentation License):
45859         Use new @include file names, put @appendix directive before @include.
45860
45861 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45862
45863         [BZ #12841]
45864         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45865         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45866         (mq_open): Add __NTH.
45867
45868 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45869
45870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45871         Assume Intel Core i3/i5/i7 processor if AVX is available.
45872
45873 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45874
45875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45876         typo.
45877
45878 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45879
45880         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45881         memory.  Use alloca_account.  Fix memory leak when retrying.
45882
45883 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45884
45885         * version.h (RELEASE): Bump for 2.14 release.
45886         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45887
45888         * config.make.in (RANLIB): Remove entry.
45889
45890 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45891
45892         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45893         (libc.pot): Work around missing support for .ksh extension in xgettext.
45894
45895         [BZ #12684]
45896         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45897         if both request failed.
45898         (send_dg): In case of server errors clear resplen or *resplen2.
45899
45900         [BZ #12454]
45901         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45902         when there are multiple maps.
45903         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45904         (_dl_fini): Remove test here.
45905
45906         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45907
45908 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45909
45910         [BZ #12350]
45911         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45912         bit from old_res_options.
45913         (gaih_inet): Likewise.
45914
45915         [BZ #11099]
45916         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45917         as signed.
45918
45919         * resolv/res_init.c (res_setoptions): Make the code more compact.
45920
45921         [BZ #11558]
45922         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45923         set RES_USEVC.
45924
45925         [BZ #11634]
45926         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45927
45928         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45929
45930         [BZ #11781]
45931         * malloc/malloc.h: Declare malloc hook variables as volatile.
45932
45933         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45934         in last patch.
45935
45936         [BZ #11799]
45937         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45938         raise in the comment.
45939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45941         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45942
45943 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45944
45945         [BZ #12811]
45946         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45947         grow the buffers more if it already has to be sufficient.
45948         (build_wcs_upper_buffer): Likewise.
45949         * posix/regexec.c (check_matching): Likewise.
45950         (clean_state_log_if_needed): Likewise.
45951         (extend_buffers): Don't enlarge buffers beyond size of the input
45952         buffer.
45953         Patches mostly by Emil Wojak <emil@wojak.eu>.
45954         * posix/bug-regex32.c: New file.
45955         * posix/Makefile (tests): Add bug-regex32.
45956
45957         * locale/findlocale.c (_nl_find_locale): Return right away if
45958         _nl_explode_name failed.
45959         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45960
45961         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45962
45963         * debug/xtrace.sh: Unify messages.
45964         * malloc/memusage.sh: Likewise.
45965
45966         [BZ #12813]
45967         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45968         time symbol from vDSO.  Substitute with vsyscall if not available.
45969         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45970         __vdso_time.
45971
45972         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45973         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45974         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45975         Add sendmmsg and internal_sendmmsg.
45976         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45977         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45978         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45979
45980         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45981         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45982         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45983
45984 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45985
45986         [BZ #12813]
45987         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45988         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45989         available.
45990         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45991         __vdso_getcpu.
45992
45993         [BZ #12814]
45994         * iconvdata/Makefile (tests): Add bug-iconv9.
45995         * iconvdata/bug-iconv9.c: New file.
45996
45997 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45998
45999         [BZ #12814]
46000         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46001
46002 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46003
46004         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46005         (struct user_regs_struct): Change intcs field back to cs.
46006
46007 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46008
46009         * po/ja.po: Update from translation team.
46010
46011 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46012
46013         [BZ #12795]
46014         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46015         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46016
46017 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46018
46019         * stdlib/longlong.h: Update from GCC.
46020
46021 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46022
46023         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46024         parameter name.
46025         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46026         Add parameter name.
46027         (__sysconf): Pass it down.
46028
46029 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46030
46031         [BZ #12671]
46032         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46033         some situations.
46034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46035         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46036         add in in __libc_use_alloca calls.  Adjust callers.
46037         (glob): Use malloc in some situations.
46038
46039         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46040         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46041         pltexit.
46042
46043 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46044
46045         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46046         and CLOCK_BOOTTIME_ALARM.
46047
46048         [BZ #12782]
46049         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46050         is returned.
46051
46052         * string/_strerror.c (__strerror_r): Print negative errors as signed
46053         numbers.
46054
46055         [BZ #12777]
46056         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46057         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46058         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46059
46060         * configure.in: Fix typo in redirection and correct removal of test
46061         files in two cases.
46062
46063         [BZ #12788]
46064         * locale/setlocale.c (new_composite_name): Fix test to check for
46065         identical name of all categories.
46066
46067         [BZ #12792]
46068         * libio/filedoalloc.c (local_isatty): New function.
46069         (_IO_file_doallocate): Use local_isatty.
46070         * stdio-common/perror.c (perror): In case a new stream is used
46071         forward the stream error.
46072         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46073         error flag.
46074
46075 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46076
46077         [BZ #11869]
46078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46079         alloca.
46080         * include/alloca.h (extend_alloca_account): Define.
46081
46082         [BZ #11857]
46083         * posix/regex.h: Fix comments with documentation of user-accessible
46084         fields after compilation and describe correct free'ing of pattern
46085         after re_compile_pattern.
46086         Patch by Reuben Thomas <rrt@sc3d.org>.
46087
46088 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46089
46090         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46091         and -mno-altivec to prevent the compiler from using Altivec and/or
46092         VSX instructions when the corresponding registers are not available.
46093
46094 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46095
46096         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46097
46098 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46099
46100         * libio/freopen.c (freopen): Use __dup2, not dup2.
46101         * libio/freopen64.c (freopen64): Likewise.
46102
46103 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46104
46105         [BZ #12775]
46106         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46107         * math/Makefile (tests): Add test-powl.
46108         (CFLAGS-test-powl.c): Define.
46109         * math/test-powl.c: New file.
46110
46111 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46112
46113         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46114
46115 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46116
46117         [BZ #11837]
46118         * iconvdata/gb18030.c: Update to GB18020-2005.
46119
46120 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46121
46122         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46123         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46124         Patch by Aharon Robbins <arnold@skeeve.com>.
46125
46126         [BZ #11892]
46127         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46128         on the stack.
46129
46130         [BZ #11895]
46131         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46132         through underflows.
46133
46134         [BZ #12766]
46135         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46136         point to strings before performing equality test for error_one_per_line
46137         mode.
46138
46139         [BZ #11697]
46140         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46141
46142         [BZ #11820]
46143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46144         (struct user_fpregs_struct): Avoid __uint*_t types.
46145
46146         [BZ #6420]
46147         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46148         symbol info.  Use it instead of calling _dl_addr locally.
46149         (lock_and_info): New function.
46150         (tr_freehook): Call lock_and_info and pass symbol info as additional
46151         parameter to tr_where.
46152         (tr_mallochook): Likewise.
46153         (tr_reallochook): Likewise.
46154         (tr_memalignhook): Likewise.
46155
46156         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46157         used and couldn't be at all thread-safe.
46158
46159 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46160
46161         * libio/freopen.c (freopen): Don't close old file descriptor
46162         before the new one is opened.  Instead dup the new file descriptor
46163         to the old one after the new stream is created.
46164         * libio/freopen64.c (freopen64): Likewise.
46165         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46166         * libio/fileops.c (_IO_new_file_close_it): Handle new
46167         _IO_FLAGS2_NOCLOSE flag.
46168         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46169         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46170         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46171         _IO_FLAGS2_NOCLOSE flag.
46172         * include/unistd.h: Add hidden_proto for dup3.
46173         Define __have_dup3.
46174         * io/dup3.c: Define hidden symbol.
46175         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46176
46177         [BZ #7101]
46178         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46179         when an incomplete long option is used.
46180         * posix/tst-getopt_long1.c: New file.
46181         * posix/Makefile (tests): Add tst-getopt_long1.
46182
46183         [BZ #10138]
46184         * scripts/config.guess: Update from autoconf-2.68.
46185         * scripts/config.sub: Likewise.
46186
46187         [BZ #10157]
46188         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46189         tests into ...
46190         (has_cpuclock): ...this.  New function.
46191         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46192         macro here based on has_cpuclock code.
46193
46194         [BZ #10149]
46195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46196         First byte (not low byte) is now always NUL.
46197         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46198
46199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46200         Use non-cancelable interfaces.
46201
46202         [BZ #9809]
46203         * locale/iso-639.def: Add entry for Sorani.
46204
46205         [BZ #11901]
46206         * include/stdlib.h: Move include protection to the right place.
46207         Define abort_msg_s.  Declare __abort_msg with it.
46208         * stdlib/abort.c (__abort_msg): Adjust type.
46209         * assert/assert.c (__assert_fail_base): New function.  Majority
46210         of code from __assert_fail.  Allocate memory for __abort_msg with
46211         mmap.
46212         (__assert_fail): Now call __assert_fail_base.
46213         * assert/assert-perr.c: Remove bulk of implementation.  Use
46214         __assert_fail_base.
46215         * include/assert.hL Declare __assert_fail_base.
46216         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46217         mmap.
46218         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46219
46220 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46221
46222         [BZ #11952]
46223         [BZ #12453]
46224         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46225         until all modules are registered in the DTV.
46226         * elf/Makefile: Add rules to build and run tst-tls19.
46227         * elf/tst-tls19.c: New file.
46228         * elf/tst-tls19mod1.c: New file.
46229         * elf/tst-tls19mod2.c: New file.
46230         * elf/tst-tls19mod3.c: New file.
46231         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46232
46233         [BZ #12083]
46234         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46235         correctly.
46236
46237         [BZ #12601]
46238         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46239         two-byte sequence errors.
46240         * iconvdata/Makefile (tests): Add bug-iconv8.
46241         * iconvdata/bug-iconv8.c: New file.
46242
46243         [BZ #12626]
46244         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46245         buf2 definition.
46246
46247         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46248
46249         [BZ #12432]
46250         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46251         (dummy_getcfa): New function.
46252         (init): Get _Unwind_GetCFA address, use dummy if not found.
46253         (backtrace_helper): In recursion check, also check whether CFA changes.
46254         (__backtrace): Completely initialize arg.
46255
46256         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46257         storing incomplete byte sequence in state object.  Avoid testing for
46258         guaranteed too small input if we know there is enough data available.
46259
46260 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46261
46262         * Makeconfig (+link-pie): Indent.
46263         * Rules (binaries-pie): Define if $(have-fpie) and
46264         $(build-shared).
46265         (binaries-shared): Also filter out $(binaries-pie).
46266         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46267         * nscd/Makefile (others-pie): Add nscd.
46268         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46269         ($(objpfx)nscd): Remove command override.
46270         * login/Makefile (others-pie): Add pt_chown.
46271         ($(objpfx)pt_chown): Remove command override.
46272         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46273         remove command overrides.
46274
46275 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46276
46277         * libio/tst_putwc.c: Fix error messages.
46278
46279         [BZ #12724]
46280         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46281         currently writing and seek to current position when not.
46282         * libio/Makefile (tests): Add bug-fclose1.
46283         * libio/bug-fclose1.c: New file.
46284
46285 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46286
46287         [BZ #12511]
46288         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46289         don't set DF_1_NODELETE here.
46290         (do_lookup_x): When entering new entry test for copy relocation
46291         and if necessary set DF_1_NODELETE flag.
46292         * elf/tst-unique4.cc: New file.
46293         * elf/tst-unique4.h: New file.
46294         * elf/tst-unique4lib.cc: New file.
46295         * elf/Makefile: Add rules to build and run tst-unique4.
46296         Patch by Piotr Bury <pbury@goahead.com>.
46297
46298 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46299
46300         [BZ #12052]
46301         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46302
46303         [BZ #12625]
46304         * misc/mntent_r.c (addmntent): Flush the stream after the output
46305
46306         [BZ #12393]
46307         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46308         (is_trusted_path_normalize): Skip initial colon.  Append slash
46309         to empty buffer.  Duplicate is_trusted_path code but allow
46310         constructed patch to be prefix.
46311         (is_dst): Allow $ORIGIN followed by /.
46312         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46313         Correct testing of result of is_trusted_path_normalize
46314         (decompose_rpath): Fix warning.
46315
46316 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46317
46318         [BZ #11257]
46319         * grp/initgroups.c (internal_getgrouplist): When we found the service
46320         list through the initgroups entry in nsswitch.conf do not always
46321         continue on a successful lookup.  Don't always use the
46322         __nss_group_database value if it is set.
46323         * nss/nsswitch.conf (initgroups): Change action for successful db
46324         lookup to continue for compatibility.
46325
46326 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46327
46328         [BZ #11532]
46329         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46330         and CP774 modules.
46331         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46332         and CP774 modules.
46333         * iconvdata/tst-tables.sh: Likewise.
46334         * iconvdata/cp770.c: New file.
46335         * iconvdata/cp771.c: New file.
46336         * iconvdata/cp772.c: New file.
46337         * iconvdata/cp773.c: New file.
46338         * iconvdata/cp774.c: New file.
46339         * iconvdata/testdata/CP770: New file.
46340         * iconvdata/testdata/CP770..UTF8: New file.
46341         * iconvdata/testdata/CP771: New file.
46342         * iconvdata/testdata/CP771..UTF8: New file.
46343         * iconvdata/testdata/CP772: New file.
46344         * iconvdata/testdata/CP772..UTF8: New file.
46345         * iconvdata/testdata/CP773: New file.
46346         * iconvdata/testdata/CP773..UTF8: New file.
46347         * iconvdata/testdata/CP774: New file.
46348         * iconvdata/testdata/CP774..UTF8: New file.
46349
46350         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46351         END CHARMAP line.
46352         * iconvdata/gen-8bit-gap.sh: Likewise.
46353         * iconvdata/gen-8bit.sh: Likewise.
46354
46355         * locale/iso-639.def: Add ary entry.
46356
46357         [BZ #11258]
46358         * locale/C-translit.h.in: Add U20A1 transliteration.
46359
46360         [BZ #12178]
46361         * locale/iso-639.def: Add wae entry.
46362         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46363
46364         [BZ #12545]
46365         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46366         for n.
46367
46368         [BZ #12711]
46369         * locale/C-translit.h.in: Add entry for U20B9.
46370         Patch by pravin.d.s@gmail.com.
46371
46372 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46373
46374         [BZ #12713]
46375         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46376         ENAMETOOLONG use generic getcwd.
46377         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46378         in rtld.  Use *stat64.
46379         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46380         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46381         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46382         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46383         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46384         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46385         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46386         __fstatat64 macros.
46387         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46388         * dirent/rewinddir.c: Add libc_hidden_def.
46389         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46390         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46391
46392         * include/dirent.h (__alloc_dir): Add flags parameter.
46393         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46394         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46395         __alloc_dir.
46396         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46397         from fdopendir if O_CLOEXEC is already set.
46398
46399 2011-03-15  Alan Modra  <amodra@gmail.com>
46400
46401         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46402         l_tls_firstbyte_offset non-zero.  Save padding offset in
46403         l_tls_firstbyte_offset for later use.
46404         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46405         freeing static tls block.
46406
46407 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46408
46409         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46410         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46411         being defined by the kernel headers.
46412
46413 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46414
46415         [BZ #12734]
46416         * resolv/resolv.h: Define RES_NOTLDQUERY.
46417         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46418         no-tld-query and set RES_NOTLDQUERY.
46419         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46420         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46421         modern BIND to search name as TLD unless forbidden.
46422
46423 2011-05-07  Petr Baudis  <pasky@suse.cz>
46424             Ulrich Drepper  <drepper@gmail.com>
46425
46426         [BZ #12393]
46427         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46428         (is_trusted_path): ...to here.
46429         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46430         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46431         using is_trusted_path_normalize() in setuid scripts.
46432
46433 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46434
46435         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46436         __BEGIN/__END_DECLS.
46437
46438 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46439
46440         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46441         NSS_STATUS_NOTFOUND if no record was found.
46442
46443 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46444
46445         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46446         (headers-not-in-tirpc): Remove rpc/netdb.h
46447         * resolv/netdb.h: Revert last change.
46448
46449 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46450
46451         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46452         circular dependency between libgcc.a and libc.a.
46453
46454 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46455
46456         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46457         * nis/Makefile: Don't install rpcsvc/*.
46458         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46459         instead of <rpc/types.h>.
46460         (MAXHOSTNAMELEN): Define.
46461
46462 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46463
46464         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46465
46466 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46467
46468         [BZ #12714]
46469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46470         gethostbyname4_r when IPv6 results are possible.
46471
46472 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46473
46474         [BZ #12723]
46475         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46476         _PC_PIPE_BUF handling.
46477
46478 2011-04-30  Bruno Haible  <bruno@clisp.org>
46479
46480         [BZ #12717]
46481         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46482         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46483         to 'int'.
46484         * inet/getnameinfo.c (getnameinfo): Likewise.
46485
46486 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46487
46488         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46489         to groups setting in database lookup.
46490         * nss/nsswitch.conf: Add initgroups entry.
46491
46492 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46493
46494         [BZ #12685]
46495         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46496         mode string.
46497         Patch by Eric Blake <eblake@redhat.com>.
46498
46499 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46500
46501         * sunrpc/Makefile (need-export-routines): Add svc_run.
46502         (routines): Remove svc_run.
46503         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46504         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46505         * sunrpc/svc_run.c (svc_run): Likewise.
46506         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46507
46508 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46509
46510         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46511         problem in reallocation in last patch.
46512
46513 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46514
46515         * sunrpc/Makefile: Move inclusion of Rules.
46516
46517 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46518
46519         * nss/nss_files/files-initgroups.c: New file.
46520         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46521         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46522         _nss_files_initgroups_dyn.
46523
46524 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46525
46526         * elf/elf.h (R_ARM_IRELATIVE): Define.
46527
46528 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46529
46530         * po/ru.po: Update from translation team.
46531
46532 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46533
46534         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46535         dependencies.
46536
46537 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46538
46539         [BZ #12653]
46540         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46541         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46542         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46545
46546 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46547
46548         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46549         differing bytes.
46550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46553
46554 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46555
46556         [BZ #12420]
46557         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46558         storing it.
46559         * stdlib/bug-getcontext.c: New file.
46560         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46561
46562 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46563
46564         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46565         instructions into .machine "z9-109".
46566         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46567         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46568
46569 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46570
46571         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46572         between environment variables and auxiliary vector.
46573
46574 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46575
46576         * Makefile: Add rules to build linkobj/libc.so.
46577         * include/libc-symbols.h: Define libc_hidden_nolink.
46578         * include/rpc/auth.h: Mark functions which are to be hidden.
46579         * include/rpc/auth_des.h: Likewise.
46580         * include/rpc/auth_unix.h: Likewise.
46581         * include/rpc/clnt.h: Likewise.
46582         * include/rpc/des_crypt.h: Likewise.
46583         * include/rpc/key_prot.h: Likewise.
46584         * include/rpc/pmap_clnt.h: Likewise.
46585         * include/rpc/pmap_prot.h: Likewise.
46586         * include/rpc/pmap_rmt.h: Likewise.
46587         * include/rpc/rpc_msg.h: Likewise.
46588         * include/rpc/svc.h: Likewise.
46589         * include/rpc/svc_auth.h: Likewise.
46590         * include/rpc/xdr.h: Likewise.
46591         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46592         * nss/Makefile: Likewise.
46593         * sunrpc/Makefile: Don't install headers.  Build library with normal
46594         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46595         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46596         for the compat linking library.  Remove use of INTDEF/INTUSE.
46597         * sunrpc/auth_none.c: Likewise.
46598         * sunrpc/auth_unix.c: Likewise.
46599         * sunrpc/authdes_prot.c: Likewise.
46600         * sunrpc/authuxprot.c: Likewise.
46601         * sunrpc/clnt_gen.c: Likewise.
46602         * sunrpc/clnt_perr.c: Likewise.
46603         * sunrpc/clnt_raw.c: Likewise.
46604         * sunrpc/clnt_simp.c: Likewise.
46605         * sunrpc/clnt_tcp.c: Likewise.
46606         * sunrpc/clnt_udp.c: Likewise.
46607         * sunrpc/clnt_unix.c: Likewise.
46608         * sunrpc/des_crypt.c: Likewise.
46609         * sunrpc/des_soft.c: Likewise.
46610         * sunrpc/get_myaddr.c: Likewise.
46611         * sunrpc/key_call.c: Likewise.
46612         * sunrpc/key_prot.c: Likewise.
46613         * sunrpc/netname.c: Likewise.
46614         * sunrpc/pm_getmaps.c: Likewise.
46615         * sunrpc/pm_getport.c: Likewise.
46616         * sunrpc/pmap_clnt.c: Likewise.
46617         * sunrpc/pmap_prot.c: Likewise.
46618         * sunrpc/pmap_prot2.c: Likewise.
46619         * sunrpc/pmap_rmt.c: Likewise.
46620         * sunrpc/publickey.c: Likewise.
46621         * sunrpc/rpc_cmsg.c: Likewise.
46622         * sunrpc/rpc_common.c: Likewise.
46623         * sunrpc/rpc_dtable.c: Likewise.
46624         * sunrpc/rpc_prot.c: Likewise.
46625         * sunrpc/rpc_thread.c: Likewise.
46626         * sunrpc/rtime.c: Likewise.
46627         * sunrpc/svc.c: Likewise.
46628         * sunrpc/svc_auth.c: Likewise.
46629         * sunrpc/svc_authux.c: Likewise.
46630         * sunrpc/svc_raw.c: Likewise.
46631         * sunrpc/svc_run.c: Likewise.
46632         * sunrpc/svc_simple.c: Likewise.
46633         * sunrpc/svc_tcp.c: Likewise.
46634         * sunrpc/svc_udp.c: Likewise.
46635         * sunrpc/svc_unix.c: Likewise.
46636         * sunrpc/svcauth_des.c: Likewise.
46637         * sunrpc/xcrypt.c: Likewise.
46638         * sunrpc/xdr.c: Likewise.
46639         * sunrpc/xdr_array.c: Likewise.
46640         * sunrpc/xdr_float.c: Likewise.
46641         * sunrpc/xdr_intXX_t.c: Likewise.
46642         * sunrpc/xdr_mem.c: Likewise.
46643         * sunrpc/xdr_rec.c: Likewise.
46644         * sunrpc/xdr_ref.c: Likewise.
46645         * sunrpc/xdr_sizeof.c: Likewise.
46646         * sunrpc/xdr_stdio.c: Likewise.
46647
46648 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46649
46650         [BZ #12650]
46651         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46652         * sysdeps/ia64/dl-tls.h: Likewise.
46653         * sysdeps/powerpc/dl-tls.h: Likewise.
46654         * sysdeps/s390/dl-tls.h: Likewise.
46655         * sysdeps/sh/dl-tls.h: Likewise.
46656         * sysdeps/sparc/dl-tls.h: Likewise.
46657         * sysdeps/x86_64/dl-tls.h: Likewise.
46658         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46659
46660 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46661
46662         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46663         rpath element also skip the following colon.
46664         (expand_dynamic_string_token): Add is_path parameter and pass
46665         down to DL_DST_REQUIRED and _dl_dst_substitute.
46666         (decompose_rpath): Call expand_dynamic_string_token with
46667         non-zero is_path.  Ignore empty rpaths.
46668         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46669         with zero is_path.
46670
46671 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46672
46673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46674         Make cancelable.
46675
46676 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46677
46678         [BZ #12655]
46679         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46680         Patch by Filipe David Manana <fdmanana@apache.org>.
46681
46682 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46683
46684         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46685         Maintain aligned stack.
46686         (CHECK_RSP): Remove unused macro.
46687
46688 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46689
46690         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46691         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46692
46693 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46694
46695         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46696
46697         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46698
46699 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46700
46701         [BZ #12518]
46702         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46703         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46704         * sysdeps/x86_64/memmove.c: New file.
46705         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46706         (memcpy): Renamed to ...
46707         (__new_memcpy): This.
46708         (memcpy): Provide GLIBC_2_14 memcpy.
46709         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46710         (memcpy): Provide GLIBC_2_2_5 memcpy.
46711
46712 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46713
46714         [BZ #12631]
46715         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46716
46717 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46718
46719         * misc/syncfs.c: New file.
46720         * misc/Makefile (routines): Add syncfs.
46721         * posix/unistd.h: Declare syncfs.
46722         * sysdeps/unix/syscalls.list: Add syncfs.
46723
46724 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46725
46726         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46727         open_by_handle_at.
46728         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46729         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46731         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46733         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46734         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46735
46736 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46737
46738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46740         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46745
46746         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46747         sync_file_range.c with -fexceptions.
46748         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46749         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46750         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46751         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46752         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46753         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46754         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46755         sync_file_range as cancellation point
46756         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46757         now a wrapper around __call_sync_file_range with cancellation handling.
46758         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46760         function name to __call_sync_file_range.
46761         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46762         Add call_sync_file_range.
46763
46764 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46765
46766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46767         bits/timex.h.
46768
46769 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46770
46771         * iconv/iconv.h: Fix typo in comment.
46772         * io/fcntl.h: Likewise.
46773         * libio/stdio.h: Likewise.
46774         * posix/spawn.h: Likewise.
46775         * posix/unistd.h: Likewise.
46776         * stdlib/stdlib.h: Likewise.
46777         * time/time.h: Likewise.
46778         * wcsmbs/wchar.h: Likewise.
46779
46780         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46781         open_by_handle): Add.
46782         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46783         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46784         Augment a few comments.
46785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46787         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46789         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46790         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46791         open_by_handle.
46792
46793         * io/fcntl.h (AT_EMPTY_PATH): Define.
46794
46795 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46796
46797         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46798         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46799         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46800         to...
46801         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46802         * Versions.def: Add GLIBC_2.14.
46803         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46804         Export.
46805
46806 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46807
46808         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46809         round counter.
46810         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46811
46812 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46813
46814         [BZ #12597]
46815         * string/test-strncmp.c (do_page_test): New function.
46816         (check2): Likewise.
46817         (test_main): Call check2.
46818         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46819
46820 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46821
46822         [BZ #12587]
46823         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46824         Handle cache information in CPU leaf 4.
46825         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46826
46827 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46828
46829         [BZ #12583]
46830         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46831         character representation.
46832         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46833
46834 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46835
46836         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46837         END(__isnan) to END(__isnanf) to match function entry point/label
46838         EALIGN(__isnanf,...).
46839
46840 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46841
46842         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46843
46844 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46845
46846         [BZ #12510]
46847         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46848         copy from the symbol referenced in the relocation to initialize the
46849         used variable.
46850         Patch by Piotr Bury <pbury@goahead.com>.
46851         * elf/Makefile: Add rules to build and tst-unique3.
46852         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46853         * elf/tst-unique3.cc: New file.
46854         * elf/tst-unique3.h: New file.
46855         * elf/tst-unique3lib.cc: New file.
46856         * elf/tst-unique3lib2.cc: New file.
46857
46858         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46859
46860 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46861
46862         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46863         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46864         to _start.
46865
46866 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46867
46868         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46869         to-be-loaded object along a path to loader is ld.so.
46870
46871 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46872             Ulrich Drepper  <drepper@gmail.com>
46873
46874         * sysdeps/x86_64/memset.S: After aligning destination, code
46875         branches to different locations depending on the value of
46876         misalignment, when multiarch is enabled. Fix this.
46877
46878 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46879
46880         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46881         Set _x86_64_preferred_memory_instruction for AMD processsors.
46882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46883         Set bit_Prefer_SSE_for_memop for AMD processors.
46884
46885 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46886
46887         * libio/fmemopen.c (fmemopen): Optimize a bit.
46888
46889 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46890
46891         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46892
46893 2011-03-03  Roland McGrath  <roland@redhat.com>
46894
46895         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46896
46897 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46898
46899         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46900         __bzero_ultra1 instead of __memset_ultra1.
46901
46902 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46903             Ulrich Drepper  <drepper@gmail.com>
46904
46905         [BZ #12509]
46906         * include/link.h (struct link_map): Add l_orig_initfini.
46907         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46908         returning unsuccessfully.
46909         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46910         close of a file loaded at startup, restore the original l_initfini
46911         list.
46912         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46913         list, store the pointer.
46914         * elf/Makefile ($(objpfx)noload-mem): New rule.
46915         (noload-ENV): Define.
46916         (tests): Add $(objpfx)noload-mem.
46917         * elf/noload.c: Include <memcheck.h>.
46918         (main): Call mtrace.  Close all opened handles.
46919
46920 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46921
46922         [BZ #12454]
46923         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46924         dependencies are missing.
46925
46926 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46927
46928         Fix __if_freereq crash: Unlike the generic version which uses free,
46929         Hurd needs munmap.
46930         * sysdeps/mach/hurd/ifreq.h: New file.
46931
46932 2011-01-27  Petr Baudis  <pasky@suse.cz>
46933             Ulrich Drepper  <drepper@gmail.com>
46934
46935         [BZ 12445]#
46936         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46937         to extend_alloca().
46938         * stdio-common/bug23.c: New file.
46939         * stdio-common/Makefile (tests): Add bug23.
46940
46941 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46942             Ulrich Drepper  <drepper@gmail.com>
46943
46944         [BZ #12489]
46945         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46946         before performing relro protection.  At old place add assertion
46947         to make sure nothing changed.
46948
46949 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46950             Glauber de Oliveira Costa  <glommer@gmail.com>
46951
46952         * elf/elf.h: Add new ARM TLS relocs.
46953
46954 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46955
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46957         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46958         cast from r3.
46959         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46960         'tests' variable.
46961         * sysdeps/wordsize-64/tst-writev.c: New file.
46962
46963 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46964
46965         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46966         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46967         insns in _dl_start to prevent a TOC reference before relocs are
46968         resolved.
46969
46970 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46971
46972         [BZ #12469]
46973         * Makeconfig: Remove RANLIB definition.
46974         * Makerules: Don't use RANLIB.
46975         * aclocal.m4: Remove ranlib test.
46976         * configure.in: No need to check for ranlib.
46977         * elf/rtld-Rules: Don't use RANLIB.
46978
46979 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46980
46981         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46982         protection macro.
46983         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46984         inclusion protection macro.
46985
46986         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46987         SIGRTMIN and SIGRTMAX and print information in that case only when
46988         SIGRTMIN is defined.
46989
46990 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46991
46992         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46993         arginfo fn returning -1.
46994
46995         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46996         and thousands string is zero terminated.
46997
46998 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46999
47000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47001         sysdeps/unix/sysv/linux/bits/socket.h.
47002
47003 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47004
47005         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47006         (__CPU_COUNT): Remove old macros.
47007         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47008         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47009         (__CPU_ALLOC, __CPU_FREE): Add macros.
47010         (__sched_cpualloc, __sched_cpufree): Add declarations.
47011
47012 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47013
47014         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47015         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47016         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47017         (readdhstai): Return value of addhstaiX call.
47018         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47019         (addgrbyX): Return value returned by cache_addgr.
47020         (readdgrbyname): Return value returned by addgrbyX.
47021         (readdgrbygid): Likewise.
47022         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47023         (addpwbyX): Return value returned by cache_addpw.
47024         (readdpwbyname): Return value returned by addhstbyX.
47025         (readdpwbyuid): Likewise.
47026         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47027         (addservbyX): Return value returned by cache_addserv.
47028         (readdservbyname): Return value returned by addservbyX:
47029         (readdservbyport): Likewise.
47030         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47031         (addhstbyX): Return value returned by cache_addhst.
47032         (readdhstbyname): Return value returned by addhstbyX.
47033         (readdhstbyaddr): Likewise.
47034         (readdhstbynamev6): Likewise.
47035         (readdhstbyaddrv6): Likewise.
47036         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47037         (readdinitgroups): Return value returned by addinitgroupsX.
47038         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47039         (prune_cache): Keep track of timeout value of re-added entries.
47040         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47041         * nscd/nscd.h: Adjust prototypes of readd* functions.
47042
47043 2011-02-04  Roland McGrath  <roland@redhat.com>
47044
47045         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47046         (nis_stats): Likewise.
47047         * nis/nis_modify.c (nis_modify): Likewise.
47048         * nis/nis_remove.c (nis_remove): Likewise.
47049         * nis/nis_add.c (nis_add): Likewise.
47050
47051         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47052
47053         * posix/fnmatch_loop.c: Add some consts.
47054
47055         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47056
47057 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47058
47059         [BZ #12460]
47060         * config.make.in (config-cflags-novzeroupper): Define.
47061         * configure.in: Substitute libc_cv_cc_novzeroupper.
47062         * elf/Makefile (AVX-CFLAGS): Define.
47063         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47064         (CFLAGS-tst-auditmod4a.c): Likewise.
47065         (CFLAGS-tst-auditmod4b.c): Likewise.
47066         (CFLAGS-tst-auditmod6b.c): Likewise.
47067         (CFLAGS-tst-auditmod6c.c): Likewise.
47068         (CFLAGS-tst-auditmod7b.c): Likewise.
47069         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47070
47071 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47072
47073         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47074         function to the callback.
47075         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47076
47077 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47078
47079         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47080         of errno.
47081
47082 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47083
47084         [BZ #11724]
47085         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47086         of constructors.
47087         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47088         of destructors.
47089         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47090
47091         [BZ #11724]
47092         * elf/Makefile: Add rules to build and run new test.
47093         * elf/tst-initorder.c: New file.
47094         * elf/tst-initorder.exp: New file.
47095         * elf/tst-initordera1.c: New file.
47096         * elf/tst-initordera2.c: New file.
47097         * elf/tst-initordera3.c: New file.
47098         * elf/tst-initordera4.c: New file.
47099         * elf/tst-initorderb1.c: New file.
47100         * elf/tst-initorderb2.c: New file.
47101         * elf/tst-order-a1.c: New file.
47102         * elf/tst-order-a2.c: New file.
47103         * elf/tst-order-a3.c: New file.
47104         * elf/tst-order-a4.c: New file.
47105         * elf/tst-order-b1.c: New file.
47106         * elf/tst-order-b2.c: New file.
47107         * elf/tst-order-main.c: New file.
47108         New test case by George Gensure <werkt0@gmail.com>.
47109
47110 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47111
47112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47113         decoding ACE if AI_CANONIDN.
47114
47115 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47116
47117         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47118
47119 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47120
47121         * version.h (RELEASE): Bump for 2.13 release.
47122         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47123
47124         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47125
47126         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47127         MADV_NOHUGEPAGE.
47128         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47130         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47131         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47132         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47133         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47134
47135         * posix/getconf.c: Update copyright year.
47136         * catgets/gencat.c: Likewise.
47137         * csu/version.c: Likewise.
47138         * debug/catchsegv.sh: Likewise.
47139         * debug/xtrace.sh: Likewise.
47140         * elf/ldconfig.c: Likewise.
47141         * elf/ldd.bash.in: Likewise.
47142         * elf/sprof.c (print_version): Likewise.
47143         * iconv/iconv_prog.c: Likewise.
47144         * iconv/iconvconfig.c: Likewise.
47145         * locale/programs/locale.c: Likewise.
47146         * locale/programs/localedef.c: Likewise.
47147         * malloc/memusage.sh: Likewise.
47148         * malloc/mtrace.pl: Likewise.
47149         * nscd/nscd.c (print_version): Likewise.
47150         * nss/getent.c: Likewise.
47151
47152         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47153         PF_CAIF, and PF_ALG.
47154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47155
47156 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47157
47158         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47159         (modules-names): Use them.
47160         (ifunc-test-modules, ifunc-pie-tests): Define.
47161         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47162         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47163         (test-extras): Likewise.
47164         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47165         $(compile-command.c).
47166         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47167         (all-built-dso): Define.
47168         (check-textrel.out, check-execstack.out): Depend on it.
47169
47170         * configure.in: Don't override --enable-multi-arch.
47171
47172 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47173
47174         [BZ #6812]
47175         * nscd/hstcache.c (tryagain): Define.
47176         (cache_addhst): Return tryagain not notfound for temporary errors.
47177         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47178         failed.
47179
47180 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47181
47182         [BZ #10563]
47183         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47184         to make the syscall.
47185         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47186
47187         [BZ #12378]
47188         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47189         and fall back to matching as normal character if the string ends before
47190         the matching ']' is found.  This is what POSIX requires.
47191         * posix/testfnm.c: Adjust test result.
47192         * posix/globtest.sh: Adjust test result.  Add new test.
47193         * posix/tst-fnmatch.input: Likewise.
47194         * posix/tst-fnmatch2.c: Add new test.
47195
47196 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47197
47198         * elf/Makefile (check-execstack): Revert last change.  Depend on
47199         check-execstack.h.
47200         (check-execstack.h): New target.
47201         (generated): Add check-execstack.h.
47202         * elf/check-execstack.c: Include "check-execstack.h".
47203         (main): Revert last change.
47204         (handle_file): Return zero if GNU_STACK is absent and
47205         DEFAULT_STACK_PERMS doesn't include PF_X.
47206
47207 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47208
47209         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47210         in child fails because the descriptor is already closed.
47211         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47212         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47213         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47214
47215         [BZ #12397]
47216         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47217         syscall.
47218
47219         [BZ #10484]
47220         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47221         temporary buffer used to handle multi lookups locally.
47222         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47223
47224 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47225
47226         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47227         loader is ld.so.
47228
47229 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47230
47231         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47232         alignment for SSE2.
47233
47234 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47235
47236         [BZ #12394]
47237         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47238         characters.  When rounding increased number of integer digits recompute
47239         number of groups.
47240         * stdio-common/tst-grouping.c: New file.
47241         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47242
47243 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47244
47245         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47246         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47247
47248         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47249         void.
47250         * bits/select.h: Likewise.
47251
47252 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47253
47254         * po/ja.po: Update from translation team.
47255
47256 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47257
47258         [BZ #11155]
47259         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47260         implementation just like for lxstat, fxstatat, et al.
47261
47262 2010-12-27  Jim Meyering  <meyering@redhat.com>
47263
47264         [BZ #12348]
47265         * posix/regexec.c (build_trtable): Return failure indication upon
47266         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47267
47268 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47269
47270         [BZ #12201]
47271         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47272         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47273         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47274         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47275
47276         [BZ #12207]
47277         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47278
47279         [BZ #12204]
47280         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47281         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47282
47283 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47284
47285         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47286         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47287         script has SORT_BY_INIT_PRIORITY.
47288         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47289         NO_CTORS_DTORS_SECTIONS is defined.
47290         * elf/soinit.c: Likewise.
47291         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47292         NO_CTORS_DTORS_SECTIONS is defined.
47293         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47294         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47295         * sysdeps/sh/init-first.c: Likewise.
47296         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47297
47298 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47299
47300         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47301         always use the slow path.
47302
47303 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47304
47305         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47306         similar rule which adds the sysdep directories to the header search in
47307         order to pick up the correct platform stackinfo.h.
47308         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47309         perform test if it is, otherwise return successfully without testing.
47310         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47311         DEFAULT_STACK_PERMS define in stackinfo.h.
47312         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47313         defined in stackinfo.h.
47314         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47315         DEFAULT_STACK_PERMS defined in stackinfo.h.
47316         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47317         * sysdeps/ia64/stackinfo.h: Likewise.
47318         * sysdeps/s390/stackinfo.h: Likewise.
47319         * sysdeps/sh/stackinfo.h: Likewise.
47320         * sysdeps/sparc/stackinfo.h: Likewise.
47321         * sysdeps/x86_64/stackinfo.h: Likewise.
47322         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47323         PF_X for powerpc64.  Retain PF_X for powerpc32.
47324
47325 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47326
47327         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47328         accurately.
47329         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47330         GETDENTS_64BIT_ALIGNED.
47331
47332 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47333
47334         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47335
47336 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47337
47338         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47339         _GNU_SOURCE.
47340
47341         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47342         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47343         Remove __restrict.
47344         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47345         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47346
47347 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47348
47349         [BZ #11655]
47350         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47351         are initialized.
47352
47353 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47354
47355         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47356
47357 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47358
47359         * po/it.po: Update from translation team.
47360
47361 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47362
47363         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47364         unused codes.
47365
47366 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47367
47368         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47369
47370 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47371
47372         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47373         specially.
47374         (gaih_getanswer_slice): Likewise.
47375
47376 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47377
47378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47379
47380 2010-05-31  Petr Baudis  <pasky@suse.cz>
47381
47382         [BZ #11149]
47383         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47384         silently even in the chroot mode.
47385
47386 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47387
47388         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47389         last patch a bit.  Pretty printing
47390
47391 2010-05-31  Petr Baudis <pasky@suse.cz>
47392
47393         [BZ #10085]
47394         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47395         initialization of skip_initgroups_dyn.
47396
47397 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47398
47399         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47400         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47401
47402 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47403
47404         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47405
47406 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47407
47408         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47409         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47410         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47411         ($(objpfx)tst-fnmatch-mem): New rule.
47412         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47413         * posix/tst-fnmatch.c (main): Call mtrace.
47414
47415 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47416
47417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47418         Support Intel processor model 6 and model 0x2c.
47419
47420 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47421
47422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47423           signed comparison.
47424
47425 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47426
47427         [BZ #12205]
47428         * string/test-strncasecmp.c (check_result): New function.
47429         (do_one_test): Use it.
47430         (check1): New function.
47431         (test_main): Use it.
47432         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47433         Support strcasecmp and strncasecmp.
47434
47435 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47436
47437         [BZ #12194]
47438         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47439         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47440
47441 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47442
47443         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47444         IFUNC support.
47445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47446         memset-x86-64.
47447         * sysdeps/x86_64/multiarch/bzero.S: New file.
47448         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47449         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47450         * sysdeps/x86_64/multiarch/memset.S: New file.
47451         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47453         Set bit_Prefer_SSE_for_memop for Intel processors.
47454         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47455         Define.
47456         (index_Prefer_SSE_for_memop): Define.
47457         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47458
47459 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47460
47461         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47462         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47463
47464 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47465
47466         [BZ #12191]
47467         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47468         (__x86_64_raw_data_cache_size_half): Likewise.
47469         (__x86_64_raw_shared_cache_size): Likewise.
47470         (__x86_64_raw_shared_cache_size_half): Likewise.
47471
47472         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47473         (__x86_64_raw_data_cache_size_half): Likewise.
47474         (__x86_64_raw_shared_cache_size): Likewise.
47475         (__x86_64_raw_shared_cache_size_half): Likewise.
47476         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47477         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47478         and __x86_64_raw_shared_cache_size_half.  Round
47479         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47480         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47481         to multiple of 256 bytes.
47482
47483 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47484
47485         [BZ #12167]
47486         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47487         of inacessible symlinks.  Verify result of symlink before returning it.
47488         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47489         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47490
47491 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47492
47493         * math/math.h (isinf): Fix typo in comment.
47494
47495 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47496
47497         * po/da.po: Update from translation team.
47498
47499 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47500
47501         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47502         is added to the list.
47503
47504 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47505             Ulrich Drepper  <drepper@gmail.com>
47506
47507         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47508         the global list here.  Move code to...
47509         (_dl_add_to_namespace_list): ...here.  New function.
47510         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47511         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47512         * elf/dl-load.c (lose): Don't remove the element from the list.
47513         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47514         (_dl_map_object): Likewise.
47515
47516 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47517
47518         [BZ #12159]
47519         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47520         into all bytes of SSE register.
47521         Patch by Richard Li <richardpku@gmail.com>.
47522
47523 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47524
47525         [BZ #12140]
47526         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47527         perturbing.
47528
47529 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47530
47531         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47532         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47533         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47534         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47536         submachine.
47537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47538
47539 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47540
47541         * include/dlfcn.h (__RTLD_SECURE): Define.
47542         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47543         mode & __RTLD_SECURE instead.
47544         (open_path): Rename preloaded parameter to secure.
47545         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47546         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47547         * elf/dl-deps.c (openaux): Likewise.
47548         * elf/rtld.c (struct map_args): Remove is_preloaded.
47549         (map_doit): Don't use it.
47550         (dl_main): Likewise.
47551         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47552         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47553
47554 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47555
47556         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47557         (sysd-rules-targets): Remove duplicates.
47558         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47559         rtld-%.$o dependency.
47560
47561 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47562
47563         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47564         _dl_map_object do it.
47565
47566 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47567
47568         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47569         fast fma builtins, define the macros in the C99 standard.
47570         (FP_FAST_FMAF): Likewise.
47571         (FP_FAST_FMAL): Likewise.
47572         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47573
47574         * bits/mathdef.h: Update copyright year.
47575         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47576
47577 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47578
47579         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47580         builtins, define the macros in the C99 standard.
47581         (FP_FAST_FMAF): Likewise.
47582         (FP_FAST_FMAL): Likewise.
47583         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47584         multiply/add.
47585         (FP_FAST_FMAF): Likewise.
47586
47587 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47588
47589         [BZ #3268]
47590         * math/libm-test.inc (fma_test): Some new testcases.
47591         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47592         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47593         y and infinite z.  Do multiplication by C already in long double.
47594         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47596         y and infinite z.  Do bitwise or of inexact bit into u.d.
47597         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47598         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47599         * sysdeps/i386/fpu/s_fma.S: Removed.
47600         * sysdeps/i386/fpu/s_fmal.S: Removed.
47601
47602 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47603
47604         [BZ #3268]
47605         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47607         computation is not scheduled after fetestexcept.  Fix value
47608         of minimum denormal long double.
47609
47610 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47611
47612         [BZ #3268]
47613         * math/libm-test.inc (fma_test): Add some more tests.
47614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47615         correctly.
47616
47617 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47618
47619         * scripts/data/localplt-s390-linux-gnu.data: New file.
47620         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47621
47622 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47623
47624         [BZ #3268]
47625         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47626         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47627         instead of dbl-64.
47628         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47629         inlines.
47630         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47632         if one of x and y is very large and the other is subnormal.
47633         * sysdeps/s390/fpu/s_fmaf.c: New file.
47634         * sysdeps/s390/fpu/s_fma.c: New file.
47635         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47636         * sysdeps/powerpc/fpu/s_fma.S: New file.
47637         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47638         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47639         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47640
47641 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47642
47643         [BZ #3268]
47644         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47645         fma tests.
47646         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47647         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47648         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47649         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47650         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47651         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47652         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47653
47654 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47655
47656         [BZ #12078]
47657         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47658         * posix/bug-regex31.input: Add test case.
47659
47660 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47661
47662         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47663         * posix/bug-regex31.input: New file.
47664
47665         [BZ #12078]
47666         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47667         (parse_sub_exp): Fix last change, use postorder.
47668
47669         * posix/bug-regex31.c: New file.
47670         * posix/Makefile: Add rules to build and run bug-regex31.
47671
47672         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47673
47674         [BZ #12078]
47675         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47676
47677         [BZ #12108]
47678         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47679         to have entries in sys_siglist.
47680
47681         [BZ #12093]
47682         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47683         be NULL.
47684
47685 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47686
47687         [BZ #3268]
47688         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47689         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47690         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47691         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47692         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47693         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47694         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47695         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47696         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47697         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47698         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47699         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47700         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47701         * math/ftestexcept.c (fetestexcept): Likewise.
47702         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47703         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47704         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47705         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47706         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47707         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47708         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47709
47710 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47711
47712         [BZ #12107]
47713         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47714         newline.
47715
47716 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47717
47718         * string/bug-strstr1.c: New file.
47719         * string/Makefile: Add rules to build and run bug-strstr1.
47720
47721 2010-10-05  Eric Blake  <eblake@redhat.com>
47722
47723         [BZ #12092]
47724         * string/str-two-way.h (two_way_long_needle): Always clear memory
47725         when skipping input due to the shift table.
47726
47727 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47728
47729         [BZ #12005]
47730         * malloc/mcheck.c: Handle large requests.
47731
47732         [BZ #12077]
47733         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47734         for strncmp and strncasecmp.
47735         * string/stratcliff.c: Add tests for strcmp and strncmp.
47736         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47737
47738 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47739
47740         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47741         __set_fpscr.
47742
47743 2010-09-30  Andreas Jaeger  <aj@suse.de>
47744
47745         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47746         (CGROUP_SUPER_MAGIC): Define.
47747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47748         Handle btrfs and cgroup file systems.
47749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47750         Likewise.
47751
47752 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47753
47754         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47755         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47756
47757 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47758
47759         [BZ #12067]
47760         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47761         trying to locate the ELF header.
47762
47763 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47764
47765         [BZ #11611]
47766         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47767         Mask out sign-bit copies when constructing f_fsid.
47768
47769 2010-09-24  Petr Baudis <pasky@suse.cz>
47770
47771         * debug/stack_chk_fail_local.c: Add missing licence exception.
47772         * debug/warning-nop.c: Likewise.
47773
47774 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47775
47776         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47777         implementing getdents64 using getdents syscall, set d_type if
47778         __ASSUME_GETDENTS32_D_TYPE.
47779
47780 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47781
47782         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47783         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47784
47785 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47786
47787         [BZ #12037]
47788         * posix/unistd.h: Undo change of feature selection for ftruncate from
47789         2010-01-11.
47790
47791 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47792
47793         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47794         detection.
47795
47796 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47797
47798         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47799         fanotify_mark.
47800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47801
47802 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47803
47804         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47805         variables after CHECK_SP call.
47806         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47807
47808 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47809             Ulrich Drepper  <drepper@redhat.com>
47810
47811         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47812         re-relocationg ld.so.
47813         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47814         _dl_init_paths call.
47815         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47816         here anymore.
47817
47818 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47819
47820         * resolv/res_init.c (__res_vinit): Count the default server we added.
47821
47822 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47823             Ulrich Drepper  <drepper@redhat.com>
47824
47825         [BZ #11968]
47826         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47827         (____longjmp_chk): Use %ebx for saving value across system call.
47828         Add unwind info.
47829
47830 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47831
47832         * manual/Makefile: Don't mix pattern rules with normal rules.
47833
47834 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47835
47836         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47837         operation.
47838         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47839         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47840         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47841         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47843         Likewise.
47844
47845 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47846
47847         [BZ #11979]
47848         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47849         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47850
47851 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47852
47853         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47854         * sysdeps/x86_64/addmul_1.S: Likewise.
47855         * sysdeps/x86_64/lshift.S: Likewise.
47856         * sysdeps/x86_64/mul_1.S: Likewise.
47857         * sysdeps/x86_64/rshift.S: Likewise.
47858         * sysdeps/x86_64/sub_n.S: Likewise.
47859         * sysdeps/x86_64/submul_1.S: Likewise.
47860
47861 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47862
47863         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47864         Define __sched_param instead of SCHED_* and sched_param when
47865         <bits/sched.h> is included with __need_schedparam defined.
47866         * bits/sched.h [__need_schedparam]
47867         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47868         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47869         (__defined_schedparam): Define to 1.
47870         (__sched_param): New structure, identical to sched_param.
47871         (__need_schedparam): Undefine.
47872
47873 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47874
47875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47876         (epoll_create1): Declare.
47877
47878         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47879
47880 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47881
47882         [BZ #7066]
47883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47884         shifting retval into place.
47885
47886 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47887
47888         * nis/rpcsvc/nis.h: Update copyright notice.
47889         * nis/rpcsvc/nis.x: Likewise.
47890         * nis/rpcsvc/nis_callback.h: Likewise.
47891         * nis/rpcsvc/nis_callback.x: Likewise.
47892         * nis/rpcsvc/nis_object.x: Likewise.
47893         * nis/rpcsvc/nis_tags.h: Likewise.
47894         * nis/rpcsvc/yp.h: Likewise.
47895         * nis/rpcsvc/yp.x: Likewise.
47896         * nis/rpcsvc/ypupd.h: Likewise.
47897         * nis/yp_xdr.c: Likewise.
47898         * nis/ypupdate_xdr.c: Likewise.
47899
47900         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47901         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47902         (pmap_getport): Use __libc_rpc_getport.
47903         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47904         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47905         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47906
47907 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47908
47909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47910         fanotify_mark.
47911
47912 2010-08-27  Roland McGrath  <roland@redhat.com>
47913
47914         * sysdeps/i386/i686/multiarch/Makefile
47915         (CFLAGS-varshift.c): New variable.
47916
47917 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47918
47919         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47920         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47921
47922         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47923
47924         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47925
47926 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47927
47928         * sysdeps/x86_64/strlen.S: Unroll the loop.
47929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47930         strlen-sse2 strlen-sse2-bsf.
47931         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47932         __strlen_no_bsf if bit_Slow_BSF is set.
47933         (__strlen_sse42): Removed.
47934         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47935         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47936
47937 2010-08-25  Roland McGrath  <roland@redhat.com>
47938
47939         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47940         * sysdeps/x86_64/multiarch/varshift.c: New file.
47941         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47942         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47943         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47944         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47945
47946 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47947
47948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47949         strlen-sse2 strlen-sse2-bsf.
47950         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47951         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47952         (__strlen_sse2): Removed.
47953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47956         bit_Slow_BSF for Atom.
47957         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47958         (index_Slow_BSF): Define.
47959         (HAS_SLOW_BSF): Define.
47960
47961 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47962
47963         [BZ #10851]
47964         * resolv/res_init.c (__res_vinit): When no server address at all
47965         is given default to loopback.
47966
47967 2010-08-24  Roland McGrath  <roland@redhat.com>
47968
47969         * configure.in: Remove config-name.h generation.
47970         * configure: Regenerated.
47971         * config-name.in: File removed.
47972         * scripts/config-uname.sh: New file.
47973         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47974         ($(objdir)config-name.h): New target.
47975
47976         * sunrpc/rpc_parse.h: Avoid nested comment.
47977
47978 2010-08-24  Richard Henderson  <rth@redhat.com>
47979             Ulrich Drepper  <drepper@redhat.com>
47980             H.J. Lu  <hongjiu.lu@intel.com>
47981
47982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47984         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47985         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47986         _mm_alignr_epi8 with _mm_loadu_si128.
47987         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47988         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47989         (__m128i_shift_right): Removed.
47990         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47991         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47992         * sysdeps/x86_64/multiarch/varshift.h: New file.
47993         * sysdeps/x86_64/multiarch/varshift.S: New file.
47994
47995 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47996
47997         * configure.in: Move assembler checks to before sysdep dir checking.
47998
47999 2010-08-20  Petr Baudis  <pasky@suse.cz>
48000
48001         * LICENSES: Sync the sunrpc license.
48002
48003 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48004
48005         * sunrpc/auth_des.c: Update copyright notice once again.
48006         * sunrpc/auth_none.c: Likewise.
48007         * sunrpc/auth_unix.c: Likewise.
48008         * sunrpc/authdes_prot.c: Likewise.
48009         * sunrpc/authuxprot.c: Likewise.
48010         * sunrpc/bindrsvprt.c: Likewise.
48011         * sunrpc/clnt_gen.c: Likewise.
48012         * sunrpc/clnt_perr.c: Likewise.
48013         * sunrpc/clnt_raw.c: Likewise.
48014         * sunrpc/clnt_simp.c: Likewise.
48015         * sunrpc/clnt_tcp.c: Likewise.
48016         * sunrpc/clnt_udp.c: Likewise.
48017         * sunrpc/clnt_unix.c: Likewise.
48018         * sunrpc/des_crypt.c: Likewise.
48019         * sunrpc/des_soft.c: Likewise.
48020         * sunrpc/get_myaddr.c: Likewise.
48021         * sunrpc/getrpcport.c: Likewise.
48022         * sunrpc/key_call.c: Likewise.
48023         * sunrpc/key_prot.c: Likewise.
48024         * sunrpc/openchild.c: Likewise.
48025         * sunrpc/pm_getmaps.c: Likewise.
48026         * sunrpc/pm_getport.c: Likewise.
48027         * sunrpc/pmap_clnt.c: Likewise.
48028         * sunrpc/pmap_prot.c: Likewise.
48029         * sunrpc/pmap_prot2.c: Likewise.
48030         * sunrpc/pmap_rmt.c: Likewise.
48031         * sunrpc/rpc/auth.h: Likewise.
48032         * sunrpc/rpc/auth_unix.h: Likewise.
48033         * sunrpc/rpc/clnt.h: Likewise.
48034         * sunrpc/rpc/des_crypt.h: Likewise.
48035         * sunrpc/rpc/key_prot.h: Likewise.
48036         * sunrpc/rpc/netdb.h: Likewise.
48037         * sunrpc/rpc/pmap_clnt.h: Likewise.
48038         * sunrpc/rpc/pmap_prot.h: Likewise.
48039         * sunrpc/rpc/pmap_rmt.h: Likewise.
48040         * sunrpc/rpc/rpc.h: Likewise.
48041         * sunrpc/rpc/rpc_des.h: Likewise.
48042         * sunrpc/rpc/rpc_msg.h: Likewise.
48043         * sunrpc/rpc/svc.h: Likewise.
48044         * sunrpc/rpc/svc_auth.h: Likewise.
48045         * sunrpc/rpc/types.h: Likewise.
48046         * sunrpc/rpc/xdr.h: Likewise.
48047         * sunrpc/rpc_clntout.c: Likewise.
48048         * sunrpc/rpc_cmsg.c: Likewise.
48049         * sunrpc/rpc_common.c: Likewise.
48050         * sunrpc/rpc_cout.c: Likewise.
48051         * sunrpc/rpc_dtable.c: Likewise.
48052         * sunrpc/rpc_hout.c: Likewise.
48053         * sunrpc/rpc_main.c: Likewise.
48054         * sunrpc/rpc_parse.c: Likewise.
48055         * sunrpc/rpc_parse.h: Likewise.
48056         * sunrpc/rpc_prot.c: Likewise.
48057         * sunrpc/rpc_sample.c: Likewise.
48058         * sunrpc/rpc_scan.c: Likewise.
48059         * sunrpc/rpc_scan.h: Likewise.
48060         * sunrpc/rpc_svcout.c: Likewise.
48061         * sunrpc/rpc_tblout.c: Likewise.
48062         * sunrpc/rpc_util.c: Likewise.
48063         * sunrpc/rpc_util.h: Likewise.
48064         * sunrpc/rpcinfo.c: Likewise.
48065         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48066         * sunrpc/rpcsvc/key_prot.x: Likewise.
48067         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48068         * sunrpc/rpcsvc/mount.x: Likewise.
48069         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48070         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48071         * sunrpc/rpcsvc/rex.x: Likewise.
48072         * sunrpc/rpcsvc/rstat.x: Likewise.
48073         * sunrpc/rpcsvc/rusers.x: Likewise.
48074         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48075         * sunrpc/rpcsvc/spray.x: Likewise.
48076         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48077         * sunrpc/rtime.c: Likewise.
48078         * sunrpc/svc.c: Likewise.
48079         * sunrpc/svc_auth.c: Likewise.
48080         * sunrpc/svc_authux.c: Likewise.
48081         * sunrpc/svc_raw.c: Likewise.
48082         * sunrpc/svc_run.c: Likewise.
48083         * sunrpc/svc_simple.c: Likewise.
48084         * sunrpc/svc_tcp.c: Likewise.
48085         * sunrpc/svc_udp.c: Likewise.
48086         * sunrpc/svc_unix.c: Likewise.
48087         * sunrpc/svcauth_des.c: Likewise.
48088         * sunrpc/xcrypt.c: Likewise.
48089         * sunrpc/xdr.c: Likewise.
48090         * sunrpc/xdr_array.c: Likewise.
48091         * sunrpc/xdr_float.c: Likewise.
48092         * sunrpc/xdr_mem.c: Likewise.
48093         * sunrpc/xdr_rec.c: Likewise.
48094         * sunrpc/xdr_ref.c: Likewise.
48095         * sunrpc/xdr_sizeof.c: Likewise.
48096         * sunrpc/xdr_stdio.c: Likewise.
48097
48098         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48099         handling.
48100
48101 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48102
48103         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48104
48105 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48106
48107         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48108         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48109         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48110         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48111         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48112         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48113         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48114         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48116         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48117         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48118         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48119         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48120         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48121
48122 2010-07-26  Anton Blanchard  <anton@samba.org>
48123
48124         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48125         * malloc/arena.c (heap_trim): Likewise.
48126
48127 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48128
48129         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48130         here.  Not...
48131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48132         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48133
48134 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48135
48136         * sysdeps/i386/elf/Makefile: New file.
48137
48138 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48139
48140         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48141         from fanotify_init.
48142         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48144
48145 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48146
48147         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48148         of strncasecmp_l.
48149         * sysdeps/multiarch/strcmp.S: Likewise.
48150
48151 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48152
48153         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48154         strncase_l-nonascii.
48155         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48156         Add strncase_l-ssse3.
48157         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48158         * sysdeps/x86_64/strcmp.S: Likewise.
48159         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48160         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48161         * sysdeps/x86_64/strncase.S: New file.
48162         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48163         * sysdeps/x86_64/strncase_l.S: New file.
48164         * string/Makefile (strop-tests): Add strncasecmp.
48165         * string/test-strncasecmp.c: New file.
48166
48167         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48168         warning.
48169
48170         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48171         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48172
48173 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48174
48175         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48176
48177 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48178
48179         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48180         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48182
48183 2010-05-01  Alan Modra  <amodra@gmail.com>
48184
48185         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48186         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48187         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48188         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48189         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48190         tidying.  Don't tail-call __sigjmp_save for static lib.
48191         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48192         save location.
48193         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48194         (CALL_MCOUNT): Add eh info, and nop after bl.
48195         (TAIL_CALL_SYSCALL_ERROR): New macro.
48196         (PSEUDO_RET): Use it.
48197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48198         Correct save location of integer regs and cr.
48199         (_dl_profile_resolve): Correct cr save location.  Delete nops
48200         after bl when SHARED.  Reduce cfi size a little by better
48201         placement of cfi directives.
48202         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48203         make a stack frame.  Instead use parm save area as a temp.
48204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48205         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48207         Don't make a stack frame for parent, use parm save area.
48208         Increase child stack frame to 112 bytes.  Don't save unused reg,
48209         and adjust reg usage.  Set up cfi on error recovery and
48210         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48212         (__makecontext): Add dummy nop after jump to exit.
48213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48214         Use correct parm save area and cr save, reduce stack frame.
48215         Correct cfi for possible PSEUDO_RET frame setup.
48216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48217         Branch to local label emitted by PSEUDO_RET rather than
48218         __syscall_error.
48219
48220 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48221
48222         [BZ #11904]
48223         * locale/programs/locale.c (print_assignment): New function.
48224         (show_locale_vars): Use it.
48225
48226 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48227
48228         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48229         field.
48230         (struct statfs64): Likewise.
48231         (_STATFS_F_FLAGS): Define.
48232         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48233         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48234         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48235         (ST_VALID): Define locally.
48236         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48237         __statvfs_getflags, use the provided value.
48238         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48239         __ASSUME_STATFS_F_FLAGS.
48240
48241         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48242
48243         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48244         Add sys/fanotify.h.
48245         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48246         fanotify_mask for GLIBC_2.13.
48247         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48248         fanotify_init and fanotify_mark.
48249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48250         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48251
48252         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48253         Add prlimit.
48254         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48255         prlimit64 for GLIBC_2.13.
48256         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48257         prlimit64.
48258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48259         syscall.
48260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48262         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48263         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48265         add prlimit alias.
48266         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48267
48268         [BZ #11903]
48269         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48270         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48271
48272         * nss/Makefile: Add rules to build and run tst-nss-test1.
48273         * shlib-versions: Add entry for libnss_test1.
48274         * nss/nss_test1.c: New file.
48275         * nss/tst-nss-test1.c: New file.
48276
48277         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48278         (__nss_configure_lookup): Set appropriate entry in
48279         __nss_configure_lookup to true.
48280         * nss/nsswitch.h: Define enum with indeces of databases in
48281         databases and __nss_database_custom arrays.  Declare
48282         __nss_database_custom.
48283         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48284         to avoid using nscd when custom rules are installed.
48285         * nss/getXXbyYY_r.c: Likewise.
48286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48287
48288         * nss/nss_files/files-parse.c: Whitespace fixes.
48289
48290 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48291
48292         [BZ #11883]
48293         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48294         * posix/fnmatch_loop.c: Likewise.
48295
48296 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48297
48298         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48299         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48300         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48301         * Versions.def [GLIBC_2.13]: Add.
48302
48303 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48304
48305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48306         Also fail if tpwd after pwuid call is NULL.
48307
48308 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48309
48310         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48311         when converting to ms.
48312
48313 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48314
48315         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48316         EOPNOTSUPP errors with ENOTTY.
48317         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48318         EOPNOTSUPP errors with ENOTTY.
48319
48320 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48321
48322         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48323         Add strcasecmp_l-ssse3.
48324         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48325         strcasecmp.
48326         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48327         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48328         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48329
48330 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48331
48332         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48333
48334         * string/Makefile (strop-tests): Add strcasecmp.
48335         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48336         strcasecmp_l-nonascii.
48337         (gen-as-const-headers): Add locale-defines.sym.
48338         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48339         * sysdeps/x86_64/strcasecmp.S: New file.
48340         * sysdeps/x86_64/strcasecmp_l.S: New file.
48341         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48342         * sysdeps/x86_64/locale-defines.sym: New file.
48343         * string/test-strcasecmp.c: New file.
48344
48345         * string/test-strcasestr.c: Test both ends of the range of characters.
48346         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48347
48348 2010-07-29  Roland McGrath  <roland@redhat.com>
48349
48350         [BZ #11856]
48351         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48352
48353 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48354
48355         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48356         for ld.so.
48357
48358 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48359
48360         * manual/memory.texi (Malloc Tunable Parameters): Document
48361         M_PERTURB.
48362
48363 2010-07-26  Roland McGrath  <roland@redhat.com>
48364
48365         [BZ #11840]
48366         * configure.in (-fgnu89-inline check): Set and substitute
48367         gnu89_inline, not libc_cv_gnu89_inline.
48368         * configure: Regenerated.
48369         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48370
48371 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48372
48373         * string/test-strnlen.c: New file.
48374         * string/Makefile (strop-tests): Add strnlen.
48375         * string/tester.c (test_strnlen): Add a few more test cases.
48376         * string/tst-strlen.c: Better error reporting.
48377
48378         * sysdeps/x86_64/strnlen.S: New file.
48379
48380 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48381
48382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48383         lower-latency instructions.
48384
48385 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48386
48387         * string/test-strcasestr.c: New file.
48388         * string/test-strstr.c: New file.
48389         * string/Makefile (strop-tests): Add strstr and strcasestr.
48390         * string/str-two-way.h: Don't undefine MAX.
48391         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48392
48393 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48394
48395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48396         strcasestr-nonascii.
48397         (CFLAGS-strcasestr-nonascii.c): Define.
48398         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48400         Remove unused attribute.
48401
48402 2010-07-20  Roland McGrath  <roland@redhat.com>
48403
48404         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48405         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48406         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48407         like LD_HWCAP_MASK can disable hwcaps.
48408
48409 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48410
48411         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48412
48413 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48414
48415         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48416         call in strcasestr.
48417         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48418         __strcasestr_sse42_nonascii.
48419         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48420         strcasestr-nonascii.c.
48421         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48422
48423 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48424
48425         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48427         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48429
48430 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48431
48432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48433         fcntl.
48434
48435 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48436
48437         [BZ #11577]
48438         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48439         dl_signal_cerror.
48440
48441 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48442
48443         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48444         _PC_PIPE_BUF using F_GETPIPE_SZ.
48445
48446 2010-07-05  Roland McGrath  <roland@redhat.com>
48447
48448         * manual/arith.texi (Rounding Functions): Fix rint description
48449         implicit in round description.
48450
48451 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48452
48453         * elf/Makefile: Fix linking for a few tests to make recent linker
48454         happy.
48455
48456 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48457
48458         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48459         $(common-objpfx)libc_nonshared.a.
48460
48461 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48462
48463         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48464         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48465         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48466         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48467         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48468         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48469         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48470         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48485         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48486         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48487         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48488         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48489         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48490         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48491         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48492         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48493         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48494         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48495         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48496         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48511
48512 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48513
48514         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48515         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48516         * string/memmove.c (memmove): Renamed to ...
48517         (MEMMOVE): ...this.  Default to memmove.
48518         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48519         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48520         (END_CHK): Define.
48521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48522         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48523         mempcpy-ssse3-back memmove-ssse3-back.
48524         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48527         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48528         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48529         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48530         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48531         * sysdeps/x86_64/multiarch/memmove.c: New file.
48532         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48533         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48534         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48535         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48536         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48538         Define.
48539         (index_Fast_Copy_Backward): Define.
48540         (HAS_ARCH_FEATURE): Define.
48541         (HAS_FAST_REP_STRING): Define.
48542         (HAS_FAST_COPY_BACKWARD): Define.
48543
48544 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48545
48546         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48547         Restore proper fallback handling.
48548
48549 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48550
48551         [BZ #11701]
48552         * posix/group_member.c (__group_member): Correct checking loop.
48553
48554         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48555         OOM in getpwuid_r correctly.  Return error number when the caller
48556         should return, otherwise -1.
48557         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48558         call returning > 0 value.
48559         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48560
48561 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48562
48563         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48564         libc_nonshared.a from targets in modules-names.
48565
48566 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48567
48568         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48569         requires it.
48570
48571 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48572
48573         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48574         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48575         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48577
48578 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48579
48580         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48581
48582 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48583
48584         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48585         and F_GETPIPE_SZ.
48586         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48587         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48591         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48592
48593 2010-06-14  Roland McGrath  <roland@redhat.com>
48594
48595         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48596
48597 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48598
48599         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48600         __REDIRECT followed by __THROW.
48601         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48602         * posix/getopt.h (getopt): Likewise.
48603
48604 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48605
48606         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48607         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48608         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48609         in AT_FLAGS.
48610         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48611         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48612
48613 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48614
48615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48616
48617 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48618
48619         [BZ #11640]
48620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48621         Properly check family and model.
48622
48623 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48624
48625         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48626
48627 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48628
48629         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48630
48631 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48632
48633         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48634         symbol reference.
48635
48636 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48637
48638         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48639         symbol reference.
48640
48641 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48642
48643         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48644         and internal_recvmmsg.
48645         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48646         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48647         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48648         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48649
48650         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48651         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48652         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48653
48654 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48655
48656         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48657
48658 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48659
48660         POWER7 optimizations.
48661         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48662         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48663
48664 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48665
48666         * version.h: Update for 2.13 development version.
48667
48668 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48669
48670         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48671         exceptions.  Return 0.
48672
48673 2010-05-07  Roland McGrath  <roland@redhat.com>
48674
48675         * elf/ldconfig.c (main): Add a const.
48676
48677 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48678
48679         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48680         (args_options): Add no-idn option.
48681         (ahosts_keys_int): Add idn_flags to ai_flags.
48682         (parse_option): Handle 'i' option to clear idn_flags.
48683
48684         * malloc/malloc.c (_int_free): Possible race in the most recently
48685         added check.  Only act on the data if no current modification
48686         happened.
48687
48688 See ChangeLog.17 for earlier changes.