nptl: Set sem_open as a non cancellation point (BZ #15765)
[glibc.git] / ChangeLog
blob1d3bc508803c53e6297d506fe25c727494e53ad2
1 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ #15765]
4         * nptl/Makefile (tests): Add tst-sem16.
5         * nptl/tst-sem16.c: New file.
6         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8         * nptl/sem_open.c (sem_open): Init pad value to 0.
9         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14         [BZ #20611]
15         * inet/Makefile (routines): Add inet6_scopeid_pton.
16         (tests): Add tst-inet6_scopeid_pton.
17         * inet/inet6_scopeid_pton.c: New file.
18         * inet/net-internal.h: Likewise.
19         * inet/tst-inet6_scopeid_pton.c: New test.
20         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
21         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
22         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24 2016-09-14  Florian Weimer  <fweimer@redhat.com>
26         Remove support for compiling wrappers with PTW.
27         * sysdeps/nptl/Makeconfig: Drop ptw- support.
28         * nptl/Makefile (pthread-compat-wrappers): Define.
29         (libpthread-routines): Use pthread-compat-wrappers.
30         * sysdeps/unix/sysv/linux/alpha/Makefile
31         (libpthread-routines, libpthread-shared-only-routines): Remove
32         ptw- prefix.
33         * sysdeps/s390/nptl/Makefile
34         (libpthread-routines, libpthread-shared-only-routines): Likewise.
35         * sysdeps/ia64/nptl/Makefile
36         (libpthread-routines, libpthread-shared-only-routines): Likewise.
37         * sysdeps/nacl/Makefile (libpthread-routines): Use
38         pthread-compat-wrappers to filter the routines list instead of the
39         ptw- prefix.
41 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
43         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
44         with L() and remove explicit suffix, convert real literals
45         which can be equivalentally substituted with integers, and
46         transform -L(x) to L(-x).
48         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
54         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
73         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
80         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
89         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
90         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
91         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
92         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
93         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
94         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
95         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
96         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
97         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
99 2016-09-13  Florian Weimer  <fweimer@redhat.com>
101         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
103 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
105         * malloc/Makefile (tests): Remove individual static test names
106         and just add all of tests-static.
108         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
110 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
112         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
113         file.
115         * sysdeps/sparc/fpu/fegetmode.c: New file.
116         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
118         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
119         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
121         * sysdeps/s390/fpu/fegetmode.c: New file.
122         * sysdeps/s390/fpu/fesetmode.c: Likewise.
124         * sysdeps/powerpc/fpu/fegetmode.c: New file.
125         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
126         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
127         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
128         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
129         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
131         * sysdeps/mips/fpu/fegetmode.c: New file.
132         * sysdeps/mips/fpu/fesetmode.c: Likewise.
134         * sysdeps/m68k/fpu/fegetmode.c: New file.
135         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
137         * sysdeps/ia64/fpu/fegetmode.c: New file.
138         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
140         * sysdeps/hppa/fpu/fegetmode.c: New file.
141         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
143         * sysdeps/arm/fegetmode.c: New file.
144         * sysdeps/arm/fesetmode.c: Likewise.
146         * sysdeps/alpha/fpu/fegetmode.c: New file.
147         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
149         * sysdeps/aarch64/fpu/fegetmode.c: New file.
150         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
152         * math/fegetmode.c: New file.
153         * math/fesetmode.c: Likewise.
154         * sysdeps/i386/fpu/fegetmode.c: Likewise.
155         * sysdeps/i386/fpu/fesetmode.c: Likewise.
156         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
157         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
158         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
160         declaration.
161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
162         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
163         typedef.
164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
165         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
166         (femode_t): New typedef.
167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
168         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
169         (femode_t): New typedef.
170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
171         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
172         (femode_t): New typedef.
173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
174         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
175         (femode_t): New typedef.
176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
177         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
178         (femode_t): New typedef.
179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
180         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
181         (femode_t): New typedef.
182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
183         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
184         (femode_t): New typedef.
185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
186         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
187         (femode_t): New typedef.
188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
189         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
190         (femode_t): New typedef.
191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
192         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
193         (femode_t): New typedef.
194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
195         declaration.
196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
197         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
198         (femode_t): New typedef.
199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
200         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
201         (femode_t): New typedef.
202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
203         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
204         (femode_t): New typedef.
205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
206         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
207         (femode_t): New typedef.
208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
209         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
210         (femode_t): New typedef.
211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
212         * manual/arith.texi (FE_DFL_MODE): Document macro.
213         (fegetmode): Document function.
214         (fesetmode): Likewise.
215         * math/Versions (fegetmode): New libm symbol at version
216         GLIBC_2.25.
217         (fesetmode): Likewise.
218         * math/Makefile (libm-support): Add fegetmode and fesetmode.
219         (tests): Add test-femode and test-femode-traps.
220         * math/test-femode-traps.c: New file.
221         * math/test-femode.c: Likewise.
222         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
223         alias for __fe_dfl_env.
224         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
225         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
226         (__fe_dfl_mode): Likewise.
227         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
228         version GLIBC_2.25.
229         * sysdeps/nacl/libm.abilist: Update.
230         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
231         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
232         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
233         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
234         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
235         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
236         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
237         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
238         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
239         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
240         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
241         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
243         Likewise.
244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
245         Likewise.
246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
247         Likewise.
248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
249         Likewise.
250         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
251         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
252         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
256         Likewise.
257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
258         Likewise.
259         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
260         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
261         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
263 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
265         [BZ #20495]
266         [BZ #20508]
267         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
268         processors, set Use_dl_runtime_resolve_slow and set
269         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
270         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
271         New.
272         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
273         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
274         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
275         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
276         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
277         if Use_dl_runtime_resolve_opt is set.  Use
278         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
279         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
280         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
281         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
282         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
283         New.
284         (_dl_runtime_resolve_opt): Likewise.
285         (_dl_runtime_profile): Define only if _dl_runtime_profile is
286         defined.
288 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
290         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
291         __libc_memalign with "+ RELA R_390_GLOB_DAT".
293 2016-09-06  Florian Weimer  <fweimer@redhat.com>
295         Convert malloc to __libc_lock.  Automated part, using this Perl
296         s/// command:
297           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
298             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
299         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
300         conversion.
302 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
304         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
305         (linknamespace-symlists-tests): Likewise.
306         (linknamespace-header-tests): Likewise.
308 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
310         [BZ #19810]
311         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
312         * elf/tst-noload.c: New test case.
313         * elf/Makefile (tests): Add tst-noload.
315 2016-09-02  Roland McGrath  <roland@hack.frob.com>
317         * sysdeps/nacl/dup.c: Add libc_hidden_def.
319         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
320         not any more.
322         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
324 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
326         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
327         (do_cos_slow): Likewise.
328         (do_sin): Likewise.
329         (do_sin_slow): Likewise.
330         (slow): Likewise.
331         (slow1): Likewise.
332         (slow2): Likewise.
333         (sloww): Likewise.
334         (sloww1): Likewise.
335         (sloww2): Likewise.
336         (bsloww): Likewise.
337         (bsloww1): Likewise.
338         (bsloww2): Likewise.
339         (cslow2): Likewise.
341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
343         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
344         arguments.  Consolidate input partitioning from callers here.
345         (do_cos_slow): Likewise.
346         (do_sin): Likewise.
347         (do_sin_slow): Likewise.
348         (do_sincos_1): Remove the no longer necessary input partitioning.
349         (do_sincos_2): Likewise.
350         (__sin): Likewise.
351         (__cos): Likewise.
352         (slow1): Likewise.
353         (slow2): Likewise.
354         (sloww1): Likewise.
355         (sloww2): Likewise.
356         (bsloww1): Likewise.
357         (bsloww2): Likewise.
358         (cslow2): Likewise.
360 2016-09-02  Florian Weimer  <fweimer@redhat.com>
362         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
363         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
364         outside of allocated array.
366 2016-09-02  Florian Weimer  <fweimer@redhat.com>
368         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
369         instead of MB_CUR_MAX to avoid variable-length array.
371 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
373         * math/Makefile (libm-calls): Remove k_rem_pio2F.
374         (type-double-routines): Add k_rem_pio2.
375         (type-float-routines): Add k_rem_pio2f.
377         * sysdeps/generic/math_private.h:
378         (__kernel_rem_pio2l): Removed.
380         * math/k_rem_pio2l.c: Removed.
381         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
382         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
383         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
384         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
386 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
388         * math/Makefile (gen-libm-calls): Add s_fmin
389         (libm-calls): Remove above.
391         * math/s_fmin.c: Refactor into ...
392         * math/s_fmin_template.c: New file.
394         * math/s_fminf.c: Removed.
395         * math/s_fminl.c: Removed.
396         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
397         (LDOUBLE_fmin_libm_version): New macro.
399         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
400         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
402 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
404         * math/Makefile: (gen-libm-calls): Add s_fmax.
405         (libm-calls): Remove above.
407         * math/s_fmax.c: Refactor into ...
408         * math/s_fmax_template.c: New file.
409         * math/s_fmaxf.c: Removed.
410         * math/s_fmaxl.c: Removed.
412         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
413         (LDOUBLE_fmaxl_libm_version): New macro.
415         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
416         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
418         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
419         s_fmin.c to pick the aarch64 version of the file.
420         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
421         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
423 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
425         * math/Makefile: (gen-libm-calls): Add s_nextdown.
426         (libm-calls): Remove above.
428         * math/s_nextdown.c: Refactor into ...
429         * math/s_nextdown_template.c: New file.
430         * math/s_nextdownf.c: Removed.
431         * math/s_nextdownl.c: Removed.
433         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
435 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
437         * math/Makefile (gen-libm-calls): Add s_fdim.
438         (libm-calls): Move to above.
440         * math/s_fdim.c: Renamed and refactored into to ...
441         * math/s_fdim_template.c: New file.
442         * math/s_fdiml.c: Removed.
443         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
444         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
446         * sysdeps/generic/math-type-macros-double.h:
447         (declare_mgen_alias): Don't declare if already declared.
448         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
449         Likewise.
451         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
452         (declare_mgen_alias): Don't declare if already declared.
453         (M_LIBM_NEED_COMPAT): Likewise.
454         (declare_mgen_libm_compat): Likewise.
455         (LDOUBLE_fdiml_libm_version): New macro.
457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
458         Include math/s_fdim.c now that ldbl-opt version is not needed.
459         (declare_mgen_alias): New macro to disable aliasing.
461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
462         (declare_mgen_alias): Likewise.
463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
464         (declare_mgen_alias): Likewise.
465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
466         (declare_mgen_alias): Likewise.
467         (M_LIBM_NEED_COMPAT): Likewise.
469 2016-09-01  Florian Weimer  <fweimer@redhat.com>
471         [BZ #20525]
472         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
473         Include <linux/quota.h>.
474         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
475         and btodb.
476         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
477         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
478         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
479         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
480         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
481         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
482         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
483         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
484         types.
485         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
486         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
488 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
491         (gammal_positive): Fix spacing.
492         (__ieee754_gammal_r): Likewise.
494 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
496         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
497         (_Float128): Define as long double, always.
498         (L): Apply long double type suffix, always.
500         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
501         _Float128, excepting comments.
503         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
504         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
505         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
506         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
507         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
508         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
509         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
510         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
511         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
512         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
513         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
514         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
515         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
516         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
517         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
518         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
519         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
520         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
521         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
522         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
523         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
524         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
525         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
526         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
527         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
528         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
529         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
530         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
531         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
532         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
533         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
534         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
535         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
536         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
537         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
538         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
539         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
540         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
541         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
542         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
543         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
544         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
545         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
546         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
547         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
548         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
549         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
550         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
551         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
552         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
553         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
554         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
555         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
556         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
557         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
558         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
559         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
560         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
563         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
564         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
565         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
566         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
567         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
568         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
569         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
570         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
572         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
573         _Float128, and include math_private.h.
574         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
576         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
577         long double semantics.
578         (_Float128): Likewise.
579         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
580         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
581         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
582         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
584 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
586         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
587         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
588         * sysdeps/s390/configure: Regenerated.
589         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
590         instruction for raising over-/underflow if z196 zarch is supported
591         by default.
592         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
594 2016-08-30  Svante Signell  <svante.signell@gmail.com>
596         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
597         it point to a dumb buffer for RPC to fill it.
599 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
601         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
602         instead of if/else.
603         (do_sin_slow): Likewise.
604         (do_sincos_1): Use fabs instead of if/else.
605         (do_sincos_2): Likewise.
606         (__sin): Likewise.
607         (__cos): Likewise.
608         (slow2): Likewise.
609         (sloww): Likewise.
610         (sloww1): Likewise.  Drop argument M.
611         (sloww2): Use fabs instead of if/else.
612         (bsloww): Likewise.
613         (bsloww1): Likewise.
614         (bsloww2): Likewise.
616         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
617         fall through comment.
618         (do_sincos_1): Likewise.
620         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
621         Consolidate switch cases 0 and 2.
623 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
625         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
626         (libm-calls): Remove the above.
628         * math/s_cexp_template.c: Update using type-generic macros.
629         * math/s_clog10_template.c: Likewise.
630         * math/s_cpow_template.c: Likewise.
631         * math/s_clog_template.c: Likewise.
632         * math/s_cproj_template.c: Likewise.
633         * math/s_csqrt_template.c: Likewise.
635         * math/s_cexp.c: Removed.
636         * math/s_cexpf.c: Removed.
637         * math/s_cexpl.c: Removed.
638         * math/s_clog10.c: Removed.
639         * math/s_clog10f.c: Removed.
640         * math/s_clog10l.c: Removed.
641         * math/s_cpow.c: Removed.
642         * math/s_cpowf.c: Removed.
643         * math/s_cpowl.c: Removed.
644         * math/s_clog.c: Removed.
645         * math/s_clogf.c: Removed.
646         * math/s_clogl.c: Removed.
647         * math/s_cproj.c: Removed.
648         * math/s_cprojf.c: Removed.
649         * math/s_cprojl.c: Removed.
650         * math/s_csqrt.c: Removed.
651         * math/s_csqrtf.c: Removed.
652         * math/s_csqrtl.c: Removed.
654         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
655         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
656         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
657         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
658         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
659         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
661         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
662         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
663         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
664         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
665         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
666         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
667         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
668         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
669         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
670         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
671         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
673         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
674         version.
676         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
677         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
678         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
679         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
681 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
683         * s_cexp_template.c: Copy of s_cexp.c.
684         * s_clog_template.c: Copy of s_clog.c.
685         * s_clog10_template.c: Copy of s_clog10.c.
686         * s_cpow_template.c: Copy of s_cpow.c.
687         * s_cproj_template.c: Copy of s_cproj.c.
688         * s_csqrt_template.c: Copy of s_csqrt.c.
690 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
692         [BZ #20517]
693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
694         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
695         exported.
697 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
699         * math/fetestexceptflag.c: New file.
700         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
701         Stefan Liebler.
702         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
703         (fetestexceptflag): New function declaration.
704         * manual/arith.texi (fetestexceptflag): Document function.
705         * math/Versions (fetestexceptflag): New libm symbol at version
706         GLIBC_2.25.
707         * math/Makefile (libm-support): Add fetestexceptflag.
708         (tests): Add test-fetestexceptflag.
709         * math/test-fetestexceptflag.c: New file.
710         * sysdeps/nacl/libm.abilist: Update.
711         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
712         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
713         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
714         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
715         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
716         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
717         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
718         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
719         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
720         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
721         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
722         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
724         Likewise.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
726         Likewise.
727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
728         Likewise.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
730         Likewise.
731         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
732         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
733         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
734         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
735         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
737         Likewise.
738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
739         Likewise.
740         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
741         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
742         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
744 2016-08-26  Florian Weimer  <fweimer@redhat.com>
746         [BZ #20432]
747         Avoid strong references to malloc-internal symbols when linking
748         statically, to support statically interposed mallocs.
749         * include/libc-symbols.h (call_function_static_weak): New macro.
750         * malloc/Makefile (tests): Add tst-interpose-nothread,
751         tst-interpose-thread, tst-interpose-static-nothread,
752         tst-interpose-static-thread.
753         (tests-static): Add tst-interpose-static-nothread,
754         tst-interpose-static-thread.
755         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
756         tst-interpose-aux-thread.o.
757         (test-extras): Add tst-interpose-aux-nothread,
758         tst-interpose-aux-thread.
759         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
760         tst-interpose-aux-nothread.o.
761         (tst-interpose-thread, tst-interpose-static-thread): Link with
762         tst-interpose-aux-thread.o and libthread.
763         * malloc/tst-interpose-aux-nothread.c: New file.
764         * malloc/tst-interpose-aux-thread.c: Likewise.
765         * malloc/tst-interpose-aux.c: Likewise.
766         * malloc/tst-interpose-aux.h: Likewise.
767         * malloc/tst-interpose-nothread.c: Likewise.
768         * malloc/tst-interpose-skeleton.c: Likewise.
769         * malloc/tst-interpose-static-nothread.c: Likewise.
770         * malloc/tst-interpose-static-thread.c: Likewise.
771         * malloc/tst-interpose-thread.c: Likewise.
772         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
773         * sysdeps/mach/hurd/fork.c (__fork): Only call
774         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
775         __malloc_fork_unlock_child if defined.
776         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
778 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
780         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
781         timespec C99 designated initialization.
783 2016-08-26  Florian Weimer  <fweimer@redhat.com>
785         [BZ #19946]
786         Avoid expected SIGALRM signals.
787         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
788         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
789         (xpthread_create, xpthread_detach, xpthread_join)
790         (delayed_exit_thread, delayed_exit): New functions.
791         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
792         (tf): Use xpthread_cond_wait.
793         (do_test): Likewise.  Replace alarm with delayed_exit.
794         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
795         (do_test): Call delayed_exit.  Report failure.
796         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
797         (do_test): Call delayed_exit.
798         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
799         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
800         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
801         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
802         error.
803         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
804         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
805         error.
806         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
807         (do_test): Call delayed_exit.
808         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
809         (do_test): Call delayed_exit.
810         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
811         (do_test): Call delayed_exit instead of alarm.  Use
812         xpthread_mutex_lock.
813         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
814         (do_test): Call delayed_exit instead of alarm.  Use
815         xpthread_mutex_lock.
816         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
817         (do_test): Call delayed_exit instead of alarm.
818         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
819         (do_test): Call delayed_exit instead of alarm.  Use
820         xpthread_spin_lock.
821         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
822         (do_test): Call delayed_exit instead of alarm.  Use
823         xpthread_join.
825 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
827         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
828         adjust CFA when allocating register save area on re-aligned
829         stack.
831 2016-08-26  Florian Weimer  <fweimer@redhat.com>
833         * string/tst-cmp.c: New test.
834         * string/Makefile (tests): Add it.
836 2016-08-25  Mark Wielaard  <mark@klomp.org>
838         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
839         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
840         (check_tree_recurse): Use newly defined accessors.
841         (check_tree): Likewise.
842         (maybe_split_for_insert): Likewise.
843         (__tfind): Likewise.
844         (__tdelete): Likewise.
845         (trecurse): Likewise.
846         (tdestroy_recurse): Likewise.
847         (__tsearch): Likewise. And add asserts for malloc alignment.
848         (__twalk): Cast root to node in case CHECK_TREE is defined.
850 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
852         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
854 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
856         * math/Makefile (libm-gen-calls): Add
857         catan, catanh, ctan, ctanh.
858         (libm-calls): Remove the above.
860         * math/s_catan_template.c: Update using type-generic macros.
861         * math/s_catanh_template.c: Likewise.
862         * math/s_ctan_template.c: Likewise.
863         * math/s_ctanh_template.c: Likewise.
865         * math/s_catanf.c: Removed.
866         * math/s_catan.c: Removed.
867         * math/s_catanl.c: Removed.
868         * math/s_catanhf.c: Removed.
869         * math/s_catanh.c: Removed.
870         * math/s_catanhl.c: Removed.
871         * math/s_ctanf.c: Removed.
872         * math/s_ctan.c: Removed.
873         * math/s_ctanl.c: Removed.
874         * math/s_ctanhf.c: Removed.
875         * math/s_ctanh.c: Removed.
876         * math/s_ctanhl.c: Removed.
878         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
879         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
880         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
881         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
882         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
883         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
885         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
886         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
887         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
888         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
890 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
892         * s_catan_template.c: Copy of s_catan.c.
893         * s_catanh_template.c: Copy of s_catanh.c.
894         * s_ctan_template.c: Copy of s_ctan.c.
895         * s_ctanh_template.c: Copy of s_ctanh.c.
897 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
899         * math/Makefile (gen-libm-calls): Move
900         casin, casinh, csin, csinh here.
901         (libm-calls): Remove the above.
903         * math/s_casin_template.c: Update using type-generic macros.
904         * math/s_casinh_template.c: Likewise.
905         * math/s_csin_template.c: Likewise.
906         * math/s_csinh_template.c: Likewise.
907         * math/k_casinh_template.c: Likewise.
909         * math/s_casinf.c: Removed.
910         * math/s_casin.c: Removed.
911         * math/s_casinl.c: Removed.
912         * math/s_casinh.c: Removed.
913         * math/s_casinhf.c: Removed.
914         * math/s_casinhl.c: Removed.
915         * math/s_csin.c: Removed.
916         * math/s_csinf.c: Removed.
917         * math/s_csinl.c: Removed.
918         * math/s_csinh.c: Removed.
919         * math/s_csinhf.c: Removed.
920         * math/s_csinhl.c: Removed.
921         * math/k_casinh.c: Removed.
922         * math/k_casinhf.c: Removed.
923         * math/k_casinhl.c: Removed.
925         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
926         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
927         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
928         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
930         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
931         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
932         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
933         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
934         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
935         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
936         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
937         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
939         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
940         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
941         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
942         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
944         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
945         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
946         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
947         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
949 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
951         * s_casin_template.c: Copy of s_casin.c.
952         * s_casinh_template.c: Copy of s_casinh.c.
953         * s_csin_template.c: Copy of s_csin.c.
954         * s_csinh_template.c: Copy of s_csinh.c.
955         * k_casinh_template.c: Copy of k_casinh.c.
957 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
959         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
961 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
963         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
964         (mul_split) Remove, rename as mul_splitl, remove
965         redundant float.h include, and include via mul_splitl.h
967         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
968         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
969         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
970         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
971         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
973         * math/mul_splitl.h: New file.
975         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
976         Move into mul_split.h, and remove redundant float.h include.
978         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
979         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
980         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
981         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
983         * math/mul_split.h: New file.
985 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
987         * math/Makefile (libm-gen-calls): Move
988         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
989         (libm-calls): Remove above.
991         * math/s_cacos_template.c: Update using type-generic macros.
992         * math/s_cacosh_template.c: Likewise.
993         * math/s_ccos_template.c: Likewise.
994         * math/s_ccosh_template.c: Likwise.
996         * math/s_cacosf.c: Removed.
997         * math/s_cacos.c: Removed.
998         * math/s_cacosl.c: Removed.
999         * math/s_cacoshf.c: Removed.
1000         * math/s_cacosh.c: Removed.
1001         * math/s_cacoshl.c: Removed.
1002         * math/s_ccosf.c: Removed.
1003         * math/s_ccos.c: Removed.
1004         * math/s_ccosl.c: Removed.
1005         * math/s_ccoshf.c: Removed.
1006         * math/s_ccosh.c: Removed.
1007         * math/s_ccoshl.c: Removed.
1009         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1010         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1011         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1012         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1013         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1014         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1016         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1017         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1018         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1019         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1021         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1022         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1023         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1024         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1026 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1028         * s_cacos_template.c: Copy of s_cacos.c.
1029         * s_cacosh_template.c: Copy of s_cacosh.c.
1030         * s_ccos_template.c: Copy of s_ccos.c.
1031         * s_ccosh_template.c: Copy of s_ccosh.c.
1033 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1035         * stdlib/tst-strtod-round-skeleton.c:
1036         Refactored from tst-strtod-round.c.
1038         (L_): New macro to apply literal modifier.
1039         (FNPFX): New macro to select str or wcs prefix.
1040         (CHAR): New macro to choose wchar_t or char.
1041         (STRM): New macro to choose printf for tested character type.
1043         (STRTO): New macro to choose appropriate string -> real function.
1044         (FNPFXS): Stringitized version of FNPFX.
1045         (STR): Support for above macro.
1046         (STRX): Likewise.
1048         (TEST): Update with above macros.
1049         (test): Likewise.
1050         (GEN_ONE_TEST): Likewise.
1051         (test_in_one_mode): Likewise.
1053         * stdlib/tst-strtod-round.c: New file.
1054         * wcsmbs/tst-wcstod-round.c: New file.
1056         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1057         (tst-wcstod-round): Add libm depencency for fesetround.
1059 2016-08-19  Zack Weinberg  <zackw@panix.com>
1061         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1063 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1065         [BZ #20477]
1066         * resolv/res_hconf.c (do_init): Use atomic access.
1067         * resolv/res_hconf.h: Add comments.
1068         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1069         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1072 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1074         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1075         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1076         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1077         Likewise.
1079 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1081         [BZ #16907]
1082         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1083         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1084         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1085         (__attribute__): Remove definition.
1087 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1089         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1090         Remove unused sqrtl declaration.
1092 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1094         * math/Makefile: (gen-libm-templates.stmp): New rule.
1095         (libm-calls): Move carg conj cimag and cabs into ...
1096         (gen-libm-calls): New variable.
1097         (generated): Inform Make objects from gen-libm-calls
1098         may be generated.
1100         * sysdeps/generic/math-type-macros.h: New file.
1101         * sysdeps/generic/math-type-macros-float.h: Likewise.
1102         * sysdeps/generic/math-type-macros-double.h: Likewise.
1103         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1104         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1105         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1107         * math/cabs.c: Refactor into
1108         * math/cabs_template.c: new file.
1109         * math/cabsf.c: Removed.
1110         * math/cabsl.c: Removed.
1111         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1112         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1114         * math/carg.c: Refactor into
1115         * math/carg_template.c: new file.
1116         * math/cargf.c: Removed.
1117         * math/cargl.c: Removed.
1118         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1119         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1121         * math/conj.c: Refactor into
1122         * math/conj_template.c: new file.
1123         * math/conjf.c: Removed.
1124         * math/conjl.c: Removed.
1125         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1126         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1128         * math/cimag.c: Refactor into
1129         * math/cimag_template.c: new file.
1130         * math/cimagf.c: Removed.
1131         * math/cimagl.c: Removed.
1132         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1133         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1135         * math/cimag.c: Refactor into
1136         * math/cimag_template.c: new file.
1137         * math/cimagf.c: Removed.
1138         * math/cimagl.c: Removed.
1139         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1140         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1142 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1144         Reduce time to expected nptl/tst-once5 failure.
1145         * nptl/tst-once5.cc (TIMEOUT): Define.
1147 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1149         [BZ #20452]
1150         Avoid additional copies of objects in libc.a in static libraries.
1151         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1152         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1153         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1154         rt-sysdep.
1155         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1156         Add nptl-sysdep.
1157         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1158         Add ptw-sysdep.
1159         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1160         rt-sysdep.
1161         * sysdeps/unix/sysv/linux/alpha/Makefile
1162         (libpthread-shared-only-routines): Add ptw-sysdep,
1163         ptw-sigprocmask, ptw-rt_sigaction.
1164         * sysdeps/unix/sysv/linux/ia64/Makefile
1165         (librt-shared-only-routines): Add rt-sysdep.
1166         * sysdeps/unix/sysv/linux/i386/Makefile
1167         (libpthread-shared-only-routines): Add libc-do-syscall.
1168         * sysdeps/unix/sysv/linux/microblaze/Makefile
1169         (libpthread-shared-only-routines): Add sysdep.
1170         * sysdeps/unix/sysv/linux/powerpc/Makefile
1171         (librt-shared-only-routines): Add rt-sysdep.
1172         (libpthread-shared-only-routines): Add sysdep.
1173         * sysdeps/unix/sysv/linux/s390/Makefile
1174         (librt-shared-only-routines): Add rt-sysdep.
1175         * sysdeps/unix/sysv/linux/sparc/Makefile
1176         (librt-shared-only-routines): Add rt-sysdep.
1177         (libpthread-shared-only-routines): Add sysdep.
1178         * sysdeps/unix/sysv/linux/tile/Makefile
1179         (libpthread-shared-only-routines): Likewise.
1181 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1183         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1184         Mask implicit bit out of unpacked value.
1185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1186         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1189         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1191         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1193         * sysdeps/s390/fpu/fesetexcept.c: New file.
1195         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1196         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1197         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1199         * sysdeps/mips/fpu/fesetexcept.c: New file.
1201         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1203         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1205         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1207         * sysdeps/arm/fesetexcept.c: New file.
1209         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1211         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1213         * math/fesetexcept.c: New file.
1214         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1215         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1216         * math/fenv.h: Define
1217         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1218         <bits/libc-header-start.h> instead of including <features.h>.
1219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1220         declaration.
1221         * manual/arith.texi (fesetexcept): Document function.
1222         * math/Versions (fesetexcept): New libm symbol at version
1223         GLIBC_2.25.
1224         * math/Makefile (libm-support): Add fesetexcept.
1225         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1226         * math/test-fesetexcept.c: New file.
1227         * math/test-fesetexcept-traps.c: Likewise.
1228         * sysdeps/nacl/libm.abilist: Update.
1229         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1230         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1231         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1232         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1233         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1237         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1238         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1239         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1242         Likewise.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1244         Likewise.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1250         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1251         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1252         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1253         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1255         Likewise.
1256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1257         Likewise.
1258         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1259         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1260         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1262 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1264         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1265         New.
1266         (do_test): Apply default_stack_size_in_mb if not set.
1267         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1269 2016-08-15  Andreas Schwab  <schwab@suse.de>
1271         [BZ #20435]
1272         CVE-2016-6323
1273         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1274         as .cantunwind.
1276 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1278         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1279         comment from fraiseexcpt.c.
1281         * math/test-fexcept.c (feraiseexcept_exact): New function.
1282         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1283         (test_except): Likewise.
1285 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1287         [BZ #20455]
1288         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1289         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1290         to be restored.
1292         * math/test-fexcept-traps.c: New file.
1293         * math/test-fexcept.c: Likewise.
1294         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1295         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1296         macro.
1297         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1298         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1300 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1302         * include/atomic.h (atomic_fetch_and_relaxed,
1303         atomic_fetch_and_release, atomic_fetch_or_release,
1304         atomic_fetch_xor_release): New.
1306 2016-08-06  Christian Seiler  <christian@iwakd.de>
1308         [BZ #20444]
1309         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1310         MACH_PORT_NULL.
1312 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1314         * math/s_fdim.c: Avoid alias renamed.
1315         * math/s_fdimf.c: Likewise.
1316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1317         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1318         Add s_fdimf-vis3, s_fdim-vis3.
1319         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1320         (CFLAGS-s_fdim-vis3.c): Likewise.
1321         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1322         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1324 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1327         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1328         Remove s_fdimf-vis3, s_fdim-vis3.
1329         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1330         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1337         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1338         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1340 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1342         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1343         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1344         -Wa,-Av9a -mvis.
1346 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1348         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1349         LIT() to individual constants in simple expressions
1350         after splitting on spaces.
1351         (_apply_lit): Rename replaced version, and use it to
1352         apply to what appears to be a token.
1354         * math/libm-test.inc: Fix many, many issues with
1355         spacing.
1357 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1359         * math/math.h: Move comment about <bits/mathdef.h> definitions
1360         above inclusion of <bits/mathdef.h>.  Do not mention
1361         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1363 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1365         * include/atomic.h (atomic_exchange_relaxed): New.
1367 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1369         * math/e_scalb.c: Do not include <fenv.h>.
1370         (invalid_fn): Do calculation resulting in NaN instead of raising
1371         FE_INVALID and returning a NaN explicitly.
1372         * math/e_scalbf.c: Do not include <fenv.h>.
1373         (invalid_fn): Do calculation resulting in NaN instead of raising
1374         FE_INVALID and returning a NaN explicitly.
1375         * math/e_scalbl.c: Do not include <fenv.h>.
1376         (invalid_fn): Do calculation resulting in NaN instead of raising
1377         FE_INVALID and returning a NaN explicitly.
1379 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1381         * po/de.po: Updated from Translation Project.
1382         * po/fi.po: Likewise.
1383         * po/sv.po: Likewise.
1385 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1387         [BZ #20452]
1388         Use sysdep.o from libc.a in static libraries.
1389         * sysdeps/unix/sysv/linux/i386/Makefile
1390         (libpthread-shared-only-routines): Add sysdep.
1391         (librt-shared-only-routines): Likewise.
1393 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1395         * math/tgmath.h (nextdown): Define if
1396         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1397         (nextup): Likewise.
1399         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1400         macro.
1401         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1402         Document.
1403         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1404         Document macro.
1405         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1406         (exp10f): Likewise.
1407         (exp10l): Likewise.
1408         * math/bits/mathcalls.h (exp10): Declare if
1409         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1411         * manual/arith.texi (nextup): Fix typo in last change.
1413 2016-08-03  Zack Weinberg  <zackw@panix.com>
1415         [BZ #19239]
1416         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1417         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1418         define major, minor, and makedev to issue deprecation warnings on use.
1419         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1420         previously-activated deprecation warnings for these macros and prevent
1421         subsequent inclusions of this header from having any effect.
1422         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1423         including <sys/sysmacros.h>, and undefine it again afterward.
1425 2016-08-03  Zack Weinberg  <zackw@panix.com>
1427         * sysdeps/generic/sys/sysmacros.h: Delete file.
1428         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1429         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1430         * bits/sysmacros.h: ... here; this encoding is now the generic
1431         encoding.  Now defines only the following macros:
1432         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1433         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1434         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1436         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1437         bits/sysmacros.h and the above new macros to generate the
1438         public implementations of major, minor, and makedev.
1439         * misc/tst-makedev.c: New test.
1440         * include/sys/sysmacros.h: New wrapper.
1442         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1443         (routines): Add makedev.
1444         (tests): Add tst-makedev.
1445         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1446         gnu_dev_makedev.
1447         * posix/Makefile (headers): Remove sys/sysmacros.h.
1448         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1450         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1451         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1452         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1453         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1454         * sysdeps/unix/sysv/linux/arm/libc.abilist
1455         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1456         * sysdeps/unix/sysv/linux/i386/libc.abilist
1457         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1459         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1460         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1462         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1463         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1465         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1470         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1471         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1472         * sysdeps/unix/sysv/linux/sh/libc.abilist
1473         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1474         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1477         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1478         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1479         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1480         Add GLIBC_2.25.
1482         * include/features.h (__glibc_clang_prereq): New macro.
1483         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1484         (__attribute_deprecated_msg__): New macros.
1486 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1488         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1489         macro.
1490         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1491         * manual/arith.texi (issignaling): Document as ISO from TS
1492         18661-1:2014.
1493         (nextup): Likewise.
1494         (nextupf): Likewise.
1495         (nextupl): Likewise.
1496         (nextdown): Likewise.
1497         (nextdownf): Likewise.
1498         (nextdownl): Likewise.
1499         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1500         macro.
1501         * math/math.h: Define
1502         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1503         <bits/libc-header-start.h> instead of including <features.h>.
1504         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1505         [__USE_GNU].
1506         * math/bits/mathcalls.h (nextdown): Declare if
1507         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1508         (nextup): Likewise.
1509         (__issignaling): Likewise.
1511 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1513         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1514         check, and remove __glibc_likely hint
1515         from FP_INFINITE check.
1516         * s_csinhf.c (__csinhf): Likewise.
1518         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1519         hint from FP_INFINITE check.
1520         * s_csinhl.c (__csinhl): Likewise.
1522 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1524         * math/Makefile (libm-calls): Insert F placeholder into
1525         object names.  Move w_lgamma_compat* routines into
1526         (libm-compat-calls): New variable.
1527         (libm-compat-calls-ldouble-yes): New variable.
1528         (calls): Insert F placeholder.
1529         (generated): Redefine using new type-foreach macro call.
1530         (routines): Likewise.
1532         (types): New variable to hold a list of symbolic names
1533         for each type supported by the target machine.
1534         (libm-routines): Redefine using new types variable.
1535         (type-foreach): macro to replace fooF with the
1536         appropriately suffixed foo for each types.
1538         (type-ldouble-suffix): New variable.
1539         (type-ldouble-routines): Likewise.
1540         (type-ldouble-yes): Likewise.
1541         (type-double-suffix): Likewise.
1542         (type-double-routines): Likewise.
1543         (type-float-suffix): Likewise.
1544         (type-float-routines): Likewise.
1546         (dbl-only-routines): Remove.
1547         (long-c-yes): Likewise.
1548         (long-m-routines): Likewise.
1549         (long-m-support): Likewise.
1550         (long-m-yes): Likewise.
1551         (test-longdouble-yes): Likewise.
1553         (test-float.o): Simplify by increasing the scope of the
1554         recipe which adds libm-test.stmp to the vector types.
1555         (test-ifloat.o): Likewise.
1556         (test-float-finite.o): Likewise.
1557         (test-double.o): Likewise
1558         (test-idouble.o): Likewise.
1559         (test-double-finite.o): Likewise.
1560         (test-ldouble.o): Likewise
1561         (test-ildoubl.o): Likewise.
1562         (test-ldouble-finite.o): Likewise.
1564         (libm-tests): Redefine type tests using foreach and the
1565         list of types in types.
1567         (CPPFLAGS-test-ildoubl.c): Rename to
1568         (CPPFLAGS-test-ildouble.c): New variable
1570         * math/test-ildoubl.c: Rename to
1571         * math/test-ildouble.c: New file.
1573 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1575         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1576         Use fabsl instead of fabs.
1577         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1578         Likewise.
1579         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1580         Add long double suffix to constant to ensure proper
1581         promotion to long double.
1583 2016-08-03  Tom Tromey  <tom@tromey.com>
1585         [BZ #20311]
1586         * nptl_db/Makefile (headers): Add proc_service.h.
1587         * nptl_db/proc_service.h: Add include guard.  Use
1588         __BEGIN/__END_DECLS.
1589         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1590         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1591         arguments.
1594 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1596         [BZ #17730]
1597         Avoid using memalign for TCB allocations.
1598         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1599         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1600         Avoid alignment gap in the TLS_DTV_AT_TP case.
1601         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1602         determine the pointer to free.
1603         * nptl/tst-tls3-malloc.c: New test.
1604         * nptl/Makefile (tests): Add it.
1605         (tst-tls3-malloc): Link with libdl, libpthread.
1606         (LDFLAGS-tst-tls3-malloc): Set.
1607         (tst-tls3-malloc.out): Depend on DSO used in test.
1609 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1611         [BZ #17730]
1612         Avoid using memalign for TLS allocations.
1613         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1614         is_static member with to_free member.
1615         (union dtv): Use struct dtv_pointer.
1616         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1617         dtv_pointer instead of is_static.
1618         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1619         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1620         instead of val.
1621         (allocate_dtv_entry): New function.
1622         (allocate_and_init): Return struct dtv_pointer.  Call
1623         allocate_dtv_entry instead of __libc_memalign.
1624         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1625         instead of val.
1626         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1627         instead of is_static.  Adjust call to allocate_and_init.
1628         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1629         struct dtv_pointer instead of val.
1631 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1633         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1634         (MALLOC_ALIGN_MASK): Move ...
1635         * malloc/malloc-internal.h: ... to here.
1636         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1638 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1640         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1641         (UDP_ENCAP_GTP1U): Likewise.
1643         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1644         (PF_MAX): Update value.
1645         (AF_QIPCRTR): New macro.
1647 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1649         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1650         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1651         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1652         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1653         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1654         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1655         s_truncf-vis3, s_trunc-vis3.
1656         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1657         (CFLAGS-s_ceil-vis3.c): Likewise.
1658         (CFLAGS-s_floorf-vis3.c): Likewise.
1659         (CFLAGS-s_floor-vis3.c): Likewise.
1660         (CFLAGS-s_truncf-vis3.c): Likewise.
1661         (CFLAGS-s_trunc-vis3.c): Likewise.
1662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1670         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1671         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1672         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1673         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1675 2016-08-02  David S. Miller  <davem@davemloft.net>
1677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1678         (__nearbyint_vis3): Don't check for sNaN before float register is
1679         loaded with the incoming argument.
1680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1681         (__nearbyintf_vis3): Likewise.
1682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1683         Likewise.
1684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1685         Likewise.
1687         * string/test-strncmp.c (do_test_limit): Make sure the test data
1688         stream is aligned as required for the type "CHAR".
1689         (do_test): Likewise.
1691 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1693         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1694         by beq instructions jumping to the end of the function.
1695         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1696         clobber list. Use "i" constraint instead of "X".
1697         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1698         of "X".
1700 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1702         * bits/libc-header-start.h: New file.
1703         * Makefile (headers): Add bits/libc-header-start.h.
1704         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1705         (__GLIBC_USE): New macro.
1706         * libio/stdio.h: Define
1707         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1708         <bits/libc-header-start.h> instead of including <features.h>.
1709         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1710         (open_memstream): Likewise.
1711         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1712         (__asprintf): Likewise.
1713         (asprintf): Likewise.
1714         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1715         (getdelim): Likewise.
1716         (getline): Likewise.
1717         * string/string.h: Define
1718         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1719         <bits/libc-header-start.h> instead of including <features.h>.
1720         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1721         (strndup): Likewise.
1722         * wcsmbs/wchar.h: Define
1723         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1724         <bits/libc-header-start.h> instead of including <features.h>.
1725         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1726         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1728 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1730         Support linking against compatibility symbols, for use in tests.
1731         * include/libc-symbols.h (symbol_version_reference): New macro.
1732         (symbol_version): Use it.
1733         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1734         (compat_symbol): Use compat_symbol_reference.
1735         (compat_symbol_1, compat_symbol_2): Remove.
1736         (compat_symbol_reference, compat_symbol_reference_1)
1737         (compat_symbol_reference_2): New macro.  Use
1738         symbol_version_reference.
1740 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1742         [BZ #19469]
1743         * malloc/Makefile (CPPFLAGS): Compile tests with
1744         -DTEST_NO_MALLOPT.
1745         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1747 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1749         [BZ #20033]
1750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1751         finite version.
1752         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1753         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1754         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1755         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1756         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1757         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1758         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1759         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1760         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1761         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1762         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1763         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1764         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1765         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1766         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1767         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1768         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1769         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1770         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1771         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1772         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1773         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1774         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1775         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1776         in zero power.
1778 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1780         [BZ #20370]
1781         * malloc/arena.c (get_free_list): Update comment.  Assert that
1782         arenas on the free list have no attached threads.
1783         (remove_from_free_list): New function.
1784         (reused_arena): Call it.
1786 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1788         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1789         when it is a NaN.
1790         [_IEEE_FP_INEXACT] Remove.
1791         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1792         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1793         when it is a NaN.
1794         [_IEEE_FP_INEXACT] Remove.
1795         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1796         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1797         when it is a NaN.
1798         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1799         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1800         when its absolute value is greater than 0x1.0p52.
1801         [_IEEE_FP_INEXACT] Remove.
1802         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1803         when its absolute value is greater than 0x1.0p23.
1804         [_IEEE_FP_INEXACT] Remove.
1806 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1808         * version.h (RELEASE): Set to "development"
1809         (VERSION): Set to 2.24.90.
1810         * NEWS: Add 2.25 section.
1812         * version.h (RELEASE): Set to "stable"
1813         (VERSION): Set to 2.24.
1814         * include/features.h (__GLIBC_MINOR__): Set to 24.
1816         * NEWS: Add 2.24 fixed bugs.
1817         * po/libc.pot: Regenerate.
1819 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1822         [$(subdir) = math] (libm-sysdep_routines): Remove.
1823         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1824         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1825         s_truncf-vis3, s_trunc-vis3.
1826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1828         file.
1829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1861         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1862         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1863         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1864         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1865         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1866         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1867         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1868         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1869         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1870         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1871         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1873 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1875         [BZ #20384]
1876         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1877         test-double-libmvec-sincos-avx-main.o,
1878         test-double-libmvec-sincos-avx2-main.o,
1879         test-double-libmvec-sincos-main.o,
1880         test-float-libmvec-sincosf-avx-main.o,
1881         test-float-libmvec-sincosf-avx2-main.o and
1882         test-float-libmvec-sincosf-main.o.
1883         test-float-libmvec-sincosf-avx512-main.o.
1884         ($(objpfx)test-double-libmvec-sincos): Also link with
1885         $(objpfx)test-double-libmvec-sincos-main.o.
1886         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1887         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1888         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1889         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1890         ($(objpfx)test-float-libmvec-sincosf): Also link with
1891         $(objpfx)test-float-libmvec-sincosf-main.o.
1892         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1893         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1894         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1895         test-double-libmvec-sincos-avx512-main.o and
1896         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1897         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1898         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1899         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1900         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1901         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1902         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1903         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1904         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1905         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1906         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1907         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1908         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1909         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1910         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1911         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1912         -DREQUIRE_AVX2.
1913         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1914         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1915         -DREQUIRE_AVX512F.
1916         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1917         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1918         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1919         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1920         file.
1921         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1922         Likewise.
1923         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1924         Likewise.
1925         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1926         Likewise.
1927         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1928         Likewise.
1929         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1930         Likewise.
1931         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1932         Likewise.
1933         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1934         Likewise.
1936 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1938         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1940 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1942         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1943         and typo in a comment about AT_HWCAP entry.
1945 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1947         * sysdeps/aarch64/libm-test-ulps: Updated.
1949 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1951         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1952         of r13 as it is not restored in mvcle case.
1954 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1956         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1957         Rename "ret" to "__ret".
1958         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1959         inline_syscall5, inline_syscall6): Likewise.
1961 2016-07-19   Will Newton  <will.newton@gmail.com>
1963         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1964         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1965         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1966         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1967         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1969 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1971         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1972         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1973         -mfpmath=387 with $(rtld-CFLAGS).
1974         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1975         $(rtld-CFLAGS).
1977 2016-07-18   Ross Burton  <ross.burton@intel.com>
1978              Khem Raj  <raj.khem@gmail.com>
1980         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1981         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1982         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1983         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1984         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1985         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1986         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1987         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1988         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1989         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1990         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1991         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1992         R_METAG_TLS_DTPOFF): New.
1994 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1995             Matt Clay  <mclay@lycos.com>
1997         [BZ #20357]
1998         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1999         to call __mpsin/__mpcos and to negate values.
2000         * math/auto-libm-test-in: Add test.
2001         * math/auto-libm-test-out: Regenerate.
2003 2016-07-18  Zack Weinberg  <zackw@panix.com>
2005         * grp/Makefile: Don't install the internal header grp-merge.h.
2007 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2009         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2011 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2013         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2015 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2017         [BZ #15368]
2018         * sysdeps/unix/sysv/linux/nptl-signals.h
2019         (__nptl_clear_internal_signals): New function.
2020         (__libc_signal_block_all): Likewise.
2021         (__libc_signal_block_app): Likewise.
2022         (__libc_signal_restore_set): Likewise.
2023         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2024         implementation.
2025         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2026         the cached pid/tid value in pthread structure.
2028 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2030         [BZ #20347]
2031         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2033 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2035         [BZ #20348]
2036         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2037         preadv64, pwrite64 and pwritev64.
2039 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2041         [BZ #20350]
2042         * posix/tst-preadwrite.c: Renamed to ...
2043         * posix/tst-preadwrite-common.c: This.
2044         (PREAD): Removed.
2045         (PWRITE): Likewise.
2046         (STRINGIFY): Likewise.
2047         (STRINGIFY2): Likewise.
2048         (do_prepare): Make it static and remove function arguments.
2049         (do_test): Likewise.
2050         (PREPARE): Updated.
2051         (TEST_FUNCTION): New.
2052         (name): Make it static.
2053         (fd): Likewise.
2054         (do_prepare): Use create_temp_file.
2055         (do_test): Renamed to ...
2056         (do_test_with_offset): This.  Make it static and accept offset.
2057         Properly check return value of PWRITE and PREAD.  Return bytes
2058         read.  Don't close fd nor unlink name.
2059         * posix/tst-preadwrite.c: Rewrite.
2060         * posix/tst-preadwrite64.c: Likewise.
2062 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2064         [BZ #20309]
2065         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2066         -mtls-dialect=gnu2 works.
2067         * configure: Regenerated.
2068         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2069         (tests): Add tst-gnu2-tls1.
2070         (modules-names): Add tst-gnu2-tls1mod.
2071         ($(objpfx)tst-gnu2-tls1): New.
2072         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2073         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2074         * elf/tst-gnu2-tls1.c: New file.
2075         * elf/tst-gnu2-tls1mod.c: Likewise.
2076         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2077         bytes for push in the PLT entry to align the stack.
2079 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2081         [BZ #20349]
2082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2084 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2086         [BZ #18707]
2087         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2088         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2090 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2092         * sysdeps/unix/sysv/linux/sysdep.h
2093         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2094         guards.
2095         * misc/tst-preadvwritev-common.c: New file.
2096         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2097         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2098         a check for files larger than 2GB.
2100         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2101         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2102         * sysdeps/unix/sysv/linux/pread.c
2103         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2104         __OFF_T_MATCHES_OFF64_T.
2105         * sysdeps/unix/sysv/linux/pread64.c
2106         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2107         * sysdeps/unix/sysv/linux/preadv.c
2108         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2109         * sysdeps/unix/sysv/linux/preadv64.c
2110         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2111         * sysdeps/unix/sysv/linux/pwrite.c
2112         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2113         * sysdeps/unix/sysv/linux/pwrite64.c
2114         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2115         * sysdeps/unix/sysv/linux/pwritev.c
2116         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2117         * sysdeps/unix/sysv/linux/pwritev64.c
2118         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2120 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2122         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2123         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2125 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2127         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2129 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2131         [BZ #20240]
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2133         (CFLAGS-s_modf-ppc32.c): New variable.
2134         (CFLAGS-s_modff-ppc32.c): Likewise.
2135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2136         (CFLAGS-s_modf-ppc64.c): Likewise.
2137         (CFLAGS-s_modff-ppc64.c): Likewise.
2139 2016-07-07  Andreas Schwab  <schwab@suse.de>
2141         [BZ #20263]
2142         * nptl/tst-robust10.c: New test.
2143         * nptl/Makefile (tests): Add tst-robust10.
2145 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2147         [BZ #20263]
2148         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2150 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2152         * sysdeps/s390/linkmap.h (struct link_map_machine):
2153         Remove member gotplt and add member jmprel.
2154         * sysdeps/s390/s390-32/dl-machine.h
2155         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2156         instead of gotplt with &got[3].
2157         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2158         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2160 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2162         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2164 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2166         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2167         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2168         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2169         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2170         * libio/vtables.c (_IO_vtable_check)
2171         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2172         * libio/libioP.h (IO_set_accept_foreign_vtables)
2173         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2175 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2177         [BZ #20314]
2178         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2179         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2180         $(common-objpfx)cmath.
2181         ($(common-objpfx)cstdlib): New target.
2182         ($(common-objpfx)cmath): Likewise.
2184 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2186         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2188 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2190         [BZ #20327]
2191         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2192         are not part of the string.
2194 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2196         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2197         * nptl/tst-cancel4-common.h (fifoname): New variable.
2198         (fifofd): Likewise.
2199         (cl_fifo): New function.
2200         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2201         SIGINT.
2202         (tf_open): Add early cancel test.
2204 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2206         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2208 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2210         * sysdeps/generic/ldsodefs.h
2211         (dl_symbol_visibility_binds_local_p): New inline function.
2212         * elf/dl-addr.c (determine_info): Treat hidden and internal
2213         symbols as local.
2214         * elf/dl-lookup.c (do_lookup_x): Likewise.
2215         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2217 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2219         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2220         invalid exception for a sNaN input.
2221         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2222         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2223         (__nearbyint_vis3): Likewise
2224         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2225         (__nearbyintf_vis3): Likewise
2226         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2227         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2228         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2229         Likewise.
2230         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2231         Likewise.
2233 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2235         [BZ #20139]
2236         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2237         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2238         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2239         2.24 or above.
2240         (HAVE_AVX512_ASM_SUPPORT): Removed.
2241         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2242         * sysdeps/x86_64/configure: Regenerated.
2243         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2244         check unconditional.
2245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2246         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2247         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2248         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2249         Likewise.
2250         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2251         Likewise.
2252         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2253         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2254         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2255         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2256         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2257         Likewise.
2258         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2259         Likewise.
2260         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2261         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2262         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2263         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2264         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2265         Likewise.
2266         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2267         Likewise.
2268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2269         Likewise.
2270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2271         Likewise.
2272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2273         Likewise.
2274         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2275         Likewise.
2276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2277         Likewise.
2278         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2279         Likewise.
2280         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2281         Likewise.
2282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2283         Likewise.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2285         Likewise.
2287 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2289         [BZ #20024]
2290         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2292         of this implementation of vector function.
2293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2294         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2296         Likewise.
2297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2299         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2300         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2301         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2302         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2303         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2304         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2305         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2306         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2307         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2308         for testing vector sincos with fixed ABI.
2309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2311         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2312         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2313         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2315         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2316         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2317         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2318         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2319         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2320         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2321         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2322         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2323         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2324         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2326 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2328         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2330 2016-06-30  Anton Blanchard  <anton@samba.org>
2332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2333         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2334         s_sinf-ppc64.
2335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2338         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2340 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2344         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2345         e_expf-ppc64.
2346         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2347         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2349         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2351 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2353         [BZ #20277]
2354         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2355         when SHARED is defined.
2357 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2359         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2360         (index_arch_Prefer_ERMS): Likewise.
2361         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2362         __memcpy_erms for Prefer_ERMS.
2363         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2364         (__memmove_erms): Enabled for libc.a.
2365         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2366         __memmove_erms or Prefer_ERMS.
2367         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2368         __mempcpy_erms for Prefer_ERMS.
2369         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2370         __memset_erms for Prefer_ERMS.
2372 2016-06-30  Andreas Schwab  <schwab@suse.de>
2374         [BZ #20262]
2375         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2376         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2377         of memory.
2379 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2381         [BZ #18645]
2382         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2383         (test-extras): Add tst-cleanupx4aux.
2384         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2385         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2386         tst-cleanupx4aux.o.
2387         * nptl/tst-cleanupx4aux.c: New file.
2389 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2391         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2393 2016-06-29  Andreas Schwab  <schwab@suse.de>
2395         [BZ #20260]
2396         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2397         address before the beginning of the string as an integer to avoid
2398         array-bounds warning.
2400 2016-06-28  Richard Henderson  <rth@redhat.com>
2402         * elf/elf.h (EM_BPF): New.
2403         (EM_NUM): Update.
2404         (R_BPF_NONE, R_BPF_MAP_FD): New.
2406         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2407         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2408         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2409         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2410         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2411         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2412         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2413         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2414         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2415         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2416         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2417         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2418         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2419         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2420         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2421         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2422         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2423         (EM_NUM): Update.
2425 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2427         [BZ #18960]
2428         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2429         Set _nl_current_LC_CATEGORY_used to two instead of one.
2431 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2433         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2434         (do_test): ... this.
2435         (TEST_FUNCTION): New macro.
2436          Include test-skeleton.c.
2437         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2438         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2440 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2442         [BZ #15479]
2443         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2444         floating-point environment rather than just control word.
2445         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2446         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2447         floating-point environment, with "invalid" exceptions merged in,
2448         rather than just control word.
2449         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2450         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2451         "inexact" exceptions.
2453         [BZ #15479]
2454         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2455         floating-point environment rather than just control word.
2456         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2457         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2458         floating-point environment, with "invalid" exceptions merged in,
2459         rather than just control word.
2460         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2461         * math/libm-test.inc (floor_test_data): Do not allow spurious
2462         "inexact" exceptions.
2464         [BZ #15479]
2465         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2466         floating-point environment rather than just control word.
2467         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2468         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2469         floating-point environment, with "invalid" exceptions merged in,
2470         rather than just control word.
2471         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2472         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2473         "inexact" exceptions.
2475 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2477         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2478         __libc_vfork.
2479         (__vfork) [IS_IN (libc)]: Remove alias.
2480         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2481         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2482         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2484 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2486         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2487         of atomic_compare_and_exchange_bool_rel.
2488         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2489         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2490         catomic_compare_and_exchange_bool_rel): Remove.
2491         * sysdeps/aarch64/atomic-machine.h
2492         (atomic_compare_and_exchange_bool_rel): Likewise.
2493         * sysdeps/alpha/atomic-machine.h
2494         (atomic_compare_and_exchange_bool_rel): Likewise.
2495         * sysdeps/arm/atomic-machine.h
2496         (atomic_compare_and_exchange_bool_rel): Likewise.
2497         * sysdeps/mips/atomic-machine.h
2498         (atomic_compare_and_exchange_bool_rel): Likewise.
2499         * sysdeps/microblaze/atomic-machine.h
2500         ( __arch_compare_and_exchange_bool_8_rel,
2501         __arch_compare_and_exchange_bool_16_rel): Likewise.
2502         * sysdeps/powerpc/atomic-machine.h
2503         ( __arch_compare_and_exchange_bool_8_rel,
2504         __arch_compare_and_exchange_bool_16_rel): Likewise.
2505         * sysdeps/powerpc/powerpc32/atomic-machine.h
2506         ( __arch_compare_and_exchange_bool_32_rel,
2507         __arch_compare_and_exchange_bool_64_rel): Likewise.
2508         * sysdeps/powerpc/powerpc64/atomic-machine.h
2509         ( __arch_compare_and_exchange_bool_32_rel,
2510         __arch_compare_and_exchange_bool_64_rel): Likewise.
2511         * sysdeps/tile/atomic-machine.h
2512         (atomic_compare_and_exchange_bool_rel): Likewise.
2514 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #20296]
2517         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2518         when either argument is a NaN.
2519         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2520         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2522         * math/libm-test.inc (snan_value_ld): New macro.
2523         (isgreater_test_data): Add sNaN tests.
2524         (isgreaterequal_test_data): Likewise.
2525         (isless_test_data): Likewise.
2526         (islessequal_test_data): Likewise.
2527         (islessgreater_test_data): Likewise.
2528         (isunordered_test_data): Likewise.
2529         (nextafter_test_data): Likewise.
2530         (nexttoward_test_data): Likewise.
2531         (remainder_test_data): Likewise.
2532         (remquo_test_data): Likewise.
2533         (significand_test_data): Likewise.
2534         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2536 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2538         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2539         environment macros are defined.
2540         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2542 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2544         [BZ #20191]
2545         Implement vtable verification in libio.
2546         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2547         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2548         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2549         _IO_new_file_init_internal instead of _IO_file_init.
2550         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2551         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2552         * libio/Makefile (routines): Add vtables.
2553         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2554         (_IO_init): Remove, not for internal use.
2555         (_IO_init_internal): Declare, internal replacement for _IO_init.
2556         (_IO_file_init): Remove, not for internal use.
2557         (_IO_new_file_init): Remove, not for internal use.
2558         (_IO_new_file_init_internal): Declare, internal replacement for
2559         _IO_new_file_init.
2560         (_IO_old_file_init): Remove, not for internal use.
2561         (_IO_old_file_init_internal): Declare, internal replacement for
2562         _IO_old_file_init.
2563         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2564         internal use.
2565         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2566         Declare.
2567         (libio_vtable): New macro.
2568         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2569         functions.
2570         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2571         _IO_new_file_init.
2572         (_IO_new_file_init): New externally visible wrapper which disables
2573         vtable verification.
2574         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2575         Define as vtables.
2576         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2577         (_IO_init): New externally visible wrapper which disables
2578         vtable verification.
2579         * libio/iofdopen.c (_IO_new_fdopen): Call
2580         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2581         comment.
2582         * libio/iofopen.c (__fopen_internal): Call
2583         _IO_new_file_init_internal instead of _IO_file_init.
2584         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2585         Define as vtables.
2586         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2587         _IO_new_file_init_internal instead of _IO_file_init.
2588         * libio/iopopen.c (_IO_new_popen): Likewise.
2589         (_IO_proc_jumps): Define as vtable.
2590         * libio/iovdprintf.c (_IO_vdprintf): Call
2591         _IO_new_file_init_internal instead of _IO_file_init.
2592         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2593         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2594         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2595         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2596         _IO_old_file_init.
2597         (_IO_old_file_init): New externally visible wrapper which disables
2598         vtable verification.
2599         (_IO_old_file_jumps): Define as vtable.
2600         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2601         _IO_old_file_init_internal instead of _IO_old_file_init.
2602         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2603         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2604         (_IO_old_proc_jumps): Define as vtable.
2605         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2606         Define as vtables.
2607         * libio/vtables.c: New file.
2608         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2609         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2610         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2611         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2612         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2613         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2614         instead of _IO_init.
2616 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2618         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2620 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2622         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2623         potentially unused.
2625 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2627         * test-skeleton.c (write_message): New function.
2628         * malloc/tst-mallocfork2.c (write_message): Remove.
2629         * debug/tst-longjmp_chk2.c (write_indented): New function.
2630         (write_message): Remove.
2631         (stackoverflow_handler): Call write_indented.
2633 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2635         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2636         "inexact" exceptions after fnstenv.
2637         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2638         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2639         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2641 2015-06-22  Zack Weinberg  <zackw@panix.com>
2643         * sysdeps/generic/bits/hwcap.h: Moved to ...
2644         * bits/hwcap.h: Here.
2646 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2648         * sysdeps/aarch64/memcpy.S (memcpy):
2649         Further tuning for performance.
2651 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2653         [BZ #20284]
2654         * malloc/arena.c (reused_arena): Do not return NULL if we start
2655         out with a non-corrupted arena.
2657 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2659         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2660         * misc/tst-preadvwritev.c: New file.
2661         * misc/tst-preadvwritev64.c: Likewise.
2662         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2663         usage.
2664         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2665         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2666         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2667         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2669 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2671         [BZ #19654]
2672         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2673         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2674         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2675         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2676         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2677         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2678         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2679         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2680         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2681         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2682         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2683         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2684         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2685         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2686         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2687         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2688         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2689         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2690         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2691         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2692         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2693         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2694         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2695         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2696         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2697         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2699 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2701         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2702         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2704 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2706         * sysdeps/aarch64/memcpy.S (memcpy):
2707         Rewrite of optimized memcpy and memmove.
2708         * sysdeps/aarch64/memmove.S (memmove): Remove
2709         memmove code (merged into memcpy.S).
2711 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2713         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2714         * sysdeps/generic/dl-dtv.h: New file.
2715         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2716         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2717         (dtv_t): Remove.
2718         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2719         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2720         (dtv_t): Remove.
2721         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2722         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2723         (dtv_t): Remove.
2724         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2725         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2726         (dtv_t): Remove.
2727         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2728         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2729         (dtv_t): Remove.
2730         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2731         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2732         (dtv_t): Remove.
2733         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2734         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2735         (dtv_t): Remove.
2736         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2737         (dtv_t): Remove.
2738         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2739         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2740         (dtv_t): Remove.
2741         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2742         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2743         (dtv_t): Remove.
2744         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2745         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2746         (dtv_t): Remove.
2747         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2748         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2749         (dtv_t): Remove.
2750         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2751         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2752         (dtv_t): Remove.
2753         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2754         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2755         (dtv_t): Remove.
2756         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2757         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2758         (dtv_t): Remove.
2759         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2760         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2761         (dtv_t): Remove.
2763 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2765         Revert symbol poisoning of  __malloc_initialize_hook.
2766         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2767         poisoning.
2768         * malloc/Makefile: Remove un-poisoning.
2769         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2770         instead of old__malloc_initialize_hook.
2771         * malloc/malloc-hooks.h: Likewise.
2772         * malloc/malloc.c: Likewise.
2773         * malloc/mcheck-init.c: Likewise.
2775 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2777         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2779 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2781         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2782         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2783         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2784         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2786 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2788         * NEWS: Mention addition of nextup and nextdown.
2789         * manual/arith.texi: Document nextup and nextdown.
2790         * manual/libm-err-tab.pl: Add nextup and nextdown.
2791         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2792         * math/Versions (libm): Add GLIBC_2.24.
2793         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2794         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2795         Add new test.
2796         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2797         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2798         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2799         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2800         (nextup_test_data): Likewise.
2801         (nextdown_test_data): Likewise.
2802         * math/s_nextdown.c: New file.
2803         * math/s_nextdownf.c: Likewise.
2804         * math/s_nextdownl.c: Likewise.
2805         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2806         F(nextup): New function.
2807         F(nextdown): Likewise.
2808         * math/tgmath.h: Add nextup and nextdown.
2809         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2810         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2815         Add nextup and nextdown.
2816         (CFLAGS-nldbl-nextup.c): New variable.
2817         (CFLAGS-nldbl-nextdown.c): Likewise.
2818         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2819         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2820         * sysdeps/nacl/libm.abilist: Update.
2821         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2822         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2823         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2824         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2825         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2826         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2827         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2828         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2829         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2830         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2831         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2835         Likewise.
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2842         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2845         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2846         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2847         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2848         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2850 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2852         * manual/pattern.texi: Fix typos & grammar errors.
2854 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2856         * manual/search.texi: Fix typos & grammar errors.
2858 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2860         * manual/message.texi: Fix typos & grammar errors.
2862 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2864         * manual/contrib.texi: Fix spelling typos.
2865         * manual/crypt.texi: Likewise.
2866         * manual/filesys.texi: Likewise.
2867         * manual/locale.texi: Likewise.
2868         * manual/message.texi: Likewise.
2869         * manual/nss.texi: Likewise.
2870         * manual/string.texi: Likewise.
2872 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2874         * manual/locale.texi: Fix typos & grammar errors.
2876 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2878         * manual/charset.texi: Fix typos & grammar errors.
2880 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2882         * manual/string.texi: Fix typos.
2884 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2886         * manual/ctype.texi: Fix typos.
2888 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2890         * manual/memory.texi: Fix various typos & grammar errors.
2892 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #20255]
2895         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2896         * math/libm-test.inc (fdim_test_data): Add another test.
2898         [BZ #6796]
2899         [BZ #20255]
2900         [BZ #20256]
2901         * math/s_fdim.c: Include <math_private.h>.
2902         (__fdim): Use math_narrow_eval on result.
2903         * math/s_fdimf.c: Include <math_private.h>.
2904         (__fdimf): Use math_narrow_eval on result.
2905         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2906         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2907         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2908         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2909         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2910         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2911         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2912         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2913         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2914         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2915         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2916         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2917         overflow.  Add sNaN tests.
2919         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2920         fpclassify.
2921         * math/s_fdimf.c (__fdimf): Likewise.
2922         * math/s_fdiml.c (__fdiml): Likewise.
2924 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2926         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2927         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2929         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2930         ifunc'ed strcasecmp/strncasecmp.
2931         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2932         [EALIGN]: Removed.
2933         [END]: Likewise.
2934         [__strcasecmp]: Define instead of the above to control symbol name.
2935         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2936         for __strcasecmp_power8.
2937         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2938         for __strncasecmp_power8.
2939         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2940         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2941         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2943         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2944         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2946 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2948         [BZ #20252]
2949         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2950         arguments when second argument is a NaN.
2951         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2952         qNaN tests.
2954         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2955         (conj_test_data): Likewise.
2956         (copysign_test_data): Likewise.
2957         (creal_test_data): Likewise.
2958         (fma_test_data): Likewise.
2959         (fmod_test_data): Likewise.
2961         [BZ #20250]
2962         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2963         itself.
2964         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2965         zero input to itself.
2966         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2967         Likewise.
2968         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2969         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2971         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2972         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2974 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2976         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2977         * nptl/tst-cancel4-common.c: New file.
2978         * nptl/tst-cancel4-common.h: Likewise.
2979         * nptl/tst-cancel4.c: Move common definitions to
2980         tst-cancel4-common.{c,h} file.
2981         * nptl/tst-cancel4_1.c: New test.
2982         * nptl/tst-cancel4_2.c: New test.
2984 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2986         [BZ #20248]
2987         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2988         (write_message): New function.
2989         (stackoverflow_handler): Call it instead of printf, to avoid
2990         excessive stack usage by printf.
2991         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2993 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2995         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2996         (prio_inherit_missing): Remove define.
2997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2998         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3002         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3004         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3005         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3006         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3008 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3010         [BZ #19670]
3011         [BZ #19672]
3013         * io/test-lfs.c (do_prepare): Use xmalloc.
3014         * io/tst-fcntl.c (do_prepare): Likewise.
3015         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3016         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3017         * login/tst-utmp.c (do_prepare): Likewise.
3018         * posix/tst-exec.c (do_prepare): Likewise.
3019         * posix/tst-pathconf.c (prepare): Likewise.
3020         * posix/tst-spawn.c (do_prepare): Likewise.
3021         * posix/tst-truncate.c (do_prepare): Likewise.
3022         * rt/tst-aio.c (do_prepare): Likewise.
3023         * rt/tst-aio64.c (do_prepare): Likewise.
3025 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3027         [BZ #20237]
3028         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3029         (get*ent): Set entidx to NULL during initialization.  If entidx is
3030         NULL, start iteration from the beginning.
3032 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3034         * malloc/malloc.c (musable): Return correct size for dumped fake
3035         mmapped chunk.
3037 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3039         [BZ #20222]
3040         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3041         (_IO_cookie_write): Likewise.
3042         (_IO_cookie_seek): Likewise.
3043         (_IO_cookie_close): Likewise.
3044         (_IO_old_cookie_seek): Likewise.
3045         (set_callbacks): New function.
3046         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3048 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3050         * locale/programs/localedef.c (oldstyle_tables): Remove.
3051         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3053 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3055         [BZ #20240]
3056         * math/Makefile (CFLAGS-s_modf.c): New variable.
3057         (CFLAGS-s_modff.c): Likewise.
3058         (CFLAGS-s_modfl.c): Likewise.
3059         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3061 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3063         [BZ #20215]
3064         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3065         [!__GNUC_PREREQ (3,2)]: Likewise.
3067 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3069         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3070         (msghdr.msg_controllen): Likewise.
3071         (cmsghdr.cmsg_len): Likewise.
3072         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3073         ptw-oldsendmsg.
3074         (CFLAGS-oldrecvmsg.c): Remove rule.
3075         (CFLAGS-oldsendmsg.c): Likewise.
3076         (CFLAGS-recvmsg.c): Add rule.
3077         (CFLAGS-sendmsg.c): Likewise.
3078         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3079         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3080         (CFLAGS-recvmsg.c): Remove rule.
3081         (CFLAGS-sendmsg.c): Likewise.
3082         (CFLAGS-oldrecvmsg.c): Likewise.
3083         (CFLAGS-oldsendmsg.c): Likewise.
3084         (CFLAGS-recvmmsg.c): Likewise.
3085         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3086         to kernel defined interfaces.
3087         (msghdr.msg_controllen): Likewise.
3088         (cmsghdr.cmsg_len): Likewise.
3089         (msghdr.__glibc_reserved1): Remove member.
3090         (msghdr.__glibc_reserved2): Likewise.
3091         (cmsghdr.__glibc_reserved1): Likewise.
3092         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3093         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3094         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3095         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3096         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3097         version.
3098         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3099         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3100         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3101         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3102         Remove recvmsg and sendmsg.
3103         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3108         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3109         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3114         [libc] (GLIBC_2.24): Likewise.
3115         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3120         [libc] (GLIBC_2.24): Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3122         Likewise.
3123         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3126         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3127         Likewise.
3128         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3129         Likewise.
3130         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3131         Likewise.
3132         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3133         Likewise.
3134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3135         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3136         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3137         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3138         version for {recv,send,recm,sendm}msg.
3139         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3140         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3141         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3142         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3143         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3144         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3145         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3146         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3147         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3148         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3149         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3150         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3152         Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3154         Likewise.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3167         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3169 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3171         [BZ #19564]
3172         Remove __malloc_initialize_hook from the API.
3173         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3174         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3175         #pragma GCC poison.
3176         * malloc/malloc-hooks.h: New file.
3177         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3178         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3179         (old__malloc_initialize_hook): Rename from
3180         __malloc_initialize_hook to evade poisoning.  Turn into compat
3181         symbol.
3182         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3183         __malloc_initialize_hook.
3184         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3185         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3186         * manual/memory.texi (Hooks for Malloc): Remove
3187         __malloc_initialize_hook.  Adjust hook example.
3189 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #20235]
3192         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3193         itself.
3194         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3195         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3197         [BZ #20234]
3198         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3199         infinity or NaN input to itself.
3201         [BZ #20233]
3202         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3203         to itself.
3205         [BZ #20232]
3206         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3207         itself.
3209 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3211         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3212         __libc_start_main via GOT.
3214 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3216         * sysdeps/x86_64/memcopy.h: New file.
3217         * sysdeps/x86_64/wordcopy.c: Likewise.
3219 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3221         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3222         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3223         <cstdlib>.
3224         (optimization_barrier): New.
3225         (do_test): Use it.  Call quick_exit in the global namespace.
3226         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3227         instead of <cstdlib>, <thread>.
3228         (optimization_barrier): New.
3229         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3230         Call quick_exit in the global namespace.
3231         (do_test): Call optimization_barrier.  Use pthread_create,
3232         pthread_join instead of std::thread.
3234 2016-06-09  Andreas Schwab  <schwab@suse.de>
3236         [BZ #19755]
3237         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3238         new entries in auto-propagate mode.
3239         * nscd/grpcache.c (cache_addgr): Likewise.
3241 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3243         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3244         New functions.
3245         (add_temp_file): Use them.
3247 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3249         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3251 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3253         [BZ #20229]
3254         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3255         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3256         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3258         [BZ #20228]
3259         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3260         itself.
3261         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3262         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3264         [BZ #20227]
3265         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3266         itself.
3267         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3268         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3269         * math/libm-test.inc (log_test_data): Add sNaN tests.
3271         [BZ #20226]
3272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3273         itself.
3274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3275         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3276         (exp10_test_data): Likewise.
3277         (expm1_test_data): Likewise.
3279         [BZ #20225]
3280         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3281         itself.
3282         * math/s_ldexpf.c (__ldexpf): Likewise.
3283         * math/s_ldexpl.c (__ldexpl): Likewise.
3284         * math/w_scalbln.c (__w_scalbln): Likewise.
3285         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3286         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3287         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3288         (scalbln_test_data): Likewise.
3290         [BZ #20224]
3291         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3292         argument to itself.
3293         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3295 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3297         [BZ #19776]
3298         * sysdeps/x86_64/memcpy.S: Make it dummy.
3299         * sysdeps/x86_64/mempcpy.S: Likewise.
3300         * sysdeps/x86_64/memmove.S: New file.
3301         * sysdeps/x86_64/memmove_chk.S: Likewise.
3302         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3303         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3304         * sysdeps/x86_64/memmove.c: Removed.
3305         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3306         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3307         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3308         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3309         Likewise.
3310         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3311         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3313         memcpy-sse2-unaligned, memmove-avx-unaligned,
3314         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3316         (__libc_ifunc_impl_list): Replace
3317         __memmove_chk_avx512_unaligned_2 with
3318         __memmove_chk_avx512_unaligned.  Remove
3319         __memmove_chk_avx_unaligned_2.  Replace
3320         __memmove_chk_sse2_unaligned_2 with
3321         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3322         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3323         with __memmove_avx512_unaligned.  Replace
3324         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3325         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3326         with __memcpy_chk_avx512_unaligned.  Remove
3327         __memcpy_chk_avx_unaligned_2.  Replace
3328         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3329         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3330         Replace __memcpy_avx512_unaligned_2 with
3331         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3332         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3333         with __mempcpy_chk_avx512_unaligned.  Remove
3334         __mempcpy_chk_avx_unaligned_2.  Replace
3335         __mempcpy_chk_sse2_unaligned_2 with
3336         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3337         Replace __mempcpy_avx512_unaligned_2 with
3338         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3339         Replace __mempcpy_sse2_unaligned_2 with
3340         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3341         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3342         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3343         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3344         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3345         (ENTRY): Removed.
3346         (END): Likewise.
3347         (ENTRY_CHK): Likewise.
3348         (libc_hidden_builtin_def): Likewise.
3349         Don't include ../memcpy.S.
3350         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3351         __memcpy_chk_avx512_unaligned_erms and
3352         __memcpy_chk_avx512_unaligned.  Use
3353         __memcpy_chk_avx_unaligned_erms and
3354         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3355         Default to __memcpy_chk_sse2_unaligned.
3356         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3357         Change function suffix from unaligned_2 to unaligned.
3358         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3359         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3360         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3361         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3362         (ENTRY): Removed.
3363         (END): Likewise.
3364         (ENTRY_CHK): Likewise.
3365         (libc_hidden_builtin_def): Likewise.
3366         Don't include ../mempcpy.S.
3367         (mempcpy): New.  Add a weak alias.
3368         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3369         __mempcpy_chk_avx512_unaligned_erms and
3370         __mempcpy_chk_avx512_unaligned.  Use
3371         __mempcpy_chk_avx_unaligned_erms and
3372         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3373         Default to __mempcpy_chk_sse2_unaligned.
3375 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3377         [BZ #19881]
3378         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3379         into ...
3380         * sysdeps/x86_64/memset.S: This.
3381         (__bzero): Removed.
3382         (__memset_tail): Likewise.
3383         (__memset_chk): Likewise.
3384         (memset): Likewise.
3385         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3386         defined.
3387         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3388         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3389         (__memset_zero_constant_len_parameter): Check SHARED instead of
3390         PIC.
3391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3392         memset-avx2 and memset-sse2-unaligned-erms.
3393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3394         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3395         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3396         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3397         (__bzero): Enabled.
3398         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3399         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3400         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3401         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3402         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3403         (memset): Removed.
3404         (__memset_chk): Likewise.
3405         (MEMSET_SYMBOL): New.
3406         (libc_hidden_builtin_def): Replace __memset_sse2 with
3407         __memset_sse2_unaligned.
3408         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3409         __memset_chk_sse2 and __memset_chk_avx2 with
3410         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3411         Use __memset_chk_sse2_unaligned_erms or
3412         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3413         __memset_chk_avx512_unaligned_erms and
3414         __memset_chk_avx512_unaligned.
3416 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3418         * math/gen-auto-libm-test.c (fp_format_desc): remove
3419         suffix member.
3420         (output_generic_value): Remove usage of suffix member,
3421         and the resulting unuse of the fp_format argument.
3422         (output_for_one_input_case): Remove unused fp_format
3423         parameter.
3425         * math/auto-libm-test-out: Regenerate.
3427         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3428         usage with TEST_COND_ibm128.
3429         (TEST_COND_flt_32): Remove.
3430         (TEST_COND_dbl_64): Remove.
3431         (TEST_COND_ldbl_96_intel): Remove.
3432         (TEST_COND_ldbl_96_m68k): Remove.
3433         (TEST_COND_ldbl_128): Remove.
3435 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3437         * auto-libm-test-in:
3438         Replace flt-32 usage with binary32.
3439         Replace dbl-64 usage with binary64.
3440         Replace ldbl-intel-96 usage with intel96.
3441         Replace ldbl-m68k-96 usage with m68k96.
3442         Replace ldbl-128ibm usage with ibm128.
3443         Replace ldbl-128 usage with binary128.
3445         * auto-libm-test-out: Regenerate.
3447 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3449         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3450         (parse_ulps): Dynamically generate type name matching
3451         string from all_floats.
3452         (get_ulps): Generate the ulps as an array instead.
3453         (output_ulps): Dynamically compose the type based
3454         on the number of supported formats, and print
3455         the indices as type specific helper macros.
3457         * math/libm-test.inc: Remove comment about CHOOSE.
3458         (ulp_data): Generate the type in libm-test-ulps.h.
3459         (ULP_IDX): New macro.
3460         (find_ulps): Update usage of max_ulp.
3462         * math/test-double-vlen2.h (CHOOSE): Remove.
3463         * math/test-double-vlen4.h (CHOOSE): Likewise.
3464         * math/test-double-vlen8.h (CHOOSE): Likewise.
3465         * math/test-float.c (CHOOSE): Likewise.
3466         * math/test-float-finite.c (CHOOSE): Likewise.
3467         * math/test-double.c (CHOOSE): Likewise.
3468         * math/test-double-finite.c (CHOOSE): Likewise.
3469         * math/test-idouble.c (CHOOSE): Likewise.
3470         * math/test-ifloat.c (CHOOSE): Likewise.
3471         * math/test-ildoubl.c (CHOOSE): Likewise.
3472         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3473         * math/test-ldouble.c (CHOOSE): Likewise.
3475         * math/test-float.h (TEST_FLOAT): Remove.
3476         * math/test-double.h (TEST_DOUBLE): Likewise.
3477         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3479 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3481         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3482         (parse_args): Strip C suffix from floating point literals
3483         typed with 'f' and wrap them with LIT().
3485         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3486         (test_ff_f_data_nexttoward): Rename to
3487         (test_fj_f_data): New struct.
3488         (nexttoward_test_data): Relabel tests as
3489         TEST_fj_f instead of TEST_ff_f.
3491 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3493         Emacs bug 23726.
3494         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3495         (__libc_realloc): Correct size computation for dumped fake mmapped
3496         chunks.
3498 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3500         [BZ #20219]
3501         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3502         to itself.
3503         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3505         [BZ #20218]
3506         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3507         to itself.
3508         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3510 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3512         [BZ #20195]
3513         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3514         check to ...
3515         (init_cpu_features): Here.
3517 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3519         [BZ #20214]
3520         * sysdeps/unix/sysv/linux/bits/in.h
3521         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3522          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3523         Define to 1.
3524         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3525          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3526         Define to 0.
3527         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3528         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3530 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3532         [BZ #20198]
3533         * stdlib/Makefile (tests): Add tst-quick_exit, and
3534         tst-thread-quick_exit.
3535         [ifeq ($(have-cxx-thread_local),yes)]
3536         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3537         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3538         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3539         (LDLIBS-tst-thread-quick_exit): Likewise.
3540         [ifneq ($(have-cxx-thread_local),yes)]
3541         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3542         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3543         If run_dtors is true call __call_tls_dtors.
3544         (exit): Call __run_exit_handlers with run_dtors set to true.
3545         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3546         definition.
3547         * stdlib/quick_exit.c (quick_exit): Remove function.
3548         (__new_quick_exit): New function.
3549         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3550         function.
3551         * stdlib/tst-quick_exit.cc: New file.
3552         * stdlib/tst-thread-quick_exit.cc: New file.
3553         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3554         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3555         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3556         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3557         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3558         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3559         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3560         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3561         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3562         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3563         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3564         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3565         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3566         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3567         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3568         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3573         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3574         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3575         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3576         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3577         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3580         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3581         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3582         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3584 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3586         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3587         a typo in comments.
3589 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3591         [BZ #20213]
3592         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3593         argument to itself.
3594         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3596 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3598         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3599         required flags.
3600         (CFLAGS-pwritev64.c): Likewise.
3601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3603         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3604         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3605         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3606         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3607         syscall from auto-generation.
3608         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3609         [WORDSIZE == 64] (pwritev64): Remove macro.
3610         [!PWRITEV] (PWRITEV): Likewise.
3611         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3612         [!PWRITEV] (PWRITE): Likewise.
3613         [!PWRITEV] (OFF_T): Likewise.
3614         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3615         (LO_HI_LONG): Remove macro.
3616         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3617         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3618         (PWRITEV): Remove macro.
3619         (PWRITEV_REPLACEMENTE): Likewise.
3620         (PWRITE): Likewise.
3621         (OFF_T): Likewise.
3622         (pwritev64): New function.
3623         * nptl/tst-cancel4.c (tf_writev): Add test.
3625         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3626         required flags.
3627         (CFLAGS-preadv64.c): Likewise.
3628         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3629         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3630         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3631         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3632         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3633         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3634         syscall from auto-generation.
3635         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3636         [WORDSIZE == 64] (preadv64): Remove macro.
3637         [!PREADV] (PREADV): Likewise.
3638         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3639         [!PREADV] (PREAD): Likewise.
3640         [!PREADV] (OFF_T): Likewise.
3641         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3642         (LO_HI_LONG): Remove macro.
3643         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3644         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3645         (PREADV): Remove macro.
3646         (PREADV_REPLACEMENTE): Likewise.
3647         (PREAD): Likewise.
3648         (OFF_T): Likewise.
3649         (preadv64): New function.
3650         * nptl/tst-cancel4.c (tf_preadv): Add test.
3652 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3654         [BZ #20212]
3655         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3656         argument to itself.
3657         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3659 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3661         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3662         New symbol defined as libc_hidden_def.
3663         (strcasestr): Became a weak alias to __strcasestr.
3664         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3665         according to multi-arch support.  Move __stpncpy hidden
3666         definition from here to...
3667         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3668         symbol stpncpy.
3669         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3670         libc_hidden_builtin_def.
3671         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3672         memset symbol to use when multi-arch support is available.
3674 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3676         * dlfcn/tst-rec-dlopen.c: Include string.h.
3678 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3680         * manual/install.texi: Remove mention of --without-tls
3681         * INSTALL: Regenerate.
3683 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3685         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3686         Remove.
3687         (call_function, interposed_malloc_called): New variables.
3688         (malloc): New function.
3689         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3690         and clear call_function as needed.
3692 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3694         * include/wchar.h (__wmemset): Use __typeof.
3696 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3698         * include/wchar.h (__wmemset): Declare function without typeof.
3700 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3702         [BZ #20205]
3703         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3704         exponent when incrementing negative subnormal with low mantissa
3705         word zero.
3706         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3707         Add another test.
3709 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3711         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3712         __wmemset instead of wmemset.
3714 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3716         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3717         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3718         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3719         __USE_KERNEL_IPV6_DEFS to 0.
3720         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3721         Update comment.
3723 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3725         [BZ #19861]
3726         Do not use IFUNC resolver with potentially unrelocated symbol.
3727         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3728         (DEFINE_FORK): Remove macro and inline definition.
3729         (fork_alias): Renamed from fork_ifunc.
3730         (__fork_alias): Renamed from __fork_ifunc.
3732 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3734         [BZ 19653]
3735         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3736         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3738 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3740         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3741         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3742         i386-linux-gnu).
3743         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3744         Set to no.
3745         * sysdeps/mach/hurd/configure: Refresh.
3747 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3749         [BZ #20178]
3750         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3751         on failure instead of exit.
3753 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3755         [BZ #3629]
3756         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3757         of POSIX.1-2008.
3759 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3761         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3762           Use PLT entry for calling _hurd_self_sigstate.
3764 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3766         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3767         available logical processors with SMT level type sharing L2
3768         cache for Intel processors.
3770 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #20160]
3773         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3774         argument to itself before returning the result.
3775         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3776         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3777         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3778         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3779         Likewise.
3780         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3781         Likewise.
3782         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3783         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3784         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3785         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3786         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3787         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3789         [BZ #20160]
3790         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3791         argument to itself before returning the result.
3792         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3793         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3794         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3796         Likewise.
3797         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3798         Likewise.
3799         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3800         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3801         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3802         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3803         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3804         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3806 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3808         * libm-test.inc: Replace usage of M_El with
3809         (lit_e): New macro.
3811 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3813         * libm-test.inc: Replace usage of M_PI_4l with
3814         (lit_pi_4_d): New macro.
3816 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3818         * libm-test.inc: Replace usage of M_PIl with
3819         (lit_pi): New macro.
3821 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3823         * libm-test.inc: Replace usage of M_PI2l with
3824         (lit_pi_2_d): New macro.
3826         * math/test-double.h (LITM): New macro.
3827         * math/test-float.h (LITM): Likewise.
3828         * math/test-ldouble.h (LITM): Likewise.
3830 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3832         * libm-test.inc (M_PI_34l): Rename to
3833         (lit_pi_3_m_4_d): New Macro.
3834         (M_PI_34_LOG10El): Rename to
3835         (lit_pi_3_m_4_ln10_m_d): New Macro.
3836         (M_PI2_LOG10El): Rename to
3837         (lit_pi_2_ln10_m_d):  New Macro.
3838         (M_PI4_LOG10El): Rename to
3839         (lit_pi_4_ln10_m_d):  New Macro.
3840         (M_PI_LOG10El): Rename to
3841         (lit_pi_ln10_d):  New Macro.
3843 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3845         [BZ #20157]
3846         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3847         determine whether to negate low half if [_ARCH_PPCGR], and integer
3848         comparison otherwise.
3849         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3850         determine whether to negate low half.
3852         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3853         (NO_TEST_INLINE_DOUBLE): Likewise.
3854         (TEST_COND_x86_64): Likewise.
3855         (TEST_COND_x86): Likewise.
3856         (M_PI_6l): Likewise.
3858 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3860         * math/libm-test.inc:
3861         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3862         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3863         (TEST_LDOUBLE): Update usage to evaluate as true if
3864         the guarded tests match the property being tested.
3865         (LDBL_MAX_EXP): Change to MAX_EXP.
3866         (LDBL_MIN_EXP): Change to MIN_EXP.
3867         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3868         nexttoward tests.
3870 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3872         * math/libm-test.inc:
3873         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3874         (TYPE_MIN): Likewise.
3875         (TYPE_TRUE_MIN): Likewise.
3876         (TYPE_MAX): Likewise.
3877         (MIN_EXP): Likewise.
3878         (MAX_EXP): Likewise.
3879         (MANT_DIG): Likewise.
3881         (FSTR_MAX): New macro.
3882         (__CONCATX): Likewise.
3883         (QTYPE_STR): Likewise.
3884         (TEST_COND_binary32): Likewise.
3885         (TEST_COND_binary64): Likewise.
3886         (TEST_COND_binary128): Likewise.
3887         (TEST_COND_ibm128): Likewise.
3888         (TEST_COND_intel96): Likewise.
3889         (TEST_COND_m68k96): Likewise.
3891         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3892         (TEST_COND_dbl_64): Likewise.
3893         (TEST_COND_ldbl_96_intel): Likewise.
3894         (TEST_COND_ldbl_96_m68k): Likewise.
3895         (TEST_COND_ldbl_128): Likewise.
3896         (TEST_COND_ldbl_128ibm): Likewise.
3898         (plus_zero): Redefine using LIT macro.
3899         (minus_zero): Likewise.
3900         (plus_infty): Redefine as (INF).
3901         (minux_infty): Redefine as (-INF).
3902         (max_value): Redefine as TYPE_MAX.
3903         (min_value): Redefine as TYPE_MIN.
3904         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3906         (print_float): Refactor to use snprintf to convert FLOAT values
3907         to string. This brings it closer to dropin replacement of strtof
3908         for the TS 18661 defined types.
3909         (update_stats): Likewise.
3910         (print_complex_function_ulps): Likewise.
3911         (print_max_error): Likewise.
3912         (print_complex_max_error): Likewise.
3913         (check_float_internal): Likewise.
3915         * math/test-float.h (PREFIX): New macro.
3916         (LIT): Likewise.
3917         (TYPE_STR): Likewise.
3918         (FTOSTR): Likewise.
3920         * math/test-double.h (PREFIX): New macro.
3921         (LIT): Likewise.
3922         (TYPE_STR): Likewise.
3923         (FTOSTR): Likewise.
3925         * math/test-ldouble.h (PREFIX): New macro.
3926         (LIT): Likewise.
3927         (TYPE_STR): Likewise.
3928         (FTOSTR): Likewise.
3930 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3932         [BZ #20156]
3933         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3934         to itself when zero or not finite.
3935         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3936         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3937         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3938         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3940 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3942         [BZ #20153]
3943         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3944         x * x + x for infinities and NaNs.
3946         [BZ #20151]
3947         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3948         argument to itself before returning result.
3949         (__ieee754_y0l): Likewise.
3950         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3951         (__ieee754_y1l).
3953         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3954         (atan_test_data): Likewise.
3955         (ceil_test_data): Likewise.
3956         (cos_test_data): Likewise.
3957         (cosh_test_data): Likewise.
3958         (erf_test_data): Likewise.
3959         (exp2_test_data): Likewise.
3960         (fabs_test_data): Likewise.
3961         (floor_test_data): Likewise.
3962         (ilogb_test_data): Likewise.
3963         (j0_test_data): Likewise.
3964         (j1_test_data): Likewise.
3965         (jn_test_data): Likewise.
3966         (lgamma_test_data): Likewise.
3967         (lrint_test_data): Likewise.
3968         (llrint_test_data): Likewise.
3969         (logb_test_data): Likewise.
3970         (lround_test_data): Likewise.
3971         (llround_test_data): Likewise.
3972         (nearbyint_test_data): Likewise.
3973         (rint_test_data): Likewise.
3974         (round_test_data): Likewise.
3975         (sin_test_data): Likewise.
3976         (sincos_test_data): Likewise.
3977         (sinh_test_data): Likewise.
3978         (sqrt_test_data): Likewise.
3979         (tan_test_data): Likewise.
3980         (tanh_test_data): Likewise.
3981         (tgamma_test_data): Likewise.
3982         (trunc_test_data): Likewise.
3983         (y0_test_data): Likewise.
3984         (y1_test_data): Likewise.
3985         (yn_test_data): Likewise.
3987         * math/libm-test.inc: Update comment about NaN testing.
3988         (TEST_SNAN): New macro.
3989         (snan_value): Likewise.
3990         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3991         (fpclassify_test_data): Add sNaN tests.
3992         (isfinite_test_data): Likewise.
3993         (isinf_test_data): Likewise.
3994         (isnan_test_data): Likewise.
3995         (isnormal_test_data): Likewise.
3996         (issignaling_test_data): Likewise.
3997         (signbit_test_data): Likewise.
3998         * math/gen-libm-test.pl (%beautify): Add snan_value.
3999         (show_exceptions): Add argument $test_snan.
4000         (parse_args): Handle snan_value as non-finite.  Update call to
4001         show_exceptions.
4002         * math/Makefile (libm-test-no-inline-cflags): Add
4003         -fsignaling-nans.
4005 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4007         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4008         (CFLAGS-oldsendmsg.c): Add rule.
4009         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4010         Correct recvmsg symbol name.
4011         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4012         Likewise.
4014 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4016         * sysdeps/unix/sysv/linux/Makefile
4017         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4018         oldsendmmsg.
4019         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4020         sendmmsg.
4021         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4024         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4027         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4029         Likewise.
4030         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4032         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4033         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4034         iovlen and controllen fields to adjust to POSIX specification.
4035         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4037         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4038         and change to correct expected type.
4039         (msghdr.msg_controllen): Likewise.
4040         (cmsghdr.cmsg_len): Likewise.
4041         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4042         expected POSIX assumption about the size.
4043         (msghdr.msg_controllen): Likewise.
4044         (msghdr.__glibc_reserved1): Likewise.
4045         (msghdr.__glibc_reserved2): Likewise.
4046         (cmsghdr.cmsg_len): Likewise.
4047         (cmsghdr.__glibc_reserved1): Likewise.
4048         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4049         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4050         (CFLAGS-sendmsg.c): Remove rule.
4051         (CFLAGS-recvmsg.c): Likewise.
4052         (CFLAGS-oldsendmsg.c): Add rule.
4053         (CFLAGS-oldrecvmsg.c): Likewise.
4054         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4055         recvmsg and sendmsg.
4056         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4057         Likewise.
4058         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4059         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4060         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4061         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4062         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4063         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4064         Likewise.
4065         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4070         Likewise.
4071         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4072         Likewise.
4073         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4074         Likewise.
4075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4076         (GLIBC_2.24): Likewise.
4077         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4082         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4083         Likewise.
4084         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4085         Likewise.
4086         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4087         Likewise.
4088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4089         (GLIBC_2.24): Likewise.
4090         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4091         Likewise.
4092         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4093         Likewise.
4094         * sysdeps/unix/sysv/linux/Makefile
4095         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4096         (CFLAGS-sendmsg.c): Add rule.
4097         (CFLAGS-recvmsg.c): Likewise.
4098         (CFLAGS-oldsendmsg.c): Likewise.
4099         (CFLAGS-oldrecvmsg.c): Likewise.
4100         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4101         initialization.
4102         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4103         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4104         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4105         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4106         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4107         iovlen and controllen fields to adjust to POSIX specification.
4108         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4109         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4110         added recvmsg and sendmsg.
4111         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4112         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4118         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4119         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4120         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4124         Likewise.
4125         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4127         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4128         Likewise.
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4132         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4133         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4139         Likewise.
4140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4143         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4144         from auto-generation.
4145         (sendmsg): Likewise.
4146         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4147         (sendmsg): Likewise.
4148         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4149         (sendmsg): Likewise.
4150         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4151         (sendmsg): Likewise.
4152         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4153         (sendmsg): Likewise.
4154         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4155         (sendmsg): Likewise.
4156         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4157         Likewise.
4158         (sendmsg): Likewise.
4159         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4160         (sendmsg): Likewise.
4161         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4163         Remove.
4164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4165         Likewise.
4166         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4167         Undefine.
4168         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4169         Likewise.
4170         * sysdeps/unix/sysv/linux/kernel-features.h
4171         (__ASSUME_SENDMSG_SYSCALL): Define.
4172         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4173         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4175         Remove.
4176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4177         Likewise.
4178         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4179         Undefine.
4180         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4181         Likewise.
4182         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4183         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4184         Remove.
4185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4186         Likewise.
4187         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4188         Undefine.
4189         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4190         Likewise.
4191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4192         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4193         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4194         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4195         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4196         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4197         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4198         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4199         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4201 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4203         * stdlib/gen-tst-strtod-round.c: Add backslash to
4204         compile command in comment.
4205         (printfp): Remove the literal suffix, and define an infinite
4206         value as INF to avoid expansion clash with INFINITY.
4207         (round_str): Remove the literal suffix.
4208         (round_for_all): Likewise, remove the now duplicate ldbl-64
4209         entry, and remove some magic constants.
4211         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4212         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4213         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4214         (_CONCAT): New macro.
4215         (CONCAT): Likewise.
4216         (CHOOSE_ld): Likewise.
4217         (CHOOSE_f): Likewise.
4218         (CHOOSE_d): Likewise.
4219         (FTYPE_MEMBER): Likewise.
4220         (BOOL_MEMBER): Likewise.
4221         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4222         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4223         (_XNTRY): Likewise.
4224         (XNTRY): Likewise.
4225         (_ENTRY): Likewise.
4226         (ENTRY): Likewise.
4227         (test_exactness): Generate members via macro.
4228         (test_results): Likewise.
4229         (test): Update members.
4230         (TEST): Redefine using new macros.
4231         (INF): New macro.
4232         (fetestmodes): New structure.
4233         (do_test): Refactor to be type generic.
4234         (test_in_one_mode): Refactor duplicate code into
4235         (GEN_ONE_TEST): New macro.
4237         * stdlib/tst-strtod-round-data.h: Regenerate.
4239         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4240         Extend to pass additional arbitrary parameters to
4241         generators.
4243 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4245         [BZ #15479]
4246         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4247         floating-point state after first floating-point operation on
4248         input.  Restore full floating-point state instead of just rounding
4249         mode.
4250         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4251         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4252         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4253         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4254         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4256         [BZ #15479]
4257         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4258         floating-point state after first floating-point operation on
4259         input.  Restore full floating-point state instead of just rounding
4260         mode.
4261         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4262         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4263         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4264         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4265         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4267 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4269         [BZ #19727]
4270         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4271         valid high surrogate.
4272         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4273         of an utf16 surrogate.
4274         * iconv/gconv_simple.c (BODY): Likewise.
4275         * iconvdata/bug-iconv12.c: New file.
4276         * iconvdata/Makefile (tests): Add bug-iconv12.
4278 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4280         [BZ #19726]
4281         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4282         outptrp in case of an illegal input.
4283         * iconv/tst-iconv6.c: New file.
4284         * iconv/Makefile (tests): Add tst-iconv6.
4286 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4288         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4289         an error in case of a value in range of an utf16 low surrogate.
4291 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4293         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4294         an error in case of a value in range of an utf16 low surrogate.
4296 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4298         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4299         Move to ...
4300         * sysdeps/s390/Makefile: ... here.
4301         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4302         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4303         (BRANCH_ON_COUNT): New define.
4304         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4305         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4306         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4307         run on s390-32, too.
4308         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4309         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4310         run on s390-32, too.
4311         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4312         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4313         run on s390-32, too.
4315 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4317         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4318         etf3eh or new vector loop-variant.
4320 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4322         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4323         etf3eh or new vector loop-variant.
4325 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4327         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4328         or new vector loop-variant.
4330 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4332         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4333         Rename to TR_LOOP and usage of tr instead of troo instruction.
4335 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4337         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4340 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4342         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4343         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4344         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4345         New override define.
4346         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4348 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4350         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4351         * sysdeps/s390/configure.ac: Add test for S390 vector register
4352         support in gcc.
4353         * sysdeps/s390/configure: Regenerated.
4355 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4357         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4358         Install file from $(objpfx)gconv-modules.
4359         ($(objpfx)gconv-modules): Concatenate architecture specific file
4360         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4361         * sysdeps/s390/gconv-modules: New file.
4362         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4363         Deleted.
4364         ($(objpfx)gconv-modules-s390): Deleted.
4365         (sysdeps-gconv-modules): New variable.
4367 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4369         [BZ #15479]
4370         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4371         of immediate operand to rounding instruction.
4372         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4373         Likewise.
4374         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4375         Likewise.
4376         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4377         Likewise.
4379 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4381         * math/libm-test.inc (MIN_EXP): Directly define as
4382         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4384 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4386         * math/libm-test.inc (MANT_DIG): Directly define as
4387         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4389 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4391         * stdlib/gen-tst-strtod-round.c (main):
4392           Change usage to more closely match the generated
4393           output.  Add usage and compilation instructions.
4394           (string_to_fp): Add and use FILE* parameter as
4395           output target.
4396           (print_fp): Likewise.
4397           (round_str): Likewise.
4398           (round_for_all): Likewise.
4399         * stdlib/tst-strtod-round.c (tests): Move into
4400         * stdlib/tst-strtod-round-data.h: New file.
4402 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4404         [BZ #15479]
4405         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4406         (__round): Do not force "inexact" exception.
4407         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4408         variable.
4409         (__round): Do not force "inexact" exception.
4410         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4411         (__roundf): Do not force "inexact" exception.
4412         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4413         (__roundl): Do not force "inexact" exception.
4414         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4415         (__roundl): Do not force "inexact" exception.
4416         * math/libm-test.inc (round_test_data): Do not allow spurious
4417         "inexact" exceptions.
4419         [BZ #15479]
4420         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4421         exception in comment.
4422         (huge): Remove variable.
4423         (__floor): Do not force "inexact" exception.
4424         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4425         "inexact" exception in comment.
4426         (huge): Remove variable.
4427         (__floor): Do not force "inexact" exception.
4428         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4429         exception in comment.
4430         (huge): Remove variable.
4431         (__floorf): Do not force "inexact" exception.
4432         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4433         exception in comment.
4434         (huge): Remove variable.
4435         (__floorl): Do not force "inexact" exception.
4437         [BZ #15479]
4438         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4439         exception in comment.
4440         (huge): Remove variable.
4441         (__ceil): Do not force "inexact" exception.
4442         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4443         "inexact" exception in comment.
4444         (huge): Remove variable.
4445         (__ceil): Do not force "inexact" exception.
4446         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4447         (__ceilf): Do not force "inexact" exception.
4448         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4449         exception in comment.
4450         (huge): Remove variable.
4451         (__ceill): Do not force "inexact" exception.
4453 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4455         * config.h.in (BIND_NOW): New.
4456         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4457         * configure: Regenerated.
4458         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4459         indirect branch via the GOT slot.
4461 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4463         [BZ #19765]
4464         * sysdeps/s390/mempcpy.S: New File.
4465         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4467         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4468         Add mempcpy variants.
4469         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4470         (memcpy): Adjust to be usable from mempcpy entry point.
4471         (__memcpy_mvcle): Likewise.
4472         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4473         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4474         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4475         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4476         (__memcpy_z10): Likewise.
4477         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4479 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4482         Remove __GI_ symbol.
4483         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4484         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4485         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4486         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4487         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4488         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4490 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4492         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4493         Use cghi instead of chi to compare 64bit value.
4495 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4497         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4498         Jump to 1MB check before executing mvc-loop.
4500 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4502         [BZ #6527]
4503         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4504         unconditionally.
4505         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4507 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4509         * stdlib/tst-strtod6.c (do_test): Use new type generic
4510         invocation of the test function.
4511         (test): Refactor into ...
4512         (TEST_STRTOD): New macro base function.
4514 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4516         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4517         (TEST_STRTOD): New macro.
4518         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4520 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4522         * stdlib/tst-strtod6.c (do_test): Use new type generic
4523         invocation of the test function.
4524         (test): Refactor into ...
4525         (TEST_STRTOD): New macro base function.
4527 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4529         CVE-2016-4429
4530         [BZ #20112]
4531         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4532         payload.
4534 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4536         [BZ #20111]
4537         * bits/sockaddr.h (_SS_SIZE): Define.
4538         * bits/socket.h (_SS_SIZE): Remove.
4539         (_SS_PADSIZE): Adjust to account for all padding.
4540         (struct sockaddr_storage): Update comment.  Avoid implicit
4541         padding.
4542         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4543         (_SS_PADSIZE): Adjust to account for all padding.
4544         (struct sockaddr_storage): Update comment.  Avoid implicit
4545         padding.
4546         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4547         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4548         (_SS_PADSIZE): Adjust to account for all padding.
4549         (struct sockaddr_storage): Update comment.  Avoid implicit
4550         padding.
4551         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4552         __SS_SIZE is 126 in this version.
4553         * inet/tst-sockaddr.c: New file.
4554         * inet/Makefile (tests): Add tst-sockaddr.c
4555         (tst-sockaddr.c): Compile with non-strict aliasing.
4557 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4559         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4560         [XPG3 || XPG4].
4561         (NL_ARGMAX): Also expect for [XPG3].
4562         (NL_LANGMAX): Likewise.
4563         (NL_MSGMAX): Likewise.
4564         (NL_NMAX): Likewise.
4565         (NL_SETMAX): Likewise.
4566         (NL_TEXTMAX): Likewise.
4567         (NZERO): Likewise.
4568         (TMP_MAX): Likewise.
4569         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4570         variable.
4572         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4573         (PF_MAX): Update value.
4574         (AF_KCM): New macro.
4575         (SOL_NETBEUI): Likewise.
4576         (SOL_LLC): Likewise.
4577         (SOL_DCCP): Likewise.
4578         (SOL_NETLINK): Likewise.
4579         (SOL_TIPC): Likewise.
4580         (SOL_RXRPC): Likewise.
4581         (SOL_PPPOL2TP): Likewise.
4582         (SOL_BLUETOOTH): Likewise.
4583         (SOL_PNPIPE): Likewise.
4584         (SOL_RDS): Likewise.
4585         (SOL_IUCV): Likewise.
4586         (SOL_CAIF): Likewise.
4587         (SOL_ALG): Likewise.
4588         (SOL_NFC): Likewise.
4589         (SOL_KCM): Likewise.
4590         (MSG_BATCH): New enum value and macro.
4592 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4594         [BZ #18185]
4595         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4596         sharing L2 cache to 2 for Knights Landing.
4598 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4600         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4601         (FTW_DP): Do not expect for [XPG3 || XPG4].
4602         (FTW_SL): Do not expect for [XPG3].
4603         (FTW_SLN): Likewise.
4604         (FTW_PHYS): Likewise.
4605         (FTW_MOUNT): Likewise.
4606         (FTW_DEPTH): Likewise.
4607         (FTW_CHDIR): Likewise.
4608         (nftw): Likewise.
4609         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4610         variable.
4612 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4614         * manual/errno.texi: Fix various typos & grammar errors.
4616 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4618         * manual/intro.texi: Fix duplicated typo.
4620 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #13304]
4623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4624         <float.h>, <math_private.h> and <stdlib.h>.
4625         (add_split): New function.
4626         (mul_split): Likewise.
4627         (ext_val): New typedef.
4628         (store_ext_val): New function.
4629         (mul_ext_val): New function.
4630         (compare): New function.
4631         (add_split_ext): New function.
4632         (__fmal): After checking for Inf, NaN and zero, compute result as
4633         an exact sum of scaled double values in round-to-nearest before
4634         adding those up and adjusting for other rounding modes.
4635         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4636         tests of fma.
4637         * math/auto-libm-test-out: Regenerated.
4639 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4641         [BZ #20119]
4642         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4643         processor level type mask for CPUID with EAX == 11.
4645 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4647         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4648         logical threads if the HTT bit is 0.
4649         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4650         (index_cpu_HTT): Likewise.
4651         (reg_HTT): Likewise.
4653 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4655         [BZ #20115]
4656         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4657         Remove alignments on jump targets.
4659 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4661         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4662         (getpwent): Likewise.
4663         (setpwent): Likewise.
4664         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4665         variable.
4667         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4668         (remque): Likewise.
4669         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4670         variable.
4672 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4674         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4675         not being tested.
4677 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4680         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4681         call.
4682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4683         (__condvar_cleanup1): Likewise.
4685 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4687         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4688         New
4689         (__pthread_unwind): Renamed to ...
4690         (PTHREAD_UNWIND): This.
4691         (__pthread_enable_asynccancel): Replace
4692         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4694 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4696         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4697         (CLONE_NEWCGROUP): New macro.
4699         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4700         (Q_GETNEXTQUOTA): New macro.
4702 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4704         [BZ #19907]
4705         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4706         buffer updated by the previous run.
4707         * string/test-memcpy.c (do_one_test): Likewise.
4708         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4709         * string/test-memmove.c (do_one_test): Likewise.
4711 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4713         [BZ #20094]
4714         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4715         not [__USE_XOPEN].
4716         (unlockpt): Likewise.
4717         (ptsname): Likewise.
4718         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4719         variable.
4721         [BZ #20076]
4722         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4723         instead of [__USE_UNIX98].
4724         (S_ISSOCK): Likewise.
4725         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4726         variable.
4728         [BZ #20074]
4729         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4730         [__USE_POSIX].
4731         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4732         variable.
4734         [BZ #20051]
4735         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4736         (ttyslot): Do not declare.
4737         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4738         (ttyslot): New prototype.
4739         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4740         variable.
4741         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4743 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4745         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4747 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4749         Fix race condition in tst-mallocfork2, use fewer resources.
4750         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4751         to current process group.
4752         (signal_sender): Yield in the non-sleeping case.
4754 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4756         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4757         (ecvt): Likewise.
4758         (fcvt): Likewise.
4759         (gcvt): Likewise.
4760         (getsubopt): Likewise.
4761         (grantpt): Likewise.
4762         (initstate): Likewise.
4763         (l64a): Likewise.
4764         (mktemp): Likewise.
4765         (mkstemp): Likewise.
4766         (ptsname): Likewise.
4767         (random): Likewise.
4768         (realpath): Likewise.
4769         (setstate): Likewise.
4770         (srandom): Likewise.
4771         (ttyslot): Likewise.
4772         (unlockpt): Likewise.
4773         (valloc): Likewise.
4775         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4776         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4777         variable.
4779 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4781         [BZ #20072]
4782         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4783         init_cpu_features only if SHARED is defined.
4784         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4786 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4788         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4789         non-inclusive caches on Intel processors.
4791 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4793         * malloc/malloc.c (dumped_main_arena_start)
4794         (dumped_main_arena_end): New variables.
4795         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4796         (do_check_chunk): Skip dumped fake mmapped chunks.
4797         (munmap_chunk): Likewise.
4798         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4799         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4800         mmapped chunks.
4801         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4802         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4803         and dumped_main_arena_end to cover the dumped heap.
4805 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4807         * conform/data/time.h-data (getdate_err): Do not expect for
4808         [XPG3].
4809         (getdate): Likewise.
4810         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4811         variable.
4813         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4814         (F_ULOCK): Likewise.
4815         (F_TEST): Likewise.
4816         (F_TLOCK): Likewise.
4817         (useconds_t): Likewise.
4818         (intptr_t): Do not expect for [XPG3] or [XPG4].
4819         (brk): Do not expect for [XPG3]
4820         (fchown): Likewise.
4821         (fchdir): Likewise.
4822         (ftruncate): Likewise.
4823         (getdtablesize): Likewise.
4824         (gethostid): Likewise.
4825         (getpagesize): Likewise.
4826         (getpgid): Likewise.
4827         (getsid): Likewise.
4828         (getwd): Likewise.
4829         (lchown): Likewise.
4830         (lockf): Likewise.
4831         (readlink): Likewise.
4832         (sbrk): Likewise.
4833         (setpgrp): Likewise.
4834         (setregid): Likewise.
4835         (setreuid): Likewise.
4836         (symlink): Likewise.
4837         (sync): Likewise.
4838         (truncate): Likewise.
4839         (ualarm): Likewise.
4840         (usleep): Likewise.
4841         (vfork): Likewise.
4842         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4843         variable.
4845         [BZ #20054]
4846         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4847         not [__USE_UNIX98].
4848         * conform/data/unistd.h-data (gethostname): Do not expect for
4849         [XPG3].
4851         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4852         [!POSIX] (S_IFBLK): Likewise.
4853         [!POSIX] (S_IFCHR): Likewise.
4854         [!POSIX] (S_IFIFO): Likewise.
4855         [!POSIX] (S_IFREG): Likewise.
4856         [!POSIX] (S_IFDIR): Likewise.
4857         [!POSIX] (S_IFLNK): Likewise.
4858         [!POSIX] (S_IFSOCK): Likewise.
4859         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4860         variable.
4861         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4863 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4865         * sysdeps/aarch64/memset.S (__memset):
4866         Rewrite of optimized memset.
4868 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4870         [BZ #19703]
4871         Partially async-signal-safe fork for single-threaded processes.
4872         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4873         variable.  Do not acquire and reset/release malloc and libio locks
4874         in single-threaded processes.
4875         * malloc/tst-mallocfork2.c: New file.
4876         * malloc/Makefile (tests): Add it.
4878 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4880         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4881         argument.  Use scratch buffer instead of extend_alloca.
4882         (gethosts): Use scratch buffer instead of extend_alloca.
4883         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4884         extend_alloca.
4885         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4887 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4889         [BZ #20055]
4890         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4891         instead of [__USE_UNIX98].
4892         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4893         [__USE_UNIX98].
4894         * conform/data/termios.h-data (tcgetsid): Do not expect for
4895         [XPG3].
4896         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4897         variable.
4898         (test-xfail-XPG4/termios.h/conform): Likewise.
4900 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4902         Do not use mcheck in localedef.
4903         * locale/programs/localedef.c (turn_on_mcheck)
4904         (__malloc_initialize_hook): Remove.
4906 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4908         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4909         * sysdeps/s390/s390-64/Makefile: Likewise.
4911 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4913         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4914         Remove ifunc-defines.sym.
4915         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4916         Likewise.
4917         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4918         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4919         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4920         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4921         rtld-global-offsets.sym.
4922         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4923         * sysdeps/x86/cpu-features-offsets.sym: This.
4924         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4925         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4927 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4929         [BZ #20073]
4930         * io/sys/stat.h (fchmod): Declare for
4931         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4932         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4933         variable.
4935         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4936         [XPG3] (S_IFSOCK): Likewise.
4937         [XPG3] (S_ISVTX): Likewise.
4938         [XPG3] (S_ISLNK): Likewise.
4939         [XPG3] (S_ISSOCK): Likewise.
4940         [XPG3] (fchmod): Likewise.
4941         [XPG3] (lstat): Likewise.
4942         [XPG3] (mknod): Likewise.
4944         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4945         [XPG3].  Expect type long and XFAIL for [XPG4].
4946         (st_blocks): Likewise.
4948         [BZ #20044]
4949         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4950         (pthread_atfork): New prototype.
4951         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4952         variable.
4954         [BZ #20043]
4955         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4956         prototype.
4958 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4960         [BZ #20017]
4961         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4962         gmtime.
4964 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4966         [BZ #19994]
4967         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4968         flag in _res.options.
4970 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4972         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4973         [XPG3 || XPG4].
4974         (blksize_t): Likewise.
4975         (clockid_t): Likewise.
4976         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4977         variable.
4978         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4980 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4982         * sysdeps/unix/sysv/linux/s390/init-first.c:
4983         Add VDSO_SYMBOL(getcpu).
4984         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4985         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4986         Add VDSO_SYMBOL(getcpu).
4987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4988         New define HAVE_GETCPU_VSYSCALL.
4989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4991 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4993         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4994         instead of <sysdeps/x86_64/cacheinfo.c>.
4995         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4996         * sysdeps/x86/cacheinfo.c: Here.
4998 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5000         * malloc/malloc-internal.h: Adjust header file guard.
5002 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5004         [BZ #19787]
5005         * inet/getnameinfo.c (check_sprintf_result): New function.
5006         (CHECKED_SNPRINTF): New macro.
5007         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5008         to the host buffer.
5009         (gni_host_local): Use checked_copy to copy the host name.
5010         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5011         (gni_serv_local): Use checked_copy to copy the service name.
5012         (getnameinfo): Remove unnecessary truncation of result buffers.
5014 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5016         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5017         in case of inet_ntop failure.
5019 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5021         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5022         avoid long lines.
5023         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5024         variables.
5025         (gni_host_inet, gni_host_local): Add comment.
5026         (gni_host): Add comment.  Use temporary to avoid long lines.
5028 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5030         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5031         registers specifiers where general purpose registers specifiers should
5032         have been used.
5034 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5036         [BZ #19779]
5037         CVE-2016-1234
5038         Avoid copying names of directory entries.
5039         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5040         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5041         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5042         (struct readdir_result): New type.
5043         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5044         (GL_READDIR): New macros.
5045         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5046         (convert_dirent, convert_dirent64): New functions.
5047         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5048         convert_dirent64.  Adjust references to the readdir result.
5049         * sysdeps/unix/sysv/linux/i386/glob64.c:
5050         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5051         * posix/bug-glob2.c (LONG_NAME): Define.
5052         (filesystem): Add LONG_NAME.
5053         (my_DIR): Increase the size of room_for_dirent.
5055 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5057         [BZ #20041]
5058         * misc/sys/select.h (__need_timespec): Only define if
5059         [__USE_XOPEN2K].
5060         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5061         variable.
5062         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5063         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5064         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5066 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5067             Segher Boessenkool  <segher@gcc.gnu.org>
5069         [BZ #20004]
5070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5071         (__novec_swapcontext): Add missing load.
5073 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5075         [BZ #20023]
5076         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5077         <time.h>.
5078         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5079         variable.
5080         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5082 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5085         flags CLONE_VM compare.
5087 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5089         [BZ #20031]
5090         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5091         completely empty.
5093 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5095         [BZ #19573]
5096         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5097         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5098         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5099         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5100         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5101         (hesiod_free_list): Mark as hidden.
5102         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5103         res_set, res_get.
5104         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5105         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5106         (hesiod_init): Remove obsolete res_ninit call.
5107         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5108         (hesiod_bind): Do not call init.
5109         (get_txt_records): Use res_mkquery, res_send instead of
5110         res_nmkquery, res_nsend.
5111         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5112         instead of _nss_hesiod_init.
5113         (_nss_hesiod_initgroups_dyn): Likewise.
5114         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5115         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5116         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5118 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5120         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5121         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5123 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5125         * hesiod/hesiod.h: Remove RCS keyword.
5126         * hesiod/hesiod_p.h: Likewise.
5128         * hesiod/hesiod.c: Likewise.
5130 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5132         [BZ #12450]
5133         * locale/iso-639.def: Add Samogitian/sgs.
5135 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5137         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5139         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5141 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5142             Carlos O'Donell  <carlos@redhat.com>
5144         [BZ #19072]
5145         * grp/Makefile (headers): Add grp-merge.h
5146         (routines): Add grp-merge.
5147         * grp/getgrgid_r.c: Include grp-merge.h.
5148         (DEEPCOPY_FN): Define.
5149         (MERGE_FN): Define.
5150         * grp/getgrname_r.c: Include grp-merge.h.
5151         (DEEPCOPY_FN): Define.
5152         (MERGE_FN): Define.
5153         * grp/grp-merge.c: New file.
5154         * grp/grp-merge.h: New file.
5155         * include/grp-merge.h: New file.
5156         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5157         __copy_grp@GLIBC_PRIVATE.
5158         * manual/nss.texi (Actions in the NSS configuration): Describe
5159         return, continue, and merge.
5160         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5161         (DEEPCOPY_FN): Define.
5162         (MERGE_FN): Define.
5163         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5164         (DEEPCOPY_FN): Define.
5165         (MERGE_FN): Define.
5166         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5167         [!MERGE_FN]: Define __merge_einval.
5168         (CHECK_MERGE): Define.
5169         (REENTRANT_NAME): Process merge if do_merge is true.
5170         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5171         (__nss_getent_r): Likewise.
5172         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5173         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5175 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5177         [BZ #20012]
5178         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5179         length to calculate the buffer to read.
5180         (fmemopen_write): Set the buffer position based on bytes written.
5181         (fmemopen_seek): Return EINVAL for invalid whence modes.
5183         [BZ #19957]
5184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5185         tst-getpid2.
5186         (test): Add tst-clone2.
5187         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5188         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5189         pid/tid fields for CLONE_VM.
5190         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5191         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5192         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5193         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5194         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5195         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5196         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5197         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5199         Likewise.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5201         Likewise.
5202         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5203         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5204         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5205         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5207         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5208         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5209         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5211 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5213         [BZ #19642]
5214         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5215         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5216         (gni_serv_local, gni_serv): New functions extracted from
5217         getnameinfo.
5218         (getnameinfo): Call gni_host and gni_serv to perform the
5219         processing.  Always free scratch buffer.
5221 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5223         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5224         remaining bytes in the dest string, with zeros.
5226 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5228         [BZ #20010]
5229         CVE-2016-3706
5230         * sysdeps/posix/getaddrinfo.c
5231         (convert_hostent_to_gaih_addrtuple): New function.
5232         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5233         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5234         AF_INET data.
5236 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5238         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5239         callback function gl_readdir.
5240         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5241         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5242         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5243         memcpy to copy the name.
5244         * manual/pattern.texi (Calling Glob): Document requirements for
5245         implementations of the gl_readdir callback function.
5246         * manual/examples/mkdirent.c: New example.
5247         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5248         per the manual guidance.
5249         * posix/tst-gnuglob.c (my_readdir): Likewise.
5251 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5253         [BZ #20014]
5254         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5255         not [__USE_POSIX].
5256         (getchar_unlocked): Likewise.
5257         (putc_unlocked): Likewise.
5258         (putchar_unlocked): Likewise.
5259         (flockfile): Likewise.
5260         (ftrylockfile): Likewise.
5261         (funlockfile): Likewise.
5262         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5263         variable.
5264         (test-xfail-XPG4/stdio.h/conform): Likewise.
5266         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5267         Expect constant.
5268         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5269         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5270         variable.
5271         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5272         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5274         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5275         [__USE_LARGEFILE64] (off64_t): Likewise.
5276         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5277         variable.
5279 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5281         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5283 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5285         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5286         * resolv/res_init.c: Likewise.
5287         * resolv/res_mkquery.c: Likewise.
5289 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5291         * resolv/res_init.c (isascii): Do not define.  Use definition in
5292         <ctype.h>.
5293         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5294         (LOG_AUTH): Remove.
5295         (SPRINTF): Remove, adjust caller.
5296         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5301         SUNSECURITY conditional.
5302         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5304 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5306         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5307         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5308         Remove BSD-related preprocessor conditionals.
5309         * conf/portability.h: Remove.
5311 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5313         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5314         * resolv/res_data.c: Likewise.
5316 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5318         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5319         * resolv/res_data.c: Remove code conditional on ultrix.
5321 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5323         * resolv/res_init.c (RFC1535): Do not define.  Remove
5324         RFC1535 preprocessor conditionals.
5325         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5326         because there configuration options which make the resolver
5327         behavior different.
5329 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5331         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5332         RESOLVSORT preprocessor conditionals.
5333         * resolv/nss_dns/dns-host.c: Likewise.
5334         * resolv/res_init.c: Likewise.
5336 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5338         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5339         is never defined.
5341 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5343         * inet/inet_lnaof.c: Remove SCSS keyword.
5344         * inet/inet_mkadr.c: Likewise.
5345         * inet/inet_net.c: Likewise.
5346         * inet/inet_netof.c: Likewise.
5347         * inet/rcmd.c: Likewise.
5348         * inet/rexec.c: Likewise.
5349         * inet/ruserpass.c: Likewise.
5351 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5353         * resolv/inet_addr.c: Remove _LIBC conditionals.
5354         * resolv/res_data.c: Likewise.
5355         * resolv/res_init.c: Likewise.
5356         * resolv/res_mkquery.c: Likewise.
5357         * resolv/res_libc.c: Update comment.
5358         * resolv/README: Update.
5360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5362         * resolv/gethnamaddr.c: Remove SCSS keyword.
5363         * resolv/herror.c: Likewise.
5364         * resolv/inet_addr.c: Likewise.
5365         * resolv/inet_net_ntop.c: Likewise.
5366         * resolv/inet_net_pton.c: Likewise.
5367         * resolv/inet_neta.c: Likewise.
5368         * resolv/inet_ntop.c: Likewise.
5369         * resolv/inet_pton.c: Likewise.
5370         * resolv/ns_date.c: Remove RCS keyword.
5371         * resolv/ns_name.c: Likewise.
5372         * resolv/ns_netint.c: Likewise.
5373         * resolv/ns_parse.c: Likewise.
5374         * resolv/ns_print.c: Likewise.
5375         * resolv/ns_samedomain.c: Likewise.
5376         * resolv/ns_ttl.c: Likewise.
5377         * resolv/nsap_addr.c: Likewise.
5378         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5379         * resolv/res_data.c: Remove RCS keyword.
5380         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5381         * resolv/res_init.c: Likewise.
5382         * resolv/res_mkquery.c: Likewise.
5383         * resolv/res_query.c: Likewise.
5384         * resolv/res_send.c: Likewise.
5386 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5388         * conform/data/stdio.h-data (fdopen): Expect also for
5389         [XPG3 || XPG4].
5391         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5392         (fseeko): Likewise.
5393         (ftello): Likewise.
5394         (ftrylockfile): Likewise.
5395         (funlockfile): Likewise.
5396         (getc_unlocked): Likewise.
5397         (getchar_unlocked): Likewise.
5398         (putc_unlocked): Likewise.
5399         (putchar_unlocked): Likewise.
5401 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5403         [BZ #19868]
5404         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5405         DNS packet syntax checks (which were not needed before).  Skip
5406         over non-PTR records.
5408 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5410         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5411         definition.  Include <stddef.h> instead.
5413 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5415         [BZ #19831]
5416         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5417         function.
5418         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5419         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5421 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5423         [BZ #19862]
5424         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5425         (getanswer_r): Do not call syslog.
5426         (gaih_getanswer_slice): Likewise.
5427         * resolv/gethnamaddr.c (AskedForGot): Remove.
5428         (getanswer): Do not call syslog.
5429         (gethostbyaddr): Likewise.
5431 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5433         * conform/data/signal.h-data (union sigval): Expect also if
5434         [XOPEN2K].
5435         (struct sigevent): Likewise.
5436         (SIGEV_NONE): Likewise.
5437         (SIGEV_SIGNAL): Likewise.
5438         (SIGEV_THREAD): Likewise.
5439         (SIGRTMIN): Likewise.
5440         (SIGRTMAX): Likewise.
5441         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5442         variable.
5443         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5445 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5447         [BZ #19830]
5448         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5449         (gaih_getanswer_slice): Likewise.
5450         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5451         Also check for availability of RR metadata.
5453 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5455         [BZ #19825]
5456         * resolv/res_send.c (send_vc): Remove early *resplen2
5457         initialization.  Set *resplen2 on socket error.  Call
5458         close_and_return_error for other errors.
5460 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5462         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5463         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5464         (SCM_IUCV_TRGCLS): New define.
5466 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5468         [BZ #20005]
5469         * libio/fmemopen.c (fmemopen_write): Update internal position after
5470         write.
5471         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5472         * stdio-common/tst-fmemopen4.c: New file..
5474 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5476         [BZ #19996]
5477         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5478         not [__USE_XOPEN2K].
5479         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5480         variable.
5482         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5483         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5484         variable.
5486         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5487         [__USE_XOPEN2K8].
5488         [__USE_LARGEFILE64] (off64_t): Likewise.
5489         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5490         variable.
5492 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5494         [BZ #19989]
5495         * libio/stdio.h (cuserid): Do not declare if
5496         [__USE_XOPEN2K && !__USE_GNU].
5497         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5498         variable.
5500 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5502         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5503         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5505         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5506         ifunc'ed strcspn.
5507         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5508         [EALIGN]: Removed.
5509         [END]: Likewise
5510         [STRSPN]: Define instead of the above to control symbol name.
5511         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5512         New file.
5513         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5514         Likewise.
5515         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5516         Likewise.
5517         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5518         Likewise.
5519         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5520         [INITIAL_MASK]: New macro.
5521         [STRCSPN]: Likewise.
5522         [UPDATE_MASK]: Likewise.
5523         [USE_AS_STRCSPN]: Lisewise.
5525 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5527         [BZ #19931]
5528         * stdio-common/tst-vfprintf-width-prec.c: New file.
5529         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5530         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5531         (generated): Add mtrace-related files.
5532         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5533         (tst-%-mem.out): New pattern rule, replaces
5534         tst-printf-bz18872-mem.out.
5535         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5536         specifier, deallocate any previously allocated work buffer.
5538 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5540         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5541         Add nop before __startcontext, add explaining comments.
5543 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5545         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5546         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5547         completely different API.
5549         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5550         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5551         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5552         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5553         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5554         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5555         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5556         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5557         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5558         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5560 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5562         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5564 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5566         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5567         when it is the default of 0.
5569 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5571         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5572         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5573         (sysdep_routines): Add new strcasestr targets.
5574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5575         (__libc_ifunc_impl_list): Likewise.
5576         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5577         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5578         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5579         * sysdeps/powerpc/powerpc64/power8/Makefile:
5580         New file to add strcasestr-ppc64 to sysdep_routines.
5581         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5582         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5584 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5586         * benchtests/Makefile (wcsmbs-benchset): Include only for
5587         native builds and runs.
5588         (LOCALES): Likewise.
5589         (bench-build): Build timing-type here instead of the bench
5590         target.  Generate locale only for native builds.
5591         * benchtests/README: Add note for cross-building.
5593         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5595         * benchtests/README: Update README to include instructions on
5596         using bench-build.
5598         * Makefile.in (bench-build): New target.
5599         * Rules (PHONY): Add bench-build target.
5600         * benchtests/Makefile (bench): Depend on bench-build.
5601         (bench-build): New target.
5603 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5605         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5606         profil_reply_port.
5607         (profile_waiter): Do not initialize profil_reply_port.
5608         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5609         frequency instead of tick length in us.
5611 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5613         [BZ #18712]
5614         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5615         (__old_mempcpy_small): Likewise.
5616         (__old_strcpy_small): Likewise.
5617         (__old_stpcpy_small): Likewise.
5618         (__old_strpbrk_c2): Fix compat symbol name.
5619         (__old_strpbrk_c3): Likewise.
5620         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5621         (__mempcpy_small): Remove.
5622         (__strcpy_small): Remove.
5623         (__stpcpy_small): Remove.
5625 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5627         [BZ #19400]
5628         * locale/iso-639.def: Add the Talossan/tzl language.
5630 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5632         [BZ #16983]
5633         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5634         comment.  Add "ln" to strchr check on postal_fmt.
5636 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5638         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5639         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5640         tel_dom_fmt.
5642 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5644         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5645         (sysdep_routines): Added __strlen_power8.
5646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5647         __strlen_power8 entry.
5648         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5649         Implementation for POWER8.
5650         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5651         for __strlen_power8.
5652         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5653         Implementation for POWER8.
5655 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5657         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5659 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5661         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5662         Goldmont and Airmont processors.
5664 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5666         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5667         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5668         (__STRING2_SMALL_GET32): Remove.
5669         (memset): Remove.
5670         (__memset_1): Remove.
5671         (__memset_gc): Remove.
5672         (__mempcpy): Remove.
5673         (mempcpy): Remove.
5674         (__mempcpy_args): Remove.
5675         (strchr): Remove.
5676         (strcpy): Remove.
5677         (strcpy_args): Remove.
5678         (__stpcpy_args): Remove.
5679         (__strcmp_cc): Remove.
5680         (__strcmp_gc): Remove.
5681         (strstr): Remove.
5683 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5685         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5686         * nis/nis_call.c (nis_server_cache_add): Likewise.
5688 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5690         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5692 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5694         * malloc/arena.c (__malloc_fork_lock_parent)
5695         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5696         internal_function attribute.
5698 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5700         * stdio-common/printf_fp.c (__printf_fp_l):
5701         Rename ___printf_fp_l to __printf_fp_l and
5702         remove strong alias. Use libc_hidden_def instead
5703         of ldbl_hidden_def macro.
5705 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5707         Remove malloc hooks from fork handler.  They are no longer needed
5708         because malloc runs right before fork, and no malloc calls from
5709         other fork handlers are not possible anymore.
5710         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5711         declarations.
5712         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5713         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5714         (atfork_recursive_cntr): Remove.
5715         (__malloc_fork_lock_parent): Do not override malloc hooks and
5716         thread_arena.
5717         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5718         thread_arena.
5719         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5720         thread_arena instead of save_arena.
5722 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5724         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5725         (thread_atfork, thread_atfork_static): Remove.
5726         * sysdeps/mach/hurd/malloc-machine.h:
5727         (thread_atfork, thread_atfork_static): Remove.
5729 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5731         [BZ #19431]
5732         Run the malloc fork handler as late as possible to avoid deadlocks.
5733         * malloc/malloc-internal.h: New file.
5734         * malloc/malloc.c: Include it.
5735         * malloc/arena.c (ATFORK_MEM): Remove.
5736         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5737         Update comment.
5738         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5739         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5740         Remove outdated comment.
5741         (ptmalloc_init): Do not call thread_atfork.  Remove
5742         thread_atfork_static.
5743         * malloc/tst-malloc-fork-deadlock.c: New file.
5744         * Makefile (tests): Add tst-malloc-fork-deadlock.
5745         (tst-malloc-fork-deadlock): Link against libpthread.
5746         * manual/memory.texi (Aligned Memory Blocks): Update safety
5747         annotation comments.
5748         * sysdeps/nptl/fork.c (__libc_fork): Call
5749         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5750         __malloc_fork_unlock_child.
5751         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5753 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5755         [BZ #19613]
5756         Remove union wait.
5757         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5758         (w_stopsig, w_stopval): Remove.
5759         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5760         stat_loc argument.
5761         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5762         (__WAIT_STATUS_DEFN): Remove.
5763         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5764         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5765         (wait, wait3, wait4): Use int * for the stat_loc argument.
5766         * posix/wait.c (__wait): Likewise.
5767         * posix/wait3.c (__wait3): Likewise.
5768         * posix/wait4.c (__wait4): Likewise.
5769         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5770         (__WAIT_STATUS_DEFN): Remove.
5771         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5772         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5773         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5774         argument.
5775         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5776         * sysdeps/posix/wait3.c (__wait3): Likewise.
5777         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5778         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5779         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5780         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5781         stat_loc argument.
5782         * manual/process.texi (BSD Wait Functions): Remove union wait.
5784 2016-04-13  Andreas Schwab  <schwab@suse.de>
5786         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5787         (test-extras): Add tst-tlsalign-vars.
5788         * math/Makefile: Wrap long lines.
5789         (libm-vec-test-wrappers): Define.
5790         (test-extras): Add $(libm-vec-test-wrappers).
5791         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5792         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5793         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5794         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5795         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5796         (extra-test-objs): Add corresponding objects.
5798 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5800         [BZ #19928]
5801         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5802         New.
5803         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5804         times of shared cache size.
5805         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5806         (VMOVNT): New.
5807         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5808         (VMOVNT): Likewise.
5809         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5810         (VMOVNT): Likewise.
5811         (VMOVU): Changed to movups for smaller code sizes.
5812         (VMOVA): Changed to movaps for smaller code sizes.
5813         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5814         comments.
5815         (PREFETCH): New.
5816         (PREFETCH_SIZE): Likewise.
5817         (PREFETCHED_LOAD_SIZE): Likewise.
5818         (PREFETCH_ONE_SET): Likewise.
5819         Rewrite to use forward and backward loops, which move 4 vector
5820         registers at a time, to support overlapping addresses and use
5821         non temporal store if size is above the threshold and there is
5822         no overlap between destination and source.
5824 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5826         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5827         Include dl-vdso.
5828         * sysdeps/unix/sysv/linux/mips/Versions: Add
5829         __vdso_clock_gettime.
5830         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5831         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5832         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5833         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5834         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5835         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5836         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5837         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5838         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5840 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5842         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5843         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5846         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5847         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5850         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5852         syscalls generation.
5853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5854         [__NR_pwrite64] (__NR_write): Remove define.
5855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5856         [__NR_pwrite64] (__NR_write): Remove define.
5857         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5858         Remove define.
5859         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5860         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5861         Remove define.
5862         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5863         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5864         Linux implementation as base.
5865         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5867         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5868         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5873         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5874         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5875         syscall generation.
5876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5877         [__NR_pread64] (__NR_pread): Remove define.
5878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5879         [__NR_pread64] (__NR_pread): Likewise.
5880         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5881         define.
5882         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5883         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5884         Remove define.
5885         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5886         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5887         Linux implementation as base.
5888         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5889         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5890         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5892         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5893         definition.
5894         (__ALIGNMENT_COUNT): Likewise.
5895         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5896         (__ALIGNMENT_COUNT): Likewise.
5897         (SYSCALL_LL): New define.
5898         (SYSCALL_LL64): Likewise.
5899         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5900         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5901         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5902         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5905         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5907         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5908         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5909         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5911 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5913         [BZ #19865]
5914         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5915         original buffer before retry.
5917 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5919         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5920         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5921         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5922         GLRO(dl_auxv) list.
5923         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5924         including <ldsodefs.h>.
5925         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5927 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5929         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5930         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5931         $(CPPFLAGS).
5933 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5935         [BZ #17950]
5936         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5937         Add -mfpmath=387.
5939 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5941         * sysdeps/i386/configure.ac: Change == to = when calling test.
5942         * sysdeps/x86_64/configure.ac: Likewise.
5943         * sysdeps/i386/configure: Regenerated.
5944         * sysdeps/x86_64/configure: Likewise.
5946 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5948         [BZ #16137]
5949         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5950         * benchtests/bench-strcoll.c (input_files): Likewise.
5951         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5952         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5953         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5955 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5957         [BZ #19929]
5958         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5959         [__USE_XOPEN2K8 && !__USE_GNU].
5960         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5961         variable.
5963         [BZ #19925]
5964         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5965         define if [!__USE_MISC && __USE_XOPEN2K].
5966         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5967         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5968         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5971         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5972         variable.
5973         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5975 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5977         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5978         (sysdep_routines): Add new strspn targets.
5979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5980         (__libc_ifunc_impl_list): Add strspn.
5981         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5982         New file.
5983         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5984         Likewise.
5985         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5986         Likewise.
5987         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5988         Likewise.
5990 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5992         * misc/hsearch_r.c: Include <limits.h>.
5994 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5996         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5998 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6000         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6001         (MEMCPY_SYMBOL): New.
6002         (MEMPCPY_SYMBOL): Likewise.
6003         (MEMMOVE_CHK_SYMBOL): Likewise.
6004         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6005         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6006         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6007         Provide alias for memcpy in libc.a and ld.so.
6009 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6011         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6012         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6013         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6014         Disabled fro now.
6015         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6016         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6018 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6020         * benchtests/Makefile (string-benchset): Add memcpy-large,
6021         memmove-large and memset-large.
6022         * benchtests/bench-memcpy-large.c: New file.
6023         * benchtests/bench-memmove-large.c: Likewise.
6024         * benchtests/bench-memmove-large.c: Likewise.
6025         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6027 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6029         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6030         32-bit displacement to avoid long nop between instructions.
6032 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6034         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6035         a comment on VMOVU and VMOVA.
6037 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6039         [BZ #19633]
6040         Use specified locale for number formatting in strfmon_l.
6041         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6042         (__nl_lookup_word): New inline functions.
6043         * include/printf.h (__print_fp_l): Declare.
6044         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6045         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6046         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6047         (___printf_fp): New function.
6048         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6049         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6050         * stdlib/tst-strfmon_l.c (do_test): New test.
6051         * stdlib/Makefile (tests): Add kt.
6052         (LOCALES): Build additional locales.
6053         (tst-strfmon_l.out): Require locales.
6055 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6057         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6058         if not in libc.
6059         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6060         Likewise.
6061         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6062         Likewise.
6063         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6064         Likewise.
6066 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6068         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6069         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6070         with unaligned_erms.
6071         (__memmove_erms): Skip if source == destination.
6072         (__memmove_unaligned_erms): Don't check source == destination
6073         first.
6075 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6077         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6078         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6080 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6082         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6083         * string/strspn.c (strspn): Likewise.
6085 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6087         * benchtests/bench-memset.c (do_test): Support 64-byte
6088         alignment.
6089         (test_main): Test 64-byte alignment.
6091 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6093         * benchtests/bench-memmove.c (test_main): Test 64-byte
6094         alignment.
6096 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6098         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6100 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6102         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6103         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6104         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6106         * string/strpbrk.c (strpbrk): Rewrite function.
6107         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6108         (__strpbrk_c2): Likewise.
6109         (__strpbrk_c3): Likewise.
6110         * string/string-inlines.c
6111         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6112         Likewise.
6113         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6114         Likewise.
6116         * string/strspn.c (strcspn): Rewrite function.
6117         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6118         (__strspn_c1): Remove inline function.
6119         (__strspn_c2): Likewise.
6120         (__strspn_c3): Likewise.
6121         * string/string-inlines.c
6122         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6123         compatibility symbol.
6124         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6125         Likewise.
6126         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6127         Likewise.
6128         * string/string-inlines.c: Include generic version.
6130 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6131             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6133         * string/Version (libc): Add GLIBC_2.24.
6134         * string/strcspn.c (strcspn): Rewrite function.
6135         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6136         (__strcspn_c1): Remove inline function.
6137         (__strcspn_c2): Likewise.
6138         (__strcspn_c3): Likewise.
6139         * string/string-inline.c
6140         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6141         compatibility symbol.
6142         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6143         Likewise.
6144         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6145         Likewise.
6146         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6148 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6150         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6151         Use ahi instead of aghi to adjust stack pointer.
6153 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6155         [BZ #19853]
6156         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6157         TEST to take significant digits as second parameter.
6158         [TEST]: Redefine in terms of TEST_N taking 30
6159         significant digits.
6160         (do_test): Add test case to demonstrate precision
6161         failure in the ldbl-128ibm printf.
6162         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6163         (__mpn_extract_long_double): Carry 7 extra intermediate
6164         bits of precision to aide computing difference when
6165         signs differ.
6167 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6169         [BZ #19881]
6170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6171         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6172         memset-avx512-unaligned-erms.
6173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6174         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6175         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6176         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6177         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6178         __memset_sse2_unaligned_erms, __memset_erms,
6179         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6180         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6181         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6182         file.
6183         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6184         Likewise.
6185         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6186         Likewise.
6187         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6188         Likewise.
6190 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6192         [BZ #19776]
6193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6194         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6195         memmove-avx512-unaligned-erms.
6196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6197         (__libc_ifunc_impl_list): Test
6198         __memmove_chk_avx512_unaligned_2,
6199         __memmove_chk_avx512_unaligned_erms,
6200         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6201         __memmove_chk_sse2_unaligned_2,
6202         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6203         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6204         __memmove_avx512_unaligned_erms, __memmove_erms,
6205         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6206         __memcpy_chk_avx512_unaligned_2,
6207         __memcpy_chk_avx512_unaligned_erms,
6208         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6209         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6210         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6211         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6212         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6213         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6214         __mempcpy_chk_avx512_unaligned_erms,
6215         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6216         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6217         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6218         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6219         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6220         __mempcpy_erms.
6221         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6222         file.
6223         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6224         Likwise.
6225         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6226         Likwise.
6227         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6228         Likwise.
6230 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6232         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6233         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6234         (La_s390_64_regs): Likewise.
6235         (La_s390_32_retval): Append vector register lrv_v24.
6236         (La_s390_64_retval): Likeweise.
6237         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6238         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6239         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6240         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6242 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6244         [BZ #19916]
6245         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6246         to create a non-vector/vector version for _dl_runtime_resolve and
6247         _dl_runtime_profile. Move implementation to ...
6248         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6249         (_dl_runtime_resolve) Save and restore fpr/vrs.
6250         (_dl_runtime_profile) Save and restore vrs and fix some issues
6251         if _dl_call_pltexit is called.
6252         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6253         Choose the correct resolver function if running on a machine with vx.
6254         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6255         to create a non-vector/vector version for _dl_runtime_resolve and
6256         _dl_runtime_profile. Move implementation to ...
6257         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6258         (_dl_runtime_resolve) Save and restore fpr/vrs.
6259         (_dl_runtime_profile) Save and restore vrs and fix some issues
6260         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6261         Choose the correct resolver function if running on a machine with vx.
6263 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6265         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6267 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6269         [BZ #19509]
6270         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6271         skip_map != NULL.
6272         * elf/tst-dlsym-error.c: New file.
6273         * elf/Makefile (tests): Add tst-dlsym-error.
6274         (tst-dlsym-error): Link against libdl.
6276 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6278         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6279         (__ASSUME_FUTIMESAT): Remove macro.
6280         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6282 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6284         [BZ #19879]
6285         CVE-2016-3075
6286         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6287         copy name.
6289 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6291         [BZ #19837]
6292         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6293         error if parse_line fails.
6295 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6297         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6298         (index_cpu_ERMS): Likewise.
6299         (reg_ERMS): Likewise.
6301 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6303         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6304         PER_LINUX_FDPIC): Add.
6306 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6309         memcpy-avx512-no-vzeroupper.
6310         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6311         to ...
6312         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6313         (MEMCPY): Don't define.
6314         (MEMCPY_CHK): Likewise.
6315         (MEMPCPY): Likewise.
6316         (MEMPCPY_CHK): Likewise.
6317         (MEMPCPY_CHK): Renamed to ...
6318         (__mempcpy_chk_avx512_no_vzeroupper): This.
6319         (MEMPCPY_CHK): Renamed to ...
6320         (__mempcpy_chk_avx512_no_vzeroupper): This.
6321         (MEMCPY_CHK): Renamed to ...
6322         (__memmove_chk_avx512_no_vzeroupper): This.
6323         (MEMCPY): Renamed to ...
6324         (__memmove_avx512_no_vzeroupper): This.
6325         (__memcpy_avx512_no_vzeroupper): New alias.
6326         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6328 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6330         [BZ #18858]
6331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6332         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6333         and mempcpy-avx512-no-vzeroupper.
6334         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6335         New.
6336         (MEMPCPY): Likewise.
6337         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6338         (MEMPCPY_CHK): New.
6339         (MEMPCPY): Likewise.
6340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6341         (MEMPCPY): Likewise.
6342         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6343         (MEMPCPY): Likewise.
6344         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6345         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6346         Likewise.
6347         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6348         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6350 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6351              Amit Pawar  <Amit.Pawar@amd.com>
6353         [BZ #19583]
6354         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6355         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6356         processors.  Set Fast_Copy_Backward for AMD Excavator
6357         processors.
6358         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6359         New.
6360         (index_arch_Fast_Unaligned_Copy): Likewise.
6361         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6362         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6364 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6366         [BZ #19791]
6367         * resolv/res_send.c (close_and_return_error): New function.
6368         (send_dg): Initialize *resplen2 after reopen failure.  Call
6369         close_and_return_error for error returns.  On error paths without
6370         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6371         successful return.
6373 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6375         [BZ# 19860]
6376         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6377         zero if the compiler does not provide the AVX512F bit.
6379 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6381         [BZ #19848]
6382         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6383         from 8 to 4.
6384         (__ieee754_powl): Compare integer exponent against 4 not 8.
6385         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6386         from 8 to 4.
6387         (__ieee754_powl): Compare integer exponent against 4 not 8.
6388         * math/auto-libm-test-in: Add more tests of pow.
6389         * math/auto-libm-test-out: Regenerated.
6390         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6395         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6396         Make code unconditional.
6397         [!__NR_utimensat]: Remove conditional code.
6398         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6399         Make code unconditional.
6400         [!__NR_utimensat]: Remove conditional code.
6401         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6402         Make code unconditional.
6403         [!__NR_utimensat]: Remove conditional code.
6405 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6407         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6408         Make code unconditional.
6410 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6412         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6413         call-clobbered %eax on retry path.
6414         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6416 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6418         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6419         Don't set %rcx twice before "rep movsb".
6421 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6423         [BZ #19583]
6424         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6425         inline.  Check family before setting family, model and
6426         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6427         bits here.
6428         (init_cpu_features): Replace HAS_CPU_FEATURE and
6429         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6430         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6431         for Intel processors with usable AVX2.  Call get_common_indeces
6432         for other processors with family == NULL.
6433         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6434         (CPU_FEATURES_ARCH_P): Likewise.
6435         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6436         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6438 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6440         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6441         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6442         $(shared-thread-library) instead of hardcoding the path to libpthread.
6444 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6446         * sysdeps/unix/sysv/linux/kernel-features.h
6447         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6448         * sysdeps/unix/sysv/linux/getdents.c
6449         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6450         [!have_no_getdents64_defined]: Likewise.
6451         (__GETDENTS): Remove __have_no_getdents64 conditional.
6453 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6456         Remove macro.
6457         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6458         <kernel-features.h>.
6459         (signalfd) [__NR_signalfd4]: Make code unconditional.
6460         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6462 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6464         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6465         style.
6467 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6469         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6470         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6471         __pthread_unwind.
6472         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6473         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6474         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6475         (__condvar_cleanup1): Likewise.
6477 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6479         [BZ #19822]
6480         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6481         move it to the final $@ location.
6483 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6485         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6486         access where posix_spawn success and pid argument is null.
6487         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6488         success case.
6490 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6492         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6494         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6496         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6497         and __fcntl.
6498         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6499         __fcntl only.
6500         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6501         adding attribute_hidden to __open and __fcntl.
6503         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6504         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6505         depend on libc-modules.h,
6506         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6508 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6511         Remove macro.
6512         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6513         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6514         entry.
6516         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6517         Remove macro.
6518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6519         include <kernel-features.h>.
6520         [!__ASSUME_FALLOCATE]: Remove conditional code.
6521         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6523 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6526         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6528         (_ZGVdN4v_cos_avx2): Likewise.
6529         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6530         (_ZGVdN4v_cos): Likewise.
6531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6532         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6534         (_ZGVdN4v_exp_avx2): Likewise.
6535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6536         (_ZGVdN4v_exp): Likewise.
6537         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6538         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6539         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6540         (_ZGVdN4v_log_avx2): Likewise.
6541         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6542         (_ZGVdN4v_log): Likewise.
6543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6544         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6546         (_ZGVdN4vv_pow_avx2): Likewise.
6547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6548         (_ZGVdN4vv_pow): Likewise.
6549         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6550         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6552         (_ZGVdN4v_sin_avx2): Likewise.
6553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6554         (_ZGVdN4v_sin): Likewise.
6555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6556         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6558         (_ZGVdN4vvv_sincos_avx2): Likewise.
6559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6560         (_ZGVdN4vvv_sincos): Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6562         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6563         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6564         (_ZGVbN4v_cosf_sse4): Likewise.
6565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6566         (_ZGVdN8v_cosf_avx2): Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6568         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6569         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6570         (_ZGVbN4v_expf_sse4): Likewise.
6571         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6572         (_ZGVdN8v_expf_avx2): Likewise.
6573         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6574         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6575         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6576         (_ZGVbN4v_logf_sse4): Likewise.
6577         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6578         (_ZGVdN8v_logf_avx2): Likewise.
6579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6580         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6581         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6582         (_ZGVbN4vv_powf_sse4): Likewise.
6583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6584         (_ZGVdN8vv_powf_avx2): Likewise.
6585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6586         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6588         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6590         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6592         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6593         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6594         (_ZGVbN4v_sinf_sse4): Likewise.
6595         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6596         (_ZGVdN8v_sinf_avx2): Likewise.
6597         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6598         Use JUMPTARGET to call callee.
6599         (WRAPPER_IMPL_SSE2_ff): Likewise.
6600         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6601         (WRAPPER_IMPL_AVX): Likewise.
6602         (WRAPPER_IMPL_AVX_ff): Likewise.
6603         (WRAPPER_IMPL_AVX_fFF): Likewise.
6604         (WRAPPER_IMPL_AVX512): Likewise.
6605         (WRAPPER_IMPL_AVX512_ff): Likewise.
6606         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6607         Likewise.
6608         (WRAPPER_IMPL_SSE2_ff): Likewise.
6609         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6610         (WRAPPER_IMPL_AVX): Likewise.
6611         (WRAPPER_IMPL_AVX_ff): Likewise.
6612         (WRAPPER_IMPL_AVX_fFF): Likewise.
6613         (WRAPPER_IMPL_AVX512): Likewise.
6614         (WRAPPER_IMPL_AVX512_ff): Likewise.
6615         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6617 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6619         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6620         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6621         qualifier.
6622         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6623         internal_function qualifiers.
6625 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6627         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6628         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6629         * math/atest-exp.c (exp_mpn): Mark chk unused.
6630         * math/atest-exp2.c (exp_mpn): Likwise.
6631         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6632         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6634 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6637         Remove macro.
6638         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6639         <kernel-features.h>.
6640         [__NR_ppoll]: Make code unconditional.
6641         [!__ASSUME_PPOLL]: Remove conditional code.
6643         * sysdeps/unix/sysv/linux/kernel-features.h
6644         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6645         (__ASSUME_ACCEPT4): Likewise.
6646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6647         Define.
6648         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6649         Likewise.
6650         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6651         Likewise.
6652         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6653         Likewise.
6654         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6655         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6656         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6657         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6658         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6661         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6663         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6664         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6665         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6666         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6667         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6668         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6670         Likewise.
6671         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6672         Likewise.
6673         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6674         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6675         0x040300].
6676         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6677         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6678         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6679         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6680         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6681         0x030300].
6682         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6684         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6685         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6686         0x040300].
6687         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6688         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6690         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6692         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6693         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6694         0x030300].
6695         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6696         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6697         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6698         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6699         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6700         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6703         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6704         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6705         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6706         0x040300].
6707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6709         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6710         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6711         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6713         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6714         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6717         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6718         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6719         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6721         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6722         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6723         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6724         Likewise.
6725         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6726         Likewise.
6728 2016-03-15  Andreas Schwab  <schwab@suse.de>
6730         [BZ #19257]
6731         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6732         statp->_u._ext.nscount as loop count.
6734 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6736         * math/test-signgam-finite-c99.c: Also #undef
6737         __LIBC_INTERNAL_MATH_INLINES.
6738         * math/test-signgam-main.c: Likewise.
6740 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6742         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6743         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6744         (MADV_FREE): Likewise.
6745         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6746         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6747         EPOLLEXCLUSIVE.
6749 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6751         * timezone/README: Remove mention of checktab.awk. Mention wiki
6752         SharedSourceFiles.
6754 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6756         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6757         WUNTRACED.
6759 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6761         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6762         order to match the type of p when calling atomic_exchange_acq().
6764 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6766         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6767         cfi_offset calls.
6768         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6769         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6770         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6771         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6772         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6774 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6776         * timezone/checktab.awk: Removed.
6778 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6780         * manual/math.texi (Errors in Math Functions): Document relaxed
6781         accuracy goals for IBM long double.
6782         * math/libm-test.inc (test_exceptions): Always allow spurious
6783         "underflow" and "inexact" exceptions for IBM long double.
6785 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6787         [BZ #19762]
6788         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6789         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6790         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6791         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6792         (bit_arch_*): This for feature array.
6793         (bit_*): Renamed to ...
6794         (bit_cpu_*): This for cpu array.
6795         (index_*): Renamed to ...
6796         (index_arch_*): This for feature array.
6797         (index_*): Renamed to ...
6798         (index_cpu_*): This for cpu array.
6799         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6800         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6801         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6802         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6803         bit_##name with index_cpu_##name and bit_cpu_##name.
6804         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6805         bit_##name with index_arch_##name and bit_arch_##name.
6807 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6809         [BZ #19792]
6810         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6811         Terminate FDE before return label.
6813 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6815         [BZ #19790]
6816         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6817         (rintl): Define as macro.
6818         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6819         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6820         of fesetround.  Ensure results are evaluated before end of scope.
6821         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6822         USE_AS_NEARBYINTL and include s_rintl.c.
6823         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6824         Disable exception traps in new environment.
6825         (libc_feholdsetround_ppc_ctx): Likewise.
6827 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6829         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6830         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6831         (tst_audit10_aux) [__AVX512F__]: ... here.
6833 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6835         * include/sys/auxv.h: New file.
6837 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6839         [BZ #19759]
6840         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6842 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6844         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6845         operand modifier.
6846         (feclearexcept): Likewise.
6848 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6850         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6851         to reflect the entire 32-bit HWCAP.
6852         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6853         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6855 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6857         [BZ #19783]
6858         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6859         $(test-via-rtld-prefix).
6860         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6862 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6864         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6865         union wait.  Report any non-zero exit status as error.
6867 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6869         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6870         configured with --enable-hardcoded-path-in-tests.
6872 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6874         [BZ #19677]
6875         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6876         (__ieee754_remainderl): Put zero low parts in canonical form.
6877         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6878         file.  Based on
6879         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6880         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6881         with wrapper round test-fmodrem-ldbl-128ibm.c.
6882         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6883         file.
6884         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6885         Likewise.
6886         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6887         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6889 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6891         [BZ #19610]
6892         * elf/ldconfig.c (opt_link): Update comment.
6893         (options): Update help string for option -X.
6894         (search_dir): Unlink stale symbolic link only if updating symbolic
6895         links.
6896         * elf/tst-ldconfig-X.sh: New file.
6897         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6898         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6900 2016-03-07  Andreas Schwab  <schwab@suse.de>
6902         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6903         needed arguments.
6905 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6907         [BZ #15333]
6908         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6909         to lstat64.
6911 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6913         * libio/filedoalloc.c (isatty): Remove.
6914         (local_isatty): Add comment.  Call __isatty directly.
6915         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6916         * libio/wfiledoalloc.c (isatty): Remove.
6917         (_IO_wfile_doallocate): Update comment.
6919 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6921         [BZ #19269]
6922         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6923         tst-audit4-aux.o.
6924         (tst-audit10): Depend on tst-audit10-aux.o.
6925         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6926         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6927         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6928         instead of inline AVX code.
6929         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6930         instead of inline AVX512 code.
6931         * sysdeps/x86_64/tst-audit4-aux.c: New file
6932         * sysdeps/x86_64/tst-audit10-aux.c: New file
6934         [BZ #19648]
6935         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6937 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6939         [BZ #14750]
6940         [BZ #10354]
6941         [BZ #18433]
6942         * include/sched.h (__clone): Add hidden prototype.
6943         (__clone2): Likewise.
6944         * include/unistd.h (__dup): Likewise.
6945         * posix/Makefile (tests): Add tst-spawn2.
6946         * posix/tst-spawn2.c: New file.
6947         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6948         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6949         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6950         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6951         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6952         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6953         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6954         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6955         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6956         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6957         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6963         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6964         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6965         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6966         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6967         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6968         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6969         * sysdeps/unix/sysv/linux/nptl-signals.h
6970         (____nptl_is_internal_signal): New function.
6971         * sysdeps/unix/sysv/linux/spawni.c: New file.
6973         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6974         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6975         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6976         * posix/tst-execvp2.c (do_test): Likewise.
6977         * posix/tst-execvp3.c (do_test): Likewise.
6978         * posix/tst-execvp4.c (do_test): Likewise.
6979         * posix/tst-execvpe1.c: New file.
6980         * posix/tst-execvpe2.c: Likewise.
6981         * posix/tst-execvpe3.c: Likewise.
6982         * posix/tst-execvpe4.c: Likewise.
6983         * posix/tst-execvpe5.c: Likewise.
6984         * posix/tst-execvpe6.c: Likewise.
6986         [BZ #19534]
6987         * posix/execl.c (execl): Remove dynamic memory allocation.
6988         * posix/execle.c (execle): Likewise.
6989         * posix/execlp.c (execlp): Likewise.
6991 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6993         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6994         Replace .text with .text.avx512.
6995         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6996         Likewise.
6998 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7000         * sysdeps/generic/libnsl.abilist: New file.
7001         * sysdeps/generic/libutil.abilist: New file.
7003 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7005         [BZ #19762]
7006         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7007         HAS_ARCH_FEATURE with Fast_Rep_String.
7008         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7009         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7010         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7011         Likewise.
7012         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7013         Likewise.
7014         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7016         Likewise.
7017         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7018         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7019         Likewise.
7021 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7023         [BZ #19745]
7024         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7025         with *%rax in call.
7027 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7029         [BZ #19745]
7030         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7031         with *__libc_start_main@GOTPCREL(%rip) in call.
7033 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7035         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7036         inside conditional for nonempty $(CXX).
7038         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7039         nonempty.
7041         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7042         to test for empty $(CXX) rather than $(CXX) of "no".
7044 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7046         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7048 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7049             H.J. Lu  <hongjiu.lu@intel.com>
7051         [BZ #18880]
7052         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7053         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7054         enable __memcpy_ssse3_back.
7056 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7058         [BZ #19758]
7059         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7060         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7062 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7064         [BZ #19490]
7065         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7066         (__fentry__): Likewise.
7068 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7070         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7071         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7073 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7075         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7076         __mcount_internal directly.
7077         (C_LABEL(__fentry__)): Likewise.
7078         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7079         directly.
7081 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7083         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7084         (__start_context): Call __setcontext directly.
7086 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7089         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7090         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7091         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7093         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7094         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7095         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7096         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7097         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7098         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7099         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7100         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7101         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7102         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7104         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7106         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7107         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7108         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7109         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7110         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7111         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7112         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7113         Remove conditional code.
7114         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7115         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7116         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7117         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7118         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7119         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7120         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7121         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7122         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7123         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7124         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7125         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7127 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7129         * NEWS (2.23): Fix typo in bug 19048 text.
7131 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7133         [BZ #14259]
7134         * Makeconfig: Rename msgcatdir to localedir.
7135         Rename inst_msgcatdir to inst_localedir.
7136         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7137         * config.make.in: Add localedir.
7138         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7139         (ldd-rewrite): Likewise.
7140         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7141         (install-others): Use inst_localedir.
7142         (CPPFLAGS): Use localedir.
7143         * locale/Makefile (locale-CPPFLAGS): Likewise.
7144         * po/Makefile (mo-installed): Use inst_localedir.
7146         [BZ #19575]
7147         * localedata/charmaps/GB18030: Update comments regarding PAU to
7148         non-PUA mappings.
7150 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7152         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7153         test for header.
7154         * sysdeps/unix/sysv/linux/configure: Regenerated.
7155         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7156         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7157         Remove conditional code.
7158         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7160         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7161         Define to 3.2.0.
7162         (arch_minimum_kernel): Likewise.
7163         * sysdeps/unix/sysv/linux/configure: Regenerated.
7164         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7165         Define to 2.6.32.
7166         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7167         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7168         (arch_minimum_kernel): Define to 2.6.32.
7169         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7170         * README: Document Linux 3.2 requirement.
7171         * manual/install.texi (Linux): Document Linux 3.2 headers
7172         requirement.
7173         * INSTALL: Regenerated.
7175 2016-02-24  Andreas Schwab  <schwab@suse.de>
7177         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7178         if !NO_LONG_DOUBLE.
7180 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7182         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7183         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7185 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7187         [BZ #19512]
7188         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7190 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7192         * posix/tst-dir.c: Include libc-internal.h.
7194 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7196         [BZ #19056]
7197         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7198         * manual/filesys.texi (Reading/Closing Directory): Mention
7199         deprecaion.
7200         * posix/tst-dir.c (main): Disable deprecation warning in test.
7202 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7204         [BZ #19679]
7205         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7206         Renamed to ...
7207         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7208         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7209         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7210         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7211         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7212         * sysdeps/x86_64/dl-trampoline.h
7213         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7214         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7216 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7218         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7220 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7222         * elf/elf.h (R_386_GOT32X): New.
7223         (R_386_NUM): Update.
7224         (R_X86_64_GOTPCRELX: New.
7225         (R_X86_64_REX_GOTPCRELX): New.
7226         (R_X86_64_NUM): Update.
7228 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7230         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7232 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7234         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7235         assign attr->stackaddr to it, and adjust it down when
7236         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7237         [_STACK_GROWS_UP]: Delete assert.
7238         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7239         Implement stack grows up logic.
7240         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7241         stack grows up logic.
7243 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7245         * NEWS: Update with 2.24 template.
7247 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7249         [BZ #19678]
7250         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7251         Ensure +0.0 is returned when taking the next value below the least
7252         positive value.
7254 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7256         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7257         available.  Do not define NO_THREADS.
7258         * malloc/malloc.c: Do not check NO_THREADS.
7259         * malloc/arena.c: Likewise.
7261 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7263         * malloc/malloc.c (__libc_mallinfo): Update comment.
7264         (struct malloc_par): Remove max_total_mem member, it was always 0.
7265         (int_mallinfo): Store 0 into usmblks (no functional change).
7266         * malloc/hooks.c (struct malloc_state): Document that
7267         max_total_mem is always 0.
7268         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7269         always 0.
7270         * manual/memory.texi (Statistics of Malloc): Likewise.
7272 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7274         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7275         * malloc/arena.c (arena_max): Remove.
7276         (heap_trim, _int_new_arena): Do not update arena_max.
7278 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7280         * resolv/res_init.c (res_ninit): Update comment.
7282 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7284         [BZ #19505]
7285         * posix/spawn_int.h: Add headers and include guard.
7286         (__spawn_valid_fd): New function.
7287         * posix/spawn_faction_addopen.c
7288         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7289         * posix/spawn_faction_addclose.c
7290         (posix_spawn_file_actions_addclose): Likewise.
7291         * posix/spawn_faction_adddup2.c
7292         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7293         second file descriptor.
7294         * posix/spawn_valid_fd.c: New file.
7295         * posix/tst-posix_spawn-fd.c: New file.
7296         * posix/Makefile (routines): Add spawn_valid_fd.
7297         (tests): Add tst-posix_spawn-fd.
7299 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7301         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7302         (do_test): Limit the number of arenas, so that we can use fewer
7303         outer threads.  Limit timeout to 3 seconds, in preparation for a
7304         larger TIMEOUT value.
7306 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7308         [BZ #19674]
7309         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7310         sign in overflowing and underflowing results when overflow or
7311         underflow is detected early.  Include sign in result before rather
7312         than after scaling.
7314         [BZ #19603]
7315         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7316         (__ieee754_remainderl): Adjust sign of integer version of low part
7317         when taking absolute value of high part.
7318         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7319         * math/libm-test.inc (remainder_test_data): Add another test.
7320         (remquo_test_data): Likewise.
7322 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7324         [BZ #19602]
7325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7326         equal high parts and both low parts zero specially.
7327         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7328         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7329         Add test-fmodl-ldbl-128ibm.
7331         [BZ #19595]
7332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7333         common logic for all cases of shifting subnormal results.  Do not
7334         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7335         exponent to ldbl_insert_mantissa in subnormal case.
7337         [BZ #19594]
7338         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7339         on high and low parts then adjust result and use
7340         ldbl_canonicalize_int if needed.
7342         [BZ #19593]
7343         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7344         on high part and __floor or __ceil on low part then use
7345         ldbl_canonicalize_int if needed.
7347         [BZ #19592]
7348         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7349         high and low parts then use ldbl_canonicalize_int if needed.
7351         [BZ #17899]
7352         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7353         New function.
7354         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7355         on high and low parts then use ldbl_canonicalize_int if needed.
7357 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7359         * configure: Regenerated.
7361         * po/libc.pot: Regenerated.
7363         * po/be.po: Updated translation.
7364         * po/bg.po: Likewise.
7365         * po/ca.po: Likewise.
7366         * po/cs.po: Likewise.
7367         * po/da.po: Likewise.
7368         * po/el.po: Likewise.
7369         * po/eo.po: Likewise.
7370         * po/es.po: Likewise.
7371         * po/fi.po: Likewise.
7372         * po/fr.po: Likewise.
7373         * po/gl.po: Likewise.
7374         * po/hr.po: Likewise.
7375         * po/hu.po: Likewise.
7376         * po/ia.po: Likewise.
7377         * po/id.po: Likewise.
7378         * po/it.po: Likewise.
7379         * po/ja.po: Likewise.
7380         * po/lt.po: Likewise.
7381         * po/nb.po: Likewise.
7382         * po/nl.po: Likewise.
7383         * po/pt_BR.po: Likewise.
7384         * po/rw.po: Likewise.
7385         * po/sk.po: Likewise.
7386         * po/sl.po: Likewise.
7387         * po/sv.po: Likewise.
7388         * po/tr.po: Likewise.
7389         * po/zh_CN.po: Likewise.
7390         * po/zh_TW.po: Likewise.
7392         * version.h (RELEAES): Set to "development".
7393         (VERSION): Set to 2.23.90.
7395         * version.h (RELEASE): Set to "stable".
7396         (VERSION): Set to 2.23.
7397         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7399         * NEWS: Updated fixed bugs.
7401 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7402             Wilco Dijkstra  <wdijkstr@arm.com>
7404         [BZ #19462]
7405         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7406         (_STRING_INLINE_unaligned): This.
7407         * include/string.h: Include <string_private.h>.
7408         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7409         _STRING_INLINE_unaligned.
7410         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7411         (_STRING_INLINE_unaligned): New.
7412         * sysdeps/aarch64/string_private.h: New file.
7413         * sysdeps/generic/string_private.h: Likewise.
7414         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7415         * sysdeps/s390/string_private.h: Likewise.
7416         * sysdeps/x86/string_private.h: Likewise.
7417         * sysdeps/m68k/m680x0/m68020/bits/string.h
7418         (_STRING_ARCH_unaligned): Renamed to ...
7419         (_STRING_INLINE_unaligned): This.
7420         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7421         to ...
7422         (_STRING_INLINE_unaligned): This.
7423         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7424         to ...
7425         (_STRING_INLINE_unaligned): This.
7426         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7427         to ...
7428         (_STRING_INLINE_unaligned): This.
7430 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7431             H.J. Lu  <hongjiu.lu@intel.com>
7433         [BZ #19590]
7434         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7435         relocation.
7437 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7439         [BZ #18665]
7440         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7441         *herrno_p.
7442         (gaih_getanswer): Document functional behviour. Return tryagain
7443         if any result is tryagain.
7444         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7445         when freed.
7446         * resolv/res_send.c: Add copyright text.
7447         (__libc_res_nsend): Document that MAXPACKET is expected.
7448         (send_vc): Document. Remove buffer reuse.
7449         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7450         size of the buffer. Add Dprint for truncated UDP buffer.
7452 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7454         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7455         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7456         * INSTALL: Regenerate.
7458 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7459             Jonathan Wakely  <jwakely@redhat.com>
7460             Carlos O'Donell  <carlos@redhat.com>
7462         [BZ 19439]
7463         * math/Makefile (tests): Add test-math-isinff.
7464         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7465         * math/bits/mathcalls.h [__USE_MISC]: Use
7466         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7467         functions not in C++11 and which don't conflict e.g. isinff,
7468         isinfl etc.
7469         * math/test-math-isinff.cc: New file.
7471 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7473         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7475 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7477         [BZ #19529]
7478         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7480 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7482         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7484 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7486         [BZ #19550]
7487         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7488         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7489         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7490         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7491         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7492         New syscall entry.
7493         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7494         New syscall entry.
7495         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7496         syscall entry.
7498 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7500         [BZ #18240]
7501         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7502         unsigned int wraparound.
7504 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7506         [BZ #18240]
7507         * misc/bug18240.c: New test.
7508         * misc/Makefile (tests): Add it.
7510 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7511             Joseph Myers  <joseph@codesourcery.com>
7513         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7514         load in branch delay slot when less than a word of input left.
7516 2016-01-27  Andreas Schwab  <schwab@suse.de>
7518         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7519         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7520         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7521         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7523 2016-01-26  David S. Miller  <davem@davemloft.net>
7525         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7527 2016-01-25  David S. Miller  <davem@davemloft.net>
7529         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7530         __sqrtl_finite.
7531         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7532         instead using versioned_symbol.
7533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7534         of entries.
7536         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7537         __sqrtl_finite to GLIBC_2.23
7539 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7541         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7543 2016-01-25  Andreas Schwab  <schwab@suse.de>
7545         [BZ #17514]
7546         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7547         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7548         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7549         * nptl/tst-mutex-errorcheck.c: New file.
7551 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7553         [BZ #18560]
7554         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7555         (IPCOP_semop): Likewise.
7556         (IPCOP_semget): Likewise.
7557         (IPCOP_semctl): Likewise.
7558         (IPCOP_msgsnd): Likewise.
7559         (IPCOP_msgrcv): Likewise.
7560         (IPCOP_msgget): Likewise.
7561         (IPCOP_msgctl): Likewise.
7562         (IPCOP_shmat): Likewise.
7563         (IPCOP_shmdt): Likewise.
7564         (IPCOP_shmget): Likewise.
7565         (IPCOP_shmctl): Likewise.
7567 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7569         * string/tst-endian.c: Include <libc-internal.h>.
7570         (do_test): Ignore tautological-compare warnings around
7571         "htobeXX (beXXtoh (i)) != i" and
7572         "htoleXX (leXXtoh (i)) != i" if-statements.
7574 2016-01-24  David S. Miller  <davem@davemloft.net>
7576         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7577         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7578         alias.
7579         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7580         __sqrtl_finite.
7582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7584 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7586         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7587         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7588         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7590 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7592         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7593         (thread_func): Use new function to simplify barrier check.
7594         (do_test): Use new function to simplify checking barrier exit
7595         code, and actually join the child thread.
7597 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7599         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7600         semicolon.
7601         (__libc_tend): Likewise.
7602         (__libc_tabort): Likewise.
7604 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7606         * sysdeps/nios2/libm-test-ulps: Update.
7607         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7608         (__gtsf2): Likewise.
7609         (__unorddf2): Likewise.
7610         (__unordsf2): Likewise.
7611         (__ledf2): Likewise.
7613 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7615         * nis/nis_table.c (__follow_path): Disable diagnostic for
7616         uninitialized variable that is a false positive for gcc 4.7.
7617         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7619 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7621         * sysdeps/nacl/lowlevellock-futex.h
7622         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7623         Always evaluate PRIVATE argument.
7625 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7627         [BZ #19490]
7628         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7629         (pthread_cond_broadcast): Use ENTRY/END
7630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7631         (pthread_cond_signal): Likewise.
7632         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7633         Likewise.
7634         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7635         Likewise.
7636         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7637         Likewise.
7639 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7641         * sysdeps/ieee754/dbl-64/s_finite.c
7642         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7643         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7644         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7646         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7649         (__gtsf2): Add as optional for libc.so.
7650         (__unordsf2): Likewise.
7651         (__signbit): Remove for libc.so.
7652         (__signbitl): Likewise.
7654 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7656         * iconvdata/bug-iconv11.c (test_ibm93x):
7657         Use %zu printf format specifier for size_t argument.
7659 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7661         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7662         already-recorded ulps.
7663         * sysdeps/arm/libm-test-ulps: Regenerated.
7664         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7665         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7666         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7668 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7669             Paul Pluzhnikov  <ppluzhnikov@google.com>
7671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7672         assembler not supporting AVX-512.
7674 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7676         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7678 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7680         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7681         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7683         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7685         * sysdeps/arm/libm-test-ulps: Regenerated.
7687 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7689         [BZ #19451]
7690         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7692 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7694         [BZ #19486]
7695         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7696         * sysdeps/generic/fix-fp-int-convert-overflow.h
7697         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7698         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7699         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7700         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7701         Likewise.
7702         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7703         Avoid conversions to long int where inexact exceptions
7704         could be raised.
7705         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7706         Likewise.
7707         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7708         Avoid conversions to long long int where inexact exceptions
7709         could be raised.
7710         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7711         Likewise.
7713 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7715         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7716         * configure: Regenerated.
7718 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7720         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7722 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7725         outside of comment.
7727 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7729         * nptl/tst-barrier1.c: Add description on first line.
7730         * nptl/tst-barrier2.c: Likewise.
7731         * nptl/tst-barrier3.c: Likewise.
7732         * nptl/tst-barrier4.c: Likewise.
7733         * nptl/tst-barrier5.c: Likewise.
7735 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7737         [BZ #18868]
7738         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7740 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7744         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7745         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7746         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7747         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7748         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7749         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7750         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7751         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7752         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7754 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7756         [BZ #13065]
7757         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7758         new implementation.
7759         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7760         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7761         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7762         (BARRIER_IN_THRESHOLD): New macro.
7763         * nptl/pthread_barrierattr_setpshared.c
7764         (pthread_barrierattr_setpshared): Clean up.
7765         * nptl/tst-barrier4.c: Correct comment.
7766         * nptl/tst-barrier5.c: New file.
7767         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7768         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7769         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7770         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7771         * nptl/lowlevelbarrier.sym: Remove.
7772         * nptl/DESIGN-barrier.txt: Remove.
7773         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7774         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7775         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7776         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7777         error.
7778         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7779         implementation.
7781 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7783         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7784         (do_child): Mask SIGRTMIN while thr is running.
7786 2016-01-15  Martin Sebor  <msebor@redhat.com>
7788         [BZ #19432]
7789         * iconvdata/Makefile: Add bug-iconv11.
7790         * iconvdata/bug-iconv11.c: New test.
7791         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7792         * iconvdata/ibm933.c: Same.
7793         * iconvdata/ibm935.c: Same.
7794         * iconvdata/ibm937.c: Same.
7795         * iconvdata/ibm939.c: Same.
7797 2016-01-15  Martin Sebor  <msebor@redhat.com>
7799         [BZ #19443]
7800         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7801         [DEBUG] (_ufc_set_bits): Declare used.
7802         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7803         [DEBUG] (print_all): Declare used.
7804         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7805         operands of the ternary ?: expression to target type.
7806         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7807         calling the undeclared abort.
7808         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7810 2016-01-15  Martin Sebor  <msebor@redhat.com>
7812         [BZ #18755]
7813         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7814         warnings.
7815         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7816         (__gai_create_helper_thread): Same.
7817         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7818         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7819         to suppress -Wmaybe-uninitialized warnings.
7821 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7823         [BZ #19465]
7824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7825         inside if.
7826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7830 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7832         [BZ #19466]
7833         * time/tst-mktime2.c (time_t_max): Removed.
7834         (time_t_min): Likewise.
7835         (TYPE_SIGNED): New.
7836         (TYPE_MINIMUM): Likewise.
7837         (TYPE_MAXIMUM): Likewise.
7838         (TIME_T_MIN): Likewise.
7839         (TIME_T_MAX): Likewise.
7840         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7841         and TIME_T_MIN.
7842         (do_test): Likewise.
7844 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7846         [BZ #19467]
7847         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7848         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7850 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7852         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7854 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7856         * benchtests/Makefile (PYTHON): Define.
7857         (bench-func): Use $(PYTHON) to run python scripts.
7858         ($(objpfx)bench-%.c): Likewise.
7860 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7862         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7863         leading slash when `file_name' is "/".
7865 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7867         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7868         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7869         Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7871         Likewise.
7872         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7873         Likewise.
7874         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7875         enum constant and macro.
7876         (PTRACE_SETSIGMASK): Likewise.
7877         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7878         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7879         (PTRACE_GETSIGMASK): Likewise.
7880         (PTRACE_SETSIGMASK): Likewise.
7881         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7882         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7883         Likewise.
7884         (PTRACE_SETSIGMASK): Likewise.
7885         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7886         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7887         (PTRACE_GETSIGMASK): Likewise.
7888         (PTRACE_SETSIGMASK): Likewise.
7889         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7891         Likewise.
7892         (PTRACE_SETSIGMASK): Likewise.
7893         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7895         Likewise.
7896         (PTRACE_SETSIGMASK): Likewise.
7897         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7898         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7899         Likewise.
7900         (PTRACE_SETSIGMASK): Likewise.
7901         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7903 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7904             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7906         [BZ #19439]
7907         * math/bits/mathcalls.h
7908         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7909         prototype.
7910         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7912 2016-01-11  Andreas Schwab  <schwab@suse.de>
7914         [BZ #19253]
7915         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7916         cache when TZDEFRULES was used.
7917         * time/tst-tzname.c: New file.
7918         * time/Makefile (test): Add tst-tzname.
7919         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7920         * timezone/Makefile (test-zones): Add $(posixrules-file).
7921         ($(testdata)/$(posixrules-file)): New rule.
7923 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7925         Fix doc quoting problems with Texinfo 5
7926         Without this change, in the info file output, Texinfo 5 quotes code
7927         in text with undirected single quotes 'like this' and generates
7928         code examples that with many PDF readers cannot be cut out of PDFs
7929         and pasted into code.
7930         * manual/libc.texinfo: Configure the libc manual like the GNU
7931         Emacs manual, by using @documentencoding and setting
7932         txicodequoteundirected and txicodequotebacktick.  This way,
7933         Texinfo 5 quotes code in text with directed single quotes ‘like
7934         this’ and produces examples that can be cut out of PDFs.  This
7935         change causes Texinfo 5 to generate info files that contain UTF-8
7936         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7937         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7939 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7941         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7942         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7943         barriers to their respective compiler built-ins.
7944         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7945         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7946         * sysdeps/powerpc/sysdep.h: Likewise.
7947         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7948         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7949         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7951 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7953         * scripts/config.guess: Revert previous shebang change.
7954         * scripts/config.sub: Likewise.
7955         * scripts/mkinstalldirs: Likewise.
7957 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7959         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7960         PPC_FEATURE2_HAS_IEEE128.
7961         * sysdeps/powerpc/dl-procinfo.c:
7962         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7964 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7966         [BZ #19415]
7967         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7968         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7969         (_dl_lookup_address): Rewrite using function resolver trampoline.
7970         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7971         two bits in address.
7973 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7975         * longlong.h: Change !__SHMEDIA__ to
7976         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7977         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7979 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7980             Joseph Myers  <joseph@codesourcery.com>
7981             Mark Shinwell  <shinwell@codesourcery.com>
7982             Andrew Stubbs  <ams@codesourcery.com>
7983             Rich Felker <dalias@libc.org>
7985         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7987 2016-01-07  Richard Henderson  <rth@redhat.com>
7989         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7991 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7993         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7994         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7995         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7996         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7997         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7999 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8000             Joseph Myers  <joseph@codesourcery.com>
8002         * timezone/private.h: Update from tzcode 2015g.
8003         * timezone/tzfile.h: Likewise.
8004         * timezone/tzselect.ksh: Likewise.
8005         * timezone/zdump.c: Likewise.
8006         * timezone/zic.c: Likewise.
8007         * timezone/ialloc.c: Remove file.
8008         * timezone/scheck.c: Likewise.
8009         * timezone/Makefile (extra-objs): Remove variable.
8010         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8011         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8012         -Wno-maybe-uninitialized.
8013         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8014         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8015         (CFLAGS-ialloc.c): Remove variable.
8016         (CFLAGS-scheck.c): Likewise.
8017         * timezone/README: Update list of files from tzcode.
8019 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8021         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8022         instead of __fxprintf when _LIBC is undefined.
8024 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8026         * catgets/test-gencat.sh: Remove space after shebang.
8027         * conform/GlibcConform.pm: Likewise.
8028         * conform/check-header-lists.sh: Likewise.
8029         * conform/conformtest.pl: Likewise.
8030         * conform/linknamespace.pl: Likewise.
8031         * conform/list-header-symbols.pl: Likewise.
8032         * debug/catchsegv.sh: Likewise.
8033         * elf/genrtldtbl.awk: Likewise.
8034         * elf/tst-pathopt.sh: Likewise.
8035         * elf/tst-rtld-load-self.sh: Likewise.
8036         * grp/tst_fgetgrent.sh: Likewise.
8037         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8038         * iconvdata/gen-8bit-gap.sh: Likewise.
8039         * iconvdata/gen-8bit.sh: Likewise.
8040         * iconvdata/run-iconv-test.sh: Likewise.
8041         * intl/tst-gettext.sh: Likewise.
8042         * intl/tst-gettext2.sh: Likewise.
8043         * intl/tst-gettext4.sh: Likewise.
8044         * intl/tst-gettext6.sh: Likewise.
8045         * intl/tst-translit.sh: Likewise.
8046         * io/ftwtest-sh: Likewise.
8047         * libio/test-freopen.sh: Likewise.
8048         * locale/gen-translit.pl: Likewise.
8049         * malloc/tst-mtrace.sh: Likewise.
8050         * manual/check-safety.sh: Likewise.
8051         * manual/libc-texinfo.sh: Likewise.
8052         * manual/tsort.awk: Likewise.
8053         * manual/xtract-typefun.awk: Likewise.
8054         * nptl/tst-cancel-wrappers.sh: Likewise.
8055         * nptl/tst-tls6.sh: Likewise.
8056         * posix/globtest.sh: Likewise.
8057         * posix/tst-getconf.sh: Likewise.
8058         * posix/wordexp-tst.sh: Likewise.
8059         * scripts/check-c++-types.sh: Likewise.
8060         * scripts/check-local-headers.sh: Likewise.
8061         * scripts/config.guess: Likewise.
8062         * scripts/config.sub: Likewise.
8063         * scripts/cpp: Likewise.
8064         * scripts/cross-test-ssh.sh: Likewise.
8065         * scripts/documented.sh: Likewise.
8066         * scripts/evaluate-test.sh: Likewise.
8067         * scripts/gen-libc-abis: Likewise.
8068         * scripts/gen-sorted.awk: Likewise.
8069         * scripts/list-fixed-bugs.py: Likewise.
8070         * scripts/merge-test-results.sh: Likewise.
8071         * scripts/mkinstalldirs: Likewise.
8072         * scripts/rellns-sh: Likewise.
8073         * scripts/test-installation.pl: Likewise.
8074         * scripts/update-copyrights: Likewise.
8075         * stdio-common/tst-printf.sh: Likewise.
8076         * stdio-common/tst-unbputc.sh: Likewise.
8077         * stdlib/tst-fmtmsg.sh: Likewise.
8078         * stdlib/tst-setcontext3.sh: Likewise.
8079         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8080         * sysdeps/unix/make-syscalls.sh: Likewise.
8082 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8084         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8085         asm stw with atomic_exchange_rel.  Add explanatory comment.
8086         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8087         Likewise.
8089 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8091         [BZ #19122]
8092         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8093         * sysdeps/generic/dl-unistd.h: New file.
8094         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8096 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8098          [BZ #19122]
8099          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8100          * sysdeps/generic/dl-mman.h: New file.
8101          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8103 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8105         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8106         trailing whitespace removed.
8107         * scripts/config.guess: Update to version 2016-01-01.
8108         * scripts/config.sub: Update to version 2016-01-01.
8109         * scripts/move-if-change: Update from gnulib.
8111 2016-01-04  Anton Blanchard  <anton@samba.org>
8113         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8114         for array indices.
8115         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8117 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8119         * NEWS: Update copyright dates.
8120         * catgets/gencat.c (print_version): Likewise.
8121         * csu/version.c (banner): Likewise.
8122         * debug/catchsegv.sh: Likewise.
8123         * debug/pcprofiledump.c (print_version): Likewise.
8124         * debug/xtrace.sh (do_version): Likewise.
8125         * elf/ldconfig.c (print_version): Likewise.
8126         * elf/ldd.bash.in: Likewise.
8127         * elf/pldd.c (print_version): Likewise.
8128         * elf/sotruss.sh: Likewise.
8129         * elf/sprof.c (print_version): Likewise.
8130         * iconv/iconv_prog.c (print_version): Likewise.
8131         * iconv/iconvconfig.c (print_version): Likewise.
8132         * locale/programs/locale.c (print_version): Likewise.
8133         * locale/programs/localedef.c (print_version): Likewise.
8134         * login/programs/pt_chown.c (print_version): Likewise.
8135         * malloc/memusage.sh (do_version): Likewise.
8136         * malloc/memusagestat.c (print_version): Likewise.
8137         * malloc/mtrace.pl: Likewise.
8138         * manual/libc.texinfo: Likewise.
8139         * nptl/version.c (banner): Likewise.
8140         * nscd/nscd.c (print_version): Likewise.
8141         * nss/getent.c (print_version): Likewise.
8142         * nss/makedb.c (print_version): Likewise.
8143         * posix/getconf.c (main): Likewise.
8144         * scripts/test-installation.pl: Likewise.
8145         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8147         * All files with FSF copyright notices: Update copyright dates
8148         using scripts/update-copyrights.
8149         * intl/plural.c: Regenerated.
8150         * locale/programs/charmap-kw.h: Likewise.
8151         * locale/programs/locfile-kw.h: Likewise.
8153 2016-01-02  Helge Deller  <deller@gmx.de>
8155         [BZ #19285]
8156         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8157         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8158         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8159         (MADV_xxK_PAGES): Remove.
8161 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8163         [BZ #15421]
8164         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8165         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8166         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8167         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8169 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8171         [BZ #19408]
8172         * sysdeps/unix/sysv/linux/personality.c: New file.
8173         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8174         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8175         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8176         (sysdep_routines): Add personality.
8177         (tests): Add tst-personality.
8178         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8179         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8180         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8181         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8182         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8184         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8187         Likewise.
8188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8189         Likewise.
8190         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8191         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8192         Likewise.
8194 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8196         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8197         (PATH_ARM_SYSTYPE): Remove.
8198         (PATH_CPUINFO): Likewise.
8199         (IO_BASE_FOOTBRIDGE): Likewise.
8200         (IO_SHIFT_FOOTBRIDGE): Likewise.
8201         (struct platform): Likewise.
8202         (init_iosys): Remove compatibility code for 2.4 kernels.
8203         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8205 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8207         * malloc/tst-malloc-thread-fail.c: New file.
8208         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8209         (tst-malloc-thread-fail): Link against libpthread.
8211 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8213         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8214         (get_parser): New function.
8215         (main): New function.
8217 2015-12-29  Rob Wu  <rob@robwu.nl>
8219         [BZ #19369]
8220         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8222 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8224         [BZ #19270]
8225         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8227 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8229         [BZ #15421]
8230         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8232 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8234         [BZ #13690]
8235         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8236         after releasing it.
8237         (__lll_robust_unlock): Likewise.
8238         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8239         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8240         (lll_robust_unlock): Likewise.
8241         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8242         Prevent warnings in callers.
8244 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8246         * malloc/arena.c (list_lock): Update comment.
8248 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8250         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8251         __parse_hwcap_and_convert_at_platform to libc.a.
8253 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8255         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8256         platform and feature support for POWER9.
8257         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8258         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8259         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8260         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8261         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8262         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8263         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8264         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8266 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8268         Harmonize generic stdio-lock support with nptl
8270         This fixes build when _IO_funlockfile is a macro, fixes build where
8271         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8272         stack unwind.
8274         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8275         _IO_release_lock ): Use cleanup attribute on new
8276         _IO_acquire_lock_file variable instead of assuming that
8277         _IO_release_lock will be called.
8278         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8279         _IO_acquire_lock_needs_exceptions_enabled.
8280         (_IO_acquire_lock_clear_flags2): New macro.
8282 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8284         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8286 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8288         [BZ #19182]
8289         * malloc/arena.c (list_lock): Document lock ordering requirements.
8290         (free_list_lock): New lock.
8291         (ptmalloc_lock_all): Comment on free_list_lock.
8292         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8293         (detach_arena): Update comment.  free_list_lock is now needed.
8294         (_int_new_arena): Use free_list_lock around detach_arena call.
8295         Acquire arena lock after list_lock.  Add comment, including FIXME
8296         about incorrect synchronization.
8297         (get_free_list): Switch to free_list_lock.
8298         (reused_arena): Acquire free_list_lock around detach_arena call
8299         and attached threads counter update.  Add two FIXMEs about
8300         incorrect synchronization.
8301         (arena_thread_freeres): Switch to free_list_lock.
8302         * malloc/malloc.c (struct malloc_state): Update comments to
8303         mention free_list_lock.
8305 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8307         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8308         Remove functions.
8309         (sloww, sloww1): Accept argument to offset quadrant.
8310         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8311         quadrant.
8312         (__sin, __cos): Consolidate common code into new functions.
8313         (reduce_sincos_1, do_sincos_1): New functions.
8314         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8317         code to new functions.
8318         (reduce_sincos_2, do_sincos_2): New functions.
8319         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8322         common code for sincos.
8323         (__cos) [!IN_SINCOS]: Likewise.
8324         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8325         New function.
8326         (__sincos): Use it.
8328 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8330         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8331         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8332         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8334 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8336         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8339         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8340         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8341         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8342         index_Prefer_No_VZEROUPPER): New feature.
8343         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8344         Prefer_No_VZEROUPPER for Knights Landing.
8346 015-12-18  Torvald Riegel  <triegel@redhat.com>
8348         * math/atest-exp2.c (mp_exp_m1): Remove.
8350 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8352         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8353         syscalls.
8354         (__SYSCALL0): New macro.
8355         (__SYSCALL1): Likewise.
8356         (__SYSCALL2): Likewise.
8357         (__SYSCALL3): Likewise.
8358         (__SYSCALL4): Likewise.
8359         (__SYSCALL5): Likewise.
8360         (__SYSCALL6): Likewise.
8361         (__SYSCALL_CONCAT_X): Likewise.
8362         (__SYSCALL_CONCAT): Likewise.
8363         (__SYSCALL_DIST): Likewise.
8364         (__SYSCALL_CALL): Likewise.
8366 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8368         [BZ #19363]
8369         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8371 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8373         [BZ #19375]
8374         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8375         negative subnormals.
8377 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8380         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8381         (INTERNAL_SYSCALL_NCS): Use it.
8382         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8384 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8386         [BZ #19243]
8387         * malloc/arena.c (get_free_list): Remove assert and adjust
8388         reference count handling.  Add comment about reused_arena
8389         interaction.
8390         (reused_arena): Add comments abount get_free_list interaction.
8391         * malloc/tst-malloc-thread-exit.c: New file.
8392         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8393         (tst-malloc-thread-exit): Link against libpthread.
8395 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8397         [BZ #19367]
8398         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8399         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8400         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8401         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8402         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8404 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8406         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8407         Silvermont optimizations for Knights Landing.
8409 2015-12-15  Andreas Schwab  <schwab@suse.de>
8411         [BZ #17197]
8412         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8413         immediately after emitting SI.
8414         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8415         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8416         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8417         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8418         * iconvdata/bug-iconv10.c: New file.
8419         * iconvdata/Makefile (tests): Add bug-iconv10.
8420         ($(objpfx)bug-iconv10.out): New rule.
8422 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8424         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8425         aliasing violation.
8427 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8429         [BZ #18472]
8430         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8431         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8432         conditionals for them.
8433         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8434         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8436         sys/kdaemon.h.
8437         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8438         compat-only syscall, obsoleted in glibc 2.23.
8439         (create_module): Likewise.
8440         (get_kernel_syms): Likewise.
8441         (query_module): Likewise.
8442         (uselib): Likewise.
8443         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8445 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8447         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8448         <linux/version.h>.
8449         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8450         conditional code.
8451         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8452         and ioshift_name initialization.
8454 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8457         Fix indentation.
8459 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8461         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8463 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8465         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8467 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8468             Jakub Wilk  <jwilk@debian.org>
8470         [BZ #19347]
8471         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8472         to change the group of the device to the tty group.
8474 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8476         Split large string section; add truncation advice
8477         * manual/examples/strncat.c: Remove.
8478         This example was misleading, as the code would have undefined
8479         behavior if "hello" was longer than SIZE.  Anyway, the manual
8480         shouldn't encourage strncpy+strncat for this sort of thing.
8481         * manual/string.texi (Copying Strings and Arrays): Split into
8482         three sections Copying Strings and Arrays, Concatenating Strings,
8483         and Truncating Strings, as this section was way too long.  All
8484         cross-referenced changed.  Add advice about string-truncation
8485         functions.  Remove misleading strncat example.
8487 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8489         * manual/nss.texi (NSS Modules Interface): Document
8490         NSS_STATUS_NOTFOUND and SUCCESS.
8492 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8494         [BZ 18568]
8495         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8496         201505L, for Unicode 8.
8498 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8500         * locale/C-translit.h: Regenerate.
8502 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8504         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8505         and U+0153.
8507 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8509         [BZ #19351]
8510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8511         expanding log(1+z), compare z rather than its square with epsilon
8512         to determine when to avoid evaluating the expansion.
8514         [BZ #19350]
8515         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8516         Increase overflow threshold.
8518         [BZ #19349]
8519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8520         when small.
8522         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8524         New macro.
8525         [__LINUX_KERNEL_VERSION >= 0x040300]
8526         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8527         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8528         Likewise.
8529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8530         Likewise.
8531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8532         Likewise.
8533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8534         Likewise.
8535         [__LINUX_KERNEL_VERSION >= 0x040300]
8536         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8537         [__LINUX_KERNEL_VERSION >= 0x040300]
8538         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8539         [__LINUX_KERNEL_VERSION >= 0x040300]
8540         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8541         [__LINUX_KERNEL_VERSION >= 0x040300]
8542         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8543         [__LINUX_KERNEL_VERSION >= 0x040300]
8544         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8546         Likewise.
8547         [__LINUX_KERNEL_VERSION >= 0x040300]
8548         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8550         Likewise.
8551         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8552         Likewise.
8553         [__LINUX_KERNEL_VERSION >= 0x040300]
8554         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8556         Likewise.
8557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8558         Likewise.
8559         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8561         Likewise.
8562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8563         Likewise.
8564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8565         Likewise.
8566         [__LINUX_KERNEL_VERSION >= 0x040300]
8567         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8569         Likewise.
8570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8571         Likewise.
8572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8573         Likewise.
8574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8575         Likewise.
8576         [__LINUX_KERNEL_VERSION >= 0x040300]
8577         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8578         [__LINUX_KERNEL_VERSION >= 0x040300]
8579         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8580         [__LINUX_KERNEL_VERSION >= 0x040300]
8581         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8582         [__LINUX_KERNEL_VERSION >= 0x040300]
8583         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8584         [__LINUX_KERNEL_VERSION >= 0x040300]
8585         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8587         Likewise.
8588         [__LINUX_KERNEL_VERSION >= 0x040300]
8589         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8591         Likewise.
8592         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8593         Likewise.
8594         [__LINUX_KERNEL_VERSION >= 0x040300]
8595         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8596         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8597         Likewise.
8598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8599         Likewise.
8600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8601         (__ASSUME_SOCKET_SYSCALL): Likewise.
8602         (__ASSUME_BIND_SYSCALL): Likewise.
8603         (__ASSUME_CONNECT_SYSCALL): Likewise.
8604         (__ASSUME_LISTEN_SYSCALL): Likewise.
8605         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8606         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8607         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8608         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8609         (__ASSUME_SEND_SYSCALL): Likewise.
8610         (__ASSUME_SENDTO_SYSCALL): Likewise.
8611         (__ASSUME_RECV_SYSCALL): Likewise.
8612         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8613         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8614         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8615         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8616         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8617         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8618         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8620         Likewise.
8621         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8622         Likewise.
8623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8624         Likewise.
8625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8626         Likewise.
8627         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8628         Likewise.
8629         [__LINUX_KERNEL_VERSION >= 0x020625]
8630         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8631         [__LINUX_KERNEL_VERSION >= 0x020625]
8632         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8633         [__LINUX_KERNEL_VERSION >= 0x020625]
8634         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8636         Likewise.
8637         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8638         Likewise.
8639         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8640         Likewise.
8641         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8642         Likewise.
8643         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8644         Likewise.
8645         [__LINUX_KERNEL_VERSION >= 0x020625]
8646         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8647         [__LINUX_KERNEL_VERSION >= 0x020625]
8648         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8649         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8650         Likewise.
8651         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8652         Likewise.
8654 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8656         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8657         record the current if the current ABI and CPU support the FP64
8658         extension.
8659         (has-modd-spreg): Define to record the current if the current ABI and
8660         CPU support 32-bit floating point values in odd FPU registers.
8661         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8662         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8663         $(has-modd-spreg) equals yes.
8664         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8665         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8666         $(has-modd-spreg) equal yes.
8668 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8670         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8671         basename.
8673 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8675         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8676         (bench-string): ... here.
8677         (bench): Add bench-string.
8678         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8679         to *-benchset to reflect what they are.
8680         (benchset): Adjust.
8682         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8683         cos-inputs.
8685 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8687         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8688         __attribute__ ((__simd__)) for vector math function declarations.
8690 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8692         Fix typo in strncat, wcsncat manual entries
8693         * manual/string.texi (Copying and Concatenation): Fix typos in
8694         sample implementations of strncat and wcsncat, by having them use
8695         the old value of the destination length, not the new one.
8697 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8699         [BZ #16961]
8700         [BZ #16962]
8701         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8702         string on the stack for strtod.
8703         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8704         a string on the stack for strtof.
8705         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8706         constructing a string on the stack for strtold.
8707         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8708         __strtold_nan to GLIBC_PRIVATE.
8709         * math/test-nan-overflow.c: New file.
8710         * math/test-nan-payload.c: Likewise.
8711         * math/Makefile (tests): Add test-nan-overflow and
8712         test-nan-payload.
8714 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8716         Consistency about byte vs character in string.texi
8717         * manual/string.texi (String and Array Utilities):
8718         Distinguish more carefully among bytes, multibyte characters,
8719         and wide characters.  Use "byte" when talking about C 'char',
8720         to distinguish it more clearly from multibyte characters.
8721         Say "wide character" or "multibyte character" instead of
8722         "character", when a wide or multibyte character is intended.
8723         Similarly for "multibyte string" versus "string".
8724         Define these terms more carefully.
8726 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8728         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8729         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8730         Likewise.
8731         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8732         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8733         * sysdeps/sh/math_private.h: New file.
8734         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8735         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8736         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8737         long double function name.
8738         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8739         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8740         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8741         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8742         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8744         Remove __finitel, __isinfl, and __isnanl.
8745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8746         Likewise.
8747         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8749         Remove __finitel.
8750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8751         Likewise.
8752         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8754 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8756         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8757         installed libmvec_nonshared.a.
8759 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8761         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8762         (sysdep_routines): Likewise.
8763         (sysdep-rtld-routines): Likewise.
8764         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8765         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8766         * sysdeps/powerpc/Versions: Added new
8767         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8768         * sysdeps/powerpc/hwcapinfo.c: New file.
8769         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8770         and parse hwcap, hwcap2 and platform number information.
8771         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8772         to store HWCAP+HWCAP2 and platform number.
8773         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8774         for HWCAP+HWCAP2 and platform number in the TCB.
8775         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8776         the HWCAP, HWCAP2 and platform number in the TCB.
8777         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8778         (TLS_INIT_TP): Included calls to add the hwcap and
8779         at_platform values in the TCB in TP initialization.
8780         (TLS_DEFINE_INIT_TP): Likewise.
8781         (THREAD_GET_HWCAP): New macro.
8782         (THREAD_SET_HWCAP): Likewise.
8783         (THREAD_GET_AT_PLATFORM): Likewise.
8784         (THREAD_SET_AT_PLATFORM): Likewise.
8785         * sysdeps/powerpc/powerpc32/dl-machine.h:
8786         (dl_platform_init): New function that calls
8787         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8788         powerpc32.
8789         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8790         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8791         this functionality, static linking case.
8792         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8793         linking case.
8794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8795         __parse_hwcap_and_convert_at_platform for the static linking case.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8797         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8798         ABI list for GLIBC 2.23.
8799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8800         Likewise.
8801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8802         Likewise.
8804 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8806         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8807         * configure: Regenerate.
8808         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8809         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8811 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8813         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8814         * iconvdata/ibm933.c: Likewise.
8815         * iconvdata/ibm935.c: Likewise.
8816         * iconvdata/ibm937.c: Likewise.
8817         * iconvdata/ibm939.c: Likewise.
8819 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8821         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8822         pthread_join.
8823         * nptl/tst-cancel21.c (tf): Likewise.
8825 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8827         [BZ #19313]
8828         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8829         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8830         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8831         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8834         Likewise.
8835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8836         Likewise.
8837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8838         Likewise.
8839         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8840         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8841         unsigned long int with __CPU_MASK_TYPE.
8843 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8845         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8847 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8850         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8851         t512.x.
8852         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8854 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8856         [BZ #19214]
8857         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8858         argument to return extended model.  Update family and model
8859         with extended family and model when family == 0x0f.
8860         (init_cpu_features): Updated.
8862 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8864         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8865         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8867         * sysdeps/mach/hurd/mmap64.c: New file.
8869 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8871         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8872         rights for its main user thread in NEWTASK.
8874 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8876         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8877         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8879 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8881         [BZ #14259]
8882         * Makeconfig: Rename localedir to complocaledir.
8883         Rename inst_localedir to inst_complocaledir.
8884         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8885         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8886         * configure.ac: Use libc_cv_complocaledir.
8887         * configure: Regenerate.
8888         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8889         -DCOMPLOCALEDIR.
8890         * locale/findlocale.c: Use COMPLOCALEDIR.
8891         * locale/loadarchive.c: Likewise.
8892         * locale/programs/locale.c: Likewise.
8893         * locale/programs/localedef.c: Likewise.
8894         * locale/programs/locarchive.c: Likewise.
8895         * localedata/Makefile: Use inst_complocaledir.
8896         * sysdeps/gnu/configure: Regenerate.
8897         * sysdeps/hppa/configure: Regenerate.
8898         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8899         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8901         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8902         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8903         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8904         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8906 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8908         [BZ #19058]
8909         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8910         AS_NEEDED.
8911         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8912         workaround.
8913         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8914         libmvec-static-only-routines): Added new file.
8915         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8917 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8919         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8920         of interrupted RPC instead of restoring it.
8922         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8923         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8924         libc_hidden_def.
8925         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8926         into initialized data instead of common. Define rtld_hidden_data_def.
8927         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8928         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8929         libc_hidden_def.
8930         (if_freenameindex): Add libc_hidden_weak.
8931         (if_nameindex): Add libc_hidden_weak.
8932         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8933         __open64.
8934         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8935         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8936         * sysdeps/mach/nanosleep.c: Include <time.h>
8937         (__nanosleep): Rename to __libc_nanosleep.
8938         (__nanosleep): Add weak_alias.
8939         (nanosleep): Update alias.
8941 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8943         * stdlib/strtod_nan.c: New file.
8944         * stdlib/strtod_nan_double.h: Likewise.
8945         * stdlib/strtod_nan_float.h: Likewise.
8946         * stdlib/strtod_nan_main.c: Likewise.
8947         * stdlib/strtod_nan_narrow.h: Likewise.
8948         * stdlib/strtod_nan_wide.h: Likewise.
8949         * stdlib/strtof_nan.c: Likewise.
8950         * stdlib/strtold_nan.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8952         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8953         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8954         * wcsmbs/wcstod_nan.c: Likewise.
8955         * wcsmbs/wcstof_nan.c: Likewise.
8956         * wcsmbs/wcstold_nan.c: Likewise.
8957         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8958         strtold_nan.
8959         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8960         wcstof_nan.
8961         * include/stdlib.h (__strtof_nan): Declare and use
8962         libc_hidden_proto.
8963         (__strtod_nan): Likewise.
8964         (__strtold_nan): Likewise.
8965         (__wcstof_nan): Likewise.
8966         (__wcstod_nan): Likewise.
8967         (__wcstold_nan): Likewise.
8968         * include/wchar.h (____wcstoull_l_internal): Declare.
8969         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8970         (____strtoull_l_internal): Remove declaration.
8971         (STRTOF_NAN): Define macro.
8972         (SET_MANTISSA): Remove macro.
8973         (STRTOULL): Likewise.
8974         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8975         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8976         (STRTOF_NAN): Define macro.
8977         (SET_MANTISSA): Remove macro.
8978         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8979         (SET_MANTISSA): Remove macro.
8980         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8981         macro.
8982         (SET_MANTISSA): Remove macro.
8983         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8984         macro.
8985         (SET_MANTISSA): Remove macro.
8986         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8987         (SET_MANTISSA): Remove macro.
8988         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8989         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8990         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8992         [BZ #19266]
8993         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8994         upper case and lower case letters inside NAN(), not using TOLOWER.
8995         * stdlib/tst-strtod-nan-locale-main.c: New file.
8996         * stdlib/tst-strtod-nan-locale.c: Likewise.
8997         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8998         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8999         Depend on $(gen-locales).
9000         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9001         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9002         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9003         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9004         Depend on $(gen-locales).
9005         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9007 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9009         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9011         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9013         __finitel, __isinfl, and __isnanl.
9014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9015         Likewise.
9016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9018         __finitel.
9019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9020         Likewise.
9021         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9023 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9025         * malloc/memusage.c (me): Remove redundant getenv call.
9027 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9029         [BZ #19143]
9030         [BZ #19164]
9031         * nptl/check-cpuset.h: Remove.
9032         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9033         Remove CPU set size check.
9034         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9035         Likewise.
9036         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9037         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9038         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9039         (__pthread_setaffinity_new): Remove CPU set size check.
9040         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9041         (__kernel_cpumask_size): Remove.
9042         (__sched_setaffinity_new): Remove CPU set size check.
9043         * manual/threads.texi (Default Thread Attributes): Remove stale
9044         reference to check_cpuset_attr, determine_cpumask_size in comment.
9045         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9046         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9047         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9048         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9049         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9050         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9051         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9052         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9053         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9054         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9055         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9056         skeleton test file.
9057         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9058         tst-affinity-pid.
9060 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9062         * scripts/update-abilist.sh: New file.
9063         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9064         * Makerules (update-all-abi-%, update-all-abi)
9065         (subdir_update-all-abi): New targets.
9066         * elf/Makefile (update-all-abi): New target.
9068 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9070         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9071         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9072         (__libc_lock_define_initialized): Use it.
9073         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9074         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9075         * malloc/malloc.c (main_arena): Likewise.
9076         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9077         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9079 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9081         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9082         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9083         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9084         (PTRACE_O_MASK): Update value.
9085         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9086         New value in enum __ptrace_setoptions.
9087         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9088         (PTRACE_O_MASK): Update value.
9089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9090         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9091         (PTRACE_O_MASK): Update value.
9092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9093         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9094         (PTRACE_O_MASK): Update value.
9095         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9096         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9097         (PTRACE_O_MASK): Update value.
9098         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9099         New value in enum __ptrace_setoptions.
9100         (PTRACE_O_MASK): Update value.
9101         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9102         New value in enum __ptrace_setoptions.
9103         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9104         (PTRACE_O_MASK): Update value.
9106         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9107         New macro.
9108         (PACKET_AUXDATA): Likewise.
9109         (PACKET_ORIGDEV): Likewise.
9110         (PACKET_VERSION): Likewise.
9111         (PACKET_HDRLEN): Likewise.
9112         (PACKET_RESERVE): Likewise.
9113         (PACKET_TX_RING): Likewise.
9114         (PACKET_LOSS): Likewise.
9115         (PACKET_VNET_HDR): Likewise.
9116         (PACKET_TX_TIMESTAMP): Likewise.
9117         (PACKET_TIMESTAMP): Likewise.
9118         (PACKET_FANOUT): Likewise.
9119         (PACKET_TX_HAS_OFF): Likewise.
9120         (PACKET_QDISC_BYPASS): Likewise.
9121         (PACKET_ROLLOVER_STATS): Likewise.
9122         (PACKET_FANOUT_DATA): Likewise.
9123         (PACKET_MR_UNICAST): Likewise.
9125         [BZ #19242]
9126         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9127         (TOUPPER): Likewise.
9128         * stdlib/tst-strtol-locale-main.c: New file.
9129         * stdlib/tst-strtol-locale.c: Likewise.
9130         * stdlib/Makefile (tests): Add tst-strtol-locale.
9131         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9132         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9133         Depend on $(gen-locales).
9134         * wcsmbs/tst-wcstol-locale.c: New file.
9135         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9136         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9137         tr_TR.ISO-8859-9.
9138         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9139         Depend on $(gen-locales).
9141 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9143         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9144         __glibc_likely instead of __builtin_expect.  After falling back to
9145         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9146         system interface to register the code pages as occupied.
9148 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9150         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9151         [!ARM_MATH_PRIVATE_H].
9152         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9153         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9154         [!HPPA_MATH_PRIVATE_H].
9155         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9156         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9157         to [!I386_MATH_PRIVATE_H].
9158         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9159         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9160         Change guard to [!M68K_MATH_PRIVATE_H].
9161         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9162         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9163         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9164         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9165         macro.
9166         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9167         [!MIPS_MATH_PRIVATE_H].
9168         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9169         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9170         [!NIO2_MATH_PRIVATE_H].
9171         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9172         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9173         [!TILE_MATH_PRIVATE_H].
9174         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9176         [BZ #15421]
9177         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9178         initialize with 0 and define as weak alias of __signgam.
9179         * include/math.h [!_ISOMAC] (__signgam): Declare.
9180         * math/Makefile (libm-calls): Add w_lgamma_compat.
9181         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9182         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9183         test-signgam-ullong-init.
9184         (tests-static): Add test-signgam-uchar-static,
9185         test-signgam-uchar-init-static, test-signgam-uint-static,
9186         test-signgam-uint-init-static, test-signgam-ullong-static and
9187         test-signgam-ullong-init-static.
9188         (CFLAGS-test-signgam-uchar.c): New variable.
9189         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9190         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9191         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9192         (CFLAGS-test-signgam-uint.c): Likewise.
9193         (CFLAGS-test-signgam-uint-init.c): Likewise.
9194         (CFLAGS-test-signgam-uint-static.c): Likewise.
9195         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9196         (CFLAGS-test-signgam-ullong.c): Likewise.
9197         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9198         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9199         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9200         * math/Versions (libm): Add GLIBC_2.23.
9201         * math/lgamma-compat.h: New file.
9202         * math/test-signgam-main.c: Likewise.
9203         * math/test-signgam-uchar-init-static.c: Likewise.
9204         * math/test-signgam-uchar-init.c: Likewise.
9205         * math/test-signgam-uchar-static.c: Likewise.
9206         * math/test-signgam-uchar.c: Likewise.
9207         * math/test-signgam-uint-init-static.c: Likewise.
9208         * math/test-signgam-uint-init.c: Likewise.
9209         * math/test-signgam-uint-static.c: Likewise.
9210         * math/test-signgam-uint.c: Likewise.
9211         * math/test-signgam-ullong-init-static.c: Likewise.
9212         * math/test-signgam-ullong-init.c: Likewise.
9213         * math/test-signgam-ullong-static.c: Likewise.
9214         * math/test-signgam-ullong.c: Likewise.
9215         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9216         wrapper of w_lgamma_main.c.
9217         * math/w_lgamma_compat.c: New file.
9218         * math/w_lgamma_compatf.c: Likewise.
9219         * math/w_lgamma_compatl.c: Likewise.
9220         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9221         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9222         defining compatibility symbols.
9223         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9224         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9225         wrapper of w_lgammaf_main.c.
9226         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9227         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9228         defining compatibility symbols.
9229         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9230         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9231         wrapper of w_lgammal_main.c.
9232         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9233         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9234         defining compatibility symbols.
9235         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9236         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9237         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9238         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9239         <lgamma-compat.h>.
9240         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9241         (__ieee754_gamma): Define as alias.
9242         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9243         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9244         <lgamma-compat.h>.
9245         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9246         (__ieee754_gammaf): Define as alias.
9247         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9248         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9249         <lgamma-compat.h>.
9250         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9251         (__ieee754_gammal): Define as alias.
9252         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9253         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9254         <math/w_lgamma_compat.c>.
9255         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9256         Define as alias of __lgamma_compat and use in defining lgammal.
9257         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9258         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9259         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9260         (USE_AS_COMPAT): New macro.
9261         (LGAMMA_OLD_VER): Undefine and redefine.
9262         (lgammal): Do not define here.
9263         (gammal): Only define here if [GAMMA_ALIAS].
9264         * conform/linknamespace.pl (@whitelist): Remove signgam.
9265         * sysdeps/nacl/libm.abilist: Update.
9266         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9269         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9270         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9272         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9273         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9274         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9275         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9276         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9277         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9279         Likewise.
9280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9283         Likewise.
9284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9287         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9288         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9294         Likewise.
9295         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9296         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9297         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9299 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9301         [BZ #16364]
9302         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9303         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9305 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9307         * sysdeps/s390/fpu/bits/mathinline.h:
9308         Use __asm__ [__volatile__] instead of asm [volatile].
9309         * sysdeps/s390/abort-instr.h: Likewise.
9310         * sysdeps/s390/atomic-machine.h: Likewise.
9311         * sysdeps/s390/bits/string.h: Likewise.
9312         * sysdeps/s390/dl-tls.h: Likewise.
9313         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9314         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9315         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9316         * sysdeps/s390/fpu/fesetround.c: Likewise.
9317         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9318         * sysdeps/s390/fpu/s_fma.c: Likewise.
9319         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9320         * sysdeps/s390/memusage.h: Likewise.
9321         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9322         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9323         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9324         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9325         * sysdeps/s390/nptl/tls.h: Likewise.
9326         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9327         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9328         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9329         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9330         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9331         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9332         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9333         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9334         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9335         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9336         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9337         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9338         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9339         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9340         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9341         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9342         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9343         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9344         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9346         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9348         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9350 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9351             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9353         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9354         Add lwarx hint, and use macro for acquire instruction.
9355         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9356         Likewise.
9357         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9358         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9359         update to use new atomic macros.
9361 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9363         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9364         (__lll_trylock_elision): Fix setting of adapt_count.
9365         * sysdeps/unix/sysv/linux/powerpc/htm.h
9366         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9367         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9368         (_ABORT_SYSCALL): Renumber, and clarify definition.
9369         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9371 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9373         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9374         after system headers to prevent MIN/MAX redefinition.  Define
9375         HAVE_ALLOCA to preserve builtin alloca usage.
9377 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9380         static and don't set or restore rounding.
9381         (__cos)[IN_SINCOS]: Likewise.
9382         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9383         (__sincos): Set and restore rounding mode.  Remove check for infinite
9384         or NaN input.
9386         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9388         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9389         as used.
9391 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9393         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9395 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9397         * config.make.in (have-glob-dat-reloc): New.
9398         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9399         target supports GLOB_DAT relocaton. AC_SUBST.
9400         * configure: Regenerated.
9401         * elf/Makefile (tests): Add tst-prelink.
9402         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9403         (tst-prelink-ENV): New.
9404         ($(objpfx)tst-prelink-conflict.out): Likewise.
9405         ($(objpfx)tst-prelink-cmp.out): Likewise.
9406         * sysdeps/x86/tst-prelink.c: Moved to ...
9407         * elf/tst-prelink.c: Here.
9408         * sysdeps/x86/tst-prelink.exp: Moved to ...
9409         * elf/tst-prelink.exp: Here.
9410         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9411         (tst-prelink-ENV): Removed.
9412         ($(objpfx)tst-prelink-conflict.out): Likewise.
9413         ($(objpfx)tst-prelink-cmp.out): Likewise.
9414         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9416 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9418         [BZ #14551]
9419         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9420         (__mpn_construct_long_double): If high part overflows to infinity,
9421         set errno and recompute overflowed result of the correct sign.
9422         * sysdeps/ieee754/ldbl-128ibm/Makefile
9423         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9424         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9425         $(libm).
9426         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9428 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9430         [BZ #15479]
9431         [BZ #19238]
9432         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9433         floating-point state after first operation on input.  Restore full
9434         state rather than just rounding mode.
9435         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9436         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9437         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9439         [BZ #19235]
9440         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9441         add 0.5 to integer arguments.
9442         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9443         Likewise.
9444         (.LC2): New object.
9446 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9448         * scripts/pylintrc (reports): Set to no.
9450 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9452         * elf/dl-load.c (open_verify): Take new argument FD.
9453         Skip __open call if passed FD is not -1.
9454         (_dl_map_object, open_path): Update callers.
9455         * elf/dl-sysdep-open.h: New file.
9456         * elf/dl-load.c: Include it.
9457         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9458         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9459         * sysdeps/nacl/dl-sysdep-open.h: New file.
9460         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9461         from libc to rtld.
9463 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9465         [BZ #19228]
9466         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9467         and restore full floating-point state.
9468         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9469         Likewise.
9470         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9471         Likewise.
9472         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9473         Likewise.
9474         * math/test-nearbyint-except-2.c: New file.
9475         * math/Makefile (tests): Add test-nearbyint-except-2.
9477 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9479         [BZ #19178]
9480         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9481         (tst-prelink-ENV): New.
9482         ($(objpfx)tst-prelink-conflict.out): Likewise.
9483         ($(objpfx)tst-prelink-cmp.out): Likewise.
9484         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9485         * sysdeps/x86/tst-prelink.c: New file.
9486         * sysdeps/x86/tst-prelink.exp: Likewise.
9488 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9490         * math/auto-libm-test-in: Add another test of pow.
9491         * math/auto-libm-test-out: Regenerated.
9492         * math/libm-test.inc (pow_test_data): Add another test.
9494 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9496         [BZ #19219]
9497         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9498         weak_alias to nearbyintl.
9500 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9502         * sysdeps/aarch64/bits/string.h: New file.
9503         (_STRING_ARCH_unaligned): Define.
9505 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9507         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9508         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9509         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9510         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9513 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9515         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9516         for original name of the DSO.  Add it to the name list of the DSO
9517         if it is actually given.
9518         (_dl_map_object): Keep track of whether an audit module rewrote
9519         the file name.  If yes, pass the original name to
9520         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9521         debugging is enabled, log the change of the file name.
9522         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9523         _dl_map_object_from_fd.
9524         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9525         * elf/tst-audit11.c: New file
9526         * elf/tst-auditmod11.c: New file.
9527         * elf/tst-audit11mod1.c: New file.
9528         * elf/tst-audit11mod2.c: New file.
9529         * elf/tst-audit11mod2.map: New file.
9530         * elf/tst-audit12.c: New file
9531         * elf/tst-auditmod12.c: New file.
9532         * elf/tst-audit12mod1.c: New file.
9533         * elf/tst-audit12mod2.c: New file.
9534         * elf/tst-audit12mod2.map: New file.
9535         * elf/tst-audit12mod3.c: New file.
9537 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9539         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9540         Don't create weak aliases,
9541         because versioned symbols are created later.
9542         * sysdeps/s390/s390-32/setjmp.S
9543         (setjmp, _setjmp): Remove weak and rename to an unique name
9544         in SHARED case due to existing versioned symbols.
9545         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9546         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9547         (getcontext): Create weak alias only in non SHARED case.
9548         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9550 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9552         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9553         (__ASSUME_*_SYSCALL) Define new macros.
9554         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9555         Remove socketcall syscalls.
9556         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9557         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9558         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9559         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9560         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9561         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9563 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9565         [BZ #12926]
9566         Terminate process on invalid netlink response.
9567         * sysdeps/unix/sysv/linux/netlinkaccess.h
9568         (__netlink_assert_response): Declare.
9569         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9570         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9571         (sysdep_routines): Add netlink_assert_response.
9572         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9573         __netlink_assert_response.
9574         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9575         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9576         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9577         __netlink_assert_response.
9579 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9581         [BZ #19178]
9582         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9583         (RTYPE_CLASS_PLT): Likewise.
9584         (RTYPE_CLASS_COPY): Likewise.
9585         (RTYPE_CLASS_TLS): Likewise.
9586         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9587         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9588         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9589         DL_DEBUG_PRELINK.
9591 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9593         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9594         calls with argument -0.5.
9595         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9597         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9598         (libc_cv_z_nodlopen): Likewise.
9599         (libc_cv_z_initfirst): Likewise.
9600         * configure: Regenerated.
9602 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9604         Simplify abilist format to be line-based.
9605         * scripts/abilist.awk: Collect descriptors in the descs variable.
9606         (emit): Write descs variable and sort it
9607         externally, with sort.
9608         * sysdeps/**/*.abilist: Convert to new format.
9610 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9612         [BZ #11460]
9613         * io/Makefile (routines): Add fts64.
9614         (tests): Add tst-fts and tst-fts-lfs.
9615         (CFLAGS-fts64.c): New.
9616         * io/Versions (GLIBC_2.23): New.
9617         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9618         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9619         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9620         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9621         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9622         (FTSENT64): Likewise.
9623         (fts64_children): Likewise.
9624         (fts64_close): Likewise.
9625         (fts64_open): Likewise.
9626         (fts64_read): Likewise.
9627         (fts64_set): Likewise.
9628         * io/fts64.c: New file.
9629         * io/tst-fts.c: New test.
9630         * io/tst-fts-lfs.c: Likewise.
9631         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9632         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9633         fts64_set.
9634         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9635         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9636         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9637         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9638         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9639         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9646         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9648         Likewise.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9657         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9663         * sysdeps/wordsize-64/fts.c: New file.
9664         * sysdeps/wordsize-64/fts64.c: Likewise.
9665         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9666         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9667         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9668         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9670 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9672         * math/libm-test.inc (NON_FINITE): New macro.
9673         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9674         * math/gen-libm-test.pl (show_exceptions): Add argument
9675         $non_finite.
9676         (parse_args): Update call to show_exceptions.
9677         * math/test-math-finite.h: New file.
9678         * math/test-math-no-finite.h: Likewise.
9679         * math/test-double-finite.c: Likewise.
9680         * math/test-float-finite.c: Likewise.
9681         * math/test-ldouble-finite.c: Likewise.
9682         * math/test-double.c: Include "test-math-no-finite.h".
9683         * math/test-float.c: Include "test-math-no-finite.h".
9684         * math/test-ldouble.c: Include "test-math-no-finite.h".
9685         * math/test-math-inline.h (TEST_FINITE): New macro.
9686         * math/test-math-vector.h (TEST_FINITE): Likewise.
9687         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9688         (libm-tests): Add test-float-finite and test-double-finite.
9689         ($(objpfx)test-float-finite.o): New dependency on
9690         $(objpfx)libm-test.stmp.
9691         ($(objpfx)test-double-finite.o): Likewise.
9692         ($(objpfx)test-ldouble-finite.o): Likewise.
9693         (libm-test-no-inline-cflags): New variable.
9694         (libm-test-finite-cflags): Likewise.
9695         (CFLAGS-test-float-finite.c): Likewise.
9696         (CFLAGS-test-double-finite.c): Likewise.
9697         (CFLAGS-test-ldouble-finite.c): Likewise.
9698         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9699         (CFLAGS-test-double.c): Likewise.
9700         (CFLAGS-test-ldouble.c): Likewise.
9702 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9704         * io/fcntl.c (__fcntl): Add ... to prototype.
9705         * misc/ioctl.c (__ioctl): Likewise.
9706         * misc/syscall.c (syscall): Likewise.
9708 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9710         * scripts/list-fixed-bugs.py: New file.
9712         [BZ #19213]
9713         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9714         returned for argument 1.
9715         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9716         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9717         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9718         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9719         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9720         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9722         [BZ #19211]
9723         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9724         __USE_XOPEN], not if [!__USE_ISOC99].
9725         (lgammaf): Likewise.
9726         (lgammal): Likewise.
9727         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9728         (gammaf): Likewise.
9729         (gammal): Likewise.
9730         * math/test-signgam-finite-c11.c: New file.
9731         * math/test-signgam-finite-c99.c: Likewise.
9732         * math/test-signgam-finite.c: Likewise.
9733         * math/Makefile (tests): Add test-signgam-finite,
9734         test-signgam-finite-c99 and test-signgam-finite-c11.
9735         (CFLAGS-test-signgam-finite.c): New variable.
9736         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9737         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9739         [BZ #19212]
9740         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9741         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9742         500].
9743         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9744         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9745         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9746         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9747         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9748         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9749         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9750         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9751         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9752         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9754         [BZ #19209]
9755         * math/bits/math-finite.h (ldexp): Remove declaration.
9756         (ldexpf): Likewise.
9757         (ldexpl): Likewise.
9759         [BZ #19205]
9760         * math/bits/math-finite.h (acosf): Condition declaration on
9761         [__USE_ISOC99].
9762         (acosl): Likewise.
9763         (acoshf): Likewise.
9764         (acoshl): Likewise.
9765         (asinf): Likewise.
9766         (asinl): Likewise.
9767         (atan2f): Likewise.
9768         (atan2l): Likewise.
9769         (atanhf): Likewise.
9770         (atanhl): Likewise.
9771         (coshf): Likewise.
9772         (coshl): Likewise.
9773         (expf): Likewise.
9774         (expl): Likewise.
9775         (fmodf): Likewise.
9776         (fmodl): Likewise.
9777         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9778         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9779         (j0l): Likewise.
9780         (y0f): Likewise.
9781         (y0l): Likewise.
9782         (j1f): Likewise.
9783         (j1l): Likewise.
9784         (y1f): Likewise.
9785         (y1l): Likewise.
9786         (jnf): Likewise.
9787         (jnl): Likewise.
9788         (ynf): Likewise.
9789         (ynl): Likewise.
9790         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9791         (lgammal_r): Likewise.
9792         (__lgamma_r_finite): New declaration.
9793         (__lgammaf_r_finite): Likewise.
9794         (__lgammal_r_finite): Likewise.
9795         (lgamma): Use __lgamma_r_finite.
9796         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9797         __lgammaf_r_finite.
9798         (lgammal): Condition definition on [__USE_ISOC99].  Use
9799         __lgammal_r_finite.
9800         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9801         __lgamma_r_finite.
9802         (gammaf): Condition definition on [__USE_ISOC99].  Use
9803         __lgammaf_r_finite.
9804         (gammal): Condition definition on [__USE_ISOC99].  Use
9805         __lgammal_r_finite.
9806         (logf): Condition declaration on [__USE_ISOC99].
9807         (logl): Likewise.
9808         (log10f): Likewise.
9809         (log10l): Likewise.
9810         (ldexpf): Likewise.
9811         (ldexpl): Likewise.
9812         (powf): Likewise.
9813         (powl): Likewise.
9814         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9815         __USE_ISOC99].
9816         (remainderf): Condition declaration on [__USE_ISOC99].
9817         (remainderl): Likewise.
9818         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9819         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9820         (scalbl): Likewise.
9821         (sinhf): Condition declaration on [__USE_ISOC99].
9822         (sinhl): Likewise.
9823         (sqrtf): Likewise.
9824         (sqrtl): Likewise.
9826 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9828         * sysdeps/arm/atomic-machine.h
9829         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9830         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9831         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9832         Remove conditional code.
9833         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9834         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9835         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9836         Change conditional to [__ASSEMBLER__].
9837         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9838         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9839         [!__ASSEMBLER__].
9840         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9841         code.
9842         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9843         conditional macro definitions.
9844         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9845         (__arch_compare_and_exchange_val_16_acq): Likewise.
9846         (__arch_compare_and_exchange_val_32_acq): Likewise.
9847         (atomic_exchange_and_add): Likewise.
9848         (atomic_add): Likewise.
9849         (atomic_add_negative): Likewise.
9850         (atomic_add_zero): Likewise.
9851         (atomic_bit_set): Likewise.
9852         (atomic_bit_test_set): Likewise.
9853         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9854         code unconditional.
9855         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9857         * math/test-math-errno.h: New file.
9858         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9859         empty.
9860         (TEST_ERRNO): New macro.
9861         (TEST_EXCEPTIONS): Likewise.
9862         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9863         (TEST_EXCEPTIONS): Likewise.
9864         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9865         * math/test-double.c: Include "test-math-errno.h".
9866         * math/test-float.c: Likewise.
9867         * math/test-ldouble.c: Likewise.
9868         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9869         code unconditional.
9870         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9871         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9872         unconditional.
9873         (test_errno): Only run code if TEST_ERRNO.
9874         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9876 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9878         * nptl/tst-once5.cc: Remove attribution.
9880 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9882         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9883         sqrt, tan, tanh, y0, y1 and yn.
9884         * math/auto-libm-test-out: Regenerated.
9885         * math/libm-test.inc (scalb_test_data): Add more tests.
9886         (scalbn_test_data): Likewise.
9887         (scalbln_test_data): Likewise.
9888         (signbit_test_data): Likewise.
9889         (sin_test_data): Likewise.
9890         (sincos_test_data): Likewise.
9891         (sinh_test_data): Likewise.
9892         (sqrt_test_data): Likewise.
9893         (tan_test_data): Likewise.
9894         (tanh_test_data): Likewise.
9895         (tgamma_test_data): Likewise.
9896         (y0_test_data): Likewise.
9897         (y1_test_data): Likewise.
9898         (yn_test_data): Likewise.
9899         (significand_test_data): Likewise.
9900         * sysdeps/i386/fpu/libm-test-ulps: Update.
9902 2015-11-03  David Kastrup  <dak@gnu.org>
9904         [BZ #18604]
9905         * assert/assert.h (assert): Don't macro-expand failed assertion
9906         expression in error message.
9907         * malloc/malloc.c (assert): Likewise.
9909 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9911         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9912         test.
9913         * configure: Regenerated.
9915 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9917         * math/libm-test.inc (modf_test_data): Add more tests.
9918         (nearbyint_test_data): Likewise.
9919         (nextafter_test_data): Likewise.
9920         (nexttoward_test_data): Likewise.
9921         (pow_test_data): Likewise.
9922         (remainder_test_data): Likewise.
9923         (remquo_test_data): Likewise.
9924         (rint_test_data): Likewise.
9926         [BZ #19201]
9927         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9928         Check for zero remainder in case of large exponents and ensure
9929         correct sign of result in that case.
9930         * math/libm-test.inc (remainder_test_data): Add more tests.
9932         [BZ #6799]
9933         * math/s_nextafter.c: Include <errno.h>.
9934         (__nextafter): Set errno on overflow and underflow.
9935         * math/s_nexttowardf.c: Include <errno.h>.
9936         (__nexttowardf): Set errno on overflow and underflow.
9937         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9938         (__nextafterl): Set errno on overflow and underflow.
9939         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9940         (__nexttoward): Set errno on overflow and underflow.
9941         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9942         (__nexttowardf): Set errno on overflow and underflow.
9943         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9944         (__nextafterf): Set errno on overflow and underflow.
9945         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9946         (__nextafterl): Set errno on overflow and underflow.
9947         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9948         (__nexttoward): Set errno on overflow and underflow.
9949         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9950         (__nexttowardf): Set errno on overflow and underflow.
9951         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9952         (__nextafterl): Set errno on overflow and underflow.
9953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9954         (__nexttoward): Set errno on overflow and underflow.
9955         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9956         (__nexttowardf): Set errno on overflow and underflow.
9957         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9958         (__nexttoward): Set errno on overflow and underflow.
9959         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9960         (__nexttowardf): Set errno on overflow and underflow.
9961         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9962         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9963         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9964         (__nextafterl): Set errno on overflow and underflow.
9965         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9966         setting to be missing on overflow.  Add more tests.
9967         (nexttoward_test_data): Likewise.
9969         * configure.ac (libc_cv_initfini_array): Remove configure test.
9970         * configure: Regenerated.
9972 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9974         [BZ #19189]
9975         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9976         non-finite argument handle arguments with negative sign.
9978         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9979         result from infinite argument.
9980         (j1_test_data): Likewise.
9981         (jn_test_data): Likewise.
9982         (y0_test_data): Likewise.
9983         (y1_test_data): Likewise.
9984         (yn_test_data): Likewise.
9986         [BZ #16171]
9987         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9988         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9989         * math/w_remainderf.c (dremf): Define as weak alias of
9990         __remainderf.
9991         * math/w_remainderl.c (dreml): Define as weak alias of
9992         __remainderl.
9993         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9994         __remainder.
9995         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9996         __remainderf.
9997         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9998         __remainderl.
9999         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10000         weak alias of remainderl.
10001         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10002         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10003         alias of __remainder.
10004         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10005         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10006         strong alias of __remainderl.
10007         (dreml): Use long_double_symbol.
10008         * math/Makefile (libm-calls): Remove w_drem.
10009         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10010         (CFLAGS-nldbl-drem.c): Remove variable.
10011         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10012         * math/w_drem.c: Remove file.
10013         * math/w_dremf.c: Likewise.
10014         * math/w_dreml.c: Likewise.
10015         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10016         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10017         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10019         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10020         * sysdeps/i386/configure: Regenerated.
10021         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10022         * sysdeps/x86_64/configure: Regenerated.
10024         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10025         test.
10026         (libc_cv_visibility_attribute): Likewise.
10027         (libc_cv_protected_data): Test unconditionally.
10028         (libc_cv_broken_visibility_attribute): Remove configure test.
10029         (libc_cv_have_sdata_section): Test unconditionally.
10030         * configure: Regenerated.
10032         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10033         * include/scratch_buffer.h: Include <stddef.h> instead of
10034         <libc-internal.h>.
10035         (struct scratch_buffer): Use max_align_t instead of
10036         libc_max_align_t.
10038 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10040         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10041         instead of extend_alloca.  Change control flow to avoid a goto.
10042         Remove assert which is trivially always true.
10044 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10046         [BZ #16068]
10047         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10048         (FE_ALL_EXCEPT_X86): New macro.
10049         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10050         FE_ALL_EXCEPT.  Ensure precision control is included in
10051         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10052         handle "denormal operand exception" and clear FZ and DAZ bits.
10053         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10054         (FE_ALL_EXCEPT_X86): New macro.
10055         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10056         FE_ALL_EXCEPT.  Ensure precision control is included in
10057         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10058         handle "denormal operand exception" and clear FZ and DAZ bits.
10059         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10060         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10061         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10062         test-fenv-x87 and test-fenv-sse-2.
10063         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10065         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10066         * math/test-double.h (BUILD_COMPLEX): New macro.
10067         * math/test-float.h (BUILD_COMPLEX): Likewise.
10068         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10070         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10071         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10072         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10074         instead of DBL_DENORM_MIN in comment.
10075         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10076         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10078         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10080         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10082 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10084         [BZ# 19048]
10085         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10086         attached_threads member.
10087         (main_arena): Initialize attached_threads.
10088         * malloc/arena.c (list_lock): Update comment.
10089         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10090         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10091         (deattach_arena): New function.
10092         (_int_new_arena): Initialize arena reference count and deattach
10093         replaced arena.
10094         (get_free_list, reused_arena): Update reference count and deattach
10095         replaced arena.
10096         (arena_thread_freeres): Update arena reference count and only put
10097         unreferenced arenas on the free list.
10099 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10101         [BZ #19181]
10102         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10103         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10104         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10105         * math/test-fenv-clear-main.c: New file.
10106         * math/test-fenv-clear.c: Likewise.
10107         * math/Makefile (tests): Add test-fenv-clear.
10108         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10109         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10110         test-fenv-clear-sse.
10111         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10113         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10114         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10115         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10117 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10119         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10120         static libc.
10122 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10124         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10125         test.
10126         * sysdeps/i386/configure: Regenerated.
10127         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10128         test.
10129         * sysdeps/x86_64/configure: Regenerated.
10130         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10132         memset-avx2 unconditionally instead of conditionally on
10133         [$(config-cflags-avx2) = yes].
10134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10135         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10136         unconditional.
10137         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10138         * sysdeps/x86_64/multiarch/memset_chk.S
10139         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10140         to [IS_IN (libc) && SHARED].
10142 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10144         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10145         configure test.
10146         * sysdeps/arm/configure: Regenerated.
10147         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10148         Define variable if not already defined.
10150         [BZ #17404]
10151         * sysdeps/mips/atomic-machine.h
10152         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10153         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10154         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10156         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10157         unconditional.
10158         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10159         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10160         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10161         unconditional.
10162         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10163         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10164         unconditional.
10165         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10166         * stdlib/setenv.c
10167         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10168         code unconditional.
10169         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10170         Remove conditional code.
10171         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10172         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10173         unconditional.
10174         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10175         code.
10176         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10177         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10178         unconditional.
10179         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10180         code.
10181         * sysdeps/ieee754/ldbl-128/k_tanl.c
10182         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10183         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10184         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10185         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10186         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10187         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10188         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10189         unconditional.
10190         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10191         code.
10192         * sysdeps/ieee754/ldbl-96/k_tanl.c
10193         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10194         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10196         * nptl/tst-initializers1-c11.c: New file.
10197         * nptl/tst-initializers1-gnu11.c: Likewise.
10198         * nptl/Makefile (tests): Add these new tests.
10199         (CFLAGS-tst-initializers1-c11.c): New variable.
10200         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10202         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10203         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10204         instead of -std=gnu99.
10205         * configure.ac (systemtap): Test with -std=gnu11 instead of
10206         -std=gnu99.
10207         * configure: Regenerated.
10208         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10209         in compilation command in comment.
10211         * sysdeps/nptl/configure.ac: Remove file.
10212         * sysdeps/nptl/configure: Remove generated file.
10213         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10214         * configure: Regenerated.
10215         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10216         * config.make.in (have-forced-unwind): Remove variable.
10217         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10218         unconditional.
10219         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10220         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10221         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10222         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10223         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10224         unconditional.
10226 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10228         [BZ #19174]
10229         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10230         .skip_lock_out_of_tbegin_retries.
10231         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10232         (__lll_lock_elision): Likewise, and respect a value of
10233         try_tbegin <= 0.
10235 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10237         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10238         statement.
10240 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10242         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10243         variable.
10244         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10245         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10247         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10248         of -std=c1x -D_ISOC11_SOURCE.
10250         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10251         * configure: Regenerated.
10252         * manual/install.texi (Tools for Compilation): Document
10253         requirement for GCC 4.7 or later.
10254         * INSTALL: Regenerated.
10256 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10258         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10259         on CNT to a conditional jump to 'puntdata'.
10261 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10263         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10264         (libc_cv_gcc_tls_model_attr): Likewise.
10265         * configure: Regenerated.
10267         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10268         * configure: Regenerated.
10269         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10271 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10273         * configure.ac (old_glibc_headers): Remove configure test.
10274         * configure: Regenerated.
10275         * config.make.in (old-glibc-headers): Remove variable.
10276         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10277         (install): Remove dependency on remove-old-headers.
10278         (headers2_0): Remove variable.
10279         (remove-old-headers): Remove rule.
10281         * configure.ac (libc_cv_dot_text): Remove configure test.
10282         (libc_cv_asm_set_directive): Use .text instead of
10283         ${libc_cv_dot_text} in configure test.
10284         * configure: Regenerated.
10286 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10288         [BZ #19168]
10289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10291 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10293         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10294         not support static linking.
10295         * configure: Regenerate.
10297 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10299         * math/libm-test.inc (check_float_internal): Do not special-case
10300         errors up to 0.5 ulp.
10302         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10303         log2.
10304         * math/auto-libm-test-out: Regenerated.
10305         * math/libm-test.inc (MAX_EXP): New macro.
10306         (ilogb_test_data): Add more tests.
10307         (isfinite_test_data): Likewise.
10308         (isgreater_test_data): Likewise.
10309         (isgreaterequal_test_data): Likewise.
10310         (isinf_test_data): Likewise.
10311         (isless_test_data): Likewise.
10312         (islessequal_test_data): Likewise.
10313         (islessgreater_test_data): Likewise.
10314         (isnan_test_data): Likewise.
10315         (isnormal_test_data): Likewise.
10316         (issignaling_test_data): Likewise.
10317         (isunordered_test_data): Likewise.
10318         (j0_test_data): Likewise.
10319         (j1_test_data): Likewise.
10320         (jn_test_data): Likewise.
10321         (lgamma_test_data): Likewise.
10322         (log_test_data): Likewise.
10323         (log10_test_data): Likewise.
10324         (log1p_test_data): Likewise.
10325         (log2_test_data): Likewise.
10326         (logb_test_data): Likewise.
10327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10329         [BZ #18611]
10330         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10331         avoid excess range and precision on underflow.
10332         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10333         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10334         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10335         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10336         underflow.
10337         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10339         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10340         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10341         * math/auto-libm-test-in: Do not allow missing errno setting for
10342         tests of j1 and jn.
10343         * math/auto-libm-test-out: Regenerated.
10345 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10347         [BZ #15491]
10348         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10349         floating-point environment instead of clearing all exceptions.
10350         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10351         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10352         merging in "invalid" exceptions from frndint.
10353         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10354         * math/test-nearbyint-except.c: New file.
10355         * math/Makefile (tests): Add test-nearbyint-except.
10357 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10359         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10361         * sysdeps/tile/libm-test-ulps: Regenerated.
10363 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10366         (__NR_sync_file_range2): Assume it is always defined.
10367         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10368         (__NR_sync_file_range): Assume it is always defined.
10370 2015-10-22  Andreas Schwab  <schwab@suse.de>
10372         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10373         INTERNAL_SYSCALL_ERRNO.
10374         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10375         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10376         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10377         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10381 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10383         * io/tst-fcntl.c (fd): New static variable.
10384         (do_prepare): Open temporary file here....
10385         (do_test): ...not here.
10387         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10389 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10391         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10392         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10393         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10394         Moved before "#ifdef __ASSEMBLER__".
10396 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10398         [BZ #19156]
10399         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10400         arguments very close to 0.
10402 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10404         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10405         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10407 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10409         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10410         New.  Defined for GCC 5 and above when not compiling for
10411         profiling.
10412         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10414         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10415         Renamed to ...
10416         (CFLAGS-epoll_pwait.o): This.
10417         (CFLAGS-mmap.c): Renamed to ...
10418         (CFLAGS-mmap.o): This.
10419         (CFLAGS-mmap64.c): Renamed to ...
10420         (CFLAGS-mmap64.o): This.
10421         (CFLAGS-epoll_pwait.os): New.
10422         (CFLAGS-mmap.os): Likewise.
10423         (CFLAGS-mmap64.os): Likewise.
10424         (CFLAGS-semtimedop.os): Likewise.
10425         (CFLAGS-semtimedop.c): Renamed to ...
10426         (CFLAGS-semtimedop.o): This.
10428 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10430         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10431         warning message.
10433 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10435         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10436         * Makefile ($(objpfx)c++-types-check.out): Filter out
10437         $(+gccwarn-c) instead of -Wstrict-prototypes.
10439         * io/fts.c (fts_open): Convert to prototype-style function
10440         definition.
10441         * malloc/mcheck.c (mcheck): Likewise.
10442         (mcheck_pedantic): Likewise.
10443         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10444         internal_function.
10445         (re_search_internal): Likewise.
10446         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10447         prototype-style function definition.
10448         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10449         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10450         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10451         (xdr_utmpptr): Likewise.
10452         (xdr_utmparr): Likewise.
10453         (xdr_utmpidle): Likewise.
10454         (xdr_utmpidleptr): Likewise.
10455         (xdr_utmpidlearr): Likewise.
10457         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10458         log, log10 and log2.
10459         * math/auto-libm-test-out: Regenerated.
10460         * math/libm-test.inc (fmod_test_data): Add more tests.
10461         (fpclassify_test_data): Likewise.
10462         (frexp_test_data): Likewise.
10463         (hypot_test_data): Likewise.
10464         (ilogb_test_data): Likewise.
10466 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10468         * debug/fortify_fail.c (__fortify_fail): Convert to
10469         prototype-style function definition.  Use internal_function.
10470         * libio/genops.c (save_for_backup): Convert to prototype-style
10471         function definition.
10472         * libio/wgenops.c (save_for_wbackup): Likewise.
10473         * login/grantpt.c (grantpt): Likewise.
10474         * login/ptsname.c (ptsname): Likewise.
10475         (__ptsname_r): Likewise.
10476         * login/unlockpt.c (unlockpt): Likewise.
10477         * mach/msgserver.c (__mach_msg_server): Likewise.
10478         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10479         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10480         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10481         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10482         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10483         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10484         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10485         Likewise.
10486         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10487         internal_function.
10488         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10489         prototype-style function definition.
10490         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10491         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10492         (__pthread_create_2_0): Likewise.
10493         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10494         * nptl/register-atfork.c (__register_atfork): Likewise.
10495         * posix/glob.c (glob): Likewise.
10496         * posix/regcomp.c (re_comp): Likewise.
10497         * posix/regexec.c (re_exec): Likewise.
10498         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10499         [!__STDC__]: Remove conditional code.
10500         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10501         [!__STDC__]: Remove conditional code.
10502         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10503         [!__STDC__]: Remove conditional code.
10504         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10505         [!__STDC__]: Remove conditional code.
10506         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10507         [!__STDC__]: Remove conditional code.
10508         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10509         [!__STDC__]: Remove conditional code.
10510         * stdlib/mul.c [__STDC__]: Make code unconditional.
10511         [!__STDC__]: Remove conditional code.
10512         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10513         [!__STDC__]: Remove conditional code.
10514         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10515         [!__STDC__]: Remove conditional code.
10516         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10517         function definition.
10518         (STRTOF): Likewise.
10519         * stdlib/strtod_l.c (__STRTOF): Likewise.
10520         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10521         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10522         (__strtol_l): Likewise.
10523         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10524         [!__STDC__]: Remove conditional code.
10525         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10526         definition.
10527         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10528         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10529         type.
10530         (__strcasecmp): Convert to prototype-style function definition.
10531         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10532         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10533         type.
10534         (__strncasecmp): Convert to prototype-style function definition.
10535         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10536         * sunrpc/xdr.c (xdr_union): Likewise.
10537         * sunrpc/xdr_array.c (xdr_array): Likewise.
10538         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10539         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10540         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10541         Likewise.
10542         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10543         Likewise.
10544         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10545         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10546         Likewise.
10547         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10548         (LOCALE_PARAM_PROTO): Likewise.
10549         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10550         argument type.
10551         (ut_argument_spec): Remove macro.
10552         (ut_argument_spec_iso): Rename to ut_argument_spec.
10553         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10554         prototype-style function definition.
10555         (memcpy_uppcase): Likewise.
10556         (__strftime_internal): Likewise.
10557         (my_strftime): Likewise.
10558         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10559         (LOCALE_PARAM_DECL): Likewise.
10560         [_LIBC] (LOCALE_PARAM): Include argument type.
10561         (__strptime_internal): Convert to prototype-style function
10562         definition.
10563         (strptime): Likewise.
10564         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10565         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10566         type.
10567         (__wcscasecmp): Convert to prototype-style function definition.
10568         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10569         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10570         type.
10571         (__wcsncasecmp): Convert to prototype-style function definition.
10573         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10574         function definition.
10575         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10576         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10577         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10578         * elf/dl-minimal.c (_itoa): Likewise.
10579         * hurd/hurdmalloc.c (malloc): Likewise.
10580         (free): Likewise.
10581         (realloc): Likewise.
10582         * inet/inet6_option.c (inet6_option_space): Likewise.
10583         (inet6_option_init): Likewise.
10584         (inet6_option_append): Likewise.
10585         (inet6_option_alloc): Likewise.
10586         (inet6_option_next): Likewise.
10587         (inet6_option_find): Likewise.
10588         * io/ftw.c (FTW_NAME): Likewise.
10589         (NFTW_NAME): Likewise.
10590         (NFTW_NEW_NAME): Likewise.
10591         (NFTW_OLD_NAME): Likewise.
10592         * libio/iofwide.c (_IO_fwide): Likewise.
10593         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10594         (_IO_str_init_static): Likewise.
10595         (_IO_str_init_readonly): Likewise.
10596         (_IO_str_overflow): Likewise.
10597         (_IO_str_underflow): Likewise.
10598         (_IO_str_count): Likewise.
10599         (_IO_str_seekoff): Likewise.
10600         (_IO_str_pbackfail): Likewise.
10601         (_IO_str_finish): Likewise.
10602         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10603         (_IO_wstr_overflow): Likewise.
10604         (_IO_wstr_underflow): Likewise.
10605         (_IO_wstr_count): Likewise.
10606         (_IO_wstr_seekoff): Likewise.
10607         (_IO_wstr_pbackfail): Likewise.
10608         (_IO_wstr_finish): Likewise.
10609         * locale/programs/localedef.c (normalize_codeset): Likewise.
10610         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10611         (add_locales_to_archive): Likewise.
10612         (delete_locales_from_archive): Likewise.
10613         * malloc/malloc.c (__libc_mallinfo): Likewise.
10614         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10615         * misc/tsearch.c (__tfind): Likewise.
10616         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10617         * nptl/pthread_attr_getdetachstate.c
10618         (__pthread_attr_getdetachstate): Likewise.
10619         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10620         Likewise.
10621         * nptl/pthread_attr_getinheritsched.c
10622         (__pthread_attr_getinheritsched): Likewise.
10623         * nptl/pthread_attr_getschedparam.c
10624         (__pthread_attr_getschedparam): Likewise.
10625         * nptl/pthread_attr_getschedpolicy.c
10626         (__pthread_attr_getschedpolicy): Likewise.
10627         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10628         Likewise.
10629         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10630         Likewise.
10631         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10632         Likewise.
10633         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10634         Likewise.
10635         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10636         (__pthread_attr_init_2_0): Likewise.
10637         * nptl/pthread_attr_setdetachstate.c
10638         (__pthread_attr_setdetachstate): Likewise.
10639         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10640         Likewise.
10641         * nptl/pthread_attr_setinheritsched.c
10642         (__pthread_attr_setinheritsched): Likewise.
10643         * nptl/pthread_attr_setschedparam.c
10644         (__pthread_attr_setschedparam): Likewise.
10645         * nptl/pthread_attr_setschedpolicy.c
10646         (__pthread_attr_setschedpolicy): Likewise.
10647         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10648         Likewise.
10649         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10650         Likewise.
10651         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10652         Likewise.
10653         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10654         Likewise.
10655         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10656         Likewise.
10657         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10658         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10659         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10660         use internal_function.
10661         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10662         prototype-style function definition.
10663         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10664         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10665         internal_function.
10666         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10667         Convert to prototype-style function definition.
10668         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10669         Likewise.
10670         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10671         Likewise.
10672         (__pthread_mutex_unlock): Likewise.
10673         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10674         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10675         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10676         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10677         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10678         * nss/makedb.c (process_input): Likewise.
10679         * posix/fnmatch.c (__strchrnul): Likewise.
10680         (__wcschrnul): Likewise.
10681         (fnmatch): Likewise.
10682         * posix/fnmatch_loop.c (FCT): Likewise.
10683         * posix/glob.c (globfree): Likewise.
10684         (__glob_pattern_type): Likewise.
10685         (__glob_pattern_p): Likewise.
10686         * posix/regcomp.c (re_compile_pattern): Likewise.
10687         (re_set_syntax): Likewise.
10688         (re_compile_fastmap): Likewise.
10689         (regcomp): Likewise.
10690         (regerror): Likewise.
10691         (regfree): Likewise.
10692         * posix/regexec.c (regexec): Likewise.
10693         (re_match): Likewise.
10694         (re_search): Likewise.
10695         (re_match_2): Likewise.
10696         (re_search_2): Likewise.
10697         (re_search_stub): Likewise.  Use internal_function
10698         (re_copy_regs): Likewise.
10699         (re_set_registers): Convert to prototype-style function
10700         definition.
10701         (prune_impossible_nodes): Likewise.  Use internal_function.
10702         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10703         prototype-style function definition.
10704         (inet_net_pton_ipv4): Likewise.
10705         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10706         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10707         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10708         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10709         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10710         Make variadic.
10711         * time/strptime_l.c (localtime_r): Convert to prototype-style
10712         function definition.
10713         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10714         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10715         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10716         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10718         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10719         definition.
10720         (_ufc_doit_r): Likewise.
10721         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10722         (_ufc_output_conversion_r): Likewise.
10723         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10724         * inet/rcmd.c (rcmd_af): Likewise.
10725         (rcmd): Likewise.
10726         (ruserok_af): Likewise.
10727         (ruserok): Likewise.
10728         (ruserok2_sa): Likewise.
10729         (ruserok_sa): Likewise.
10730         (iruserok_af): Likewise.
10731         (iruserok): Likewise.
10732         (__ivaliduser): Likewise.
10733         (__validuser2_sa): Likewise.
10734         * inet/rexec.c (rexec_af): Likewise.
10735         (rexec): Likewise.
10736         * inet/ruserpass.c (ruserpass): Likewise.
10737         * locale/programs/xmalloc.c (xcalloc): Likewise.
10738         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10739         * math/w_drem.c (__drem): Likewise.
10740         * math/w_dremf.c (__dremf): Likewise.
10741         * math/w_dreml.c (__dreml): Likewise.
10742         * misc/daemon.c (daemon): Likewise.
10743         * resolv/res_debug.c (p_fqnname): Likewise.
10744         * stdlib/div.c (div): Likewise.
10745         * string/memcmp.c (memcmp_bytes): Likewise.
10746         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10747         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10749         * crypt/cert.c (main): Convert to prototype-style function
10750         definition.
10751         * io/pipe.c (__pipe): Likewise.
10752         * io/pipe2.c (__pipe2): Likewise.
10753         * misc/futimesat.c (futimesat): Likewise.
10754         * misc/utimes.c (__utimes): Likewise.
10755         * posix/execve.c (__execve): Likewise.
10756         * posix/execvp.c (execvp): Likewise.
10757         * posix/execvpe.c (__execvpe): Likewise.
10758         * posix/fexecve.c (fexecve): Likewise.
10759         * socket/socketpair.c (socketpair): Likewise.
10760         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10761         * stdlib/erand48.c (erand48): Likewise.
10762         * stdlib/erand48_r.c (__erand48_r): Likewise.
10763         * stdlib/jrand48.c (jrand48): Likewise.
10764         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10765         * stdlib/lcong48.c (lcong48): Likewise.
10766         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10767         * stdlib/nrand48.c (nrand48): Likewise.
10768         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10769         * stdlib/seed48.c (seed48): Likewise.
10770         * stdlib/seed48_r.c (__seed48_r): Likewise.
10771         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10772         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10773         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10775 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10777         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10778         * configure: Regenerated.
10779         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10780         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10781         unconditional.
10782         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10783         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10784         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10785         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10786         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10787         unconditional.
10788         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10790         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10791         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10793         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10794         function definition.
10795         * crypt/crypt_util.c (__encrypt_r): Likewise.
10796         * libio/genops.c (_IO_no_init): Likewise.
10797         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10798         (_IO_old_fopencookie): Likewise.
10799         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10800         * libio/iogetline.c (_IO_getline): Likewise.
10801         (_IO_getline_info): Likewise.
10802         * libio/iogetwline.c (_IO_getwline): Likewise.
10803         (_IO_getwline_info): Likewise.
10804         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10805         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10806         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10807         (find_entry): Likewise.
10808         (iterate_table): Likewise.
10809         (lookup): Likewise.
10810         * login/forkpty.c (forkpty): Likewise.
10811         * misc/hsearch_r.c (__hsearch_r): Likewise.
10812         * misc/select.c (__select): Likewise.
10813         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10814         Likewise.
10815         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10816         Likewise.
10817         * nptl/old_pthread_cond_timedwait.c
10818         (__pthread_cond_timedwait_2_0): Likewise.
10819         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10820         * nptl/pthread_barrierattr_getpshared.c
10821         (pthread_barrierattr_getpshared): Likewise.
10822         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10823         Likewise.
10824         * nptl/pthread_mutex_setprioceiling.c
10825         (pthread_mutex_setprioceiling): Likewise.
10826         * nptl/pthread_mutexattr_getprioceiling.c
10827         (pthread_mutexattr_getprioceiling): Likewise.
10828         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10829         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10830         Likewise.
10831         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10832         Likewise.
10833         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10834         Likewise.
10835         * socket/recvfrom.c (__recvfrom): Likewise.
10836         * socket/sendto.c (__sendto): Likewise.
10837         * socket/setsockopt.c (__setsockopt): Likewise.
10838         * stdio-common/_itoa.c (_itoa): Likewise.
10839         * stdio-common/_itowa.c (_itowa): Likewise.
10840         * stdio-common/reg-printf.c (__register_printf_specifier):
10841         Likewise.
10842         (__register_printf_function): Likewise.
10843         * stdio-common/tempname.c (__path_search): Likewise.
10844         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10845         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10846         * stdlib/random_r.c (__initstate_r): Likewise.
10847         * stdlib/setenv.c (__add_to_environ): Likewise.
10848         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10849         * streams/getpmsg.c (getpmsg): Likewise.
10850         * streams/putmsg.c (putmsg): Likewise.
10851         * streams/putpmsg.c (putpmsg): Likewise.
10852         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10853         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10854         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10855         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10856         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10857         * sunrpc/svc_udp.c (cache_get): Likewise.
10858         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10859         * sysdeps/mach/hurd/getcwd.c
10860         (__canonicalize_directory_name_internal): Likewise.
10861         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10862         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10863         * sysdeps/mach/hurd/select.c (__select): Likewise.
10864         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10865         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10866         * sysdeps/sparc/nptl/pthread_barrier_init.c
10867         (__pthread_barrier_init): Likewise.
10868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10869         (__pthread_cond_timedwait): Likewise.
10870         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10871         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10872         Likewise.
10873         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10874         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10875         Likewise.
10876         * sysvipc/semtimedop.c (semtimedop): Likewise.
10877         * time/setitimer.c (__setitimer): Likewise.
10878         * time/strftime_l.c (emacs_strftime): Likewise.
10880 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10882         * config.make.in (have-ssp): Delete.
10883         (stack-protector): New variable.
10884         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10885         cache test for -fstack-protector-strong.  Export stack_protector to
10886         the best ssp flag.
10887         * configure: Regenerated.
10888         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10889         * nscd/Makefile (CFLAGS-nscd): Likewise.
10890         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10892 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10894         [BZ #19122]
10895         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10896         attribute_hidden.
10898 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10900         [BZ #18743]
10901         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10902         code to...
10903         (ELIDE_LOCK): ...here.
10904         (__get_new_count): New function with part of the code from
10905         __elide_lock that updates the value of adapt_count after a
10906         transaction abort.
10907         (__elided_trylock): Moved this code to...
10908         (ELIDE_TRYLOCK): ...here.
10910 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10912         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10913         * configure: Regenerate.
10914         * INSTALL: Regenerate.
10915         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10916         and tweak grammar.
10918 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10920         * login/programs/pt_chown.c: Include signal.h
10921         (main): Clear any signal mask from the parent process.
10923 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10925         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10926         * configure: Regenerated.
10927         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10928         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10929         $(gnu89-inline-CFLAGS).
10931         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10932         test.
10933         (libc_cv_asm_weakext_directive): Likewise.
10934         * configure: Regenerated.
10935         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10936         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10937         * include/libc-symbols.h
10938         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10939         #error.
10940         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10941         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10943         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10944         prototype-style function definition.
10945         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10946         * sysdeps/i386/ffs.c (__ffs): Likewise.
10947         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10948         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10949         Likewise.
10950         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10951         Likewise.
10952         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10953         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10954         Likewise.
10955         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10956         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10957         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10958         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10959         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10960         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10961         * sysdeps/mach/hurd/access.c (__access): Likewise.
10962         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10963         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10964         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10965         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10966         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10967         (cthread_getspecific): Likewise.
10968         (cthread_setspecific): Likewise.
10969         (__libc_getspecific): Likewise.
10970         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10971         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10972         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10973         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10974         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10975         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10976         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10977         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10978         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10979         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10980         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10981         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10982         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10983         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10984         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10985         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10986         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10987         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10988         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10989         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10990         * sysdeps/mach/hurd/link.c (__link): Likewise.
10991         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10992         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10993         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10994         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10995         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10996         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10997         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10998         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10999         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11000         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11001         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11002         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11003         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11004         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11005         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11006         * sysdeps/mach/hurd/send.c (__send): Likewise.
11007         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11008         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11009         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11010         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11011         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11012         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11013         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11014         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11015         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11016         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11017         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11018         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11019         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11020         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11021         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11022         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11023         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11024         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11025         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11026         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11027         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11028         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11029         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11030         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11031         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11032         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11033         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11034         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11035         * sysdeps/posix/alarm.c (alarm): Likewise.
11036         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11037         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11038         * sysdeps/posix/dup.c (__dup): Likewise.
11039         * sysdeps/posix/dup2.c (__dup2): Likewise.
11040         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11041         (main): Likewise.
11042         * sysdeps/posix/flock.c (__flock): Likewise.
11043         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11044         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11045         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11046         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11047         * sysdeps/posix/isatty.c (__isatty): Likewise.
11048         * sysdeps/posix/killpg.c (killpg): Likewise.
11049         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11050         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11051         * sysdeps/posix/raise.c (raise): Likewise.
11052         * sysdeps/posix/remove.c (remove): Likewise.
11053         * sysdeps/posix/rename.c (rename): Likewise.
11054         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11055         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11056         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11057         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11058         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11059         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11060         * sysdeps/posix/sigset.c (sigset): Likewise.
11061         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11062         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11063         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11064         * sysdeps/posix/time.c (time): Likewise.
11065         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11066         (ttyname): Likewise.
11067         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11068         * sysdeps/posix/utime.c (utime): Likewise.
11069         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11070         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11071         Likewise.
11072         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11073         (pthread_spin_trylock): Likewise.
11074         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11075         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11076         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11077         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11078         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11079         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11080         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11081         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11082         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11083         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11084         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11085         * sysdeps/s390/ffs.c (__ffs): Likewise.
11086         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11087         Likewise.
11088         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11089         Likewise.
11090         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11091         Likewise.
11092         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11093         (pthread_barrier_destroy): Likewise.
11094         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11095         (__pthread_barrier_wait): Likewise.
11096         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11097         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11098         (__pthread_barrier_wait): Likewise.
11099         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11100         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11101         (memcmp_not_common_alignment): Likewise.
11102         (MEMCMP): Likewise.
11103         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11104         (_wordcopy_fwd_dest_aligned): Likewise.
11105         (_wordcopy_bwd_aligned): Likewise.
11106         (_wordcopy_bwd_dest_aligned): Likewise.
11107         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11108         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11109         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11110         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11111         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11112         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11113         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11114         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11115         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11116         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11117         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11118         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11119         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11120         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11121         * sysdeps/unix/stime.c (stime): Likewise.
11122         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11123         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11124         Likewise.  Use internal_function.
11125         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11126         Convert to prototype-style function definition.
11127         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11128         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11129         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11130         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11131         Likewise.  Use internal_function.
11132         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11133         prototype-style function definition
11134         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11135         Likewise.
11136         (__getlogin_r): Likewise.
11137         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11139         (__pthread_cond_broadcast): Likewise.
11140         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11141         (__pthread_cond_destroy): Likewise.
11142         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11143         (__pthread_cond_init): Likewise.
11144         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11145         (__pthread_cond_signal): Likewise.
11146         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11147         (__pthread_cond_wait): Likewise.
11148         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11149         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11150         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11151         Likewise.
11152         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11153         Likewise.
11154         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11155         Likewise.
11156         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11157         Likewise.
11158         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11160         (__ftruncate64): Likewise.
11161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11162         (truncate64): Likewise.
11163         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11164         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11165         (pthread_getcpuclockid): Likewise.
11166         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11167         Likewise.
11168         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11169         Likewise.
11170         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11171         Likewise.
11172         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11173         Likewise.
11174         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11175         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11176         (__libc_sigaction): Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11178         Likewise.
11179         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11180         (__sigprocmask): Likewise.
11181         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11182         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11183         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11184         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11185         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11186         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11187         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11188         Likewise.
11189         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11190         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11191         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11192         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11193         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11194         Likewise.
11195         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11196         (__sigprocmask): Likewise.
11197         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11198         (cfgetispeed): Likewise.
11199         (cfsetospeed): Likewise.
11200         (cfsetispeed): Likewise.
11201         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11202         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11203         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11204         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11205         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11206         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11207         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11208         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11209         Likewise.
11210         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11211         Likewise.
11212         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11213         Likewise.
11214         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11215         Likewise.
11216         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11218 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11220         sunrpc: Rewrite with explicit TLS access using __thread.
11221         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11222         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11223         directly.
11224         (__rpc_thread_variables): Access thread_rpc_vars directly.
11225         Eliminate redundant assignment of the tvp variable.
11227 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11229         malloc: Rewrite with explicit TLS access using __thread.
11230         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11231         (tsd_setspecific, tsd_getspecific): Remove.
11232         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11233         (tsd_setspecific, tsd_getspecific): Likewise.
11234         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11235         (tsd_setspecific, tsd_getspecific): Likewise.
11236         * malloc/arena.c (thread_arena): New TLS variable.
11237         (arena_key): Remove variable.
11238         (arena_get): Use thread_arena.
11239         (arena_lookup): Remove macro.
11240         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11241         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11242         (_int_new_arena, get_free_list, reused_arena)
11243         (arena_thread_freeres): Use thread_arena.
11244         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11245         tsd_getspecific, tsd_setspecific from safety annotations.
11246         (Allocating Cleared Space): Remove arena_lookup from safety
11247         annotations.
11249 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11251         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11252         struct scratch_buffer instead of extend_alloca.
11254 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11256         * sysdeps/unix/sysv/linux/kernel-features.h
11257         (__ASSUME_SOCK_CLOEXEC): Remove.
11258         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11259         (__have_paccept): Remove unused macro.
11260         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11261         * misc/syslog.c (openlog_internal): Remove fallback code for
11262         !__ASSUME_SOCK_CLOEXEC.
11263         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11264         missing SOCK_CLOEXEC.
11265         * nscd/connections.c (have_sock_cloexec): Remove definition.
11266         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11267         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11268         !__ASSUME_SOCK_CLOEXEC.
11269         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11270         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11271         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11272         definition.
11273         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11274         code for !__ASSUME_SOCK_CLOEXEC.
11276 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11278         [BZ #18982]
11279         * manual/stdio.texi (Variable Arguments Output): Add portability
11280         note, explaining that vfprintf clobbers the va_list pointer.
11282 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11284         * math/libm-test.inc (fabs_test_data): Add more tests.
11285         (fdim_test_data): Likewise.
11286         (fma_test_data): Likewise.
11287         (fmax_test_data): Likewise.
11288         (fmin_test_data): Likewise.
11289         (fmod_test_data): Likewise.
11291 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11293         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11294         data.
11296 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11298         * math/libm-test.inc (ceil_test_data): Add more tests and more
11299         expectations for "inexact".
11300         (floor_test_data): Add more tests.
11301         (round_test_data): Likewise.
11302         (trunc_test_data): Likewise.
11304         * crypt/cert.c (good_bye): Convert to prototype-style function
11305         definition.
11306         (get8): Likewise.
11307         (put8): Likewise.
11308         * crypt/crypt-entry.c (crypt): Likewise.
11309         (__fcrypt): Likewise.
11310         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11311         (_ufc_set_bits): Likewise.
11312         (_ufc_clearmem): Likewise.
11313         (__init_des_r): Likewise.
11314         (shuffle_sb): Likewise.
11315         (shuffle_sb): Likewise.
11316         (_ufc_setup_salt_r): Likewise.
11317         (_ufc_mk_keytab_r): Likewise.
11318         (_ufc_dofinalperm_r): Likewise.
11319         (encrypt): Likewise.
11320         (__setkey_r): Likewise.
11321         (setkey): Likewise.
11322         * crypt/md5.c (md5_init_ctx): Likewise.
11323         (md5_read_ctx): Likewise.
11324         (md5_finish_ctx): Likewise.
11325         (md5_stream): Likewise.
11326         (md5_buffer): Likewise.
11327         (md5_process_bytes): Likewise.
11328         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11329         (__sha256_finish_ctx): Likewise.
11330         (__sha256_process_bytes): Likewise.
11331         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11332         (__sha512_finish_ctx): Likewise.
11333         (__sha512_process_bytes): Likewise.
11334         * ctype/isctype.c (__isctype): Likewise.
11335         * debug/backtrace.c (__backtrace): Likewise.
11336         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11337         * debug/fgets_chk.c (__fgets_chk): Likewise.
11338         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11339         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11340         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11341         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11342         * debug/memset_chk.c (__memset_chk): Likewise.
11343         * debug/strcat_chk.c (__strcat_chk): Likewise.
11344         * debug/strncat_chk.c (__strncat_chk): Likewise.
11345         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11346         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11347         * dirent/dirfd.c (dirfd): Likewise.
11348         * dirent/getdents.c (__getdirentries): Likewise.
11349         * dirent/getdents64.c (getdirentries64): Likewise.
11350         * dirent/rewinddir.c (__rewinddir): Likewise.
11351         * dirent/seekdir.c (seekdir): Likewise.
11352         * dirent/telldir.c (telldir): Likewise.
11353         * elf/sln.c (makesymlinks): Likewise.
11354         (makesymlink): Likewise.
11355         * gmon/gmon.c (__moncontrol): Likewise.
11356         (__monstartup): Likewise.
11357         (write_hist): Likewise.
11358         (write_call_graph): Likewise.
11359         (write_bb_counts): Likewise.
11360         * grp/setgroups.c (setgroups): Likewise.
11361         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11362         * inet/inet_net.c (inet_network): Likewise.
11363         * inet/inet_netof.c (inet_netof): Likewise.
11364         * inet/rcmd.c (rresvport_af): Likewise.
11365         (rresvport): Likewise.
11366         * io/access.c (__access): Likewise.
11367         * io/chdir.c (__chdir): Likewise.
11368         * io/chmod.c (__chmod): Likewise.
11369         * io/chown.c (__chown): Likewise.
11370         * io/close.c (__close): Likewise.
11371         * io/creat.c (creat): Likewise.
11372         * io/creat64.c (creat64): Likewise.
11373         * io/dup.c (__dup): Likewise.
11374         * io/dup2.c (__dup2): Likewise.
11375         * io/dup3.c (__dup3): Likewise.
11376         * io/euidaccess.c (__euidaccess): Likewise.
11377         * io/faccessat.c (faccessat): Likewise.
11378         * io/fchmod.c (__fchmod): Likewise.
11379         * io/fchmodat.c (fchmodat): Likewise.
11380         * io/fchown.c (__fchown): Likewise.
11381         * io/fchownat.c (fchownat): Likewise.
11382         * io/fcntl.c (__fcntl): Likewise.
11383         * io/flock.c (__flock): Likewise.
11384         * io/fts.c (fts_load): Likewise.
11385         (fts_close): Likewise.
11386         (fts_read): Likewise.
11387         (fts_set): Likewise.
11388         (fts_children): Likewise.
11389         (fts_build): Likewise.
11390         (fts_stat): Likewise.
11391         (fts_sort): Likewise.
11392         (fts_alloc): Likewise.
11393         (fts_lfree): Likewise.
11394         (fts_palloc): Likewise.
11395         (fts_padjust): Likewise.
11396         (fts_maxarglen): Likewise.
11397         (fts_safe_changedir): Likewise.
11398         * io/getwd.c (getwd): Likewise.
11399         * io/isatty.c (__isatty): Likewise.
11400         * io/lchown.c (__lchown): Likewise.
11401         * io/link.c (__link): Likewise.
11402         * io/linkat.c (linkat): Likewise.
11403         * io/lseek.c (__libc_lseek): Likewise.
11404         * io/mkdir.c (__mkdir): Likewise.
11405         * io/mkdirat.c (mkdirat): Likewise.
11406         * io/mkfifo.c (mkfifo): Likewise.
11407         * io/mkfifoat.c (mkfifoat): Likewise.
11408         * io/open.c (__libc_open): Likewise.
11409         * io/open64.c (__libc_open64): Likewise.
11410         * io/readlink.c (__readlink): Likewise.
11411         * io/readlinkat.c (readlinkat): Likewise.
11412         * io/rmdir.c (__rmdir): Likewise.
11413         * io/symlink.c (__symlink): Likewise.
11414         * io/symlinkat.c (symlinkat): Likewise.
11415         * io/ttyname.c (ttyname): Likewise.
11416         * io/ttyname_r.c (__ttyname_r): Likewise.
11417         * io/umask.c (__umask): Likewise.
11418         * io/unlink.c (__unlink): Likewise.
11419         * io/unlinkat.c (unlinkat): Likewise.
11420         * io/utime.c (utime): Likewise.
11421         * libio/clearerr.c (clearerr): Likewise.
11422         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11423         * libio/feof.c (_IO_feof): Likewise.
11424         * libio/feof_u.c (feof_unlocked): Likewise.
11425         * libio/ferror.c (_IO_ferror): Likewise.
11426         * libio/ferror_u.c (ferror_unlocked): Likewise.
11427         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11428         * libio/fileno.c (__fileno): Likewise.
11429         * libio/fputc.c (fputc): Likewise.
11430         * libio/fputc_u.c (fputc_unlocked): Likewise.
11431         * libio/fputwc.c (fputwc): Likewise.
11432         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11433         * libio/freopen.c (freopen): Likewise.
11434         * libio/freopen64.c (freopen64): Likewise.
11435         * libio/fseek.c (fseek): Likewise.
11436         * libio/fseeko.c (fseeko): Likewise.
11437         * libio/fseeko64.c (fseeko64): Likewise.
11438         * libio/ftello.c (__ftello): Likewise.
11439         * libio/ftello64.c (ftello64): Likewise.
11440         * libio/fwide.c (fwide): Likewise.
11441         * libio/genops.c (_IO_un_link): Likewise.
11442         (_IO_link_in): Likewise.
11443         (_IO_least_marker): Likewise.
11444         (_IO_switch_to_main_get_area): Likewise.
11445         (_IO_switch_to_backup_area): Likewise.
11446         (_IO_switch_to_get_mode): Likewise.
11447         (_IO_free_backup_area): Likewise.
11448         (_IO_switch_to_put_mode): Likewise.
11449         (__overflow): Likewise.
11450         (__underflow): Likewise.
11451         (__uflow): Likewise.
11452         (_IO_setb): Likewise.
11453         (_IO_doallocbuf): Likewise.
11454         (_IO_default_underflow): Likewise.
11455         (_IO_default_uflow): Likewise.
11456         (_IO_default_xsputn): Likewise.
11457         (_IO_sgetn): Likewise.
11458         (_IO_default_xsgetn): Likewise.
11459         (_IO_sync): Likewise.
11460         (_IO_default_setbuf): Likewise.
11461         (_IO_default_seekpos): Likewise.
11462         (_IO_default_doallocate): Likewise.
11463         (_IO_init): Likewise.
11464         (_IO_old_init): Likewise.
11465         (_IO_default_sync): Likewise.
11466         (_IO_default_finish): Likewise.
11467         (_IO_default_seekoff): Likewise.
11468         (_IO_sputbackc): Likewise.
11469         (_IO_sungetc): Likewise.
11470         (_IO_set_column): Likewise.
11471         (_IO_set_column): Likewise.
11472         (_IO_adjust_column): Likewise.
11473         (_IO_get_column): Likewise.
11474         (_IO_init_marker): Likewise.
11475         (_IO_remove_marker): Likewise.
11476         (_IO_marker_difference): Likewise.
11477         (_IO_marker_delta): Likewise.
11478         (_IO_seekmark): Likewise.
11479         (_IO_unsave_markers): Likewise.
11480         (_IO_nobackup_pbackfail): Likewise.
11481         (_IO_default_pbackfail): Likewise.
11482         (_IO_default_seek): Likewise.
11483         (_IO_default_stat): Likewise.
11484         (_IO_default_read): Likewise.
11485         (_IO_default_write): Likewise.
11486         (_IO_default_showmanyc): Likewise.
11487         (_IO_default_imbue): Likewise.
11488         (_IO_iter_next): Likewise.
11489         (_IO_iter_file): Likewise.
11490         * libio/getc.c (_IO_getc): Likewise.
11491         * libio/getwc.c (_IO_getwc): Likewise.
11492         * libio/iofclose.c (_IO_new_fclose): Likewise.
11493         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11494         * libio/iofflush.c (_IO_fflush): Likewise.
11495         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11496         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11497         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11498         * libio/iofgets.c (_IO_fgets): Likewise.
11499         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11500         * libio/iofgetws.c (fgetws): Likewise.
11501         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11502         * libio/iofopen64.c (_IO_fopen64): Likewise.
11503         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11504         (_IO_cookie_write): Likewise.
11505         (_IO_cookie_seek): Likewise.
11506         (_IO_cookie_close): Likewise.
11507         (_IO_cookie_seekoff): Likewise.
11508         (_IO_old_cookie_seek): Likewise.
11509         * libio/iofputs.c (_IO_fputs): Likewise.
11510         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11511         * libio/iofputws.c (fputws): Likewise.
11512         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11513         * libio/iofread.c (_IO_fread): Likewise.
11514         * libio/iofread_u.c (__fread_unlocked): Likewise.
11515         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11516         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11517         * libio/ioftell.c (_IO_ftell): Likewise.
11518         * libio/iofwrite.c (_IO_fwrite): Likewise.
11519         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11520         * libio/iogets.c (_IO_gets): Likewise.
11521         * libio/iopadn.c (_IO_padn): Likewise.
11522         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11523         (_IO_new_popen): Likewise.
11524         (_IO_new_proc_close): Likewise.
11525         * libio/ioputs.c (_IO_puts): Likewise.
11526         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11527         (_IO_seekoff): Likewise.
11528         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11529         (_IO_seekpos): Likewise.
11530         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11531         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11532         * libio/ioungetc.c (_IO_ungetc): Likewise.
11533         * libio/ioungetwc.c (ungetwc): Likewise.
11534         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11535         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11536         * libio/iowpadn.c (_IO_wpadn): Likewise.
11537         * libio/libc_fatal.c (__libc_fatal): Likewise.
11538         * libio/memstream.c (__open_memstream): Likewise.
11539         (_IO_mem_sync): Likewise.
11540         (_IO_mem_finish): Likewise.
11541         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11542         (_IO_old_file_close_it): Likewise.
11543         (_IO_old_file_finish): Likewise.
11544         (_IO_old_file_fopen): Likewise.
11545         (_IO_old_file_attach): Likewise.
11546         (_IO_old_file_setbuf): Likewise.
11547         (_IO_old_do_write): Likewise.
11548         (old_do_write): Likewise.
11549         (_IO_old_file_underflow): Likewise.
11550         (_IO_old_file_overflow): Likewise.
11551         (_IO_old_file_sync): Likewise.
11552         (_IO_old_file_seekoff): Likewise.
11553         (_IO_old_file_write): Likewise.
11554         (_IO_old_file_xsputn): Likewise.
11555         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11556         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11557         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11558         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11559         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11560         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11561         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11562         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11563         (_IO_old_popen): Likewise.
11564         (_IO_old_proc_close): Likewise.
11565         * libio/oldpclose.c (__old_pclose): Likewise.
11566         * libio/pclose.c (__new_pclose): Likewise.
11567         * libio/peekc.c (_IO_peekc_locked): Likewise.
11568         * libio/putc.c (_IO_putc): Likewise.
11569         * libio/putc_u.c (putc_unlocked): Likewise.
11570         * libio/putchar.c (putchar): Likewise.
11571         * libio/putchar_u.c (putchar_unlocked): Likewise.
11572         * libio/putwc.c (putwc): Likewise.
11573         * libio/putwc_u.c (putwc_unlocked): Likewise.
11574         * libio/putwchar.c (putwchar): Likewise.
11575         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11576         * libio/rewind.c (rewind): Likewise.
11577         * libio/setbuf.c (setbuf): Likewise.
11578         * libio/setlinebuf.c (setlinebuf): Likewise.
11579         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11580         * libio/vscanf.c (_IO_vscanf): Likewise.
11581         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11582         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11583         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11584         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11585         (_IO_switch_to_main_wget_area): Likewise.
11586         (_IO_switch_to_wbackup_area): Likewise.
11587         (_IO_wsetb): Likewise.
11588         (_IO_wdefault_pbackfail): Likewise.
11589         (_IO_wdefault_finish): Likewise.
11590         (_IO_wdefault_uflow): Likewise.
11591         (__woverflow): Likewise.
11592         (__wuflow): Likewise.
11593         (__wunderflow): Likewise.
11594         (_IO_wdefault_xsputn): Likewise.
11595         (_IO_wdefault_xsgetn): Likewise.
11596         (_IO_wdoallocbuf): Likewise.
11597         (_IO_wdefault_doallocate): Likewise.
11598         (_IO_switch_to_wget_mode): Likewise.
11599         (_IO_free_wbackup_area): Likewise.
11600         (_IO_switch_to_wput_mode): Likewise.
11601         (_IO_sputbackwc): Likewise.
11602         (_IO_sungetwc): Likewise.
11603         (_IO_adjust_wcolumn): Likewise.
11604         (_IO_init_wmarker): Likewise.
11605         (_IO_wmarker_delta): Likewise.
11606         (_IO_seekwmark): Likewise.
11607         (_IO_unsave_wmarkers): Likewise.
11608         * libio/wmemstream.c (open_wmemstream): Likewise.
11609         (_IO_wmem_sync): Likewise.
11610         (_IO_wmem_finish): Likewise.
11611         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11612         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11613         * locale/programs/simple-hash.c (init_hash): Likewise.
11614         (delete_hash): Likewise.
11615         (insert_entry): Likewise.
11616         (set_entry): Likewise.
11617         (next_prime): Likewise.
11618         (is_prime): Likewise.
11619         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11620         (xmalloc): Likewise.
11621         (xrealloc): Likewise.
11622         * locale/programs/xstrdup.c (xstrdup): Likewise.
11623         * localedata/collate-test.c (xstrcoll): Likewise.
11624         * localedata/xfrm-test.c (xstrcmp): Likewise.
11625         * login/getlogin_r.c (__getlogin_r): Likewise.
11626         * login/getpt.c (__posix_openpt): Likewise.
11627         * login/login_tty.c (login_tty): Likewise.
11628         * login/setlogin.c (setlogin): Likewise.
11629         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11630         (mach_msg_destroy_port): Likewise.
11631         (mach_msg_destroy_memory): Likewise.
11632         * malloc/mcheck.c (flood): Likewise.
11633         * misc/acct.c (acct): Likewise.
11634         * misc/brk.c (__brk): Likewise.
11635         * misc/chflags.c (chflags): Likewise.
11636         * misc/chroot.c (chroot): Likewise.
11637         * misc/fchflags.c (fchflags): Likewise.
11638         * misc/fstab.c (getfsspec): Likewise.
11639         (getfsfile): Likewise.
11640         * misc/fsync.c (fsync): Likewise.
11641         * misc/ftruncate.c (__ftruncate): Likewise.
11642         * misc/ftruncate64.c (__ftruncate64): Likewise.
11643         * misc/getdomain.c (getdomainname): Likewise.
11644         (getdomainname): Likewise.
11645         * misc/gethostname.c (__gethostname): Likewise.
11646         * misc/getpass.c (getpass): Likewise.
11647         * misc/getttyent.c (skip): Likewise.
11648         (value): Likewise.
11649         * misc/gtty.c (gtty): Likewise.
11650         * misc/hsearch.c (hsearch): Likewise.
11651         (hcreate): Likewise.
11652         * misc/hsearch_r.c (__hcreate_r): Likewise.
11653         (__hdestroy_r): Likewise.
11654         * misc/ioctl.c (__ioctl): Likewise.
11655         * misc/mkdtemp.c (mkdtemp): Likewise.
11656         * misc/mkostemp.c (mkostemp): Likewise.
11657         * misc/mkostemp64.c (mkostemp64): Likewise.
11658         * misc/mkostemps.c (mkostemps): Likewise.
11659         * misc/mkostemps64.c (mkostemps64): Likewise.
11660         * misc/mkstemp.c (mkstemp): Likewise.
11661         * misc/mkstemp64.c (mkstemp64): Likewise.
11662         * misc/mkstemps.c (mkstemps): Likewise.
11663         * misc/mkstemps64.c (mkstemps64): Likewise.
11664         * misc/mktemp.c (__mktemp): Likewise.
11665         * misc/preadv.c (preadv): Likewise.
11666         * misc/preadv64.c (preadv64): Likewise.
11667         * misc/pwritev.c (pwritev): Likewise.
11668         * misc/pwritev64.c (pwritev64): Likewise.
11669         * misc/readv.c (__readv): Likewise.
11670         * misc/revoke.c (revoke): Likewise.
11671         * misc/setdomain.c (setdomainname): Likewise.
11672         * misc/setegid.c (setegid): Likewise.
11673         * misc/seteuid.c (seteuid): Likewise.
11674         * misc/sethostid.c (sethostid): Likewise.
11675         * misc/sethostname.c (sethostname): Likewise.
11676         * misc/setregid.c (__setregid): Likewise.
11677         * misc/setreuid.c (__setreuid): Likewise.
11678         * misc/sstk.c (sstk): Likewise.
11679         * misc/stty.c (stty): Likewise.
11680         * misc/syscall.c (syscall): Likewise.
11681         * misc/syslog.c (setlogmask): Likewise.
11682         * misc/truncate.c (__truncate): Likewise.
11683         * misc/truncate64.c (truncate64): Likewise.
11684         * misc/ualarm.c (ualarm): Likewise.
11685         * misc/usleep.c (usleep): Likewise.
11686         * misc/ustat.c (ustat): Likewise.
11687         * misc/writev.c (__writev): Likewise.
11688         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11689         * nptl/old_pthread_cond_broadcast.c
11690         (__pthread_cond_broadcast_2_0): Likewise.
11691         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11692         Likewise.
11693         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11694         Likewise.
11695         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11696         Likewise.
11697         * nptl/pt-raise.c (raise): Likewise.
11698         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11699         Likewise.
11700         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11701         * nptl/pthread_barrierattr_destroy.c
11702         (pthread_barrierattr_destroy): Likewise.
11703         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11704         Likewise.
11705         * nptl/pthread_barrierattr_setpshared.c
11706         (pthread_barrierattr_setpshared): Likewise.
11707         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11708         Likewise.
11709         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11710         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11711         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11712         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11713         Likewise.
11714         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11715         Likewise.
11716         * nptl/pthread_condattr_getpshared.c
11717         (pthread_condattr_getpshared): Likewise.
11718         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11719         Likewise.
11720         * nptl/pthread_condattr_setpshared.c
11721         (pthread_condattr_setpshared): Likewise.
11722         * nptl/pthread_detach.c (pthread_detach): Likewise.
11723         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11724         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11725         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11726         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11727         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11728         Likewise.
11729         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11730         Likewise.
11731         * nptl/pthread_mutex_getprioceiling.c
11732         (pthread_mutex_getprioceiling): Likewise.
11733         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11734         Likewise.
11735         * nptl/pthread_mutexattr_getprotocol.c
11736         (pthread_mutexattr_getprotocol): Likewise.
11737         * nptl/pthread_mutexattr_getpshared.c
11738         (pthread_mutexattr_getpshared): Likewise.
11739         * nptl/pthread_mutexattr_getrobust.c
11740         (pthread_mutexattr_getrobust): Likewise.
11741         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11742         Likewise.
11743         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11744         Likewise.
11745         * nptl/pthread_mutexattr_setprioceiling.c
11746         (pthread_mutexattr_setprioceiling): Likewise.
11747         * nptl/pthread_mutexattr_setprotocol.c
11748         (pthread_mutexattr_setprotocol): Likewise.
11749         * nptl/pthread_mutexattr_setpshared.c
11750         (pthread_mutexattr_setpshared): Likewise.
11751         * nptl/pthread_mutexattr_setrobust.c
11752         (pthread_mutexattr_setrobust): Likewise.
11753         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11754         Likewise.
11755         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11756         Likewise.
11757         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11758         Likewise.
11759         * nptl/pthread_rwlockattr_getkind_np.c
11760         (pthread_rwlockattr_getkind_np): Likewise.
11761         * nptl/pthread_rwlockattr_getpshared.c
11762         (pthread_rwlockattr_getpshared): Likewise.
11763         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11764         Likewise.
11765         * nptl/pthread_rwlockattr_setkind_np.c
11766         (pthread_rwlockattr_setkind_np): Likewise.
11767         * nptl/pthread_rwlockattr_setpshared.c
11768         (pthread_rwlockattr_setpshared): Likewise.
11769         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11770         Likewise.
11771         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11772         Likewise.
11773         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11774         Likewise.
11775         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11776         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11777         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11778         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11779         * nptl/sem_close.c (sem_close): Likewise.
11780         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11781         * nptl/sem_init.c (__old_sem_init): Likewise.
11782         * nptl/sigaction.c (__sigaction): Likewise.
11783         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11784         * posix/_exit.c (_exit): Likewise.
11785         * posix/alarm.c (alarm): Likewise.
11786         * posix/confstr.c (confstr): Likewise.
11787         * posix/fpathconf.c (__fpathconf): Likewise.
11788         * posix/getgroups.c (__getgroups): Likewise.
11789         * posix/getpgid.c (__getpgid): Likewise.
11790         * posix/group_member.c (__group_member): Likewise.
11791         * posix/pathconf.c (__pathconf): Likewise.
11792         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11793         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11794         * posix/setgid.c (__setgid): Likewise.
11795         * posix/setpgid.c (__setpgid): Likewise.
11796         * posix/setuid.c (__setuid): Likewise.
11797         * posix/sleep.c (__sleep): Likewise.
11798         * posix/sysconf.c (__sysconf): Likewise.
11799         * posix/times.c (__times): Likewise.
11800         * posix/uname.c (__uname): Likewise.
11801         * posix/waitid.c (__waitid): Likewise.
11802         * pwd/getpw.c (__getpw): Likewise.
11803         * resolv/base64.c (b64_pton): Likewise.
11804         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11805         * resolv/gethnamaddr.c (Dprintf): Likewise.
11806         (gethostbyname): Likewise.
11807         (gethostbyname2): Likewise.
11808         (gethostbyaddr): Likewise.
11809         (_sethtent): Likewise.
11810         (_gethtbyname): Likewise.
11811         (_gethtbyname2): Likewise.
11812         (_gethtbyaddr): Likewise.
11813         (map_v4v6_address): Likewise.
11814         (map_v4v6_hostent): Likewise.
11815         (addrsort): Likewise.
11816         (ht_sethostent): Likewise.
11817         (ht_gethostbyname): Likewise.
11818         (ht_gethostbyaddr): Likewise.
11819         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11820         (inet_net_ntop_ipv4): Likewise.
11821         * resolv/inet_neta.c (inet_neta): Likewise.
11822         * resolv/inet_ntop.c (inet_ntop): Likewise.
11823         (inet_ntop4): Likewise.
11824         (inet_ntop6): Likewise.
11825         * resolv/inet_pton.c (__inet_pton): Likewise.
11826         (inet_pton4): Likewise.
11827         (inet_pton6): Likewise.
11828         * resolv/res_debug.c (loc_aton): Likewise.
11829         (loc_ntoa): Likewise.
11830         * resource/getpriority.c (__getpriority): Likewise.
11831         * resource/getrusage.c (__getrusage): Likewise.
11832         * resource/nice.c (nice): Likewise.
11833         * resource/setpriority.c (__setpriority): Likewise.
11834         * resource/setrlimit64.c (setrlimit64): Likewise.
11835         * resource/vlimit.c (vlimit): Likewise.
11836         * resource/vtimes.c (vtimes): Likewise.
11837         * rt/aio_error.c (aio_error): Likewise.
11838         * rt/aio_return.c (aio_return): Likewise.
11839         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11840         * signal/kill.c (__kill): Likewise.
11841         * signal/killpg.c (killpg): Likewise.
11842         * signal/raise.c (raise): Likewise.
11843         * signal/sigaction.c (__sigaction): Likewise.
11844         * signal/sigaddset.c (sigaddset): Likewise.
11845         * signal/sigaltstack.c (sigaltstack): Likewise.
11846         * signal/sigandset.c (sigandset): Likewise.
11847         * signal/sigblock.c (__sigblock): Likewise.
11848         * signal/sigdelset.c (sigdelset): Likewise.
11849         * signal/sigempty.c (sigemptyset): Likewise.
11850         * signal/sigfillset.c (sigfillset): Likewise.
11851         * signal/sighold.c (sighold): Likewise.
11852         * signal/sigignore.c (sigignore): Likewise.
11853         * signal/sigintr.c (siginterrupt): Likewise.
11854         * signal/sigisempty.c (sigisemptyset): Likewise.
11855         * signal/sigismem.c (sigismember): Likewise.
11856         * signal/signal.c (signal): Likewise.
11857         * signal/sigorset.c (sigorset): Likewise.
11858         * signal/sigpause.c (__sigpause): Likewise.
11859         * signal/sigpending.c (sigpending): Likewise.
11860         * signal/sigprocmask.c (__sigprocmask): Likewise.
11861         * signal/sigrelse.c (sigrelse): Likewise.
11862         * signal/sigreturn.c (__sigreturn): Likewise.
11863         * signal/sigset.c (sigset): Likewise.
11864         * signal/sigsetmask.c (__sigsetmask): Likewise.
11865         * signal/sigstack.c (sigstack): Likewise.
11866         * signal/sigsuspend.c (__sigsuspend): Likewise.
11867         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11868         * signal/sysv_signal.c (__sysv_signal): Likewise.
11869         * socket/accept.c (accept): Likewise.
11870         * socket/accept4.c (__libc_accept4): Likewise.
11871         * socket/bind.c (__bind): Likewise.
11872         * socket/connect.c (__connect): Likewise.
11873         * socket/getpeername.c (getpeername): Likewise.
11874         * socket/getsockname.c (__getsockname): Likewise.
11875         * socket/getsockopt.c (getsockopt): Likewise.
11876         * socket/listen.c (__listen): Likewise.
11877         * socket/recv.c (__recv): Likewise.
11878         * socket/recvmsg.c (__recvmsg): Likewise.
11879         * socket/send.c (__send): Likewise.
11880         * socket/sendmsg.c (__sendmsg): Likewise.
11881         * socket/shutdown.c (shutdown): Likewise.
11882         * socket/sockatmark.c (sockatmark): Likewise.
11883         * socket/socket.c (__socket): Likewise.
11884         * stdio-common/ctermid.c (ctermid): Likewise.
11885         * stdio-common/cuserid.c (cuserid): Likewise.
11886         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11887         * stdio-common/remove.c (remove): Likewise.
11888         * stdio-common/rename.c (rename): Likewise.
11889         * stdio-common/renameat.c (renameat): Likewise.
11890         * stdio-common/tempname.c (__gen_tempname): Likewise.
11891         * stdio-common/xbug.c (InitBuffer): Likewise.
11892         (AppendToBuffer): Likewise.
11893         (ReadFile): Likewise.
11894         * stdlib/a64l.c (a64l): Likewise.
11895         * stdlib/drand48_r.c (drand48_r): Likewise.
11896         * stdlib/getcontext.c (getcontext): Likewise.
11897         * stdlib/getenv.c (getenv): Likewise.
11898         * stdlib/l64a.c (l64a): Likewise.
11899         * stdlib/llabs.c (llabs): Likewise.
11900         * stdlib/lldiv.c (lldiv): Likewise.
11901         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11902         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11903         * stdlib/putenv.c (putenv): Likewise.
11904         * stdlib/random.c (__srandom): Likewise.
11905         (__initstate): Likewise.
11906         (__setstate): Likewise.
11907         * stdlib/random_r.c (__srandom_r): Likewise.
11908         (__setstate_r): Likewise.
11909         (__random_r): Likewise.
11910         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11911         * stdlib/setcontext.c (setcontext): Likewise.
11912         * stdlib/setenv.c (setenv): Likewise.
11913         (unsetenv): Likewise.
11914         * stdlib/srand48.c (srand48): Likewise.
11915         * stdlib/srand48_r.c (__srand48_r): Likewise.
11916         * stdlib/swapcontext.c (swapcontext): Likewise.
11917         * stdlib/system.c (__libc_system): Likewise.
11918         * stdlib/tst-strtod.c (expand): Likewise.
11919         * stdlib/tst-strtol.c (expand): Likewise.
11920         * stdlib/tst-strtoll.c (expand): Likewise.
11921         * streams/fattach.c (fattach): Likewise.
11922         * streams/fdetach.c (fdetach): Likewise.
11923         * streams/getmsg.c (getmsg): Likewise.
11924         * streams/isastream.c (isastream): Likewise.
11925         * string/ffs.c (__ffs): Likewise.
11926         * string/ffsll.c (ffsll): Likewise.
11927         * string/memcmp.c (memcmp_common_alignment): Likewise.
11928         (memcmp_not_common_alignment): Likewise.
11929         (MEMCMP): Likewise.
11930         * string/memcpy.c (memcpy): Likewise.
11931         * string/memmove.c (MEMMOVE): Likewise.
11932         * string/memset.c (memset): Likewise.
11933         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11934         * string/strchrnul.c (STRCHRNUL): Likewise.
11935         * string/strerror.c (strerror): Likewise.
11936         * string/strndup.c (__strndup): Likewise.
11937         * string/strverscmp.c (__strverscmp): Likewise.
11938         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11939         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11940         (clnttcp_freeres): Likewise.
11941         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11942         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11943         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11944         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11945         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11946         (xdr_callhdr): Likewise.
11947         * sunrpc/rpcinfo.c (udpping): Likewise.
11948         (tcpping): Likewise.
11949         (pstatus): Likewise.
11950         (pmapdump): Likewise.
11951         (brdcst): Likewise.
11952         (deletereg): Likewise.
11953         (getprognum): Likewise.
11954         (getvers): Likewise.
11955         (get_inet_address): Likewise.
11956         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11957         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11958         (svcudp_stat): Likewise.
11959         (svcudp_recv): Likewise.
11960         (svcudp_reply): Likewise.
11961         (svcudp_getargs): Likewise.
11962         (svcudp_freeargs): Likewise.
11963         (svcudp_destroy): Likewise.
11964         * sunrpc/xdr.c (xdr_bytes): Likewise.
11965         (xdr_netobj): Likewise.
11966         (xdr_string): Likewise.
11967         (xdr_wrapstring): Likewise.
11968         * sunrpc/xdr_float.c (xdr_float): Likewise.
11969         (xdr_double): Likewise.
11970         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11971         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11972         * sysvipc/ftok.c (ftok): Likewise.
11973         * sysvipc/msgctl.c (msgctl): Likewise.
11974         * sysvipc/msgget.c (msgget): Likewise.
11975         * sysvipc/msgrcv.c (msgrcv): Likewise.
11976         * sysvipc/msgsnd.c (msgsnd): Likewise.
11977         * sysvipc/semget.c (semget): Likewise.
11978         * sysvipc/semop.c (semop): Likewise.
11979         * sysvipc/shmat.c (shmat): Likewise.
11980         * sysvipc/shmctl.c (shmctl): Likewise.
11981         * sysvipc/shmdt.c (shmdt): Likewise.
11982         * sysvipc/shmget.c (shmget): Likewise.
11983         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11984         * termios/speed.c (cfgetospeed): Likewise.
11985         (cfgetispeed): Likewise.
11986         (cfsetospeed): Likewise.
11987         (cfsetispeed): Likewise.
11988         * termios/tcflow.c (tcflow): Likewise.
11989         * termios/tcflush.c (tcflush): Likewise.
11990         * termios/tcgetattr.c (__tcgetattr): Likewise.
11991         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11992         * termios/tcgetsid.c (tcgetsid): Likewise.
11993         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11994         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11995         * time/adjtime.c (__adjtime): Likewise.
11996         * time/dysize.c (dysize): Likewise.
11997         * time/ftime.c (ftime): Likewise.
11998         * time/getitimer.c (__getitimer): Likewise.
11999         * time/gettimeofday.c (__gettimeofday): Likewise.
12000         * time/gmtime.c (__gmtime_r): Likewise.
12001         (gmtime): Likewise.
12002         * time/localtime.c (__localtime_r): Likewise.
12003         (localtime): Likewise.
12004         * time/offtime.c (__offtime): Likewise.
12005         * time/settimeofday.c (__settimeofday): Likewise.
12006         * time/stime.c (stime): Likewise.
12007         * time/strftime_l.c (tm_diff): Likewise.
12008         (iso_week_days): Likewise.
12009         * time/strptime.c (strptime): Likewise.
12010         * time/time.c (time): Likewise.
12011         * time/timespec_get.c (timespec_get): Likewise.
12012         * time/tzset.c (tzset_internal): Likewise.
12013         (compute_change): Likewise.
12014         (__tz_compute): Likewise.
12015         * wcsmbs/btowc.c (__btowc): Likewise.
12016         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12017         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12018         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12019         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12020         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12021         * wcsmbs/wcscat.c (__wcscat): Likewise.
12022         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12023         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12024         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12025         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12026         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12027         * wcsmbs/wcslen.c (__wcslen): Likewise.
12028         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12029         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12030         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12031         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12032         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12033         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12034         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12035         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12036         * wcsmbs/wcstok.c (wcstok): Likewise.
12037         * wcsmbs/wctob.c (wctob): Likewise.
12038         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12039         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12040         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12041         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12042         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12043         * wcsmbs/wmemset.c (__wmemset): Likewise.
12044         * wctype/wcfuncs.c (__towlower): Likewise.
12045         (__towupper): Likewise.
12047         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12048         (lll_unlock_elision): Add adapt_count parameter.
12050 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12052         * sysdeps/nptl/configure.ac: Do not give errors based on the
12053         results of top-level configure tests.
12054         * sysdeps/nptl/configure: Regenerated.
12056         * configure.ac (libc_cv_Bgroup): Remove configure test.
12057         * configure: Regenerated.
12058         * config.make.in (have-Bgroup): Remove variable.
12060         * configure.ac (sizeof_long_double): Remove configure test.
12061         * configure: Regenerated.
12062         * config.make.in (sizeof-long-double): Remove variable.
12064         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12065         * configure: Regenerated.
12066         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12067         variable.
12068         (exceptions): Likewise.
12069         * sysdeps/arm/configure: Regenerated.
12070         * config.make.in (exceptions): Remove variable.
12071         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12072         $(exceptions).
12073         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12074         (CFLAGS-vdprintf_chk.c): Likewise.
12075         (CFLAGS-printf_chk.c): Likewise.
12076         (CFLAGS-fprintf_chk.c): Likewise.
12077         (CFLAGS-vprintf_chk.c): Likewise.
12078         (CFLAGS-vfprintf_chk.c): Likewise.
12079         (CFLAGS-gets_chk.c): Likewise.
12080         (CFLAGS-fgets_chk.c): Likewise.
12081         (CFLAGS-fgets_u_chk.c): Likewise.
12082         (CFLAGS-fread_chk.c): Likewise.
12083         (CFLAGS-fread_u_chk.c): Likewise.
12084         (CFLAGS-wprintf_chk.c): Likewise.
12085         (CFLAGS-fwprintf_chk.c): Likewise.
12086         (CFLAGS-vwprintf_chk.c): Likewise.
12087         (CFLAGS-vfwprintf_chk.c): Likewise.
12088         (CFLAGS-fgetws_chk.c): Likewise.
12089         (CFLAGS-fgetws_u_chk.c): Likewise.
12090         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12091         (CFLAGS-fputc.c): Likewise.
12092         (CFLAGS-fputwc.c): Likewise.
12093         (CFLAGS-freopen64.c): Likewise.
12094         (CFLAGS-freopen.c): Likewise.
12095         (CFLAGS-fseek.c): Likewise.
12096         (CFLAGS-fseeko64.c): Likewise.
12097         (CFLAGS-fseeko.c): Likewise.
12098         (CFLAGS-ftello64.c): Likewise.
12099         (CFLAGS-ftello.c): Likewise.
12100         (CFLAGS-fwide.c): Likewise.
12101         (CFLAGS-genops.c): Likewise.
12102         (CFLAGS-getc.c): Likewise.
12103         (CFLAGS-getchar.c): Likewise.
12104         (CFLAGS-getwc.c): Likewise.
12105         (CFLAGS-getwchar.c): Likewise.
12106         (CFLAGS-iofclose.c): Likewise.
12107         (CFLAGS-iofflush.c): Likewise.
12108         (CFLAGS-iofgetpos64.c): Likewise.
12109         (CFLAGS-iofgetpos.c): Likewise.
12110         (CFLAGS-iofgets.c): Likewise.
12111         (CFLAGS-iofgetws.c): Likewise.
12112         (CFLAGS-iofputs.c): Likewise.
12113         (CFLAGS-iofputws.c): Likewise.
12114         (CFLAGS-iofread.c): Likewise.
12115         (CFLAGS-iofsetpos64.c): Likewise.
12116         (CFLAGS-iofsetpos.c): Likewise.
12117         (CFLAGS-ioftell.c): Likewise.
12118         (CFLAGS-iofwrite.c): Likewise.
12119         (CFLAGS-iogetdelim.c): Likewise.
12120         (CFLAGS-iogetline.c): Likewise.
12121         (CFLAGS-iogets.c): Likewise.
12122         (CFLAGS-iogetwline.c): Likewise.
12123         (CFLAGS-ioputs.c): Likewise.
12124         (CFLAGS-ioseekoff.c): Likewise.
12125         (CFLAGS-ioseekpos.c): Likewise.
12126         (CFLAGS-iosetbuffer.c): Likewise.
12127         (CFLAGS-iosetvbuf.c): Likewise.
12128         (CFLAGS-ioungetc.c): Likewise.
12129         (CFLAGS-ioungetwc.c): Likewise.
12130         (CFLAGS-oldfileops.c): Likewise.
12131         (CFLAGS-oldiofclose.c): Likewise.
12132         (CFLAGS-oldiofgetpos64.c): Likewise.
12133         (CFLAGS-oldiofgetpos.c): Likewise.
12134         (CFLAGS-oldiofsetpos64.c): Likewise.
12135         (CFLAGS-oldiofsetpos.c): Likewise.
12136         (CFLAGS-peekc.c): Likewise.
12137         (CFLAGS-putc.c): Likewise.
12138         (CFLAGS-putchar.c): Likewise.
12139         (CFLAGS-putwc.c): Likewise.
12140         (CFLAGS-putwchar.c): Likewise.
12141         (CFLAGS-rewind.c): Likewise.
12142         (CFLAGS-wfileops.c): Likewise.
12143         (CFLAGS-wgenops.c): Likewise.
12144         (CFLAGS-oldiofopen.c): Likewise.
12145         (CFLAGS-iofopen.c): Likewise.
12146         (CFLAGS-iofopen64.c): Likewise.
12147         (CFLAGS-oldtmpfile.c): Likewise.
12148         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12149         (CFLAGS-fprintf.c): Likewise.
12150         (CFLAGS-printf.c): Likewise.
12151         (CFLAGS-vfwprintf.c): Likewise.
12152         (CFLAGS-vfscanf.c): Likewise.
12153         (CFLAGS-vfwscanf.c): Likewise.
12154         (CFLAGS-fscanf.c): Likewise.
12155         (CFLAGS-scanf.c): Likewise.
12156         (CFLAGS-isoc99_vfscanf.c): Likewise.
12157         (CFLAGS-isoc99_vscanf.c): Likewise.
12158         (CFLAGS-isoc99_fscanf.c): Likewise.
12159         (CFLAGS-isoc99_scanf.c): Likewise.
12160         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12161         (CFLAGS-isoc99_fwscanf.c): Likewise.
12162         (CFLAGS-isoc99_vwscanf.c): Likewise.
12163         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12165         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12166         after mkstemp64.
12167         * login/tst-utmp.c (do_prepare): Likewise.
12168         * rt/tst-aio.c (do_prepare): Likewise.
12169         * rt/tst-aio64.c (do_prepare): Likewise.
12171 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12173         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12174         (__lll_lock_elision): Remove adapt_count decrement...
12175         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12176         (__lll_trylock_elision): Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12178         (__lll_unlock_elision): ... to here. And utilize
12179         new adapt_count parameter.
12180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12181         (__lll_unlock_elision): Update to include adapt_count
12182         parameter.
12183         (lll_unlock_elision): Pass pointer to adapt_count
12184         variable.
12186 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12188         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12189         Add elision adapt_count parameter to list of arguments.
12190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12191         (lll_unlock_elision): Update with new parameter list
12192         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12193         (lll_unlock_elision): Likewise.
12194         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12195         (lll_unlock_elision): Likewise.
12197 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12199         [BZ #19122]
12200         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12201         attribute_hidden.
12203         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12204         attribute_hidden.
12205         [IS_IN (rtld)] (__strdup): Likewise.
12206         [IS_IN (rtld)] (__strerror_r): Likewise.
12207         [IS_IN (rtld)] (__strsep_g): Likewise.
12208         [IS_IN (rtld)] (memchr): Likewise.
12209         [IS_IN (rtld)] (memcmp): Likewise.
12210         [IS_IN (rtld)] (memcpy): Likewise.
12211         [IS_IN (rtld)] (memmove): Likewise.
12212         [IS_IN (rtld)] (memset): Likewise.
12213         [IS_IN (rtld)] (rawmemchr): Likewise.
12214         [IS_IN (rtld)] (stpcpy): Likewise.
12215         [IS_IN (rtld)] (strchr): Likewise.
12216         [IS_IN (rtld)] (strcmp): Likewise.
12217         [IS_IN (rtld)] (strlen): Likewise.
12218         [IS_IN (rtld)] (strnlen): Likewise.
12219         [IS_IN (rtld)] (strsep): Likewise.
12221         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12222         attribute_hidden.
12223         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12225         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12226         attribute_hidden.
12227         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12229         * include/setjmp.h (__longjmp): Add attribute_hidden.
12230         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12232         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12233         Add attribute_hidden.
12235         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12236         [IS_IN (rtld)] (__open): Likewise.
12237         [IS_IN (rtld)] (__fcntl): Likewise.
12239         * include/dirent.h (__opendirat): Add attribute_hidden.
12240         (__getdents): Likewise.
12241         (__getdents64): Likewise.
12242         (__alloc_dir): Likewise.
12243         [IS_IN (rtld)] (__closedir): Likewise.
12244         [IS_IN (rtld)] (__fdopendir): Likewise.
12245         [IS_IN (rtld)] (__readdir): Likewise.
12246         [IS_IN (rtld)] (__readdir64): Likewise.
12247         [IS_IN (rtld)] (__rewinddir): Likewise.
12249         * include/dlfcn.h (_dl_catch_error): Moved to ...
12250         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12251         attribute_hidden.
12253         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12254         (_itoa_word): Likewise.
12256         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12257         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12258         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12259         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12260         (_dl_higher_prime_number): Likewise.
12261         (_dl_debug_printf_c): Likewise.
12262         (_dl_signal_cerror): Likewise.
12263         (_dl_receive_error): Likewise.
12264         (_dl_reloc_bad_type): Likewise.
12265         (_dl_resolve_conflicts): Likewise.
12266         (_dl_check_all_versions): Likewise.
12267         (_dl_check_map_versions): Likewise.
12268         (_dl_sort_fini): Likewise.
12269         (_dl_debug_initialize): Likewise.
12270         (_dl_init_paths): Likewise.
12271         (_dl_show_auxv): Likewise.
12272         (_dl_next_ld_env_entry): Likewise.
12273         (_dl_important_hwcaps): Likewise.
12274         (_dl_load_cache_lookup): Likewise.
12275         (_dl_update_slotinfo): Likewise.
12276         (_dl_show_scope): Likewise.
12278         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12279         attribute_hidden.
12280         (_wordcopy_fwd_dest_aligned): Likewise.
12281         (_wordcopy_bwd_aligned): Likewise.
12282         (_wordcopy_bwd_dest_aligned): Likewise.
12284         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12285         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12286         Likewise.
12287         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12288         Likewise.
12289         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12291 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12294         GCC 5 requirement.
12296 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12298         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12299         test.
12300         * sysdeps/i386/configure: Regenerated.
12301         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12302         code unconditional.
12304         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12305         test.
12306         (libc_cv_asm_popsection_directive): Likewise.
12307         * configure: Regenerated.
12308         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12309         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12310         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12311         (__make_section_unallocated): Make definition unconditional.
12312         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12313         Remove conditional definition.
12314         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12315         (__make_section_unallocated): Likewise.
12317         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12318         * configure: Regenerated.
12319         * config.make.in (static-libgcc): Remove variable.
12320         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12321         $(static-libgcc).
12322         (build-module-helper): Likewise.
12324         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12325         * configure: Regenerated.
12327 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12329         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12330         (struct char_buffer): New type.
12331         (char_buffer_start, char_buffer_size, char_buffer_error)
12332         (char_buffer_rewind, char_buffer_add): New functions.
12333         (ADDW): Remove macro, replaced by the char_buffer_add function.
12334         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12335         of extend_alloca.  Make control flow more explicit.
12337 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12339         [BZ #19137]
12340         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12341         Add -fomit-frame-pointer.
12342         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12344 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12346         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12347         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12348         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12349         only if !__GNUC_PREREQ (5,0).
12350         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12351         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12352         (INTERNAL_SYSCALL_NCS): Likewise.
12353         (LOADREGS_0): New macro for GCC 5.
12354         (ASMARGS_0): Likewise.
12355         (LOADREGS_1): Likewise.
12356         (ASMARGS_1): Likewise.
12357         (LOADREGS_2): Likewise.
12358         (ASMARGS_2): Likewise.
12359         (LOADREGS_3): Likewise.
12360         (ASMARGS_3): Likewise.
12361         (LOADREGS_4): Likewise.
12362         (ASMARGS_4): Likewise.
12363         (LOADREGS_5): Likewise.
12364         (ASMARGS_5): Likewise.
12365         (LOADREGS_6): Likewise.
12366         (ASMARGS_6): Likewise.
12368 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12370         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12371         -fomit-frame-pointer.
12372         (CFLAGS-mmap64.c): Likewise.
12373         (CFLAGS-semtimedop.c): Likewise.
12374         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12375         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12376         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12377         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12379 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12381         [BZ #18928]
12382         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12383         _dl_pointer_guard member.
12384         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12385         initializer.
12386         (security_init): Always set up pointer guard.
12387         (process_envvars): Do not process LD_POINTER_GUARD.
12389 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #19134]
12392         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12393         (.LC2): Likewise.
12394         (.LC3): Likewise.
12395         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12397 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12399         [BZ #19129]
12400         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12401         r0 and r1.
12403 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12405         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12407 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12409         * include/stap-probe.h: Fix macro definition formatting.
12411 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12413         [BZ #19074]
12414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12415         load and store num_ifs.
12417 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12419         [BZ #18822]
12420         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12421         (__sched_getaffinity_new): Add libc_hidden_proto and
12422         libc_hidden_def.
12424 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12426         [BZ #19007]
12427         * scripts/localplt.awk: Also allow GOT references.
12428         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12429         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12430         with "+ REL R_386_GLOB_DAT".
12431         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12432         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12434 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12436         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12437         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12439         Likewise.
12440         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12441         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12442         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12443         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12444         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12445         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12446         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12447         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12451 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12453         [BZ #19125]
12454         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12455         <math_private.h> and <stdint.h>.
12456         (__llround): Avoid conversions to and from long long int, and
12457         subtractions, where those might raise spurious exceptions.
12458         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12459         <math_private.h> and <stdint.h>.
12460         (__llroundf): Avoid conversions to and from long long int, and
12461         subtractions, where those might raise spurious exceptions.
12463 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12465         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12466         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12467         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12468         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12469         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12470         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12471         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12472         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12473         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12474         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12475         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12476         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12477         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12478         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12479         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12480         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12481         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12482         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12483         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12484         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12485         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12486         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12487         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12488         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12489         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12490         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12491         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12492         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12493         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12494         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12495         (__xstat64_conv): Likewise.
12496         (__xstat32_conv): Likewise.
12498 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12500         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12501         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12502         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12503         <sysdeps/unix/sysv/linux/sysdep.h>.
12504         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12505         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12506         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12507         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12508         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12509         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12510         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12511         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12512         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12517         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12518         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12520         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12521         (sysdep-dl-routines): Add sysdep.
12522         [$(subdir) == nptl] (libpthread-routines): Likewise.
12523         [$(subdir) == rt] (librt-routines): Likewise.
12524         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12525         PIC when branching to SYSCALL_ERROR_LABEL.
12526         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12528         <sysdeps/unix/sysv/linux/sysdep.h>.
12529         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12530         (SYSCALL_ERROR_ERRNO): Removed.
12531         (SYSCALL_ERROR_HANDLER): Changed to empty.
12532         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12533         (__syscall_error): New prototype.
12534         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12535         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12537 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12539         [BZ #19124]
12540         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12541         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12542         _dl_runtime_resolve_avx.
12543         (_dl_runtime_profile_avx512): Make it a hidden alias of
12544         _dl_runtime_profile_avx.
12546 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12548         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12549         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12550         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12551         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12553         [BZ #16422]
12554         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12555         New configure test.
12556         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12557         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12558         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12559         <math_private.h> and <stdint.h>.
12560         (__llrint): Avoid conversions to long long int where those might
12561         raise spurious exceptions.
12562         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12563         <math_private.h> and <stdint.h>.
12564         (__llrintf): Avoid conversions to long long int where those might
12565         raise spurious exceptions.
12567 2015-10-12  Andreas Schwab  <schwab@suse.de>
12569         [BZ #18969]
12570         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12571         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12572         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12573         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12574         $(gen-locales).
12575         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12576         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12577         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12578         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12579         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12580         $(gen-locales).
12581         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12582         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12583         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12584         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12585         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12586         ($(objpfx)tst-ftell-active-handler.out)
12587         ($(objpfx)tst-ftell-append.out)
12588         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12589         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12590         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12591         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12592         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12593         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12594         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12595         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12596         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12597         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12598         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12599         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12600         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12601         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12602         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12603         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12604         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12605         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12606         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12607         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12608         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12609         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12610         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12611         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12612         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12613         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12614         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12615         $(gen-locales).
12616         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12617         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12618         $(gen-locales).
12619         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12620         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12621         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12622         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12623         $(gen-locales).
12624         * libio/tst_wprintf2.c (main): Use explicit locale.
12625         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12627 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12629         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12630         __msg_sig_post.
12631         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12633 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12635         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12636         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12638         * sysdeps/arm/libm-test-ulps: Regenerated.
12640         [BZ #15470]
12641         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12643         [BZ #16399]
12644         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12645         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12646         and <fix-fp-int-convert-overflow.h>.
12647         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12648         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12649         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12650         and <fix-fp-int-convert-overflow.h>.
12651         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12652         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12653         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12654         <fix-fp-int-convert-overflow.h>.
12655         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12656         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12657         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12658         <fix-fp-int-convert-overflow.h>.
12659         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12660         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12661         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12662         and <fix-fp-int-convert-overflow.h>.
12663         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12664         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12665         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12666         <limits.h> and <fix-fp-int-convert-overflow.h>.
12667         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12668         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12669         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12670         and <fix-fp-int-convert-overflow.h>.
12671         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12672         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12673         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12674         and <fix-fp-int-convert-overflow.h>.
12675         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12676         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12677         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12679 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12681         [BZ #18589]
12682         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12683         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12684         $(gen-locales).
12686 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12687             Phil Blundell <pb@pbcl.net>
12689         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12690         * nptl/tst-cancel26.c: New file.
12691         * nptl/tst-cancel27.c: Likewise.
12693 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12695         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12696         __ILP32__ isn't defined.
12697         (lrint): Likewise.
12698         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12699         (lrintf): Likewise.
12700         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12701         (lrintl): Likewise.
12702         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12703         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12704         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12706 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12709         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12711         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12712         file.
12713         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12714         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12716 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12718         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12719         configure test.
12720         * sysdeps/i386/configure: Regenerated.
12721         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12722         configure test.
12723         * sysdeps/x86_64/configure: Regenerated.
12724         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12725         Make code unconditional.
12727         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12728         test.
12729         * sysdeps/i386/configure: Regenerated.
12730         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12731         test.
12732         * sysdeps/x86_64/configure: Regenerated.
12733         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12734         Make code unconditional.
12735         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12736         Likewise.
12737         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12738         Likewise.
12739         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12740         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12741         code unconditional.
12742         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12743         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12744         code unconditional.
12745         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12746         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12747         code unconditional.
12748         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12749         code unconditional.
12750         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12751         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12752         code unconditional.
12753         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12754         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12755         code unconditional.
12756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12757         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12758         code unconditional.
12759         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12760         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12761         code unconditional.
12762         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12763         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12765         [BZ #19095]
12766         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12767         mantissa to long int before shifting left.
12769 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12771         [BZ #19094]
12772         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12773         <limits.h>.
12774         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12775         when result overflows but exception would not result from cast.
12776         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12777         <limits.h>.
12778         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12779         when result overflows but exception would not result from cast.
12780         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12781         <limits.h>.
12782         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12783         when result overflows but exception would not result from cast.
12784         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12785         <limits.h>.
12786         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12787         when result overflows but exception would not result from cast.
12788         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12789         <limits.h>.
12790         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12791         when result overflows but exception would not result from cast.
12792         * math/libm-test.inc (lrint_test_data): Add more tests.
12793         (llrint_test_data): Likewise.
12795 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12797         [BZ #18872]
12798         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12799         Move out from under [$(run-built-tests) = yes] conditional.
12800         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12801         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12803 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12805         [BZ #18589]
12806         * string/Makefile (tests): Add bug-strcoll2.
12807         (LOCALES): Add cs_CZ.UTF-8.
12808         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12810         [BZ #18589]
12811         * string/bug-strcoll2.c: New file.
12812         * locale/categories.def: Revert commit
12813         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12814         * locale/langinfo.h: Likewise.
12815         * locale/localeinfo.h: Likewise.
12816         * locale/C-collate.c: Likewise.
12817         * locale/programs/ld-collate.c (collate_output): Likewise.
12818         * string/strcoll_l.c (STRDIFF): Likewise.
12819         (STRCOLL): Likewise.
12820         * wcsmbs/wcscoll_l.c: Likewise.
12822 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12824         * math/libm-test.inc (lround_test_data): Do not expect the absence
12825         of "inexact" for some tests with non-integer arguments.
12826         (llround_test_data): Likewise.
12828         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12829         test.
12830         (libc_cv_cc_sse2avx): Likewise.
12831         * sysdeps/i386/configure: Regenerated.
12832         * sysdeps/i386/i686/multiarch/Makefile
12833         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12834         [$(subdir) = math].
12835         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12836         code unconditional.
12837         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12838         Likewise.
12839         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12840         Likewise.
12841         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12842         Likewise.
12843         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12844         test.
12845         (libc_cv_cc_sse2avx): Likewise.
12846         * sysdeps/x86_64/configure: Regenerated.
12847         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12848         unconditional.
12849         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12850         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12851         unconditional.
12852         (_dl_runtime_profile)
12853         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12854         conditional code.
12855         * sysdeps/x86_64/fpu/multiarch/Makefile
12856         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12857         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12858         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12859         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12860         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12861         * sysdeps/x86_64/fpu/multiarch/e_log.c
12862         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12863         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12864         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12865         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12866         Likewise.
12867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12868         Likewise.
12869         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12870         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12871         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12872         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12873         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12874         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12875         (HAVE_SSE2AVX_SUPPORT): Likewise.
12877 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12879         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12880         instead of #pragma optimize.
12882 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12884         [BZ #17195]
12885         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12886         as is similarly done in systrim and _int_free already.
12888 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12890         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12892 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12894         [BZ #19088]
12895         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12896         <limits.h>.
12897         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12898         overflows but exception would not result from cast.
12899         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12900         and <limits.h>.
12901         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12902         overflows but exception would not result from cast.
12903         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12904         <limits.h>.
12905         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12906         overflows but exception would not result from cast.
12907         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12908         <limits.h>.
12909         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12910         overflows but exception would not result from cast.
12911         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12912         <limits.h>.
12913         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12914         overflows but exception would not result from cast.
12915         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12916         <limits.h>.
12917         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12918         overflows but exception would not result from cast.
12919         * math/libm-test.inc (lround_test_data): Add more tests.
12920         (llround_test_data): Likewise.
12922 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12924         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12925         (CFLAGS-ialloc.c): Ditto.
12926         (CFLAGS-scheck.c): Ditto.
12928 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12930         [BZ #19086]
12931         * manual/filesys.texi (Storage Allocation): Fix argument order for
12932         posix_fallocate64.
12934 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12936         [BZ #19085]
12937         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12938         exponent below 48 inside case for non-overflowing exponent.
12939         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12941 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12943         * iconvdata/cp737.h (from_idx): Add const.
12944         * iconvdata/cp775.h (from_idx): Likewise.
12946 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12948         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12949         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12950         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12952         [BZ #19079]
12953         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12954         file, conditioned on [!_LP64].
12955         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12956         [!_LP64] (__lround): Do not define as function or alias.
12957         [!_LP64] (lround): Likewise.
12958         [!_LP64] (__lroundl): Likewise.
12959         [!_LP64] (lroundl): Likewise.
12960         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12961         macro.
12962         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12963         Likewise.
12965 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12967         * math/libm-test.inc (lrint_test_data): Add more tests.
12968         (llrint_test_data): Likewise.
12969         (lround_test_data): Likewise.
12970         (llround_test_data): Likewise.
12972         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12973         (llrint_test_data): Add tests used for lrint.
12975         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12976         test.
12977         * sysdeps/i386/configure: Regenerated.
12978         * sysdeps/i386/i686/multiarch/Makefile
12979         [$(config-cflags-sse4) = yes]: Make code unconditional.
12980         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12981         Likewise.
12982         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12983         Likewise.
12984         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12985         test.
12986         * sysdeps/x86_64/configure: Regenerated.
12987         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12988         Make code unconditional.
12989         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12990         Likewise.
12991         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12992         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12994         * scripts/rpm2dynsym.sh: Remove file.
12996 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12998         * configure.ac (libc_cv_cxx_thread_local): Define.
12999         * configure: Regenerate.
13000         * config.make.in (have-cxx-thread_local): Define.
13001         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13002         (LDLIBS-tst-thread_local1): Define.
13003         (tests): Add tst-thread_local1.
13004         [have-cxx-thread_local != yes] (tests-unsupported): Add
13005         tst-thread_local1.
13006         * nptl/tst-thread_local1.cc: New file.
13008 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13010         [BZ #19078]
13011         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13012         (u_thres): Likewise.
13013         (__expl): Determine whether to call __kernel_standard_l based on
13014         value of result, not argument.
13016         * math/libm-test.inc (scalb_test_data): Add more expectations for
13017         the "inexact" exception.
13019         [BZ #19077]
13020         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13021         0.0L for argument 1.0L.
13023         [BZ #19076]
13024         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13025         constant 0.0L when computing infinite result.
13027 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13029         [BZ #10432]
13030         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13031         malloc_usable_size.
13033 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13035         [BZ #19018]
13036         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13037         Mangle function pointer before storing it.
13038         (__call_tls_dtors): Demangle function pointer before calling it.
13040 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13042         [BZ #19012]
13043         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13044         Clean up on failure.
13046 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13048         [BZ #19071]
13049         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13050         long int variable to store possibly incremented high part of
13051         mantissa.
13052         * math/libm-test.inc (lround_test_data): Add tests used for
13053         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13054         for tests requiring 64-bit long.  Do not condition tests on
13055         [TEST_FLOAT] unnecessarily.
13056         (llround_test_data): Add tests used for lround.  Add another
13057         expectation for the "inexact" exception.  Do not condition tests
13058         on [TEST_FLOAT] unnecessarily.
13060         [BZ #887]
13061         [BZ #19049]
13062         [BZ #19050]
13063         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13064         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13065         <fix-int-fp-convert-zero.h>.
13066         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13067         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13068         <fix-int-fp-convert-zero.h>.
13069         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13070         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13071         <fix-int-fp-convert-zero.h>.
13072         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13073         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13074         <fix-int-fp-convert-zero.h>.
13075         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13076         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13077         <fix-int-fp-convert-zero.h>.
13078         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13079         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13080         <fix-int-fp-convert-zero.h>.
13081         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13082         * sysdeps/ieee754/flt-32/s_erff.c: Include
13083         <fix-int-fp-convert-zero.h>.
13084         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13085         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13086         <fix-int-fp-convert-zero.h>.
13087         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13089         <fix-int-fp-convert-zero.h>.
13090         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13091         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13092         <fix-int-fp-convert-zero.h>.
13093         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13094         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13095         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13096         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13097         file.
13098         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13100 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13104 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13106         [BZ #19059]
13107         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13108         overflowing computation.
13109         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13110         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13111         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13112         Likewise.
13113         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13114         Likewise.
13115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13116         Likewise.
13117         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13118         Likewise.
13119         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13120         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13121         Likewise.
13122         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13123         Likewise.
13124         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13126         * nss/rewrite_field.c (__nss_rewrite_field): Use
13127         internal_function.
13128         * nss/valid_field.c (__nss_valid_field): Likewise.
13129         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13131 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13133         [BZ #18724]
13134         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13135         (__nss_invalid_field_characters, __nss_valid_field)
13136         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13137         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13138         tst-field.c: New file.
13139         * nss/Makefile (routines): Add valid_field, rewrite_field.
13140         (tests-static): Define unconditionally.
13141         (tests): Include tests-static.
13142         [build-static-nss] (tests-static): Use append.
13143         [build-static-nss] (tests): Remove modification.
13144         * nss/getent.c (print_group): Call putgrent.  Report error.
13145         (print_gshadow): Call putsgent.  Report error.
13146         (print_passwd): Call putpwent.  Report error.
13147         (print_shadow): Call putspent.  Report error.
13148         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13149         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13150         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13151         name, password, directory, shell fields for valid syntax.  Rewrite
13152         GECOS field to match syntax.
13153         * pwd/Makefile (tests): Add tst-putpwent.
13154         * pwd/tst-putpwent.c: New file.
13155         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13156         Check grName, grpasswd, gr_mem fields for valid syntax.
13157         Change loop variable i to size_t.
13158         * grp/Makefile (tests): Add tst-putgrent.
13159         * grp/tst-putgrent.c: New file.
13160         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13161         valid syntax.
13162         * shadow/Makefile (tests): Add tst-putspent.
13163         * shadow/tst-putspent.c: New file.
13164         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13165         sg_mem fields for valid syntax.
13166         * gshadow/Makefile (tests): Add tst-putsgent.
13167         * gshadow/tst-putsgent.c: New file.
13169 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13171         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13172         assembly instructions.
13174 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13176         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13177         prefix from operands.
13179 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #16347]
13182         [BZ #19046]
13183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13184         <libc-internal.h>.
13185         (MAXLGM): Do not use diagnostic control macros.
13186         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13187         threshold for ldbl-128ibm.
13188         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13189         instead of multiplying by log then subtracting.
13190         * math/auto-libm-test-in: Add more tests of lgamma.
13191         * math/auto-libm-test-out: Regenerated.
13193         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13194         (TYPE_HEX_DIG): Likewise.
13195         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13196         precisions when printing floating-point numbers.
13197         (check_float_internal): Likewise.
13199 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13201         [BZ #16620]
13202         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13203         of log (10) rounded downward to 48 bits.
13204         (log10_low): Use corresponding low part of log (10).
13206         [BZ #19032]
13207         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13208         compute result as (x - x) / (x - x) not as 0 / 0.
13209         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13210         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13212         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13213         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13214         and expm1.
13215         * math/auto-libm-test-out: Regenerated.
13216         * math/libm-test.inc (acos_test_data): Add more tests.
13217         (asin_test_data): Likewise.
13218         (asinh_test_data): Likewise.
13219         (atan_test_data): Likewise.
13220         (atanh_test_data): Likewise.
13221         (atan2_test_data): Likewise.
13222         (cbrt_test_data): Likewise.
13223         (ceil_test_data): Likewise.
13224         (copysign_test_data): Likewise.
13225         (cos_test_data): Likewise.
13226         (cosh_test_data): Likewise.
13227         (erf_test_data): Likewise.
13228         (erfc_test_data): Likewise.
13229         (exp_test_data): Likewise.
13230         (exp10_test_data): Likewise.
13231         (exp2_test_data): Likewise.
13232         (expm1_test_data): Likewise.
13233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13235 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13237         [BZ #19006]
13238         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13239         to ...
13240         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13241         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13242         to ...
13243         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13244         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13245         to ...
13246         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13247         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13248         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13249         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13250         to ...
13251         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13252         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13253         Moved to ...
13254         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13256         Moved to ...
13257         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13258         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13259         to ...
13260         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13261         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13262         Moved to ...
13263         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13264         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13265         to ...
13266         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13267         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13268         Removed.
13269         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13270         Likewise.
13271         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13274         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13275         Likewise.
13276         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13277         Likewise.
13278         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13279         Likewise.
13280         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13281         Likewise.
13282         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13283         Likewise.
13284         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13285         Likewise.
13286         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13287         Likewise.
13288         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13289         Likewise.
13290         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13291         Likewise.
13292         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13293         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13294         Likewise.
13295         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13296         Likewise.
13297         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13298         Likewise.
13299         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13300         Likewise.
13301         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13302         Likewise.
13303         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13304         Replace ../i486/pthread_cond_timedwait.S with
13305         ../pthread_cond_timedwait.S.
13307 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13309         * math/libm-test.inc (acos_test_data): Refine expectations for
13310         errno and "inexact" exceptions.
13311         (acosh_test_data): Likewise.
13312         (asin_test_data): Likewise.
13313         (asinh_test_data): Likewise.
13314         (atan_test_data): Likewise.
13315         (atanh_test_data): Likewise.
13316         (atan2_test_data): Likewise.
13317         (cbrt_test_data): Likewise.
13318         (ceil_test_data): Likewise.
13319         (copysign_test_data): Likewise.
13320         (cosh_test_data): Likewise.
13321         (erf_test_data): Likewise.
13322         (erfc_test_data): Likewise.
13323         (exp_test_data): Likewise.
13324         (exp10_test_data): Likewise.
13325         (exp2_test_data): Likewise.
13326         (expm1_test_data): Likewise.
13327         (fabs_test_data): Likewise.
13328         (floor_test_data): Likewise.
13329         (fma_test_data): Likewise.
13330         (fmax_test_data): Likewise.
13331         (fmin_test_data): Likewise.
13332         (fmod_test_data): Likewise.
13333         (fpclassify_test_data): Likewise.
13334         (frexp_test_data): Likewise.
13335         (hypot_test_data): Likewise.
13336         (ilogb_test_data): Likewise.
13337         (isgreater_test_data): Likewise.
13338         (isgreaterequal_test_data): Likewise.
13339         (isinf_test_data): Likewise.
13340         (isless_test_data): Likewise.
13341         (islessequal_test_data): Likewise.
13342         (islessgreater_test_data): Likewise.
13343         (isnan_test_data): Likewise.
13344         (isnormal_test_data): Likewise.
13345         (issignaling_test_data): Likewise.
13346         (isunordered_test_data): Likewise.
13347         (j0_test_data): Likewise.
13348         (j1_test_data): Likewise.
13349         (jn_test_data): Likewise.
13350         (lgamma_test_data): Likewise.
13351         (lrint_test_data): Likewise.
13352         (llrint_test_data): Likewise.
13353         (log_test_data): Likewise.
13354         (log10_test_data): Likewise.
13355         (log1p_test_data): Likewise.
13356         (log2_test_data): Likewise.
13357         (logb_test_data): Likewise.
13358         (lround_test_data): Likewise.
13359         (llround_test_data): Likewise.
13360         (modf_test_data): Likewise.
13361         (nearbyint_test_data): Likewise.
13362         (nextafter_test_data): Likewise.
13363         (nexttoward_test_data): Likewise.
13364         (pow_test_data): Likewise.
13365         (remainder_test_data): Likewise.
13366         (remquo_test_data): Likewise.
13367         (rint_test_data): Likewise.
13368         (round_test_data): Likewise.
13369         (signbit_test_data): Likewise.
13370         (sinh_test_data): Likewise.
13371         (sqrt_test_data): Likewise.
13372         (tanh_test_data): Likewise.
13373         (tgamma_test_data): Likewise.
13374         (trunc_test_data): Likewise.
13375         (y0_test_data): Likewise.
13376         (y1_test_data): Likewise.
13377         (yn_test_data): Likewise.
13378         (significand_test_data): Likewise.
13380 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13382         * manual/filesys.texi (Storage Allocation): Document that
13383         posix_fallocate emulation fails when fd is open with O_WRONLY.
13385 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13387         [BZ #19016]
13388         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13389         allow more cases with X^2 + Y^2 >= 0.5.
13390         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13391         normal element in sum instead of special-casing based on values of
13392         arguments.
13393         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13394         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13395         -1 as normal element in sum instead of special-casing based on
13396         values of arguments.
13397         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13398         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13399         (__x2y2m1): Update comment.
13400         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13401         as normal element in sum instead of special-casing based on values
13402         of arguments.
13403         * math/s_clog.c (__clog): Handle more cases using log1p without
13404         hypot.
13405         * math/s_clog10.c (__clog10): Likewise.
13406         * math/s_clog10f.c (__clog10f): Likewise.
13407         * math/s_clog10l.c (__clog10l): Likewise.
13408         * math/s_clogf.c (__clogf): Likewise.
13409         * math/s_clogl.c (__clogl): Likewise.
13410         * math/auto-libm-test-in: Add more tests of clog and clog10.
13411         * math/auto-libm-test-out: Regenerated.
13412         * sysdeps/i386/fpu/libm-test-ulps: Update.
13413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13415 2015-09-28  Martin Sebor  <msebor@redhat.com>
13417         [BZ #18969]
13418         * string/Makefile (LOCALES): Define.
13419         (gen-locales.mk): Include.
13420         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13421         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13422         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13423         on setlocale failure.
13425 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13427         [BZ #18985]
13428         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13429         (__strftime_internal): Likewise.
13430         * time/tst-strftime.c (do_bz18985): New test.
13431         (do_test): Call it.
13433 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13435         [BZ #18956]
13436         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13437         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13438         extracting high part.
13439         * math/auto-libm-test-in: Add another test of pow.
13440         * math/auto-libm-test-out: Regenerated.
13441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13443 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13445         [BZ #18825]
13446         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13447         New macro.
13448         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13449         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13450         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13451         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13452         DBL_NARROW_EVAL, reloading the PIC register as needed.
13453         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13454         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13455         FLT_NARROW_EVAL.  Use separate return path for case when first
13456         argument is NaN.
13457         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13458         DEFINE_LDBL_MIN.
13459         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13460         PIC register.
13461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13462         math_check_force_underflow_nonneg.
13463         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13464         underflow for subnormal result.
13465         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13467         math_check_force_underflow_nonneg.
13468         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13469         math_check_force_underflow.
13470         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13471         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13472         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13473         DEFINE_LDBL_MIN.
13474         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13475         * math/auto-libm-test-in: Add more tests of pow.
13476         * math/auto-libm-test-out: Regenerated.
13478 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13480         * nss/bug17079.c (init_test_items): Add diagnostic for
13481         inconsistent entries.
13482         (test_buffer_size): Skip inconsistent entries.
13484 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13486         [BZ #13304]
13487         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13488         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13489         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13491         [BZ #13304]
13492         * sysdeps/microblaze/s_fma.c: New file.
13493         * sysdeps/microblaze/s_fmaf.c: Likewise.
13494         * sysdeps/microblaze/sfp-machine.h: Likewise.
13496 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13498         [BZ #17250]
13499         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13500         member.
13502 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #18803]
13505         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13506         (MO): New macro.
13507         (__ieee754_hypot) [PIC]: Load PIC register.
13508         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13509         DBL_NARROW_EVAL.
13510         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13511         math_check_force_underflow_nonneg in case where result might be
13512         tiny.
13513         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13514         Likewise.
13515         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13516         Likewise.
13517         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13518         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13519         * math/auto-libm-test-in: Add more tests of hypot.
13520         * math/auto-libm-test-out: Regenerated.
13522 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13524         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13526 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13528         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13529         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13530         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13531         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13532         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13533         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13534         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13536         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13537         LOAD_PIC_REG.
13539         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13540         (FLT_CHECK_FORCE_UFLOW): Likewise.
13541         (DBL_CHECK_FORCE_UFLOW): Likewise.
13542         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13543         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13544         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13545         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13546         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13547         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13548         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13549         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13550         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13551         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13552         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13553         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13554         (flt_min): Replace with use of DEFINE_FLT_MIN.
13555         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13556         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13557         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13558         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13559         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13560         (flt_min): Replace with use of DEFINE_FLT_MIN.
13561         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13562         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13564         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13565         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13566         (flt_min): Replace with use of DEFINE_FLT_MIN.
13567         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13568         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13569         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13570         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13571         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13572         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13573         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13574         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13575         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13576         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13577         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13578         (flt_min): Replace with use of DEFINE_FLT_MIN.
13579         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13580         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13581         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13582         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13583         main computation.
13584         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13585         (flt_min): Replace with use of DEFINE_FLT_MIN.
13586         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13587         main computation.
13588         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13589         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13590         (MO): New macro.
13591         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13592         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13593         (flt_min): Replace with use of DEFINE_FLT_MIN.
13594         (MO): New macro.
13595         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13596         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13597         (__log1pl): Use MO.
13599         [BZ #19003]
13600         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13601         $(config-cflags-nofma).
13603 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13605         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13607 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13609         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13610         (TWO127): Likewise.
13612         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13613         (min_of_type): Likewise.
13614         (math_check_force_underflow): Likewise.
13615         (math_check_force_underflow_nonneg): Likewise.
13616         (math_check_force_underflow_complex): Likewise.
13617         * math/e_exp2l.c (__ieee754_exp2l): Use
13618         math_check_force_underflow_nonneg.
13619         * math/k_casinh.c (__kernel_casinh): Likewise.
13620         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13621         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13622         * math/s_catan.c (__catan): Use
13623         math_check_force_underflow_complex.
13624         * math/s_catanf.c (__catanf): Likewise.
13625         * math/s_catanh.c (__catanh): Likewise.
13626         * math/s_catanhf.c (__catanhf): Likewise.
13627         * math/s_catanhl.c (__catanhl): Likewise.
13628         * math/s_catanl.c (__catanl): Likewise.
13629         * math/s_ccosh.c (__ccosh): Likewise.
13630         * math/s_ccoshf.c (__ccoshf): Likewise.
13631         * math/s_ccoshl.c (__ccoshl): Likewise.
13632         * math/s_cexp.c (__cexp): Likewise.
13633         * math/s_cexpf.c (__cexpf): Likewise.
13634         * math/s_cexpl.c (__cexpl): Likewise.
13635         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13636         * math/s_clog10.c (__clog10): Likewise.
13637         * math/s_clog10f.c (__clog10f): Likewise.
13638         * math/s_clog10l.c (__clog10l): Likewise.
13639         * math/s_clogf.c (__clogf): Likewise.
13640         * math/s_clogl.c (__clogl): Likewise.
13641         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13642         * math/s_csinf.c (__csinf): Likewise.
13643         * math/s_csinh.c (__csinh): Likewise.
13644         * math/s_csinhf.c (__csinhf): Likewise.
13645         * math/s_csinhl.c (__csinhl): Likewise.
13646         * math/s_csinl.c (__csinl): Likewise.
13647         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13648         * math/s_csqrtf.c (__csqrtf): Likewise.
13649         * math/s_csqrtl.c (__csqrtl): Likewise.
13650         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13651         * math/s_ctanf.c (__ctanf): Likewise.
13652         * math/s_ctanh.c (__ctanh): Likewise.
13653         * math/s_ctanhf.c (__ctanhf): Likewise.
13654         * math/s_ctanhl.c (__ctanhl): Likewise.
13655         * math/s_ctanl.c (__ctanl): Likewise.
13656         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13657         instead of volatile.
13658         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13659         math_check_force_underflow.
13660         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13661         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13662         volatile when forcing underflow.
13663         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13664         math_check_force_underflow_nonneg.
13665         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13666         Likewise.
13667         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13668         math_check_force_underflow.
13669         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13670         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13671         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13672         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13673         math_check_force_underflow_nonneg.
13674         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13675         math_check_force_underflow.
13676         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13678         instead of volatile.
13679         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13680         math_check_force_underflow.
13681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13682         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13683         math_check_force_underflow_nonneg.
13684         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13685         math_check_force_underflow.
13686         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13687         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13688         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13689         math_check_force_underflow_nonneg.
13690         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13691         Likewise.
13692         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13693         math_check_force_underflow.
13694         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13695         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13696         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13697         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13698         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13699         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13700         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13701         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13702         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13703         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13704         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13705         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13706         Likewise.
13707         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13708         math_check_force_underflow_nonneg.
13709         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13710         Likewise.
13711         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13712         math_check_force_underflow.
13713         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13714         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13715         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13716         Likewise.
13717         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13718         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13719         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13720         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13721         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13722         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13723         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13724         instead of volatile.
13725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13726         math_check_force_underflow.
13727         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13729         math_check_force_underflow.
13730         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13731         Likewise.
13732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13733         Use math_check_force_underflow_nonneg.
13734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13735         math_check_force_underflow.
13736         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13737         Likewise.
13738         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13739         Likewise.
13740         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13742         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13743         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13744         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13745         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13746         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13747         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13748         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13749         math_check_force_underflow_nonneg.
13750         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13751         math_check_force_underflow.
13752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13753         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13754         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13755         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13756         math_check_force_underflow_nonneg.
13757         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13758         math_check_force_underflow.
13759         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13761         instead of volatile.
13762         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13763         math_check_force_underflow.
13765         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13766         * stdlib/strtod_l.c: Include <math_private.h>.
13767         (overflow_value): Use math_narrow_eval.
13768         (underflow_value): Likewise.
13769         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13770         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13771         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13772         (__ieee754_gamma_r): Likewise.
13773         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13774         Likewise.
13775         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13776         Likewise.
13777         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13778         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13779         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13780         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13781         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13782         (__ieee754_gammaf_r): Likewise.
13783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13784         Likewise.
13785         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13786         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13787         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13788         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13789         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13790         volatile.
13791         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13793         math_narrow_eval.
13794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13795         Likewise.
13796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13797         Likewise.
13798         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13799         Likewise.
13800         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13801         volatile.
13802         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13803         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13804         math_narrow_eval.
13805         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13806         Likewise.
13807         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13808         Likewise.
13810 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13812         * nptl/Versions: Remove ignored symbols.
13814 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13816         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13817         * nss/Makefile (tests): Update.
13819 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13821         * nss/bug18287.c: New file.
13822         * nss/Makefile (tests): Add bug18287.
13824 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13826         * mach/Versions (__mach_host_self_): Add symbol.
13828 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13830         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13831         vm_page_size.
13833 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13835         Really fix sysdeps/i386/fpu/s_scalbn.S build
13837         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13838         (libc: GLIBC_2_22): Remove unused version set.
13840 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13842         * config.make.in (enable-timezone-tools): New variable.
13843         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13844         (enable_timezone_tools): Export to generated files.
13845         * configure: Regenerate.
13846         * INSTALL: Regenerate.
13847         * manual/install.texi (--disable-timezone-tools): Document new flag.
13848         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13849         ifeq ($(enable-timezone-tools),yes) check.
13851 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13853         * timezone/Makefile: Revert previous change.
13855         [BZ #18980]
13856         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13857         (DEFINE_DBL_MIN): Likewise.
13858         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13859         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13860         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13861         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13862         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13863         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13864         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13865         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13866         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13867         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13868         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13869         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13870         (flt_min): Replace with use of DEFINE_FLT_MIN.
13871         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13872         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13873         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13874         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13875         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13876         (flt_min): Replace with use of DEFINE_FLT_MIN.
13877         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13878         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13879         (flt_min): Replace with use of DEFINE_FLT_MIN.
13880         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13881         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13882         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13883         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13884         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13885         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13886         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13887         (__ieee754_pow): Use DBL_NARROW_EVAL.
13888         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13889         (__ieee754_powf): Use FLT_NARROW_EVAL.
13890         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13891         (__ieee754_expf_sse2): Convert double-precision result to single
13892         precision.
13893         * sysdeps/i386/fpu/libm-test-ulps: Update.
13895 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13897         * timezone/Makefile: Ignore unused variable errors due to private.h
13898         (time_t_min) and (time_t_max).
13899         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13900         Likewise.
13902 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #18981]
13905         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13906         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13907         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13908         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13909         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13910         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13911         (__scalbn): Use DBL_NARROW_EVAL.
13912         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13913         (__scalbnf): Use FLT_NARROW_EVAL.
13915 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13917         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13918         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13919         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13920         * stdio-common/printf_fp.c (___printf_fp):
13921         Use signbit to get the sign. Use isinf macro to allow inlining.
13922         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13923         * stdio-common/printf_size.c (__printf_size): Likewise.
13925 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13927         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13929 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13931         [BZ #18980]
13932         * sysdeps/generic/math_private.h: Include <float.h>.
13933         (math_narrow_eval): New macro.
13934         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13935         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13936         math_narrow_eval on overflowing return value.
13937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13938         Likewise.
13939         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13940         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13941         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13942         Likewise.
13943         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13945 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13947         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13948         * math/Makefile: Remove isinf_ns.c.
13949         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13950         * math/multc3.c (__multc3): Likewise.
13951         * math/s_casin.c (__casin): Likewise.
13952         * math/s_casinf.c (__casinf): Likewise.
13953         * math/s_casinl.c (__casinl): Likewise.
13954         * math/s_cproj.c (__cproj): Likewise.
13955         * math/s_cprojf.c (__cprojf): Likewise.
13956         * math/s_cprojl.c (__cprofl): Likewise.
13957         * math/s_ctan.c (__ctan): Likewise.
13958         * math/s_ctanf.c (__ctanf): Likewise.
13959         * math/s_ctanh.c (__ctanh): Likewise.
13960         * math/s_ctanhf.c (__ctanhf): Likewise.
13961         * math/s_ctanhl.c (__ctanhl): Likewise.
13962         * math/s_ctanl.c (__ctanl): Likewise.
13963         * math/w_fmod.c (__fmod): Likewise.
13964         * math/w_fmodf.c (__fmodf): Likewise.
13965         * math/w_fmodl.c (_fmodl): Likewise.
13966         * math/w_remainder.c (__remainder): Likewise.
13967         * math/w_remainderf.c (__remainderf): Likewise.
13968         * math/w_remainderl.c (__remainderl): Likewise.
13969         * math/w_scalb.c (__scalb): Likewise.
13970         * math/w_scalbf.c (__scalbf): Likewise.
13971         * math/w_scalbl.c (__scalbl): Likewise.
13972         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13973         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13974         with isinf.
13975         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13976         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13977         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13978         __isinf_nsf with isinf.
13979         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13980         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13981         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13982         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13983         with isinf.
13984         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13985         __isinf_nsl with isinf.
13986         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13987         with isinf.
13988         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13989         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13990         __isinf_nsl with isinf.
13991         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13992         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13993         with isinf.
13995 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13997         * resolv/base64.c (rcsid): Remove unused static.
13998         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13999         static.  (tqpi1): Likewise.
14000         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14001         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14002         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14003         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14005         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14006         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14007         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14008         Likewise.
14010 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14012         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14013         <nptl/pthreadP.h>.
14014         (_longjmp_unwind): Use __libc_ptf_call.
14015         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14017 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14019         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14020         * sysdeps/arm/__longjmp.S: Likewise.
14022 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14024         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14025         Use __builtin_signbit.
14026         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14027         Use __builtin_signbitf.
14028         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14029         Use __builtin_signbitl.
14030         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14031         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14033 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14035         [BZ #15367]
14036         [BZ #17441]
14038         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14039         * math/math.h (fpclassify): Use __builtin_fpclassify when
14040         available.  (signbit): Use __builtin_signbit(f/l).
14041         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14042         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14043         (isinf): Use __builtin_isinf_sign.
14045 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14047         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14048         * benchtests/bench-math-inlines.c: New benchmark.
14049         * benchtests/bench-util.h: New file.
14050         * benchtests/bench-util.c: New file.
14051         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14053 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14055         * elf/tst-dlmopen1.c: Define TEST_SO.
14056         (do_test): Use TEST_SO.
14058         * elf/dl-load.c: Include libc-internal.h.
14059         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14061 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14063         [BZ #17887]
14064         * time/strptime_l.c (__strptime_internal): Make %z accept
14065         [+-]HH:MM time zones.
14067 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14069         [BZ #17886]
14070         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14071         valid time zone.
14073 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14075         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14076         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14077         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14078         (__ASSUME_FDATASYNC): Delete.
14080 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14082         * conform/linknamespace.pl: Require weak undefined symbols to be
14083         in the standard namespace.
14084         (%strong_syms): Rename to %seen_syms.
14085         (%strong_seen): Rename to %seen_where.
14087 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14089         [BZ #18970]
14090         * misc/error.c (error): Replace pthread_setcancelstate with
14091         __pthread_setcancelstate.
14092         (error_at_line): Likewise.
14093         * posix/wordexp.c (parse_comm): Likewise.
14094         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14095         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14096         (__pthread_setcancelstate): This.
14097         (pthread_setcancelstate): Add an alias.
14098         * nptl/nptl-init.c (pthread_functions): Replace
14099         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14100         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14101         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14102         hidden_proto.
14103         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14104         it with hidden_def.
14105         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14106         (pthread_setcancelstate): Renamed to ...
14107         (__pthread_setcancelstate): This.
14108         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14109         __libc_ptf_call with __pthread_setcancelstate.
14111 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14112             Andreas Schwab  <schwab@suse.de>
14114         [BZ #17118]
14115         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14116         result when imaginary part of argument is infinite using sine and
14117         cosine.
14118         * math/s_ctanf.c (__ctanf): Likewise.
14119         * math/s_ctanl.c (__ctanl): Likewise.
14120         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14121         of result when real part of argument is infinite using sine and
14122         cosine.
14123         * math/s_ctanhf.c (__ctanhf): Likewise.
14124         * math/s_ctanhl.c (__ctanhl): Likewise.
14125         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14126         (ctanh_test_data): Add more tests of ctanh.
14128 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14130         [BZ #15384]
14131         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14132         bit-mask as in subtraction.
14133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14134         Likewise.
14135         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14136         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14137         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14139         [BZ #18951]
14140         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14141         underflow exception for small results.
14142         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14143         Likewise.
14144         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14145         Likewise.
14146         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14147         Likewise.
14148         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14149         Likewise.
14150         * math/auto-libm-test-in: Add more tests of tgamma.
14151         * math/auto-libm-test-out: Regenerated.
14153 2015-09-17  Andreas Schwab  <schwab@suse.de>
14155         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14157 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14159         [BZ #18977]
14160         * math/bits/mathcalls.h
14161         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14162         not declare.
14163         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14164         Likewise.
14165         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14166         Likewise.
14167         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14168         Likewise.
14169         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14170         Likewise.
14171         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14172         Likewise.
14173         * conform/data/math.h-data
14174         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14175         function.
14176         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14177         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14178         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14179         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14180         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14181         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14182         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14183         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14184         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14185         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14186         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14188         [BZ #6803]
14189         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14190         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14191         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14192         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14193         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14194         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14195         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14196         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14197         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14199         Likewise.
14200         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14201         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14202         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14204         long_double_symbol calls.
14205         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14206         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14207         strong alias of __ldexpl.
14208         (scalbnl): Define using long_double_symbol.
14209         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14210         Remove alias.
14211         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14212         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14213         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14214         (scalbln_test_data): Add more errno expectations.
14216 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14218         Cache the host port like we cache the task port.  This way we do not
14219         need to call the kernel just to get the port.  Furthermore, we no
14220         longer increase the reference count on every invocation of
14221         `mach_host_self'.
14223         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14224         Protect declarations against the macro expansion.
14225         * mach/mach_init.c (__mach_host_self_): New variable.
14226         (mach_init): Initialize `__mach_host_self_'.
14227         * mach/mach_init.h (__mach_host_self_): New declaration.
14228         (__mach_host_self, mach_host_self): New macros.
14229         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14230         Release reference.
14232 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14234         [BZ #4404]
14235         * po/de.po: Update from Translation Project.
14237         [BZ #16415]
14238         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14239         (__expm1l): Remove code to handle positive infinity and overflow.
14240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14241         variable.
14242         (__expm1l): Remove code to handle positive infinity and overflow.
14244 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14245             Paul Pluzhnikov  <ppluzhnikov@google.com>
14247         [BZ #18872]
14248         * stdio-common/Makefile (tst-printf-bz18872): New test.
14249         (tst-printf-bz18872-mem.out): Likewise.
14250         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14251         * stdio-common/vfprintf.c: Fix memory leaks.
14253 2015-09-16  Andreas Schwab  <schwab@suse.de>
14255         [BZ #17244]
14256         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14257         Remove extra va_start/va_end calls.
14259         [BZ #17243]
14260         * posix/execl.c (execl): Add missing va_end.
14261         * posix/execle.c (execle): Likewise.
14262         * posix/execlp.c (execlp): Likewise.
14264 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14266         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14267         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14269 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14271         [BZ #18967]
14272         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14273         undefine around includes of <bits/mathcalls.h>.
14274         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14275         not declare function.
14276         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14277         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14278         (scalb): Likewise.
14279         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14280         not define macro.
14281         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14282         variable.
14283         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14284         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14285         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14287         [BZ #18857]
14288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14289         return non-finite argument without doing ordered comparisons on
14290         it.
14292         [BZ #16296]
14293         * math/fenv.h (fegetround): Use __attribute_pure__.
14294         * include/fenv.h (__fegetround): Likewise.
14296         [BZ #18595]
14297         * math/s_ctan.c (__ctan): Force underflow exception for results
14298         whose real or imaginary part has small absolute value.
14299         * math/s_ctanf.c (__ctanf): Likewise.
14300         * math/s_ctanh.c (__ctanh): Likewise.
14301         * math/s_ctanhf.c (__ctanhf): Likewise.
14302         * math/s_ctanhl.c (__ctanhl): Likewise.
14303         * math/s_ctanl.c (__ctanl): Likewise.
14304         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14305         and ctanh.  Add more tests of ctan and ctanh.
14307         [BZ #15918]
14308         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14309         handling of cases where one argument is an infinity.
14311         [BZ #18875]
14312         [BZ #18966]
14313         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14314         (MO): New macro.
14315         (__ieee754_exp10): For small results, force underflow exception
14316         and remove excess range and precision from return value.
14317         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14318         (MO): New macro.
14319         (__ieee754_exp10f): For small results, force underflow exception
14320         and remove excess range and precision from return value.
14321         * math/auto-libm-test-in: Add more tests of exp10.
14322         * math/auto-libm-test-out: Regenerated.
14324 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14326         [BZ #18875]
14327         [BZ #18961]
14328         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14329         (MO): New macro.
14330         (__ieee754_exp): For small results, force underflow exception and
14331         remove excess range and precision from return value.
14332         (__exp_finite): Likewise.
14333         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14334         (MO): New macro.
14335         (__ieee754_expf): For small results, force underflow exception and
14336         remove excess range and precision from return value.
14337         (__expf_finite): Likewise.
14338         * math/auto-libm-test-in: Add more tests of exp.
14339         * math/auto-libm-test-out: Regenerated.
14341         [BZ #16521]
14342         [BZ #18875]
14343         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14344         small results.
14345         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14346         (MO): New macro.
14347         (__ieee754_exp2): For small results, force underflow exception and
14348         remove excess range and precision from return value.
14349         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14350         (MO): New macro.
14351         (__ieee754_exp2f): For small results, force underflow exception
14352         and remove excess range and precision from return value.
14353         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14354         (MO): New macro.
14355         (__ieee754_exp2l): Force underflow exception for small results.
14356         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14357         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14358         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14359         (MO): New macro.
14360         (__ieee754_exp2l): Force underflow exception for small results.
14361         * math/auto-libm-test-in: Add more tests or exp2.
14362         * math/auto-libm-test-out: Regenerated.
14364 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14366         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14368         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14369         /dev/null.
14371 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14373         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14374         io fs process)): Drop spurious backslash.
14376 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14379         Use sysinfo system call instead of parsing /proc/meminfo.
14380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14381         Likewise.
14383 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14385         [BZ #16985]
14386         * programs/localedef.c (main): Display argv[remaining] when
14387         output_path is NULL.
14389 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14391         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14392         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14393         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14394         tanh.
14395         * math/auto-libm-test-out: Regenerated.
14396         * sysdeps/i386/fpu/libm-test-ulps: Update.
14397         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14398         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14401 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14403         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14404         Use 'override' keyword to freeze the value here, preventing
14405         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14407 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14409         [BZ #14912]
14410         * sysdeps/aarch64/bits/atomic.h: Move to ...
14411         * sysdeps/aarch64/atomic-machine.h: ...here.
14412         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14413         _AARCH64_ATOMIC_MACHINE_H.
14414         * sysdeps/alpha/bits/atomic.h: Move to ...
14415         * sysdeps/alpha/atomic-machine.h: ...here.
14416         * sysdeps/arm/bits/atomic.h: Move to ...
14417         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14418         * bits/atomic.h: Move to ...
14419         * sysdeps/generic/atomic-machine.h: ...here.
14420         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14421         * sysdeps/i386/bits/atomic.h: Move to ...
14422         * sysdeps/i386/atomic-machine.h: ...here.
14423         * sysdeps/ia64/bits/atomic.h: Move to ...
14424         * sysdeps/ia64/atomic-machine.h: ...here.
14425         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14426         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14427         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14428         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14429         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14430         * sysdeps/microblaze/bits/atomic.h: Move to ...
14431         * sysdeps/microblaze/atomic-machine.h: ...here.
14432         * sysdeps/mips/bits/atomic.h: Move to ...
14433         * sysdeps/mips/atomic-machine.h: ...here.
14434         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14435         * sysdeps/powerpc/bits/atomic.h: Move to ...
14436         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14437         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14438         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14439         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14440         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14441         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14442         <atomic-machine.h> instead of <bits/atomic.h>.
14443         * sysdeps/s390/bits/atomic.h: Move to ...
14444         * sysdeps/s390/atomic-machine.h: ...here.
14445         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14446         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14447         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14448         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14449         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14450         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14451         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14452         * sysdeps/tile/bits/atomic.h: Move to ...
14453         * sysdeps/tile/atomic-machine.h: ...here.
14454         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14455         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14456         <sysdeps/tile/atomic-machine.h> instead of
14457         <sysdeps/tile/bits/atomic.h>.
14458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14459         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14460         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14461         <sysdeps/tile/atomic-machine.h> instead of
14462         <sysdeps/tile/bits/atomic.h>.
14463         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14464         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14465         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14466         <sysdeps/arm/atomic-machine.h> instead of
14467         <sysdeps/arm/bits/atomic.h>.
14468         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14469         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14470         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14471         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14472         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14473         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14474         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14475         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14476         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14477         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14478         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14479         * sysdeps/x86_64/bits/atomic.h: Move to ...
14480         * sysdeps/x86_64/atomic-machine.h: ...here.
14481         * include/atomic.h: Include <atomic-machine.h> instead of
14482         <bits/atomic.h>.
14484         * sysdeps/mips/mips32/libm-test-ulps: Update.
14485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14487         [BZ #18952]
14488         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14489         not convert non-integer negative arguments to int to determine the
14490         value of signgam.
14491         * math/auto-libm-test-in: Add more tests of lgamma.
14492         * math/auto-libm-test-out: Regenerated.
14494         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14495         cosh, csqrt, erfc, expm1 and lgamma.
14496         * math/auto-libm-test-out: Regenerated.
14497         * sysdeps/i386/fpu/libm-test-ulps: Update.
14498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14500 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #2542]
14503         [BZ #2543]
14504         [BZ #2558]
14505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14506         __lgamma_neg for arguments from -28.0 to -2.0.
14507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14508         __lgamma_negf for arguments from -15.0 to -2.0.
14509         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14510         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14511         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14512         Call __lgamma_negl for arguments from -33.0 to -2.0.
14513         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14514         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14515         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14516         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14517         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14518         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14521         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14522         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14523         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14524         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14525         (__lgamma_neg): Likewise.
14526         (__lgamma_negl): Likewise.
14527         (__lgamma_product): Likewise.
14528         (__lgamma_productl): Likewise.
14529         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14530         * math/auto-libm-test-in: Add more tests of lgamma.
14531         * math/auto-libm-test-out: Regenerated.
14532         * sysdeps/i386/fpu/libm-test-ulps: Update.
14533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14535 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14537         [BZ #18675]
14538         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14540 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14542         [BZ #14912]
14543         * bits/libc-lock.h: Move to ...
14544         * sysdeps/generic/libc-lock.h: ...here.
14545         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14546         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14547         * sysdeps/mach/hurd/libc-lock.h: ...here.
14548         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14549         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14550         * sysdeps/mach/bits/libc-lock.h: Move to ...
14551         * sysdeps/mach/libc-lock.h: ...here.
14552         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14553         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14554         * sysdeps/nptl/libc-lock.h: ...here.
14555         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14556         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14557         * sysdeps/nptl/libc-lockP.h: ...here.
14558         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14559         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14560         <bits/libc-lock.h>.
14561         * dirent/scandir-tail.c: Likewise.
14562         * dlfcn/dlerror.c: Likewise.
14563         * elf/dl-close.c: Likewise.
14564         * elf/dl-iteratephdr.c: Likewise.
14565         * elf/dl-lookup.c: Likewise.
14566         * elf/dl-open.c: Likewise.
14567         * elf/dl-support.c: Likewise.
14568         * elf/dl-writev.h: Likewise.
14569         * elf/rtld.c: Likewise.
14570         * grp/fgetgrent.c: Likewise.
14571         * gshadow/fgetsgent.c: Likewise.
14572         * gshadow/sgetsgent.c: Likewise.
14573         * iconv/gconv_conf.c: Likewise.
14574         * iconv/gconv_db.c: Likewise.
14575         * iconv/gconv_dl.c: Likewise.
14576         * iconv/gconv_int.h: Likewise.
14577         * iconv/gconv_trans.c: Likewise.
14578         * include/link.h: Likewise.
14579         * inet/getnameinfo.c: Likewise.
14580         * inet/getnetgrent.c: Likewise.
14581         * inet/getnetgrent_r.c: Likewise.
14582         * intl/bindtextdom.c: Likewise.
14583         * intl/dcigettext.c: Likewise.
14584         * intl/finddomain.c: Likewise.
14585         * intl/gettextP.h: Likewise.
14586         * intl/loadmsgcat.c: Likewise.
14587         * intl/localealias.c: Likewise.
14588         * intl/textdomain.c: Likewise.
14589         * libidn/idn-stub.c: Likewise.
14590         * libio/libioP.h: Likewise.
14591         * locale/duplocale.c: Likewise.
14592         * locale/freelocale.c: Likewise.
14593         * locale/newlocale.c: Likewise.
14594         * locale/setlocale.c: Likewise.
14595         * login/getutent_r.c: Likewise.
14596         * login/getutid_r.c: Likewise.
14597         * login/getutline_r.c: Likewise.
14598         * login/utmp-private.h: Likewise.
14599         * login/utmpname.c: Likewise.
14600         * malloc/mtrace.c: Likewise.
14601         * misc/efgcvt.c: Likewise.
14602         * misc/error.c: Likewise.
14603         * misc/fstab.c: Likewise.
14604         * misc/getpass.c: Likewise.
14605         * misc/mntent.c: Likewise.
14606         * misc/syslog.c: Likewise.
14607         * nis/nis_call.c: Likewise.
14608         * nis/nis_callback.c: Likewise.
14609         * nis/nss-default.c: Likewise.
14610         * nis/nss_compat/compat-grp.c: Likewise.
14611         * nis/nss_compat/compat-initgroups.c: Likewise.
14612         * nis/nss_compat/compat-pwd.c: Likewise.
14613         * nis/nss_compat/compat-spwd.c: Likewise.
14614         * nis/nss_nis/nis-alias.c: Likewise.
14615         * nis/nss_nis/nis-ethers.c: Likewise.
14616         * nis/nss_nis/nis-grp.c: Likewise.
14617         * nis/nss_nis/nis-hosts.c: Likewise.
14618         * nis/nss_nis/nis-network.c: Likewise.
14619         * nis/nss_nis/nis-proto.c: Likewise.
14620         * nis/nss_nis/nis-pwd.c: Likewise.
14621         * nis/nss_nis/nis-rpc.c: Likewise.
14622         * nis/nss_nis/nis-service.c: Likewise.
14623         * nis/nss_nis/nis-spwd.c: Likewise.
14624         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14625         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14626         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14627         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14628         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14629         * nis/nss_nisplus/nisplus-network.c: Likewise.
14630         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14631         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14632         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14633         * nis/nss_nisplus/nisplus-service.c: Likewise.
14634         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14635         * nis/ypclnt.c: Likewise.
14636         * nptl/libc_pthread_init.c: Likewise.
14637         * nss/getXXbyYY.c: Likewise.
14638         * nss/getXXent.c: Likewise.
14639         * nss/getXXent_r.c: Likewise.
14640         * nss/nss_db/db-XXX.c: Likewise.
14641         * nss/nss_db/db-netgrp.c: Likewise.
14642         * nss/nss_db/nss_db.h: Likewise.
14643         * nss/nss_files/files-XXX.c: Likewise.
14644         * nss/nss_files/files-alias.c: Likewise.
14645         * nss/nsswitch.c: Likewise.
14646         * posix/regex_internal.h: Likewise.
14647         * posix/wordexp.c: Likewise.
14648         * pwd/fgetpwent.c: Likewise.
14649         * resolv/res_hconf.c: Likewise.
14650         * resolv/res_libc.c: Likewise.
14651         * shadow/fgetspent.c: Likewise.
14652         * shadow/lckpwdf.c: Likewise.
14653         * shadow/sgetspent.c: Likewise.
14654         * socket/opensock.c: Likewise.
14655         * stdio-common/reg-modifier.c: Likewise.
14656         * stdio-common/reg-printf.c: Likewise.
14657         * stdio-common/reg-type.c: Likewise.
14658         * stdio-common/vfprintf.c: Likewise.
14659         * stdio-common/vfscanf.c: Likewise.
14660         * stdlib/abort.c: Likewise.
14661         * stdlib/cxa_atexit.c: Likewise.
14662         * stdlib/fmtmsg.c: Likewise.
14663         * stdlib/random.c: Likewise.
14664         * stdlib/setenv.c: Likewise.
14665         * string/strsignal.c: Likewise.
14666         * sunrpc/auth_none.c: Likewise.
14667         * sunrpc/bindrsvprt.c: Likewise.
14668         * sunrpc/create_xid.c: Likewise.
14669         * sunrpc/key_call.c: Likewise.
14670         * sunrpc/rpc_thread.c: Likewise.
14671         * sysdeps/arm/backtrace.c: Likewise.
14672         * sysdeps/generic/ldsodefs.h: Likewise.
14673         * sysdeps/generic/stdio-lock.h: Likewise.
14674         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14675         * sysdeps/i386/backtrace.c: Likewise.
14676         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14677         * sysdeps/m68k/backtrace.c: Likewise.
14678         * sysdeps/mach/hurd/cthreads.c: Likewise.
14679         * sysdeps/mach/hurd/dirstream.h: Likewise.
14680         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14681         * sysdeps/nptl/malloc-machine.h: Likewise.
14682         * sysdeps/nptl/stdio-lock.h: Likewise.
14683         * sysdeps/posix/dirstream.h: Likewise.
14684         * sysdeps/posix/getaddrinfo.c: Likewise.
14685         * sysdeps/posix/system.c: Likewise.
14686         * sysdeps/pthread/aio_suspend.c: Likewise.
14687         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14688         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14689         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14690         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14691         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14692         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14693         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14694         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14695         * sysdeps/unix/sysv/linux/system.c: Likewise.
14696         * sysdeps/x86_64/backtrace.c: Likewise.
14697         * time/alt_digit.c: Likewise.
14698         * time/era.c: Likewise.
14699         * time/tzset.c: Likewise.
14700         * wcsmbs/wcsmbsload.c: Likewise.
14701         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14702         instead of <bits/libc-lock.h> in comment.
14704 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14706         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14707         Only use .set mips2 if the current ISA is below mips2.
14708         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14709         Likewise.
14710         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14711         mips32r2 if the current ISA is below mips32r2.
14712         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14713         (TLS_IE): Updated to use the TLD_RDHWR macro.
14714         (TLS_LE): Likewise.
14715         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14716         __ASSEMBLER__ condition.
14718 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14720         Fix parallel build of before-compile targets.
14722         * sysdeps/mach/Makefile ($(patsubst
14723         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14724         mach-before-compile target.
14725         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14726         io fs process)): Move rule to dedicated hurd-before-compile target.
14728 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14730         Fix rules generating headers in hurd/ and mach/ when initial make call
14731         has subdir= explicitly set.
14733         * sysdeps/mach/Makefile ($(patsubst
14734         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14735         calling $(MAKE).
14736         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14737         io fs process)): Force subdir to hurd when calling $(MAKE).
14738         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14739         subdir to mach when calling $(MAKE).
14741 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14743         Check sysheaders when looking for Mach and Hurd headers
14745         * sysdeps/mach/configure.ac: Add sysheaders check.
14746         * sysdeps/mach/configure: Regenerate.
14747         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14748         * sysdeps/mach/hurd/configure: Regenerate.
14750 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14752         [BZ #18921]
14753         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14754         Fix inverted sense of test of 'o_directory_works' value.
14755         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14756         Bernhard Voelker <mail@bernhard-voelker.de>.
14758 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14760         [BZ #14912]
14761         * bits/linkmap.h: Move to ...
14762         * sysdeps/generic/linkmap.h: ...here.
14763         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14764         * sysdeps/aarch64/linkmap.h: ...here.
14765         * sysdeps/arm/bits/linkmap.h: Move to ...
14766         * sysdeps/arm/linkmap.h: ...here.
14767         * sysdeps/hppa/bits/linkmap.h: Move to ...
14768         * sysdeps/hppa/linkmap.h: ...here.
14769         * sysdeps/ia64/bits/linkmap.h: Move to ...
14770         * sysdeps/ia64/linkmap.h: ...here.
14771         * sysdeps/mips/bits/linkmap.h: Move to ...
14772         * sysdeps/mips/linkmap.h: ...here.
14773         * sysdeps/s390/bits/linkmap.h: Move to ...
14774         * sysdeps/s390/linkmap.h: ...here.
14775         * sysdeps/sh/bits/linkmap.h: Move to ...
14776         * sysdeps/sh/linkmap.h: ...here.
14777         * sysdeps/x86/bits/linkmap.h: Move to ...
14778         * sysdeps/x86/linkmap.h: ...here.
14779         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14781 2015-09-04  Andreas Schwab  <schwab@suse.de>
14783         [BZ #18635]
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14785         (__makecontext): Terminate FDE before return label.
14786         (__novec_makecontext): Likewise.
14788 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14790         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14791         first member of struct sv in syscall macro.
14793 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14795         [BZ #14912]
14796         * bits/stdio-lock.h: Move to ...
14797         * sysdeps/generic/stdio-lock.h: ...here.
14798         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14799         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14800         * sysdeps/nptl/stdio-lock.h: ...here.
14801         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14802         * include/libio.h: Include <stdio-lock.h> instead of
14803         <bits/stdio-lock.h>.
14804         * sysdeps/nptl/fork.c: Likewise.
14805         * sysdeps/pthread/flockfile.c: Likewise.
14806         * sysdeps/pthread/ftrylockfile.c: Likewise.
14807         * sysdeps/pthread/funlockfile.c: Likewise.
14809         [BZ #14912]
14810         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14811         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14812         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14813         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14814         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14815         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14816         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14818 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14820         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14821         (test-xfail-tst-protected1b): New variable.
14823 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14825         [BZ #14912]
14826         * bits/libc-tsd.h: Move to ...
14827         * sysdeps/generic/libc-tsd.h: ...here.
14828         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14829         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14830         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14831         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14832         * include/ctype.h: Include <libc-tsd.h> instead of
14833         <bits/libc-tsd.h>.
14834         * include/rpc/rpc.h: Likewise.
14835         * locale/localeinfo.h: Likewise.
14836         * sunrpc/rpc_thread.c: Likewise.
14837         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14838         * sysdeps/nptl/malloc-machine.h: Likewise.
14840         * Makefile (headers): Remove bits/libc-lock.h.
14841         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14843         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14844         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14845         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14846         <bits/stdio-lock.h>.
14847         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14848         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14850 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14852         [BZ #18757]
14853         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14854         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14855         BZ #18757.
14857 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14859         * malloc/mtrace.pl: Filter out NULL entries.
14861 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14863         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14864         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14865         macro.
14867         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14868         (TCP_CC_INFO): Likewise.
14869         (TCP_SAVE_SYN): Likewise.
14870         (TCP_SAVED_SYN): Likewise.
14872 2015-08-31  Brett Neumeier <brett@neumeier.us>
14874         [BZ #18870]
14875         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14877 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14879         [BZ #18873]
14880         Fix broken overflow check in posix_fallocate
14881         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14882         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14883         Fix parenthesization typo.
14885 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14887         [BZ #18887]
14888         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14889         tst-mntent-blank-passno.
14890         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14891         * misc/tst-mntent-blank-corrupt.c: New test.
14892         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14893         * misc/tst-mntent.c (do_test): ... here.
14895 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14897         [BZ #4404]
14898         * po/de.po: Fix SIGALRM typo.
14900 2015-08-28  James Perkins  <james@loowit.net>
14902         * time/tst-strptime2.c (tests): Replace short list of test
14903         strings for strptime %z specifier with code which exhaustively
14904         tests every combination of sign and 0 to 5 digits. Tests for
14905         rejection of invalid strings.
14907 2015-08-28  James Perkins  <james@loowit.net>
14909         [BZ #16141]
14910         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14911         calculation, removing incorrect decimal time rounding, so that
14912         all minute values result in a valid seconds value.
14913         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14914         offset range limits to UTC-99:59 through UTC+99:59 to parse
14915         current and historical use cases.
14916         * time/tst-strptime2.c (tests): Modify and add tests for the
14917         strptime %z input field descriptor, specifically conversion of
14918         minutes to seconds and validating an offset range of -9959 to
14919         +9959.
14921 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14922             Dmitry V. Levin  <ldv@altlinux.org>
14924         [BZ #18877]
14925         * posix/Makefile (tests): Add tst-mmap-offset.
14926         * posix/tst-mmap.c: New file.
14927         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14928         offset calculation for negative values.
14930 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14932         * sysdeps/i386/init-arch.h: New file.
14933         * sysdeps/i386/i586/init-arch.h: Likewise.
14934         * sysdeps/i386/i686/init-arch.h: Likewise.
14935         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14936         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14937         * sysdeps/x86/cpu-features.h (bit_I586): New.
14938         (bit_I686): Likewise.
14939         (bit_CX8): Likewise.
14940         (bit_CMOV): Likewise.
14941         (index_CX8): Likewise.
14942         (index_CMOV): Likewise.
14943         (index_I586): Likewise.
14944         (index_I686): Likewise.
14945         (reg_CX8): Likewise.
14946         (reg_CMOV): Likewise.
14947         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14948         available at compile-time.
14949         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14950         available at compile-time.
14951         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14952         (USE_I686): Likewise.
14954 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14956         * sysdeps/i386/bcopy.S: New file.
14957         * sysdeps/i386/bzero.S: Likewise.
14958         * sysdeps/i386/memcpy.S: Likewise.
14959         * sysdeps/i386/memmove.S: Likewise.
14960         * sysdeps/i386/mempcpy.S: Likewise.
14961         * sysdeps/i386/memset.S: Likewise.
14962         * sysdeps/i386/bzero.c: Removed.
14963         * sysdeps/i386/memset.c: Likewise.
14964         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14965         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14966         * sysdeps/i386/i586/memset_chk.S: Likewise.
14967         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14968         * sysdeps/i386/memcpy_chk.S: Here.
14969         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14970         * sysdeps/i386/memmove_chk.S: Here.
14971         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14972         * sysdeps/i386/mempcpy_chk.S: Likewise.
14973         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14974         * sysdeps/i386/memset_chk.S: Likewise.
14976 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14978         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14979         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14980         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14981         * soft-fp/fmadf4.c: Ditto.
14982         * soft-fp/fmatf4.c: Ditto.
14984 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14986         * sysdeps/i386/i586/Implies: Removed.
14987         * sysdeps/i386/i686/Implies: Likewise.
14989 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14991         * sysdeps/i386/i486/strlen.S: Moved to ...
14992         * sysdeps/i386/strlen.S: Here.
14994 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14996         * sysdeps/i386/i486/strcat.S: Moved to ...
14997         * sysdeps/i386/strcat.S: Here.
14999 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15001         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15002         * sysdeps/i386/pthread_spin_trylock.S: Here.
15003         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15004         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15006 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15008         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15009         * sysdeps/i386/string-inlines.c: Here.
15011 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15013         * sysdeps/i386/i486/htonl.S: Moved ...
15014         * sysdeps/i386/htonl.S: here.
15016 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15018         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15019         * sysdeps/i386/bits/atomic.h: Here.
15021 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15023         * sysdeps/i386/i486/Versions: Removed.
15025 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15027         [BZ #2898]
15028         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15029         Based on patch by Aurelien Jarno.
15031 2015-08-26  Stan Shebs  <stanshebs@google.com>
15033         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15034         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15036 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15038         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15039         * sysdeps/powerpc/dl-procinfo.c:
15040         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15041         feature so it shows when LD_SHOW_AUXV=1.
15043 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15045         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15046         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15047         definition.  ISA 2.07B no longer requires full sync.
15049 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15051         [BZ #18863]
15052         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15053         (si_call_addr): Define.
15054         (si_syscall): Define.
15055         (si_arch): Define.
15057 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15059         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15060         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15061         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15062         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15063         (__memset_zero_constant_len_parameter): New.
15064         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15065         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15066         (__memset_zero_constant_len_parameter): Don't define if
15067         __memset_chk or USE_AS_BZERO are defined.
15069         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15070         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15071         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15073         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15074         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15075         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15076         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15077         comments.
15078         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15079         -mno-mmx for $(all-rtld-routines).
15080         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15081         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15082         i386.
15084 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15086         * sysdeps/generic/unwind.h
15087         (_Unwind_Word): Use __mode__(__unwind_word__)
15088         instead of __mode__(__word__).
15089         (_Unwind_Sword): Likewise.
15091         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15092         (MAX_NEEDED_INPUT): New define.
15093         (MAX_NEEDED_OUTPUT): New define.
15095         * NEWS: New item for IBM z13 string optimizations.
15097         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15098         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15099         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15100         * sysdeps/s390/multiarch/Makefile
15101         (sysdep_routines): Add memrchr functions.
15102         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15103         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15105         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15106         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15107         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15108         * sysdeps/s390/multiarch/Makefile
15109         (sysdep_routines): Add wmemcmp functions.
15110         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15111         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15112         * benchtests/bench-wmemcmp.c: New File.
15113         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15115         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15116         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15117         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15118         * sysdeps/s390/multiarch/Makefile
15119         (sysdep_routines): Add wmemset functions.
15120         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15121         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15122         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15123         * string/test-memset.c: Add wmemset support.
15124         * wcsmbs/test-wmemset.c: New File.
15125         * wcsmbs/Makefile (strop-tests): Add wmemset.
15126         * benchtests/bench-memset.c: Add wmemset support.
15127         * benchtests/bench-wmemset.c: New File.
15128         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15130         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15131         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15132         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15133         * sysdeps/s390/multiarch/Makefile
15134         (sysdep_routines): Add memccpy functions.
15135         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15136         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15137         * string/memccpy.c: Use MEMCCPY if defined.
15139         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15140         * sysdeps/s390/multiarch/memchr.c: Likewise.
15141         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15142         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15143         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15144         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15145         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15146         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15147         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15148         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15150         and rawmemchr functions.
15151         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15152         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15153         and wmemchr.
15154         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15155         * string/test-memchr.c: Add wmemchr support.
15156         * wcsmbs/test-wmemchr.c: New File.
15157         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15158         * benchtests/bench-memchr.c: Add wmemchr support.
15159         * benchtests/bench-wmemchr.c: New File.
15160         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15162         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15163         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15164         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15165         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15166         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15167         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15169         wcscspn functions.
15170         * sysdeps/s390/multiarch/ifunc-impl-list.c
15171         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15172         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15173         * string/test-strcspn.c: Add wcscspn support.
15174         * wcsmbs/test-wcscspn.c: New File.
15175         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15176         * benchtests/bench-strcspn.c: Add wcscspn support.
15177         * benchtests/bench-wcscspn.c: New File.
15178         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15180         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15181         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15182         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15183         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15184         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15185         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15186         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15187         wcspbrk functions.
15188         * sysdeps/s390/multiarch/ifunc-impl-list.c
15189         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15190         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15191         * string/test-strpbrk.c: Add wcspbrk support.
15192         * wcsmbs/test-wcspbrk.c: New File.
15193         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15194         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15195         * benchtests/bench-wcspbrk.c: New File.
15196         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15198         * sysdeps/s390/multiarch/strspn-c.c: New File.
15199         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15200         * sysdeps/s390/multiarch/strspn.c: Likewise.
15201         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15202         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15203         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15204         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15205         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15206         wcsspn functions.
15207         * sysdeps/s390/multiarch/ifunc-impl-list.c
15208         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15209         * string/test-strspn.c: Add wcsspn support.
15210         * wcsmbs/test-wcsspn.c: New File.
15211         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15212         * benchtests/bench-strspn.c: Add wcsspn support.
15213         * benchtests/bench-wcsspn.c: New File.
15214         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15216         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15217         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15218         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15219         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15220         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15221         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15222         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15223         wcsrchr functions.
15224         * sysdeps/s390/multiarch/ifunc-impl-list.c
15225         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15226         * benchtests/bench-wcsrchr.c: New File.
15227         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15229         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15230         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15231         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15232         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15233         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15234         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15236         wcschrnul functions.
15237         * sysdeps/s390/multiarch/ifunc-impl-list.c
15238         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15239         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15240         * string/test-strchr.c: Add wcschrnul support.
15241         * wcsmbs/test-wcschrnul.c: New File.
15242         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15243         * benchtests/bench-strchr.c: Add wcschrnul support.
15244         * benchtests/bench-wcschrnul.c: New File.
15245         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15247         * sysdeps/s390/multiarch/strchr-c.c: New File.
15248         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15249         * sysdeps/s390/multiarch/strchr.c: Likewise.
15250         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15251         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15252         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15253         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15254         wcschr functions.
15255         * sysdeps/s390/multiarch/ifunc-impl-list.c
15256         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15257         * string/strchr.c (STRCHR): Define and use macro.
15258         * benchtests/bench-wcschr.c: New File.
15259         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15261         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15262         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15263         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15264         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15265         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15266         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15268         wcsncmp functions.
15269         * sysdeps/s390/multiarch/ifunc-impl-list.c
15270         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15271         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15272         * benchtests/bench-strncmp.c: Add wcsncmp support.
15273         * benchtests/bench-wcsncmp.c: New File.
15274         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15276         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15277         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15278         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15279         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15280         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15281         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15282         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15284         wcscmp functions.
15285         * sysdeps/s390/multiarch/ifunc-impl-list.c
15286         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15287         * string/strcmp.c (STRCMP): Define and use macro.
15288         * benchtests/bench-wcscmp.c: New File.
15289         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15290         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15291         instead of _HAVE_STRING_ARCH_memchr.
15293         * sysdeps/s390/multiarch/strncat-c.c: New File.
15294         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15295         * sysdeps/s390/multiarch/strncat.c: Likewise.
15296         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15297         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15298         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15299         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15300         wcsncat functions.
15301         * sysdeps/s390/multiarch/ifunc-impl-list.c
15302         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15303         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15304         * string/test-strncat.c: Add wcsncat support.
15305         * wcsmbs/test-wcsncat.c: New File.
15306         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15307         * benchtests/bench-strncat.c: Add wcsncat support.
15308         * benchtests/bench-wcsncat.c: New File.
15309         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15311         * sysdeps/s390/multiarch/strcat-c.c: New File.
15312         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15313         * sysdeps/s390/multiarch/strcat.c: Likewise.
15314         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15315         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15316         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15317         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15318         wcscat functions.
15319         * sysdeps/s390/multiarch/ifunc-impl-list.c
15320         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15321         * string/strcat.c (STRCAT): Define and use macro.
15322         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15323         * string/test-strcat.c: Add wcscat support.
15324         * wcsmbs/test-wcscat.c: New File.
15325         * wcsmbs/Makefile (strop-tests): Add wcscat.
15326         * benchtests/bench-strcat.c: Add wcscat support.
15327         * benchtests/bench-wcscat.c: New File.
15328         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15330         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15331         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15332         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15333         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15334         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15335         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15336         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15337         wcpncpy functions.
15338         * sysdeps/s390/multiarch/ifunc-impl-list.c
15339         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15340         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15341         * string/test-stpncpy.c: Add wcpncpy support.
15342         * wcsmbs/test-wcpncpy.c: New File.
15343         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15344         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15345         * benchtests/bench-wcpncpy.c: New File.
15346         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15348         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15349         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15350         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15351         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15352         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15353         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15354         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15356         wcsncpy functions.
15357         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15358         * sysdeps/s390/multiarch/ifunc-impl-list.c
15359         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15360         * string/test-strncpy.c: Add wcsncpy support.
15361         * wcsmbs/test-wcsncpy.c: New File.
15362         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15363         * benchtests/bench-strncpy.c: Add wcsncpy support.
15364         * benchtests/bench-wcsncpy.c: New File.
15365         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15367         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15368         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15369         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15370         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15371         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15372         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15373         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15374         wcpcpy functions.
15375         * string/stpcpy.c: Use STPCPY if defined.
15376         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15377         * sysdeps/s390/multiarch/ifunc-impl-list.c
15378         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15379         * string/test-stpcpy.c: Add wcpcpy support.
15380         * wcsmbs/test-wcpcpy.c: New File.
15381         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15382         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15383         * benchtests/bench-wcpcpy.c: New File.
15384         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15386         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15387         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15388         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15389         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15390         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15391         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15392         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15394         wcscpy functions.
15395         * sysdeps/s390/multiarch/ifunc-impl-list.c
15396         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15397         * benchtests/bench-wcscpy.c: New File.
15398         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15400         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15401         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15402         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15403         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15404         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15405         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15406         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15407         wcsnlen functions.
15408         * sysdeps/s390/multiarch/ifunc-impl-list.c
15409         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15410         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15411         * string/test-strnlen.c: Add wcsnlen support.
15412         * wcsmbs/test-wcsnlen.c: New File.
15413         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15414         * benchtests/bench-strnlen.c: Add wcsnlen support.
15415         * benchtests/bench-wcsnlen.c: New File.
15416         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15418         * sysdeps/s390/multiarch/Makefile: New File.
15419         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15420         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15421         * sysdeps/s390/multiarch/strlen.c: Likewise.
15422         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15423         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15424         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15425         * string/strlen.c (STRLEN): Define and use macro.
15426         * sysdeps/s390/multiarch/ifunc-impl-list.c
15427         (IFUNC_VX_IMPL): New macro function.
15428         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15429         * benchtests/Makefile (wcsmbs-bench): New variable.
15430         (string-bench-all): Added wcsmbs-bench.
15431         * benchtests/bench-wcslen.c: New File.
15433         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15434         s390_vx_libc_ifunc2): New macro function.
15436         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15437         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15438         assembler support.
15439         * sysdeps/s390/configure: Regenerated.
15441         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15442         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15444         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15445         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15446         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15448         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15449         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15451         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15452         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15453         (memcmp, bcmp): Use __memcmp_default as alias source.
15454         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15455         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15456         Rename to __memcmp_default.
15457         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15458         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15459         (memcpy): Use __memcpy_default as alias source.
15460         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15461         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15462         Rename to __memcpy_default.
15463         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15464         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15465         (memset): Use __memset_default as alias source.
15466         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15467         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15468         Rename to __memset_default.
15469         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15470         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15472         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15473         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15474         (memcmp, bcmp): Use __memcmp_default as alias source.
15475         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15476         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15477         Rename to __memcmp_default.
15478         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15479         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15480         (memcpy): Use __memcpy_default as alias source.
15481         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15482         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15483         Rename to __memcpy_default.
15484         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15485         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15486         (memset): Use __memset_default as alias source.
15487         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15488         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15489         Rename to __memset_default.
15490         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15491         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15493         [BZ #18610]
15494         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15495         __ieee_instruction_pointer to __unused.
15496         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15497         __ieee_instruction_pointer.
15498         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15499         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15500         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15501         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15502         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15503         Mark dxc-field as reserved.
15505 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15507         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15508         if the weak reference is not null.
15510 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15512         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15514         [BZ #11214]
15515         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15517 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15519         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15520         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15521         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15522         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15523         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15524         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15525         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15526         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15527         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15528         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15529         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15530         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15531         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15532         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15533         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15534         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15535         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15536         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15538 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15540         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15541         register other than r0 for tabort, it has special meaning.
15542         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15543         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15544         transaction before starting syscall.
15546 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15548         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15550 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15552         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15554         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15555         * sysdeps/x86_64/rtld-memset.S: Likewise.
15556         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15557         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15558         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15559         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15561         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15563 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15565         * debug/strcpy_chk.c: Improve performance.
15566         * debug/stpcpy_chk.c: Likewise.
15567         * sysdeps/x86_64/strcpy_chk.S: Remove.
15568         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15570         [BZ #18240]
15571         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15573 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15575         [BZ #15128]
15576         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15577         ifuncmain8.
15578         (modules-names): Add ifuncmod8.
15579         ($(objpfx)ifuncmain8): New rule.
15580         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15581         <cpuid.h>.
15582         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15583         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15584         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15585         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15586         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15587         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15588         * sysdeps/x86_64/ifuncmain8.c: New file.
15589         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15590         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15591         Removed.
15592         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15593         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15594         Change rtld_savespace_sse to __glibc_unused2.
15595         (RTLD_CHECK_FOREIGN_CALL): Removed.
15596         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15597         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15598         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15600 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15602         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15604 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15606         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15607         Unconditionally set __fpcr to avoid uninialized warning.
15608         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15610 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15613         is corrupt.
15615         * malloc/arena.c (arena_get2): Drop unused argument.
15616         (arena_lock): Adjust.
15617         (arena_get_retry): Likewise.
15619 2015-08-24  Andreas Schwab  <schwab@suse.de>
15621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15622         Don't define.
15623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15624         (__ASSUME_IPC64): Don't undef.
15625         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15626         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15627         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15628         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15629         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15630         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15631         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15632         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15633         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15634         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15635         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15636         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15637         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15638         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15639         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15640         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15641         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15642         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15643         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15644         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15645         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15647 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15649         * manual/Makefile (install): Only build manual when perl is available.
15651 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15654         '#undef memcpy' by '#undef memchr'.
15656 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15658         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15659         memchr not point to the internal __GI_memchr implementation.
15661 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15663         * timezone/Makefile (CFLAGS-zdump.c): Remove
15664         -Wno-strict-prototypes.
15665         (CFLAGS-zic.c): Likewise.
15666         (CFLAGS-ialloc.c): Likewise.
15667         (CFLAGS-scheck.c): Likewise.
15669         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15670         -Wno-error=undef.
15672 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15674         * i386/i686/multiarch/strcasestr-c.c: Removed.
15675         * x86_64/multiarch/strcasestr.c: Likewise.
15676         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15677         Remove strcasestr.
15679 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15681         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15683         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15684         variables for high and low parts before possibly modifying them.
15686 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15688         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15689         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15690         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15691         of "multiarch/init-arch.h".
15692         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15693         * sysdeps/x86/init-arch.h: This.
15695 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15697         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15698         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15700 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15702         [BZ #17787]
15703         * manual/macros.texi: Add twoexp macro.
15704         * manual/filesys.texi: Fix exponents.
15705         * manual/llio.texi: Likewise.
15706         * manual/stdio.texi: Likewise.
15708 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15710         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15711         incorrect use.
15713 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15715         [BZ #18370]
15716         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15717         whose real or imaginary part has small absolute value.
15718         * math/s_csqrtf.c (__csqrtf): Likewise.
15719         * math/s_csqrtl.c (__csqrtl): Likewise.
15720         * math/auto-libm-test-in: Add more tests of csqrt.
15721         * math/auto-libm-test-out: Regenerated.
15722         * sysdeps/i386/fpu/libm-test-ulps: Update.
15724 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15726         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15727         __ppc_set_ppr_very_low): New functions.
15728         * manual/platform.texi: Add documentation about
15729         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15731 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15733         * string/stpncpy.c (stpncpy): Improve performance using
15734         __strnlen/memcpy/memset.
15736 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15738         [BZ #18796]
15739         * scripts/test-installation.pl: Don't add -lmvec to build options if
15740         libmvec wasn't built.
15742 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15744         [BZ #14341]
15745         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15746         case when there is a gap between DT_REL and DT_JMPREL sections.
15747         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15748         (LDFLAGS-tst-split-dynreloc): New.
15749         (tst-split-dynreloc-ENV): Likewise.
15750         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15751         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15753 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15755         [BZ #18822]
15756         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15757         attribute_hidden.
15758         (__xstat64_conv): Likewise.
15759         (__xstat32_conv): Likewise.
15761 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15763         [BZ #18822]
15764         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15765         Don't load %ebx when calling __setcontext.  Call __setcontext
15766         with HIDDEN_JUMPTARGET.
15767         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15768         libc_hidden_def.
15770 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15772         * sysdeps/i386/i686/Makefile
15773         [$(subdir) == string] (sysdep_routines): Moved to ...
15774         * sysdeps/i386/Makefile: Here.
15775         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15776         * sysdeps/i386/cacheinfo.c: Here.
15777         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15778         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15779         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15780         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15782 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15784         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15785         __i586__ is defined.
15786         (HAS_I686): Defined to 1 if __i686__ is defined.
15788 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15790         * elf/Makefile [$(have-z-execstack) = yes]
15791         (CPPFLAGS-tst-execstack.c): New variable.
15793         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15794         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15795         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15796         UTMPX || _HAVE_UT_TV].
15797         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15798         UTMPX || _HAVE_UT_TV - 0].
15800 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15802         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15803         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15804         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15806 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15808         * sysdeps/powerpc/dl-procinfo.c:
15809         (_dl_powerpc_cap_flags): Added missing strings for some
15810         hwcap features.
15811         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15813 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15815         Port the 0x7efe...feff pattern to GCC 6.
15816         See Steve Ellcey's bug report in:
15817         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15818         * string/memrchr.c (MEMRCHR):
15819         * string/rawmemchr.c (RAWMEMCHR):
15820         * string/strchr.c (strchr):
15821         * string/strchrnul.c (STRCHRNUL):
15822         Rewrite code to avoid issues with signed shift overflow.
15824 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15826         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15827         whether cpuid is available only if HAS_CPUID is 0.
15828         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15829         (HAS_I586): Likewise.
15830         (HAS_I686): Likewise.
15832 2015-08-18  Zack Weinberg  <zackw@panix.com>
15834         * misc/Versions (libc): Add GLIBC_2.23.
15836 2015-08-18  Alan Modra  <amodra@gmail.com>
15838         [BZ #18421]
15839         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15840         .Lp__global.
15841         (_start): Load %dp via .Lp__global.
15842         [!SHARED]: Use .section .rodata.
15844 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15846         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15847         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15849 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15851         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15852         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15854 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15856         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15857         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15859 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15861         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15862         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15864 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15866         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15867         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15869 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15871         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15872         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15874 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15876         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15878 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15880         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15881         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15882         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15883         (__ASSUME_LWS_CAS): Delete.
15885 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15887         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15888         * sysdeps/hppa/configure: Regenerated.
15889         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15890         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15891         * sysdeps/hppa/nptl/tls.h: Likewise.
15893 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15895         [BZ #18823]
15896         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15897         for scaling up small arguments.
15898         * math/s_csqrtf.c (__csqrtf): Likewise.
15899         * math/s_csqrtl.c (__csqrtl): Likewise.
15900         * math/auto-libm-test-in: Add more tests of csqrt.
15901         * math/auto-libm-test-out: Regenerated.
15903 2015-08-17  Andreas Schwab  <schwab@suse.de>
15905         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15906         version set GLIBC_2.19.
15908 2015-08-16  Zack Weinberg  <zackw@panix.com>
15910         [BZ #18681]
15911         * misc/regexp.h: This interface is no longer supported.
15912         Remove all contents, leaving only an #error directive.
15913         * misc/regexp.c (loc1, loc2, locs, step, advance):
15914         Demote to compatibility symbols.
15916 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15918         [BZ #18084]
15919         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15920         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15921         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15922         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15923         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15924         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15925         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15926         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15927         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15929 2015-08-15  Zack Weinberg  <zackw@panix.com>
15931         [BZ #18795]
15932         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15933         buffer length is known to be too large, not if it's known to be
15934         small enough.
15935         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15936         overflow at runtime, involving a length parameter, twice: once
15937         with a compile-time constant length parameter, once without.
15939 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #18824]
15942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15943         scaling x * y up instead of down.
15944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15946         * math/auto-libm-test-in: Add more tests of fma.
15947         * math/auto-libm-test-out: Regenerated.
15949 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15953 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15955         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15956         unnecessary movq.
15957         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15958         Likewise.
15960 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15962         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15963         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15964         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15965         and tgamma.
15966         * math/auto-libm-test-out: Regenerated.
15967         * sysdeps/i386/fpu/libm-test-ulps: Update.
15968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15970         [BZ #16520]
15971         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15972         (__tanh): Force underflow exception for arguments with small
15973         absolute value.
15974         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15975         (__tanhf): Force underflow exception for arguments with small
15976         absolute value.
15977         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15978         (__tanhl): Force underflow exception for arguments with small
15979         absolute value.
15980         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15981         (__tanhl): Force underflow exception for arguments with small
15982         absolute value.
15983         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15984         (__tanhl): Force underflow exception for arguments with small
15985         absolute value.
15986         * math/auto-libm-test-in: Add more tests of tanh.
15987         * math/auto-libm-test-out: Regenerated.
15988         * sysdeps/i386/fpu/libm-test-ulps: Update.
15990 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15992         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15993         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15995 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15997         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15998         <cpuid.h>.
16000 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16002         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16003         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16005 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16007         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16008         Remove $(objpfx)init-arch.o.
16009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16010         init-arch.
16011         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16012         (INIT_ARCH_EXT): Defined as empty.
16013         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16015         __init_cpu_features call.  Replace HAS_XXX with
16016         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16017         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16018         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16022         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16023         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16024         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16025         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16027         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16028         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16029         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16030         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16031         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16032         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16034         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16035         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16036         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16038         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16040         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16041         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16042         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16043         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16049         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16050         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16051         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16053 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16055         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16056         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16057         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16058         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16059         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16060         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16061         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16062         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16063         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16064         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16065         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16066         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16067         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16068         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16069         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16070         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16071         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16072         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16073         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16074         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16075         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16076         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16077         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16078         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16079         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16080         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16081         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16082         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16083         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16084         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16085         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16086         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16087         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16088         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16090         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16091         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16092         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16093         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16094         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16095         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16096         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16097         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16099 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16102         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16103         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16104         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16105         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16106         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16107         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16108         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16109         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16110         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16111         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16112         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16113         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16114         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16115         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16116         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16117         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16118         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16119         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16120         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16122         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16123         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16124         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16125         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16126         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16127         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16128         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16129         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16130         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16131         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16132         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16134         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16135         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16136         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16137         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16138         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16139         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16140         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16141         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16142         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16143         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16145 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16147         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16148         (dl_platform_init): Call init_cpu_features.
16149         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16150         * sysdeps/i386/i686/cacheinfo.c
16151         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16152         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16153         * sysdeps/i386/i686/multiarch/Versions: Removed.
16154         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16155         Removed.
16156         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16157         * sysdeps/unix/sysv/linux/x86/Makefile
16158         (libpthread-sysdep_routines): Remove init-arch.
16159         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16160         <sysdeps/x86_64/dl-procinfo.c> instead of
16161         sysdeps/generic/dl-procinfo.c>.
16162         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16163         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16164         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16165         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16166         [$(subdir) == elf] (tests-static): Add
16167         tst-get-cpu-features-static.
16168         * sysdeps/x86/Versions: New file.
16169         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16170         * sysdeps/x86/cpu-features.c: Likewise.
16171         * sysdeps/x86/cpu-features.h: Likewise.
16172         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16173         * sysdeps/x86/libc-start.c: Likewise.
16174         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16175         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16176         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16177         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16178         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16179         Assume USE_MULTIARCH is defined and don't check it.
16180         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16181         (is_amd): Likewise.
16182         (max_cpuid): Likewise.
16183         (intel_check_word): Likewise.
16184         (__cache_sysconf): Don't call __init_cpu_features.
16185         (__x86_preferred_memory_instruction): Removed.
16186         (init_cacheinfo): Don't call __init_cpu_features. Replace
16187         __cpu_features with GLRO(dl_x86_cpu_features).
16188         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16189         (dl_platform_init): Call init_cpu_features.
16190         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16191         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16192         * sysdeps/x86_64/multiarch/Versions: Removed.
16193         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16194         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16195         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16196         Removed.
16197         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16199 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16201         [BZ #18820]
16202         * libio/Makefile (test-fmemopen-mem): New test.
16203         * libio/test-fmemopen.c (do_bz18820): New test.
16204         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16205         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16207 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16209         [BZ #16734]
16210         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16211         (FREE_BUF): Delete.
16212         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16213         * libio/genops.c (_IO_setb): Use malloc and free directly.
16214         (_IO_default_doallocate, _IO_default_finish): Likewise.
16215         ( _IO_unbuffer_all): Likewise.
16216         ( libc_freeres_fn): Likewise.
16217         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16218         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16219         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16220         (_IO_wdefault_doallocate): Likewise.
16222 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16224         [BZ #18086]
16225         * sysdeps/posix/nice.c (nice): Restore old errno.
16226         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16228 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16232 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16234         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16235         __bcopy and add a weak_alias to bcopy.
16236         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16237         for static build.
16239         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16240         cleanup macro usage.
16241         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16244         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16245         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16246         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16247         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16248         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16249         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16250         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16251         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16252         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16254         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16255         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16257         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16258         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16259         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16261         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16262         libc_hidden_def.
16263         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16265         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16266         (sysdep_routines): Add strstr-ppc64.
16267         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16269 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16271         [BZ #18778]
16272         * elf/Makefile (tests): Add Add tst-nodelete2.
16273         (modules-names): Add tst-nodelete2mod.
16274         (tst-nodelete2mod.so-no-z-defs): New.
16275         ($(objpfx)tst-nodelete2): Likewise.
16276         ($(objpfx)tst-nodelete2.out): Likewise.
16277         (LDFLAGS-tst-nodelete2): Likewise.
16278         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16279         out of loop through all loaded libraries.
16280         * elf/tst-nodelete2.c: New file.
16281         * elf/tst-nodelete2mod.c: Likewise.
16282         * elf/tst-znodelete-zlib.cc: Delete.
16284 2015-08-11  Andreas Schwab  <schwab@suse.de>
16286         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16287         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16288         (__openat64_nocancel): Likewise.
16290 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16292         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16293         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16294         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16295         * math/auto-libm-test-out: Regenerated.
16296         * sysdeps/i386/fpu/libm-test-ulps: Update.
16297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16301         [BZ #18790]
16302         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16303         threshold for returning +/- 1.
16304         * math/auto-libm-test-in: Add more tests of tanh.
16305         * math/auto-libm-test-out: Regenerated.
16306         * sysdeps/i386/fpu/libm-test-ulps: Update.
16308 2015-08-10  Andreas Schwab  <schwab@suse.de>
16310         [BZ #18781]
16311         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16312         MORE_OFLAGS to oflag.
16313         * io/test-lfs.c (do_test): Test openat64.
16315 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16317         [BZ #18789]
16318         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16319         smaller threshold for returning the argument.
16320         * math/auto-libm-test-in: Add more tests of sinh.
16321         * math/auto-libm-test-out: Regenerated.
16322         * sysdeps/i386/fpu/libm-test-ulps: Update.
16324 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16326         [BZ #18674]
16327         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16328         break.
16330 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16332         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16333         (generated): Don't add $(addprefix z.,$(tzfiles)).
16335 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16337         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16338         * scripts/sysd-rules.awk: Likewise.
16340 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16342         * iconvdata/tst-tables.sh: Change echo -n to printf.
16343         * nss/db-Makefile: Likewise.
16344         * posix/tst-getconf.sh: Likewise.
16345         * stdio-common/tst-unbputc.sh: Likewise.
16347 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16349         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16350         MADV_*_PAGES defines behind this feature check.
16352 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16354         [BZ #18480]
16355         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16356         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16357         Define.
16358         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16359         LOAD_REGS_5, LOAD_REGS_6): Update.
16360         (INTERNAL_SYSCALL): Update using new LOAD defines.
16361         (INTERNAL_SYSCALL_NCS): Likewise.
16362         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16364 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16366         [BZ #16734]
16367         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16369 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16371         [BZ #17905]
16372         * catgets/Makefile (tst-catgets-mem): New test.
16373         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16374         * catgets/open_catalog.c (__open_catalog): Likewise.
16375         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16377 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16379         [BZ #18787]
16380         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16381         clobber registers.
16382         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16383         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16384         Cast return to __typeof (oldval).
16386 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16388         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16389         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16390         and delete sys/syscall.h include.
16392 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16394         [BZ #16517]
16395         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16396         (tan): Force underflow exception for arguments with small absolute
16397         value.
16398         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16399         (__kernel_tanf): Force underflow exception for arguments with
16400         small absolute value.
16401         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16402         (__kernel_tanl): Force underflow exception for arguments with
16403         small absolute value.
16404         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16405         (__kernel_tanl): Force underflow exception for arguments with
16406         small absolute value.
16407         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16408         (__kernel_tanl): Force underflow exception for arguments with
16409         small absolute value.
16410         * math/auto-libm-test-in: Add more tests of tan.
16411         * math/auto-libm-test-out: Regenerated.
16413 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16415         Fix sysdeps/i386/fpu/s_scalbn.S build
16417         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16419 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16421         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16423 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16425         Fix gcrt0.o compilation
16427         When static-start-installed-name is different from
16428         start-installed-name, we must not use the shared objects.
16430         * csu/Makefile
16431         (extra-objs): Add gmon-start.o when building shared library and
16432         $(static-start-installed-name) is different from
16433         $(start-installed-name).
16434         $(objpfx)g$(static-start-installed-name): When building shared
16435         library and $(static-start-installed-name) is different from
16436         $(static-start-installed-name), revert to non-shared rule,
16437         i.e. using $(objpfx)% and gmon-start.o.
16439 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #16519]
16442         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16443         (__ieee754_sinh): Force underflow exception for arguments with
16444         small absolute value.
16445         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16446         (__ieee754_sinhf): Force underflow exception for arguments with
16447         small absolute value.
16448         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16449         (__ieee754_sinhl): Force underflow exception for arguments with
16450         small absolute value.
16451         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16452         (__ieee754_sinhl): Force underflow exception for arguments with
16453         small absolute value.
16454         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16455         (__ieee754_sinhl): Force underflow exception for arguments with
16456         small absolute value.
16457         * math/auto-libm-test-in: Add more tests of sinh.
16458         * math/auto-libm-test-out: Regenerated.
16459         * sysdeps/i386/fpu/libm-test-ulps: Update.
16461 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16463         * libio/oldfileops.c: Include unistd.h.
16465 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16467         * stdlib/isomac.c: Include ctype.h.
16469 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16471         * dirent/tst-seekdir.c (main): Converted to ...
16472         (do_test): ... this.
16473         (TEST_FUNCTION): New macro.
16474         Include test-skeleton.c.
16475         * elf/tst-dlmodcount.c (main): Converted to ...
16476         (do_test): ... this.
16477         (TEST_FUNCTION): New macro.
16478         Include test-skeleton.c.
16479         * elf/tst-order-main.c (main): Converted to ...
16480         (do_test): ... this.
16481         (TEST_FUNCTION): New macro.
16482         Include test-skeleton.c.
16483         * elf/tst-pie2.c (main): Converted to ...
16484         (do_test): ... this.
16485         (TEST_FUNCTION): New macro.
16486         Include test-skeleton.c.
16487         * inet/tst-ether_aton.c (main): Converted to ...
16488         (do_test): ... this.
16489         (TEST_FUNCTION): New macro.
16490         Include test-skeleton.c.
16491         * misc/tst-mntent.c (main): Converted to ...
16492         (do_test): ... this.
16493         (TEST_FUNCTION): New macro.
16494         Include test-skeleton.c.
16495         * misc/tst-tsearch.c (main): Converted to ...
16496         (do_test): ... this.
16497         (TEST_FUNCTION): New macro.
16498         Include test-skeleton.c.
16499         * posix/tst-regexloc.c (main): Converted to ...
16500         (do_test): ... this.
16501         (TEST_FUNCTION): New macro.
16502         Include test-skeleton.c.
16503         * resolv/tst-aton.c (main): Converted to ...
16504         (do_test): ... this.
16505         (TEST_FUNCTION): New macro.
16506         Include test-skeleton.c.
16507         * stdio-common/test-fwrite.c (main): Converted to ...
16508         (do_test): ... this.
16509         (TEST_FUNCTION): New macro.
16510         Include test-skeleton.c.
16511         * stdio-common/tst-ferror.c (main): Converted to ...
16512         (do_test): ... this.
16513         (TEST_FUNCTION): New macro.
16514         Include test-skeleton.c.
16515         * stdio-common/tst-printf.c (main): Converted to ...
16516         (do_test): ... this.
16517         (TEST_FUNCTION): New macro.
16518         Include test-skeleton.c.
16519         * stdio-common/tst-printfsz.c (main): Converted to ...
16520         (do_test): ... this.
16521         (TEST_FUNCTION): New macro.
16522         Include test-skeleton.c.
16523         * stdlib/tst-strtod.c (main): Converted to ...
16524         (do_test): ... this.
16525         (TEST_FUNCTION): New macro.
16526         Include test-skeleton.c.
16527         * string/tst-strlen.c (main): Converted to ...
16528         (do_test): ... this.
16529         (TEST_FUNCTION): New macro.
16530         Include test-skeleton.c.
16531         * string/tst-svc.c (main): Converted to ...
16532         (do_test): ... this.
16533         (TEST_FUNCTION): New macro.
16534         Include test-skeleton.c.
16535         * time/tst-strptime.c (main): Converted to ...
16536         (do_test): ... this.
16537         (TEST_FUNCTION): New macro.
16538         Include test-skeleton.c.
16539         * timezone/tst-timezone.c (main): Converted to ...
16540         (do_test): ... this.
16541         (TEST_FUNCTION): New macro.
16542         Include test-skeleton.c.
16544 2015-08-05  Zack Weinberg  <zackw@panix.com>
16546         * misc/regexp.h: Update comments.
16548 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16550         [BZ #18635]
16551         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16552         before return label.
16554 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16556         [BZ #18661]
16557         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16558         when calling __errno_location.
16559         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16560         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16562 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16564         [BZ #18661]
16565         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16566         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16567         __gettimeofday.
16569 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16571         [BZ #18661]
16572         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16573         (__start_context): Don't use pop to restore %rdi so that stack
16574         is aligned to 16 bytes when calling __setcontext.
16576 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16578         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16579         only for libc.
16580         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16582 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16584         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16585         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16586         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16588 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16590         * string/memccpy.c (memccpy):
16591         Improve performance by using memchr/memcpy/__mempcpy.
16593 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16595         * string/strncpy.c (strncpy):
16596         Improve performance by using __strnlen/memcpy.
16598 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16600         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16601         Optimize to avoid an unnecessary FPCR read.
16603 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16605         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16606         Optimize to reduce FPCR/FPSR accesses.
16608 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16610         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16611         dead->data[category] != NULL.
16613 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16615         [BZ #18647]
16616         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16617         and |x| close to 1, use absolute value of x when computing log.
16618         * math/auto-libm-test-in: Add more tests of pow.
16619         * math/auto-libm-test-out: Regenerated.
16621 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16623         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16624         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16625         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16627 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16629         [BZ #18525]
16630         * locales/km_KH: Remove timezone definition.
16631         * locales/lo_LA: Likewise.
16632         * locales/my_MM: Likewise.
16633         * locales/nan_TW@latin: Likewise.
16634         * locales/th_TH: Likewise.
16635         * locales/uk_UA: Likewise.
16637 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16639         [BZ #18265]
16640         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16641         (wcsncat): Likewise.
16642         (wcscmp): Likewise.
16643         (wcsncmp): Likewise.
16645 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16647         * test-skeleton.c (usage): New function.
16648         (main): Call usage when opt is '?'.
16650 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16652         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16653         before first use.
16655 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16657         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16658         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16659         in there too.
16661 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16663         * version.h (RELEASE): Set to "development".
16664         (VERSION): Set to "2.22.90"
16666         * version.h (RELEASE): Set to "stable".
16667         (VERSION): Set to "2.22"
16668         * include/features.h (__GLIBC_MINOR__): Set to 22.
16670 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16672         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16673         Restructure macro to avoid "value computed is not used" warning.
16674         (atomic_compare_and_exchange_val_acq): Likewise.
16676 2015-08-04  Andreas Schwab  <schwab@suse.de>
16678         [BZ #18635]
16679         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16680         ret.
16681         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16683 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16685         * po/pl.po: Updated translation.
16686         * po/uk.po: Likewise.
16687         * po/fi.po: Likewise.
16688         * po/ko.po: Likewise.
16689         * po/ru.po: Likewise.
16690         * po/vi.po: Likewise.
16692 2015-07-31  Zack Weinberg  <zackw@panix.com>
16694         [BZ #18681]
16695         * regexp.h: Add unconditional #warning stating that this header
16696         will be removed soon.  Revise banner comment to match.
16697         (compile): Consistently use ERROR instead of RETURN to report
16698         errors (partial fix for bz#18681).
16699         * regexp.c: Don't include regexp.h. Remove some unnecessary
16700         declarations.
16702 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16704         * po/libc.pot: Regenerated.
16706 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16708         [BZ #18740]
16709         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16710         float-vlen4-arch-ext-cflags): Removed.
16711         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16712         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16714 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16716         [BZ #14113]
16717         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16718         aligned to __aligned__.
16719         (pthread_cond_t, pthread_rwlock_t): Likewise.
16721 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16723         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16725 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16727         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16728         (struct sigaction): Change sa_flags from a long to an int, and add
16729         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16731 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16733         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16734         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16735         sysdeps/generic/sysdep.h include.
16736         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16737         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16738         sysdeps/hppa/sysdep.h.
16739         (ENTRY, PSEUDO): Undefine before defining.
16741 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16743         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16744         from scratch to use INTERNAL_SYSCALL.
16746 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16748         [BZ #18078]
16749         * scripts/check-localplt.awk: Support alternate relocations.
16750         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16751         sections.
16752         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16753         malloc entries with + REL R_386_GLOB_DAT.
16754         * sysdeps/x86_64/localplt.data: New file.
16756 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16758         [BZ #18731]
16759         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16760         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16761         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16763 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16765         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16767 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16769         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16770         directly in terms of __sync_fetch_and_add and delete (int) cast.
16772 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16774         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16775         the -D_ASM_IA64_CURRENT_H flag.
16777 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16779         [BZ #18641]
16780         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16782 2015-07-27  Andreas Schwab  <schwab@suse.de>
16784         * conform/conformtest.pl (checknamespace): Filter out string
16785         literals while tokenizing.
16787 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16789         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16790         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16791         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16793 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16795         * nptl/tst-join7mod.c: Add #include <string.h>.
16797 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16799         * sysdeps/nios2/libm-test-ulps: Update.
16801 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16803         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16804         Fix order of arguments to the rt_sigprocmask syscall.
16805         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16806         Likewise.
16808 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16810         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16812 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16814         [BZ #18457]
16815         * nptl/Makefile (tests): New test case tst-join7.
16816         (modules-names): New test case module tst-join7mod.
16817         * nptl/tst-join7.c: New file.
16818         * nptl/tst-join7mod.c: New file.
16819         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16820         all translation units in libc.so, libpthread.so and rtld.
16822 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16826 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16829         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16830         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16832         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16836         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16837         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16838         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16839         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16840         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16841         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16843         implementation.
16845 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16847         [BZ #17711]
16848         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16849         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16850         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16851         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16852         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16853         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16855 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16857         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16858         instead of just saying load lock in the comments.
16860 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16862         * sysdeps/unix/Subdirs: Moved ...
16863         * sysdeps/posix/Subdirs: ... here.
16864         * login/pty.h (struct termios, struct winsize): Add forward decls.
16865         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16866         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16867         * sysdeps/arm/nacl/libc.abilist: Updated.
16868         * sysdeps/nacl/libutil.abilist: New file.
16870         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16871         (SIGWINCH): New macro.
16873         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16874         * sysdeps/arm/nacl/libc.abilist: Add it.
16876 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16878         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16880 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16882         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16883         Swap __glibc_reserved0 and sa_flags order.
16885 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16887         [BZ #18657]
16888         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16889         are pending TLS destructor calls.
16890         * include/link.h (struct link_map): Add concurrency note for
16891         L_TLS_DTOR_COUNT.
16892         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16893         Don't touch the link map flag.  Atomically increment
16894         l_tls_dtor_count.
16895         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16896         Avoid taking the load lock and don't touch the link map flag.
16897         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16898         * stdlib/Makefile (tests): Use it.
16899         * stdlib/tst-tls-atexit.c (do_test): dlopen
16900         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16901         to allow tst-tls-atexit-nodelete test case to use it.
16903 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16905         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16906         to bits/types.h.
16907         (msgqnum_t): New typedef.
16908         (msglen_t): Likewise.
16909         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16910         and msg_qbytes type to msglen_t.
16912 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16914         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16915         pad0 to __glibc_reserved0.
16916         (struct stat64): Likewise.
16918 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16920         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16921         Change sa_flags from a long to an int and add __glibc_reserved0 before
16922         it for padding.
16924 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16926         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16927         anonymous by deleting "siginfo" name.
16929 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16931         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16932         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16933         rather than __nacl_irt_filename.
16934         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16936         * NEWS: New item for arm-nacl port.
16937         * sysdeps/arm/nacl/libc.abilist: New file.
16938         * sysdeps/nacl/ld.abilist: New file.
16939         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16940         * sysdeps/nacl/libanl.abilist: New file.
16941         * sysdeps/nacl/libcrypt.abilist: New file.
16942         * sysdeps/nacl/libdl.abilist: New file.
16943         * sysdeps/nacl/libm.abilist: New file.
16944         * sysdeps/nacl/libpthread.abilist: New file.
16945         * sysdeps/nacl/libresolv.abilist: New file.
16946         * sysdeps/nacl/librt.abilist: New file.
16948 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16950         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16951         __startcontext to initialize the new context.
16952         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16953         up CFI directive to forbid further backtracing.
16955 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16957         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16958         reference.
16959         * charmaps/ANSI_X3.4-1968: Likewise.
16960         * charmaps/BS_4730: Likewise.
16961         * charmaps/BS_VIEWDATA: Likewise.
16962         * charmaps/CP1250: Likewise.
16963         * charmaps/CP1251: Likewise.
16964         * charmaps/CP1252: Likewise.
16965         * charmaps/CP1253: Likewise.
16966         * charmaps/CP1254: Likewise.
16967         * charmaps/CP1255: Likewise.
16968         * charmaps/CP1256: Likewise.
16969         * charmaps/CSN_369103: Likewise.
16970         * charmaps/EBCDIC-DK-NO: Likewise.
16971         * charmaps/GB_1988-80: Likewise.
16972         * charmaps/GREEK-CCITT: Likewise.
16973         * charmaps/GREEK7: Likewise.
16974         * charmaps/INIS-8: Likewise.
16975         * charmaps/ISIRI-3342: Likewise.
16976         * charmaps/ISO_2033-1983: Likewise.
16977         * charmaps/ISO_5427-EXT: Likewise.
16978         * locales/POSIX: Likewise.
16979         * locales/ar_SA: Likewise.
16980         * locales/be_BY: Likewise.
16981         * locales/be_BY@latin: Likewise.
16982         * locales/ca_ES: Likewise.
16983         * locales/cs_CZ: Likewise.
16984         * locales/da_DK: Likewise.
16985         * locales/de_BE: Likewise.
16986         * locales/de_CH: Likewise.
16987         * locales/de_LU: Likewise.
16988         * locales/en_AU: Likewise.
16989         * locales/en_BW: Likewise.
16990         * locales/en_CA: Likewise.
16991         * locales/en_DK: Likewise.
16992         * locales/en_GB: Likewise.
16993         * locales/en_IE: Likewise.
16994         * locales/en_NZ: Likewise.
16995         * locales/en_ZA: Likewise.
16996         * locales/en_ZW: Likewise.
16997         * locales/es_AR: Likewise.
16998         * locales/es_BO: Likewise.
16999         * locales/es_CL: Likewise.
17000         * locales/es_CO: Likewise.
17001         * locales/es_DO: Likewise.
17002         * locales/es_EC: Likewise.
17003         * locales/es_ES: Likewise.
17004         * locales/es_HN: Likewise.
17005         * locales/es_MX: Likewise.
17006         * locales/es_PA: Likewise.
17007         * locales/es_PE: Likewise.
17008         * locales/es_PY: Likewise.
17009         * locales/es_SV: Likewise.
17010         * locales/es_US: Likewise.
17011         * locales/es_UY: Likewise.
17012         * locales/es_VE: Likewise.
17013         * locales/et_EE: Likewise.
17014         * locales/fa_IR: Likewise.
17015         * locales/fo_FO: Likewise.
17016         * locales/fr_CA: Likewise.
17017         * locales/fr_CH: Likewise.
17018         * locales/gv_GB: Likewise.
17019         * locales/he_IL: Likewise.
17020         * locales/hr_HR: Likewise.
17021         * locales/id_ID: Likewise.
17022         * locales/is_IS: Likewise.
17023         * locales/it_CH: Likewise.
17024         * locales/iw_IL: Likewise.
17025         * locales/kl_GL: Likewise.
17026         * locales/ko_KR: Likewise.
17027         * locales/kw_GB: Likewise.
17028         * locales/lg_UG: Likewise.
17029         * locales/lt_LT: Likewise.
17030         * locales/lv_LV: Likewise.
17031         * locales/mi_NZ: Likewise.
17032         * locales/nhn_MX: Likewise.
17033         * locales/nl_BE: Likewise.
17034         * locales/pl_PL: Likewise.
17035         * locales/sk_SK: Likewise.
17036         * locales/sl_SI: Likewise.
17037         * locales/sv_FI: Likewise.
17038         * locales/tl_PH: Likewise.
17039         * locales/tr_TR: Likewise.
17040         * locales/vi_VN: Likewise.
17042 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17044         [BZ #17475]
17045         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17046         of tu_IN and bh_IN.
17048 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17050         [BZ #18694]
17051         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17052         bits/wordsize.h.
17053         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17055 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17057         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17058         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17059         (spawn_thread): New function.
17060         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17061         (do_test): ... here.  Use IS_LOADED to test for its
17062         availability.
17064 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17066         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17068 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17070         [BZ #18696]
17071         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17072         si_addr_bnd.
17073         (si_lower): New.
17074         (si_upper): Likewise.
17076 2015-07-16  David S. Miller  <davem@davemloft.net>
17078         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17080 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17082         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17083         buffer.
17084         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17085         fail output information.
17087 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17090         and strstr-ppc64..
17091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17092         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17093         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17094         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17095         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17097 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17099         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17100         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17101         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17102         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17104 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17106         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17107         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17108         rtld_hidden_proto.
17109         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17111 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17113         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17114         the test can fail.
17116         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17118         [BZ #18676]
17119         * elf/tst-nodelete-opened.c: New test case.
17120         * elf/tst-nodelete-opened-lib.c: New test case module.
17121         * elf/Makefile (tests, modules-names): Use them.
17122         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17123         early.
17125 2015-07-15  David S. Miller  <davem@davemloft.net>
17127         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17128         futex-intenal.h
17129         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17130         * sysdeps/sparc/sparc64/Makefile: Likewise.
17131         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17132         Remove space from macro define.
17133         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17135 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17137         [BZ #17475]
17138         * locale/iso-639.def: Update Bhili and Tulu language codes as
17139         per iso639-3.
17141 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17143         * elf/tst-leaks1.c (main): Converted to ...
17144         (do_test): ... this.
17145         (TEST_FUNCTION): New macro.
17146         Include test-skeleton.c.
17147         * localedata/tst-langinfo.c (main): Converted to ...
17148         (do_test): ... this.
17149         (TEST_FUNCTION): New macro.
17150         Include test-skeleton.c.
17151         * math/test-fpucw.c (main): Converted to ...
17152         (do_test): ... this.
17153         (TEST_FUNCTION): New macro.
17154         Include test-skeleton.c.
17155         * math/test-tgmath.c (main): Converted to ...
17156         (do_test): ... this.
17157         (TEST_FUNCTION): New macro.
17158         Include test-skeleton.c.
17159         * math/test-tgmath2.c (main): Converted to ...
17160         (do_test): ... this.
17161         (TEST_FUNCTION): New macro.
17162         Include test-skeleton.c.
17163         * setjmp/tst-setjmp.c (main): Converted to ...
17164         (do_test): ... this.
17165         (TEST_FUNCTION): New macro.
17166         Include test-skeleton.c.
17167         * stdio-common/tst-sscanf.c (main): Converted to ...
17168         (do_test): ... this.
17169         (TEST_FUNCTION): New macro.
17170         Include test-skeleton.c.
17171         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17172         (do_test): ... this.
17173         (TEST_FUNCTION): New macro.
17174         Include test-skeleton.c.
17176         * elf/tst-audit9.c (main): Converted to ...
17177         (do_test): ... this.
17178         (TEST_FUNCTION): New macro.
17179         Include test-skeleton.c.
17181 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17183         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17185 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17187         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17188         New variable.
17190 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17192         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17194 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17196         * sysdeps/generic/dl-fileid.h: New file.
17197         * sysdeps/posix/dl-fileid.h: New file.
17198         * sysdeps/nacl/dl-fileid.h: New file.
17199         * include/link.h: Include <dl-fileid.h>.
17200         (struct link_map): Replace l_dev and l_ino with l_file_id.
17201         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17202         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17203         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17205 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17207         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17209 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17211         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17212         Add iff $CXX is set.
17213         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17214         Likewise.
17215         (tst-nodelete-zmodiff): Likewise.
17216         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17218 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17220         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17222 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17224         * sysdeps/aarch64/fpu/math_private.h
17225         (define math_opt_barrier): Add AArch64 version.
17226         (math_force_eval): Likewise.
17228 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17230         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17232 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17234         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17235         %ld with %jd and cast to intmax_t.
17236         (do_test_length_zero): Likewise.
17238 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17240         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17242 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17244         * sysdeps/tile/libm-test-ulps: Regenerated.
17246         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17247         Comment out the whole function, not just its body.
17249 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17251         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17252         locks.
17254         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17256 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17258         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17259         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17261 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17263         * sysdeps/nptl/futex-internal.h: New file.
17264         * sysdeps/nacl/futex-internal.h: New file.
17265         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17266         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17267         error checking.
17268         (setxid_unmark_thread): Likewise.
17269         (__nptl_setxid): Likewise.
17270         (__wait_lookup_done): Likewise.
17271         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17272         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17273         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17274         * nptl/pthread_once.c (clear_once_control): Likewise.
17275         (__pthread_once_slow): Likewise.
17276         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17277         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17278         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17279         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17280         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17281         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17282         Likewise.
17283         (__pthread_rwlock_rdlock): Likewise.
17284         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17285         Likewise.
17286         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17287         Likewise.
17288         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17289         Likewise.
17290         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17291         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17292         Likewise.
17293         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17294         __ASSUME_PRIVATE_FUTEX check.
17295         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17296         Check that shared futexes are supported.
17297         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17298         wrappers with error checking.
17299         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17300         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17301         * nptl/pthread_barrierattr_setpshared.c
17302         (pthread_barrierattr_setpshared): Check that shared futexes are
17303         supported.
17304         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17305         Likewise.
17306         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17307         Likewise.
17308         * nptl/sem_init.c (futex_private_if_supported): Remove.
17309         (__new_sem_init): Adapt and check that shared futexes are supported.
17310         * nptl/sem_open.c (sem_open): Likewise.
17311         * nptl/sem_post.c (futex_wake): Remove.
17312         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17313         (do_futex_wait): Use futex wrappers with error checking.
17314         * nptl/sem_wait.c: Include lowlevellock.h.
17315         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17316         Use futex_supports_pshared.
17317         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17318         Use futex wrappers with error checking.
17319         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17320         Likewise.
17321         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17322         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17323         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17324         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17325         (futex_wake): Likewise.
17326         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17327         (do_futex_wait): Use futex wrappers with error checking.
17328         (__new_sem_wait_slow): Update EINTR handling.
17329         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17331 2015-07-09  Martin Sebor  <msebor@redhat.com>
17333         [BZ #18435]
17334         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17335         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17336         * nptl/Makefile (test-xfail-tst-once5): Define.
17338 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17340         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17341         * elf/dl-minimal.c: For readability, reorder some definitions and
17342         introduce more page breaks.  Include <stdio.h>.
17343         (__libc_fatal): New function.
17345         * include/unistd.h: Add rtld_hidden_proto for _exit.
17346         * posix/_exit.c: Add rtld_hidden_def.
17347         * sysdeps/mach/hurd/_exit.c: Likewise.
17348         * sysdeps/nacl/_exit.c: Likewise.
17349         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17350         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17352 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17355         bndmov encoding with zero displacement.
17357 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17358             H.J. Lu  <hongjiu.lu@intel.com>
17360         [BZ #18134]
17361         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17362         * sysdeps/i386/configure: Regenerated.
17363         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17364         (_dl_runtime_profile): Save and restore Intel MPX return bound
17365         registers when calling _dl_call_pltexit.  Add
17366         PRESERVE_BND_REGS_PREFIX before return.
17367         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17368         (LRV_BND1_OFFSET): Likewise.
17369         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17370         lrv_bnd1.
17371         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17372         typo in bndmov encoding.
17373         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17374         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17375         branch instructions to preserve bounds.
17377 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17380         [GLIBC_2.22]: Add fmemopen.
17382 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17384         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17385         returns an error, also try to use host port from __mach_host_self for
17386         the __vm_wire call.
17387         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17389 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17391         [BZ #18400]
17392         [BZ #18648]
17393         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17394         Fix pr_uid and pr_gid members.
17395         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17396         definition to elf_greg_t.
17398 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17400         [BZ #18383]
17401         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17402         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17403         * sysdeps/arm/configure: Regenerated.
17404         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17405         (test-xfail-tst-tlsalign-static): Variable removed.
17407         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17408         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17409         rather than explicit 'ln -s'.
17411         * resolv/rpc/netdb.h: New file.
17412         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17414 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17416         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17417         length buffers.
17418         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17419         test-skeleton.c.
17421         [BZ #6544]
17422         [BZ #11216]
17423         [BZ #12836]
17424         [BZ #13151]
17425         [BZ #13152]
17426         [BZ #14292]
17427         * include/stdio.h (fmemopen): Remove hidden prototype.
17428         (__fmemopen): Add new hidden prototype.
17429         * libio/Makefile: Add oldfmemopen object.
17430         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17431         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17432         compliance.
17433         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17434         symbol compatibility.
17435         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17436         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17437         fmemopen.
17438         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17439         on append and read mode.
17440         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17441         fmemopen.
17442         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17443         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17444         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17445         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17446         Likewise.
17447         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17448         [GLIBC_2.22]: Likewise.
17449         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17450         Likewise.
17451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17452         Likewise.
17453         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17454         [GLIBC_2.22]: Likewise.
17455         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17456         [GLIBC_2.22]: Likewise.
17457         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17458         [GLIBC_2.22]: Likewise.
17459         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17460         [GLIBC_2.22]: Likewise.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17462         [GLIBC_2.22]: Likewise.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17464         [GLIBC_2.22]: Likewise.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17466         [GLIBC_2.22]: Likewise.
17467         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17468         Likewise.
17469         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17472         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17473         [GLIBC_2.22]: Likewise.
17474         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17475         [GLIBC_2.22]: Likewise.
17476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17477         [GLIBC_2.22]: Likewise.
17478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17479         [GLIBC_2.22]: Likewise.
17480         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17481         Likewise.
17482         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17483         Likewise.
17484         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17485         Likewise.
17486         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17487         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17489 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17491         [BZ #18643]
17492         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17493         IPV6_PATHMTU, and IPV6_DONTFRAG.
17495 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17497         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17498         and _IO_UNBUFFERED.
17499         * libio/oldfileops.c: Likewise.
17500         * libio/wfileops.c: Likewise.
17502 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17504         * nscd/selinux.c: Delete selinux/flask.h include.
17506 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17508         [BZ #18641]
17509         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17510         (putpwent): Likewise.
17511         (getpwnam): Likewise.
17512         (getpwent_r): Likewise.
17513         (getpwuid_r): Likewise.
17514         (getpwnam_r): Likewise.
17515         (fgetpwent_r): Likewise.
17517 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17519         [BZ #18557]
17520         * inet/rcmd.c (__validuser2_sa): Check user first to
17521         short-circuit host check.
17523 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17524             Mikhail Ilin  <m.ilin@samsung.com>
17526         [BZ #17833]
17527         * elf/Makefile (tests): Add tst-nodelete.
17528         (modules-names): Add tst-nodelete-uniquemod.
17529         (tst-nodelete-uniquemod.so-no-z-defs): New.
17530         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17531         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17532         ($(objpfx)tst-nodelete): Likewise.
17533         ($(objpfx)tst-nodelete.out): Likewise.
17534         (LDFLAGS-tst-nodelete): Likewise.
17535         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17536         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17537         implement forced object deletion.
17538         (_dl_close): Pass false to _dl_close_worker.
17539         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17540         * elf/tst-nodelete.cc: New file.
17541         * elf/tst-nodeletelib.cc: Likewise.
17542         * elf/tst-znodeletelib.cc: Likewise.
17543         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17545 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17547         [BZ #18508]
17548         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17549         Depend on $(libdl).
17550         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17551         is not called infinitely times.
17552         (backtrace_helper): New function.
17553         (trace_arg): New struct.
17554         (st1): Enlarge stack size.
17555         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17556         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17557         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17558         Likewise.
17560 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17562         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17564 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17566         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17567         Include sys/types.h instead of bits/types.h.
17568         Remove inclusion of bits/wordsize.h.
17570 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17572         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17573         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17574         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17575         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17576         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17577         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17579 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17581         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17582         link-defines.sym.
17583         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17584         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17585         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17586         and LR_SIZE.
17587         * sysdeps/i386/link-defines.sym: New file.
17589 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17591         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17592         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17593         ($(objpfx)tst-audit3): New rule.
17594         ($(objpfx)tst-audit3.out): Likewise.
17595         * sysdeps/i386/tst-audit3.c: New file.
17596         * sysdeps/i386/tst-audit3.h: Likewise.
17597         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17598         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17600 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17602         [BZ #18633]
17603         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17604         pointer in C code.
17605         (__strcat_c): Likewise.
17606         (__strcat_g): Likewise.
17608 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17610         [BZ #18592]
17611         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17613 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17615         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17616         New function.  (__ieee754_sqrtf): New function.
17617         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17618         New function.
17619         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17620         New function.
17622 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17624         * sysdeps/ieee754/support.c: Remove unused file.
17626 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17628         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17629         registers instead of d ones so the layout is kernel abi compatible.
17630         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17631         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17632         Likewise.
17634 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17636         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17638 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #18619]
17641         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17642         and return argument in case of subnormal argument.
17644 2015-07-01  Martin Sebor  <msebor@redhat.com>
17646         [BZ #18435]
17647         * nptl/Makefile: Add tst-once5.cc.
17648         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17649         Remove macro redefinitions.
17650         * nptl/tst-once5.cc: New test.
17652 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17654         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17656         * sysdeps/arm/libm-test-ulps: Regenerated.
17658         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17661 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17663         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17664         lll_lock_wait_private and lll_futex_wake probes.
17666         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17668         Likewise.
17669         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17670         atomic_spin_nop.
17671         * sysdeps/x86_64/bits/atomic.h: Likewise.
17672         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17673         to atomic_spin_nop and move ...
17674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17675         ... here and ...
17676         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17677         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17678         atomic_spin_nop instead of BUSY_WAIT_NOP.
17679         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17680         Likewise.
17681         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17682         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17683         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17684         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17685         instead of atomic_delay.
17687 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17689         [BZ #18613]
17690         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17691         X_ADJ not X when adjusting exponent.
17692         (__ieee754_gamma_r): Do intermediate computations in
17693         round-to-nearest then adjust overflowing and underflowing results
17694         as needed.
17695         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17696         of X_ADJ not X when adjusting exponent.
17697         (__ieee754_gammaf_r): Do intermediate computations in
17698         round-to-nearest then adjust overflowing and underflowing results
17699         as needed.
17700         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17701         log of X_ADJ not X when adjusting exponent.
17702         (__ieee754_gammal_r): Do intermediate computations in
17703         round-to-nearest then adjust overflowing and underflowing results
17704         as needed.  Use 1.0L not 1.0f as numerator of division.
17705         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17706         log of X_ADJ not X when adjusting exponent.
17707         (__ieee754_gammal_r): Do intermediate computations in
17708         round-to-nearest then adjust overflowing and underflowing results
17709         as needed.  Use 1.0L not 1.0f as numerator of division.
17710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17711         of X_ADJ not X when adjusting exponent.
17712         (__ieee754_gammal_r): Do intermediate computations in
17713         round-to-nearest then adjust overflowing and underflowing results
17714         as needed.  Use 1.0L not 1.0f as numerator of division.
17715         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17716         to auto-libm-test-in.
17717         (tgamma_test): Use ALL_RM_TEST.
17718         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17719         tests of tgamma with spurious-overflow.
17720         * math/auto-libm-test-out: Regenerated.
17721         * math/gen-libm-have-vector-test.sh: Do not check for START.
17722         * sysdeps/i386/fpu/libm-test-ulps: Update.
17723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17725         [BZ #18612]
17726         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17727         arguments, just return 0.5 times the argument, with underflow
17728         forced as needed.
17729         * math/auto-libm-test-in: Add more tests of j1.
17730         * math/auto-libm-test-out: Regenerated.
17732         [BZ #16559]
17733         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17734         (__ieee754_j1): Force underflow exception for small results.
17735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17736         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17737         (__ieee754_j1f): Force underflow exception for small results.
17738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17742         (__ieee754_j1l): Force underflow exception for small results.
17743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17744         * math/auto-libm-test-in: Add more tests of j1 and jn.
17745         * math/auto-libm-test-out: Regenerated.
17747         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17748         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17749         (PF_MPLS): Likewise.
17750         (AF_IB): Likewise.
17751         (AF_MPLS): Likewise.
17752         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17753         value and macro.
17754         (MS_RMT_MASK): Include MS_LAZYTIME.
17756 2015-06-26  Mel Gorman  <mgorman@suse.de>
17758         [BZ #18502]
17759         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17760         already minimal.
17762 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17764         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17765         (DT_MIPS_NUM): Update.
17766         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17767         DT_MIPS_RLD_MAP_REL.
17769 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17771         [BZ #16559]
17772         [BZ #18602]
17773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17774         round-to-nearest internally then recompute results that
17775         underflowed to zero in the original rounding mode.
17776         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17777         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17779         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17780         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17781         * sysdeps/i386/fpu/libm-test-ulps: Update.
17782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17786         * NEWS: Fixed description of link with vector math library.
17788 2015-06-25  Andreas Schwab  <schwab@suse.de>
17790         [BZ #18549]
17791         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17792         * libio/test-fmemopen.c (do_test): Add test for it.
17794 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17796         [BZ #17841]
17797         * Makeconfig (no-pie-ldflag): New.
17798         (+link): Set to $(+link-pie) if default to PIE.
17799         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17800         * config.make.in (build-pie-default): New.
17801         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17802         is default.  AC_SUBST.
17803         * configure: Regenerated.
17804         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17806 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17808         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17809         to 'unsigned int'.
17811         * resolv/gai_misc.h (struct waitlist): Change type of field
17812         counterp to 'volatile unsigned int *'.
17813         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17814         FUTEXADDR and OLDVAL.
17815         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17816         Give local variable TOTAL type 'volatile unsigned int'.
17817         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17818         * resolv/gai_suspend.c (gai_suspend):
17819         Give local variable CNTR type 'unsigned int'.
17821         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17822         counterp to 'volatile unsigned int *'.
17823         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17824         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17825         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17826         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17827         Give local variable TOTAL type 'volatile unsigned int'.
17828         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17830 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17832         [BZ #18383]
17833         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17834         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17835         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17836         comment for i386/x86-64.
17837         (test-xfail-tst-tlsalign-extern-static): Removed.
17839 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17841         * math/test-double.h: New file.
17842         * math/test-float.h: Likewise.
17843         * math/test-ldouble.h: Likewise.
17844         * math/test-math-inline.h: Likewise.
17845         * math/test-math-no-inline.h: Likewise.
17846         * math/test-math-scalar.h: Likewise.
17847         * math/test-math-vector.h: Likewise.
17848         * math/test-vec-loop.h: Remove file.  Contents moved into
17849         test-math-vector.h.
17850         * math/libm-test.inc (MATHCONST): Do not document macro.
17851         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17852         and test-math-scalar.h.
17853         (FUNC): Remove macro.
17854         (FUNC_TEST): Likewise.
17855         (FLOAT): Likewise.
17856         (MATHCONST): Likewise.
17857         (PRINTF_EXPR): Likewise.
17858         (PRINTF_XEXPR): Likewise.
17859         (PRINTF_NEXPR): Likewise.
17860         (TEST_DOUBLE): Likewise.
17861         (TEST_MATHVEC): Likewise.
17862         (__NO_MATH_INLINES): Likewise.
17863         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17864         and test-math-scalar.h.
17865         (FUNC): Remove macro.
17866         (FUNC_TEST): Likewise.
17867         (FLOAT): Likewise.
17868         (MATHCONST): Likewise.
17869         (PRINTF_EXPR): Likewise.
17870         (PRINTF_XEXPR): Likewise.
17871         (PRINTF_NEXPR): Likewise.
17872         (TEST_FLOAT): Likewise.
17873         (TEST_MATHVEC): Likewise.
17874         (__NO_MATH_INLINES): Likewise.
17875         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17876         and test-math-scalar.h.
17877         (FUNC): Remove macro.
17878         (FUNC_TEST): Likewise.
17879         (FLOAT): Likewise.
17880         (MATHCONST): Likewise.
17881         (PRINTF_EXPR): Likewise.
17882         (PRINTF_XEXPR): Likewise.
17883         (PRINTF_NEXPR): Likewise.
17884         (TEST_DOUBLE): Likewise.
17885         (TEST_MATHVEC): Likewise.
17886         (TEST_INLINE): Likewise.
17887         (__NO_MATH_INLINES): Likewise.
17888         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17889         test-math-scalar.h.
17890         (FUNC): Remove macro.
17891         (FUNC_TEST): Likewise.
17892         (FLOAT): Likewise.
17893         (MATHCONST): Likewise.
17894         (PRINTF_EXPR): Likewise.
17895         (PRINTF_XEXPR): Likewise.
17896         (PRINTF_NEXPR): Likewise.
17897         (TEST_FLOAT): Likewise.
17898         (TEST_MATHVEC): Likewise.
17899         (TEST_INLINE): Likewise.
17900         (__NO_MATH_INLINES): Likewise.
17901         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17902         and test-math-scalar.h.
17903         (FUNC): Remove macro.
17904         (FUNC_TEST): Likewise.
17905         (FLOAT): Likewise.
17906         (MATHCONST): Likewise.
17907         (PRINTF_EXPR): Likewise.
17908         (PRINTF_XEXPR): Likewise.
17909         (PRINTF_NEXPR): Likewise.
17910         (TEST_LDOUBLE): Likewise.
17911         (TEST_MATHVEC): Likewise.
17912         (TEST_INLINE): Likewise.
17913         (__NO_MATH_INLINES): Likewise.
17914         * math/test-ldouble.c: Include test-ldouble.h,
17915         test-math-no-inline.h and test-math-scalar.h.
17916         (FUNC): Remove macro.
17917         (FUNC_TEST): Likewise.
17918         (FLOAT): Likewise.
17919         (MATHCONST): Likewise.
17920         (PRINTF_EXPR): Likewise.
17921         (PRINTF_XEXPR): Likewise.
17922         (PRINTF_NEXPR): Likewise.
17923         (TEST_LDOUBLE): Likewise.
17924         (TEST_MATHVEC): Likewise.
17925         (__NO_MATH_INLINES): Likewise.
17926         * math/test-double-vlen2.h: Include test-double.h,
17927         test-math-no-inline.h and test-math-vector.h.
17928         (FLOAT): Remove macro.
17929         (FUNC): Likewise.
17930         (MATHCONST): Likewise.
17931         (PRINTF_EXPR): Likewise.
17932         (PRINTF_XEXPR): Likewise.
17933         (PRINTF_NEXPR): Likewise.
17934         (TEST_DOUBLE): Likewise.
17935         (TEST_MATHVEC): Likewise.
17936         (__NO_MATH_INLINES): Likewise.
17937         (CNCT): Likewise.
17938         (CONCAT): Likewise.
17939         (WRAPPER_NAME): Likewise.
17940         (WRAPPER_DECL): Likewise.
17941         (WRAPPER_DECL_ff): Likewise.
17942         (WRAPPER_DECL_fFF): Likewise.
17943         (VECTOR_WRAPPER): Likewise.
17944         (VECTOR_WRAPPER_ff): Likewise.
17945         (VECTOR_WRAPPER_fFF): Likewise.
17946         (VEC_LEN): New macro.
17947         * math/test-double-vlen4.h: Include test-double.h,
17948         test-math-no-inline.h and test-math-vector.h.
17949         (FLOAT): Remove macro.
17950         (FUNC): Likewise.
17951         (MATHCONST): Likewise.
17952         (PRINTF_EXPR): Likewise.
17953         (PRINTF_XEXPR): Likewise.
17954         (PRINTF_NEXPR): Likewise.
17955         (TEST_DOUBLE): Likewise.
17956         (TEST_MATHVEC): Likewise.
17957         (__NO_MATH_INLINES): Likewise.
17958         (CNCT): Likewise.
17959         (CONCAT): Likewise.
17960         (WRAPPER_NAME): Likewise.
17961         (WRAPPER_DECL): Likewise.
17962         (WRAPPER_DECL_ff): Likewise.
17963         (WRAPPER_DECL_fFF): Likewise.
17964         (VECTOR_WRAPPER): Likewise.
17965         (VECTOR_WRAPPER_ff): Likewise.
17966         (VECTOR_WRAPPER_fFF): Likewise.
17967         (VEC_LEN): New macro.
17968         * math/test-double-vlen8.h: Include test-double.h,
17969         test-math-no-inline.h and test-math-vector.h.
17970         (FLOAT): Remove macro.
17971         (FUNC): Likewise.
17972         (MATHCONST): Likewise.
17973         (PRINTF_EXPR): Likewise.
17974         (PRINTF_XEXPR): Likewise.
17975         (PRINTF_NEXPR): Likewise.
17976         (TEST_DOUBLE): Likewise.
17977         (TEST_MATHVEC): Likewise.
17978         (__NO_MATH_INLINES): Likewise.
17979         (CNCT): Likewise.
17980         (CONCAT): Likewise.
17981         (WRAPPER_NAME): Likewise.
17982         (WRAPPER_DECL): Likewise.
17983         (WRAPPER_DECL_ff): Likewise.
17984         (WRAPPER_DECL_fFF): Likewise.
17985         (VECTOR_WRAPPER): Likewise.
17986         (VECTOR_WRAPPER_ff): Likewise.
17987         (VECTOR_WRAPPER_fFF): Likewise.
17988         (VEC_LEN): New macro.
17989         * math/test-float-vlen4.h: Include test-float.h,
17990         test-math-no-inline.h and test-math-vector.h.
17991         (FLOAT): Remove macro.
17992         (FUNC): Likewise.
17993         (MATHCONST): Likewise.
17994         (PRINTF_EXPR): Likewise.
17995         (PRINTF_XEXPR): Likewise.
17996         (PRINTF_NEXPR): Likewise.
17997         (TEST_FLOAT): Likewise.
17998         (TEST_MATHVEC): Likewise.
17999         (__NO_MATH_INLINES): Likewise.
18000         (CNCT): Likewise.
18001         (CONCAT): Likewise.
18002         (WRAPPER_NAME): Likewise.
18003         (WRAPPER_DECL): Likewise.
18004         (WRAPPER_DECL_ff): Likewise.
18005         (WRAPPER_DECL_fFF): Likewise.
18006         (VECTOR_WRAPPER): Likewise.
18007         (VECTOR_WRAPPER_ff): Likewise.
18008         (VECTOR_WRAPPER_fFF): Likewise.
18009         (VEC_LEN): New macro.
18010         * math/test-float-vlen8.h: Include test-float.h,
18011         test-math-no-inline.h and test-math-vector.h.
18012         (FLOAT): Remove macro.
18013         (FUNC): Likewise.
18014         (MATHCONST): Likewise.
18015         (PRINTF_EXPR): Likewise.
18016         (PRINTF_XEXPR): Likewise.
18017         (PRINTF_NEXPR): Likewise.
18018         (TEST_FLOAT): Likewise.
18019         (TEST_MATHVEC): Likewise.
18020         (__NO_MATH_INLINES): Likewise.
18021         (CNCT): Likewise.
18022         (CONCAT): Likewise.
18023         (WRAPPER_NAME): Likewise.
18024         (WRAPPER_DECL): Likewise.
18025         (WRAPPER_DECL_ff): Likewise.
18026         (WRAPPER_DECL_fFF): Likewise.
18027         (VECTOR_WRAPPER): Likewise.
18028         (VECTOR_WRAPPER_ff): Likewise.
18029         (VECTOR_WRAPPER_fFF): Likewise.
18030         (VEC_LEN): New macro.
18031         * math/test-float-vlen16.h: Include test-float.h,
18032         test-math-no-inline.h and test-math-vector.h.
18033         (FLOAT): Remove macro.
18034         (FUNC): Likewise.
18035         (MATHCONST): Likewise.
18036         (PRINTF_EXPR): Likewise.
18037         (PRINTF_XEXPR): Likewise.
18038         (PRINTF_NEXPR): Likewise.
18039         (TEST_FLOAT): Likewise.
18040         (TEST_MATHVEC): Likewise.
18041         (__NO_MATH_INLINES): Likewise.
18042         (CNCT): Likewise.
18043         (CONCAT): Likewise.
18044         (WRAPPER_NAME): Likewise.
18045         (WRAPPER_DECL): Likewise.
18046         (WRAPPER_DECL_ff): Likewise.
18047         (WRAPPER_DECL_fFF): Likewise.
18048         (VECTOR_WRAPPER): Likewise.
18049         (VECTOR_WRAPPER_ff): Likewise.
18050         (VECTOR_WRAPPER_fFF): Likewise.
18051         (VEC_LEN): New macro.
18052         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18053         test-vec-loop.h.
18054         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18056         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18057         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18058         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18059         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18060         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18062 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18064         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18065         (__getlogin_r): ... this.
18067 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18069         [BZ #18594]
18070         * math/s_ccosh.c (__ccosh): Compare with least normal value
18071         instead of comparing class with FP_SUBNORMAL.
18072         * math/s_ccoshf.c (__ccoshf): Likewise.
18073         * math/s_ccoshl.c (__ccoshl): Likewise.
18074         * math/s_cexp.c (__cexp): Likewise.
18075         * math/s_cexpf.c (__cexpf): Likewise.
18076         * math/s_cexpl.c (__cexpl): Likewise.
18077         * math/s_csin.c (__csin): Likewise.
18078         * math/s_csinf.c (__csinf): Likewise.
18079         * math/s_csinh.c (__csinh): Likewise.
18080         * math/s_csinhf.c (__csinhf): Likewise.
18081         * math/s_csinhl.c (__csinhl): Likewise.
18082         * math/s_csinl.c (__csinl): Likewise.
18083         * math/s_ctan.c (__ctan): Likewise.
18084         * math/s_ctanf.c (__ctanf): Likewise.
18085         * math/s_ctanh.c (__ctanh): Likewise.
18086         * math/s_ctanhf.c (__ctanhf): Likewise.
18087         * math/s_ctanhl.c (__ctanhl): Likewise.
18088         * math/s_ctanl.c (__ctanl): Likewise.
18089         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18090         csin, csinh, ctan and ctanh.
18091         * math/auto-libm-test-out: Regenerated.
18092         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18093         * sysdeps/i386/fpu/libm-test-ulps: Update.
18094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18096 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18098         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18099         return value is wrong, print the expected value too.
18101 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18103         [BZ #18585]
18104         * elf/readlib.c (is_gdb_python_file): New.
18105         (process_file): Don't issue errors on filenames with -gdb.py
18106         suffix.
18108 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18110         * math/auto-libm-test-in: Add more tests of csin and csinh.
18111         * math/auto-libm-test-out: Regenerated.
18112         * math/libm-test.inc (csin_test_data): Remove tests moved to
18113         auto-libm-test-in.
18114         (csinh_test_data): Likewise.
18116         [BZ #18593]
18117         * math/s_csin.c (__csin): Negate before rather than after possibly
18118         overflowing multiplication.
18119         * math/s_csinf.c (__csinf): Likewise.
18120         * math/s_csinh.c (__csinh): Likewise.
18121         * math/s_csinhf.c (__csinhf): Likewise.
18122         * math/s_csinhl.c (__csinhl): Likewise.
18123         * math/s_csinl.c (__csinl): Likewise.
18124         * math/auto-libm-test-in: Add some tests of csin and csinh.
18125         * math/auto-libm-test-out: Regenerated.
18126         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18127         (csinh_test_data): Likewise.
18128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18130         [BZ #18586]
18131         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18132         underflow exception for small results.
18134 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18137         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18138         variable and included header.
18139         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18140         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18141         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18142         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18143         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18147         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18148         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18149         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18150         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18151         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18152         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18153         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18154         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18156 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18158         [BZ #16526]
18159         [BZ #16538]
18160         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18161         (__sin): Force underflow exception for arguments with small
18162         absolute value.
18163         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18164         (__kernel_sinf): Force underflow exception for arguments with
18165         small absolute value.
18166         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18167         (__kernel_sincosl): Force underflow exception for arguments with
18168         small absolute value.
18169         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18170         (__kernel_sinl): Force underflow exception for arguments with
18171         small absolute value.
18172         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18173         (__kernel_sincosl): Force underflow exception for arguments with
18174         small absolute value.
18175         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18176         (__kernel_sinl): Force underflow exception for arguments with
18177         small absolute value.
18178         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18179         (__kernel_sinl): Force underflow exception for arguments with
18180         small absolute value.
18181         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18182         (__kernel_sinf): Force underflow exception for arguments with
18183         small absolute value.
18184         * math/auto-libm-test-in: Add more tests of sin and sincos.
18185         * math/auto-libm-test-out: Regenerated.
18187         [BZ #18245]
18188         [BZ #18583]
18189         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18190         (__kernel_standard_l): Use feholdexcept and fesetenv around
18191         conversion to double instead of special-casing overflow and
18192         underflow.
18193         * math/libm-test.inc (fmod_test_data): Add more tests.
18194         (remainder_test_data): Likewise.
18195         (sqrt_test_data): Likewise.
18197 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18199         [BZ #17403]
18200         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18201         atomic_read_barrier, atomic_write_barrier): Define.
18202         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18203         atomic_read_barrier, atomic_write_barrier): Define.
18205 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18207         * math/Makefile [$(PERL) != no]
18208         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18209         dependency on libm-test.stmp below the inclusion of Rules.
18211 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18213         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18214         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18215         and included header.
18216         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18224         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18225         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18226         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18227         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18228         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18229         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18230         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18231         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18232         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18233         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18234         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18236 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18238         [BZ #18371]
18239         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18240         intermediate but not final result might underflow.
18241         * math/s_csqrtf.c (__csqrtf): Likewise.
18242         * math/s_csqrtl.c (__csqrtl): Likewise.
18243         * math/auto-libm-test-in: Add more tests of csqrt.
18244         * math/auto-libm-test-out: Regenerated.
18245         * sysdeps/i386/fpu/libm-test-ulps: Update.
18247         [BZ #18219]
18248         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18249         threshold on absolute value of exponent for which scaling is used.
18250         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18251         * math/auto-libm-test-in: Add more tests of exp2.
18252         * math/auto-libm-test-out: Regenerated.
18254 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18256         [BZ #17977]
18257         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18258         when initializing interface list, based on the bug analysis
18259         and the patch proposed by Eric Newton.
18260         * resolv/tst-res_hconf_reorder.c: New test.
18261         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18262         tst-res_hconf_reorder.
18263         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18264         and $(shared-thread-library).
18265         (tst-res_hconf_reorder-ENV): New variable.
18267         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18268         in comment.
18270 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #16353]
18273         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18274         (__expm1): Force underflow exception for arguments with small
18275         absolute value.
18276         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18277         (__expm1f): Force underflow exception for arguments with small
18278         absolute value.
18279         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18280         (__expm1): Force underflow exception for arguments with small
18281         absolute value.
18282         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18283         (__expm1f): Force underflow exception for arguments with small
18284         absolute value.
18285         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18286         Check for small arguments before calling __expm1.
18287         * math/auto-libm-test-in: Do not mark underflow exceptions as
18288         possibly missing for bug 16353.
18289         * math/auto-libm-test-out: Regenerated.
18291 2015-06-22  Andreas Schwab  <schwab@suse.de>
18293         [BZ #18513]
18294         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18295         PTR queries.
18297 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18299         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18301         * string/strcoll_l.c: Remove unused struct element idxnow.
18303 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18305         [BZ #18569]
18306         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18307         underflow and return argument in case of subnormal argument.
18308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18309         Likewise.
18310         * math/auto-libm-test-in: Add more tests of expm1.
18311         * math/auto-libm-test-out: Regenerated.
18313         [BZ #16361]
18314         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18315         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18316         tiny results.
18317         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18318         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18319         tiny results.
18320         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18321         mark underflow exceptions as possibly missing for bug 16361.
18322         * math/auto-libm-test-out: Regenerated.
18324 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18326         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18327         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18328         Remove variable.
18329         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18330         (test-xfail-XOPEN2K8/utmpx.h/conform).
18332         * conform/conformtest.pl ($xerrors): New variable.
18333         (note_error): New function.
18334         (compiletest): New argument $xfail.  Use not_error.
18335         (runtest): Likewise.
18336         (top level): Handle xfail- lines.  Update calls to compiletest and
18337         runtest.  Handle xfail- and optional- in headers listed with
18338         allow-header.
18339         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18340         (O_EXEC): Likewise.
18341         (O_SEARCH): Likewise.
18342         * conform/data/stropts.h-data (ioctl): Likewise.
18343         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18344         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18345         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18346         (msghdr.msg_controllen): Likewise.
18347         (cmsghdr.cmsg_len): Likewise.
18348         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18349         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18350         variable.
18351         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18352         (test-xfail-XPG4/stropts.h/conform): Likewise.
18353         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18354         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18355         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18356         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18357         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18358         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18359         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18360         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18361         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18362         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18363         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18364         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18365         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18366         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18367         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18368         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18369         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18370         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18371         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18373 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18375         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18376         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18377         definitions for proper unfolding of __MATHDECL_VEC.
18379 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18381         * benchtests/bench-strcoll.c:
18382         Include string.h.
18383         (main): Remove unused variable res.
18385 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18387         * timezone/Makefile (%/UTC %/Universal):
18388         Generate test-result files for UTC and Universal.
18390 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18392         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18394 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #16350]
18397         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18398         for arguments with small absolute value.
18399         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18400         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18401         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18402         (__asinh): Force underflow exception for arguments with small
18403         absolute value.
18404         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18405         (__asinhf): Force underflow exception for arguments with small
18406         absolute value.
18407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18408         (__asinhl): Force underflow exception for arguments with small
18409         absolute value.
18410         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18411         (__asinhl): Force underflow exception for arguments with small
18412         absolute value.
18413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18414         (__asinhl): Force underflow exception for arguments with small
18415         absolute value.
18416         * math/auto-libm-test-in: Do not mark underflow exceptions as
18417         possibly missing for bug 16350.
18418         * math/auto-libm-test-out: Regenerated.
18420         * include/bits/ipc.h: Remove file.
18421         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18422         variable.
18423         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18424         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18425         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18426         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18427         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18428         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18429         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18430         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18431         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18433         * math/auto-libm-test-in: Remove spurious underflow allowance for
18434         tests of cexp.
18435         * math/auto-libm-test-out: Regenerated.
18437         [BZ #18558]
18438         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18439         unconditional definition.
18440         (MCAST_BLOCK_SOURCE): Likewise.
18441         (MCAST_UNBLOCK_SOURCE): Likewise.
18442         (MCAST_LEAVE_GROUP): Likewise.
18443         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18444         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18445         (MCAST_MSFILTER): Likewise.
18446         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18447         Remove variable.
18448         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18449         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18450         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18451         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18452         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18454 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18456         * NEWS: Mention addition of x86_64 vector sincosf.
18457         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18458         * math/test-float-vlen4.h: Likewise.
18459         * math/test-float-vlen8.h: Likewise.
18460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18461         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18463         * sysdeps/x86_64/fpu/Versions: New versions added.
18464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18466         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18470         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18471         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18472         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18473         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18474         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18475         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18476         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18477         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18478         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18479         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18480         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18481         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18482         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18483         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18484         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18486         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18487         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18489         * NEWS: Mention addition of x86_64 vector sincos.
18490         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18491         * math/math.h (__MATHDECL_VEC): New macro.
18492         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18493         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18494         declaration under condition.
18495         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18496         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18497         TEST_VEC_LOOP change.
18498         * math/test-double-vlen4.h: Likewise.
18499         * math/test-double-vlen8.h: Likewise.
18500         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18501         * math/test-float-vlen4.h: Likewise.
18502         * math/test-float-vlen8.h: Likewise.
18503         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18504         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18505         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18506         * sysdeps/x86_64/fpu/Versions: New versions added.
18507         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18508         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18509         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18510         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18513         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18514         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18515         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18516         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18517         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18518         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18519         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18520         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18521         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18522         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18523         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18524         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18525         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18526         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18527         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18528         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18529         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18530         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18532         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18533         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18534         redirections for powf.
18535         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18536         * sysdeps/x86_64/fpu/Versions: New versions added.
18537         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18538         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18539         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18540         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18545         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18546         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18547         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18548         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18549         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18550         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18551         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18552         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18553         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18554         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18555         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18556         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18557         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18559         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18560         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18561         * math/test-float-vlen16.h: Fixed 2 argument macro.
18562         * math/test-float-vlen4.h: Likewise.
18563         * math/test-float-vlen8.h: Likewise.
18564         * NEWS: Mention addition of x86_64 vector powf.
18566 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18568         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18569         and redefine.
18570         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18571         and redefine.
18572         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18573         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18574         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18576         [BZ #18553]
18577         * resource/getpriority.c (getpriority): Rename to __getpriority
18578         and define as weak alias of __getpriority.
18579         * resource/setpriority.c (setpriority): Rename to __setpriority
18580         and define as weak alias of __setpriority.
18581         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18582         __getpriority and define as weak alias of __getpriority.
18583         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18584         __setpriority and define as weak alias of __setpriority.
18585         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18586         strong name.
18587         (setpriority): Use __setpriority as strong name.
18588         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18589         __getpriority and define as weak alias of __getpriority.
18590         * include/sys/resource.h (__getpriority): Declare.  Use
18591         libc_hidden_proto.
18592         (__setpriority): Likewise.
18593         (getpriority): Don't use libc_hidden_proto.
18594         (setpriority): Likewise.
18595         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18596         getpriority.  Call __setpriority instead of setpriority.
18597         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18598         Remove variable.
18600         [BZ #18547]
18601         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18602         as weak alias of __getttynam.  Use prototype function definition.
18603         Call __setttyent, __getttyent and __endttyent instead of
18604         setttyent, getttyent and endttyent.
18605         (getttyent): Rename to __getttyent and define as weak alias of
18606         __getttyent.  Call __setttyent instead of setttyent.  Call
18607         __fgets_unlocked instead of fgets_unlocked.
18608         (setttyent): Rename to __setttyent and define as weak alias of
18609         __setttyent.
18610         (endttyent): Rename to __endttyent and define as weak alias of
18611         __endttyent.
18612         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18613         (__setttyent): Likewise.
18614         (__endttyent): Likewise.
18615         (getttyent): Don't use libc_hidden_proto.
18616         (setttyent): Likewise.
18617         (endttyent): Likewise.
18618         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18619         __endttyent instead of setttyent, getttyent and endttyent.
18620         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18621         Remove variable.
18623         [BZ #18546]
18624         * socket/recv.c (__recv): Use libc_hidden_def.
18625         * socket/socket.c (__socket): Likewise.
18626         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18627         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18628         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18629         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18630         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18631         libc_hidden_def.
18632         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18633         libc_hidden_weak.
18634         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18635         Use libc_hidden_proto.
18636         (__recv): Likewise.
18637         * socket/Versions (libc): Export __recv and __socket at version
18638         GLIBC_PRIVATE.
18639         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18640         instead of recv.
18641         (init_mq_netlink): Call __socket instead of socket.
18642         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18643         Remove variable.
18645         [BZ #18545]
18646         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18647         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18648         hidden_weak.
18649         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18650         define as alias of __mq_timedsend.  Use hidden_weak.
18651         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18652         __mq_timedsend as strong name.
18653         (mq_timedreceive): Use __mq_timedreceive as strong name.
18654         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18655         (__mq_timedreceive): Likewise.
18656         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18657         __mq_timedreceive instead of mq_timedreceive.
18658         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18659         instead of mq_timedsend.
18660         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18661         Remove variable.
18663         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18664         hidden_def and hidden_weak instead of libc_hidden_def and
18665         libc_hidden_weak.
18666         (top level): Refer to hidden_def in comment.
18667         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18668         macro.  Use it instead of libc_hidden_def.
18669         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18670         specify __GI_* name explicitly.
18671         (mq_timedreceive): Likewise.
18672         (mq_setattr): Likewise.
18674         [BZ #18544]
18675         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18676         __pthread_barrier_init and define as weak alias of
18677         __pthread_barrier_init.
18678         * sysdeps/sparc/nptl/pthread_barrier_init.c
18679         (pthread_barrier_init): Likewise.
18680         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18681         __pthread_barrier_wait and define as weak alias of
18682         __pthread_barrier_wait.
18683         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18684         (pthread_barrier_wait): Likewise.
18685         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18686         (pthread_barrier_wait): Likewise.
18687         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18688         (pthread_barrier_wait): Likewise.
18689         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18690         (pthread_barrier_wait): Likewise.
18691         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18692         __pthread_barrier_wait at version GLIBC_PRIVATE.
18693         * include/pthread.h (__pthread_barrier_init): Declare.
18694         (__pthread_barrier_wait): Likewise.
18695         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18696         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18697         (helper_thread): Likewise.
18698         (init_mq_netlink): Call __pthread_barrier_init instead of
18699         pthread_barrier_init.
18701         [BZ #18542]
18702         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18703         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18704         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18705         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18706         vswscanf.
18707         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18708         Remove variable.
18710         [BZ #18540]
18711         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18712         strong alias of _IO_fflush.  Use libc_hidden_def.
18713         * libio/iofflush_u.c (fflush_unlocked): Rename to
18714         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18715         Use libc_hidden_weak.
18716         * include/stdio.h (__fflush_unlocked): Declare.  Use
18717         libc_hidden_proto.
18718         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18719         fflush_unlocked.
18720         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18721         Remove variable.
18723         [BZ #18539]
18724         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18725         define as weak alias of __addseverity.
18726         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18727         Remove variable.
18728         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18729         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18730         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18732         [BZ #18536]
18733         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18734         (__tfind): Likewise.
18735         (__tdelete): Likewise.
18736         (__twalk): Likewise.
18737         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18738         __twalk to GLIBC_PRIVATE.
18739         * include/search.h (__tsearch): Use libc_hidden_proto.
18740         (__tfind): Likewise.
18741         (__tdelete): Likewise.
18742         (__twalk): Likewise.
18743         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18744         Call __tdelete instead of tdelete.
18745         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18746         tfind.  Call __tsearch instead of tsearch.
18747         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18748         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18749         Remove variable.
18750         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18752         [BZ #18534]
18753         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18754         (dprintf): Define as a weak alias of __dprintf, not a strong
18755         alias.
18756         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18757         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18758         dprintf.
18759         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18760         Remove variable.
18761         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18762         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18764         [BZ #18533]
18765         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18766         not a strong alias.
18767         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18768         Remove variable.
18770         [BZ #18532]
18771         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18772         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18773         (in6addr_loopback): Rename to __in6addr_loopback and define as
18774         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18775         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18776         libc_hidden_proto.
18777         (__in6addr_any): Likewise.
18778         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18779         in6addr_any.
18780         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18781         variable.
18782         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18784 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18786         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18787         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18789         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18790         redirections for pow.
18791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18792         * sysdeps/x86_64/fpu/Versions: New versions added.
18793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18794         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18795         build of SSE, AVX2 and AVX512 IFUNC versions.
18796         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18797         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18800         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18801         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18802         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18803         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18804         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18805         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18806         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18807         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18808         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18809         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18810         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18812         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18813         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18814         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18815         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18816         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18817         * NEWS: Mention addition of x86_64 vector pow.
18819         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18820         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18821         redirections for expf.
18822         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18823         * sysdeps/x86_64/fpu/Versions: New versions added.
18824         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18825         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18826         build of SSE, AVX2 and AVX512 IFUNC versions.
18827         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18830         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18831         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18832         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18833         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18834         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18835         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18836         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18837         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18838         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18839         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18840         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18841         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18842         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18843         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18845         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18846         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18847         * NEWS: Mention addition of x86_64 vector expf.
18849         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18850         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18851         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18852         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18853         redirections for exp.
18854         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18855         * sysdeps/x86_64/fpu/Versions: New versions added.
18856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18857         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18858         build of SSE, AVX2 and AVX512 IFUNC versions.
18859         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18860         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18861         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18862         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18863         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18864         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18865         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18866         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18867         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18868         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18869         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18870         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18871         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18872         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18875         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18876         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18877         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18878         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18879         * NEWS: Mention addition of x86_64 vector exp.
18881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18883         redirections for logf.
18884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18885         * sysdeps/x86_64/fpu/Versions: New versions added.
18886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18888         build of SSE, AVX2 and AVX512 IFUNC versions.
18889         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18890         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18891         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18892         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18893         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18894         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18895         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18896         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18897         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18898         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18899         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18900         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18901         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18902         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18903         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18904         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18905         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18906         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18907         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18908         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18909         * NEWS: Mention addition of x86_64 vector logf.
18911         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18912         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18914         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18915         redirections for log.
18916         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18917         * sysdeps/x86_64/fpu/Versions: New versions added.
18918         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18919         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18920         build of SSE, AVX2 and AVX512 IFUNC versions.
18921         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18922         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18923         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18924         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18925         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18926         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18927         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18928         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18929         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18930         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18931         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18932         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18933         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18934         test.
18935         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18936         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18937         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18938         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18939         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18940         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18941         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18942         * NEWS: Mention addition of x86_64 vector log.
18944 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18946         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18947         cfi_adjust_cfa_offset argument.
18948         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18949         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18951         [BZ #18034]
18952         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18953         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18954         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18955         ordering using ldar.
18956         (_dl_tlsdesc_dynamic): Likewise.
18957         (_dl_tlsdesc_return_lazy): Likewise.
18958         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18959         relaxed atomics instead of volatile and synchronize with release store.
18960         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18961         volatile.
18962         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18964 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18966         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18967         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18969         * sysdeps/x86_64/fpu/Versions: New versions added.
18970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18971         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18972         build of SSE, AVX2 and AVX512 IFUNC versions.
18973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18977         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18979         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18980         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18981         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18982         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18983         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18984         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18985         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18986         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18987         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18988         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18991         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18993         * NEWS: Mention addition of x86_64 vector sinf.
18995 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18997         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18998         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18999         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19000         Remove variable.
19001         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19002         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19004 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19006         [BZ #18530]
19007         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19008         strong alias of _IO_fputs.  Use libc_hidden_def.
19009         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19010         and define as weak alias of __fputs_unlocked.  Use
19011         libc_hidden_weak.
19012         * include/stdio.h (__fputs_unlocked): Declare.  Use
19013         libc_hidden_proto.
19014         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19015         fputs_unlocked.
19017         [BZ #18529]
19018         * resolv/netdb.h [__USE_POSIX]: Change condition to
19019         [__USE_XOPEN2K].
19020         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19021         not expect.
19022         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19023         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19024         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19025         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19026         [XPG4 || UNIX98] (AI_ALL): Likewise.
19027         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19028         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19029         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19030         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19031         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19032         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19033         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19034         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19035         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19036         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19037         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19038         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19039         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19040         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19041         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19042         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19043         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19044         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19045         [XPG4 || UNIX98] (gai_strerror): Likewise.
19046         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19047         [XPG4 || UNIX98] (getnameinfo): Likewise.
19049         [BZ #18528]
19050         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19051         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19052         __USE_XOPEN2K8].
19053         (getgrent): Likewise.
19054         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19055         expect.
19056         [XPG3 || POSIX2008] (endgrent): Likewise.
19057         [XPG3] (setgrent): Likewise.
19058         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19059         variable.
19060         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19062         [BZ #18527]
19063         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19064         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19065         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19066         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19067         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19068         * include/unistd.h (__getlogin_r): Declare.  Use
19069         libc_hidden_proto.
19070         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19071         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19072         variable.
19073         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19074         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19075         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19077 2015-06-12  Martin Sebor  <msebor@redhat.com>
19079         [BZ #18512]
19080         * Makerules (check-install-supported): New target.
19081         (install): Add check-install-supported as a dependency.
19082         * manual/install.texi (Installing the C Library): Document
19083         that overriding prefix and exec_prefix is not supported.
19084         Mention DESTDIR.
19085         * INSTALL: Regenerate from the above.
19087 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19089         [BZ #18519]
19090         * posix/Versions (libc): Export __libc_pread at version
19091         GLIBC_PRIVATE.
19092         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19093         instead of pread.
19094         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19095         variable.
19097         [BZ #18522]
19098         * misc/efgcvt_r.c
19099         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19100         (cvt_symbol): Use weak_alias instead of strong_alias.
19101         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19102         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19103         Remove variable.
19104         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19105         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19107         [BZ #18520]
19108         * inet/herrno.c (h_errno): Rename to __h_errno.
19109         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19110         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19111         to __h_errno instead of h_errno.
19112         * nptl/herrno.c (h_errno): Rename to __h_errno.
19113         (__h_errno_location): Refer to __h_errno not h_errno.
19114         * resolv/Versions (h_errno): Rename to __h_errno.
19115         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19116         Remove variable.
19117         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19119 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19121         * configure.ac: More strict check for AVX512 assembler support.
19122         * configure: Regenerated.
19124         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19125         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19127         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19129         * sysdeps/x86_64/fpu/Versions: New versions added.
19130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19131         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19132         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19135         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19136         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19137         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19138         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19139         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19140         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19141         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19142         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19143         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19144         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19145         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19146         test.
19147         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19148         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19149         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19150         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19151         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19152         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19153         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19154         * NEWS: Mention addition of x86_64 vector sin.
19156 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19158         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19159         comment.
19161 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19163         [BZ #18479]
19164         * nptl/pt-interp.c: New file.
19165         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19166         Add pt-interp.
19167         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19168         $(common-objpfx)runtime-linker.h.
19170 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19172         * Makeconfig (+interp): Remove unused variable.
19173         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19174         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19175         $(elf-objpfx)runtime-linker.h.
19176         ($(elf-objpfx)runtime-linker.h): Rename to
19177         $(common-objpfx)runtime-linker.h and move ...
19178         * Makerules [$(build-shared) = yes]: ... here.
19179         * elf/interp.c: Include <runtime-linker.h> instead of
19180         <elf/runtime-linker.h>.
19182 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19184         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19185         (__gettimeofday_syscall): Remove vsyscall fallback.
19186         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19187         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19188         Add syscall fallback function.
19189         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19190         if vDSO is not present.
19191         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19192         fallback function.
19193         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19194         present.
19195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19196         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19198 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19200         [BZ #18497]
19201         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19202         of wcscmp.
19203         (wcscmp): Define as weak alias of WCSCMP.
19204         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19205         wcscoll.
19206         (USE_HIDDEN_DEF): Define.
19207         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19208         __wcscoll.  Don't use libc_hidden_weak.
19209         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19210         wcscmp.
19211         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19212         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19213         __GI_wcscmp.
19214         (weak_alias): Undefine and redefine.
19215         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19216         __wcscmp and define as weak alias of __wcscmp.
19217         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19218         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19219         (__wcscoll): Likewise.
19220         (wcscmp): Don't use libc_hidden_proto.
19221         (wcscoll): Likewise.
19222         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19223         wcscoll.
19224         * posix/regexec.c (check_node_accept_bytes): Likewise.
19225         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19226         variable.
19227         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19228         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19230         [BZ #18507]
19231         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19232         __fstatvfs and define as weak alias of __fstatvfs.  Use
19233         libc_hidden_weak.
19234         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19235         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19236         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19237         Define as alias of __fstatvfs, not fstatvfs.
19238         (fstatvfs64): Likewise.
19239         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19240         Define as alias of __statvfs, not statvfs.
19241         (statvfs64): Likewise.
19242         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19243         Remove variable.
19245 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19248         (HAVE_GETCPU_VSYSCALL): Define.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19250         (HAVE_GETCPU_VSYSCALL): Likewise.
19251         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19252         * sysdeps/unix/sysv/linux/sched_getcpu.c
19253         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19254         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19255         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19256         prototype.
19257         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19258         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19259         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19261         Define.
19262         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19263         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19265         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19267 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19269         * sysdeps/x86_64/fpu/Makefile: New file.
19270         * sysdeps/x86_64/fpu/Versions: New file.
19271         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19272         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19273         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19274         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19275         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19276         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19277         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19280         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19281         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19282         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19283         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19284         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19285         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19286         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19287         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19288         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19289         * sysdeps/x86_64/configure: Regenerated.
19290         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19291         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19292         * manual/install.texi (Configuring and compiling): Document
19293         --disable-mathvec.
19294         * INSTALL: Regenerated.
19295         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19297         * math/Makefile: Added rules for vector tests.
19298         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19299         declaration under condition.
19300         * math/test-double-vlen2.h: New file.
19301         * math/test-double-vlen4.h: New file.
19302         * math/test-double-vlen8.h: New file.
19303         * math/test-vec-loop.h: Added initialization macro.
19304         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19306         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19307         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19308         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19311         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19312         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19313         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19314         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19316         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19317         * sysdeps/x86_64/fpu/Versions: New versions added.
19318         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19319         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19320         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19321         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19322         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19323         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19324         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19325         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19326         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19327         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19328         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19329         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19330         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19331         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19332         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19334         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19335         * NEWS: Mention addition of x86_64 vector cosf.
19337         * math/Makefile: Added CFLAGS for new tests.
19338         * math/test-float-vlen16.h: New file.
19339         * math/test-float-vlen4.h: New file.
19340         * math/test-float-vlen8.h: New file.
19341         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19342         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19344         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19345         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19346         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19347         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19350         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19351         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19353 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19355         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19356         * locale/programs/ld-ctype.c: Likewise.
19358 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19360         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19361         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19362         bit_ZMM16_31_state): New macro.
19363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19364         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19366 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19368         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19370 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19372         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19374 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19376         [BZ #18498]
19377         * libio/memstream.c (open_memstream): Rename to __open_memstream
19378         and define as weak alias of __open_memstream.
19379         * include/stdio.h (__open_memstream): Declare.  Use
19380         libc_hidden_proto.
19381         (open_memstream): Don't use libc_hidden_proto.
19382         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19383         open_memstream.
19384         * posix/getopt.c (_getopt_internal_r): Likewise.
19385         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19386         variable.
19387         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19388         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19389         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19391         [BZ #18496]
19392         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19393         instead of wcrtomb.
19395         [BZ #18483]
19396         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19397         [__USE_XOPEN2K8].  Remove redundant #endif.
19398         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19399         Remove redundant #if.
19400         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19401         Remove variable.
19402         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19403         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19405         [BZ #18495]
19406         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19407         (__iswlower): Likewise.
19408         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19409         (__iswlower): Likewise.
19410         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19411         instead of towlower.
19412         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19413         instead of iswlower.  Call __towupper instead of towupper.
19414         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19415         instead of iswalnum.
19417 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19419         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19420         errors to stderr.
19422 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19424         [BZ #15661]
19425         [BZ #17322]
19426         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19427         Check for overflow properly.  Check for O_APPEND.  Ignore large
19428         file system block sizes.  Add comments about problems.
19429         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19430         * manual/filesys.texi (Storage Allocation): New node.
19432 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19434         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19435         cancellable syscalls.
19436         (SYS_ify): Add guard to no redefine it.
19437         (INLINE_SYSCALL): Likewise.
19438         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19439         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19440         SYSCALL_CANCEL instead.
19441         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19442         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19443         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19444         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19445         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19446         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19447         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19448         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19449         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19450         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19451         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19452         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19453         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19454         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19455         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19457         Likewise.
19458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19459         (__libc_pread64): Likewise.
19460         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19461         (__libc_preadv): Likewise.
19462         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19463         (__libc_readv64): Likewise.
19464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19465         (__libc_pwrite): Likewise.
19466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19467         (__libc_pwrite64): Likewise.
19468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19469         (__libc_pwritev): Likewise.
19470         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19471         (__libc_pwritev64): Likewise.
19472         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19473         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19474         (sync_file_range): Likewise.
19475         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19476         Likewise.
19477         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19478         Likewise.
19479         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19480         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19481         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19482         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19483         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19484         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19485         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19486         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19488         Likewise.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19490         (__libc_read64): Likewise.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19492         Likewise.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19494         Likewise.
19495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19496         Likewise.
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19498         Likewise.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19500         (__libc_pread64): Likewise.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19502         Likewise.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19504         (__libc_pwrite64): Likewise.
19505         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19506         (sync_file_range): Likewise.
19507         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19508         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19509         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19510         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19511         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19512         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19513         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19514         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19515         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19516         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19517         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19518         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19519         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19520         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19521         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19522         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19523         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19524         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19526         Likewise.
19527         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19528         Likewise.
19529         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19530         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19531         Likewise.
19532         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19533         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19534         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19535         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19536         Likewise.
19537         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19538         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19539         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19540         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19541         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19543 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19545         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19546         Include dl-vdso.
19547         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19548         Use VDSO routines for gettimeofday, clock_gettime if
19549         available.
19550         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19551         Declare VDSO symbols.
19552         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19553         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19554         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19555         * sysdeps/unix/sysv/linux/arm/Versions: Add
19556         __vdso_clock_gettime.
19558 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19560         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19561         be an inline implementation regardless of library is built within.
19562         (open_not_cancel_2): Likewise.
19563         (__read_nocancel): Likewise.
19564         (__write_nocancel): Likewise.
19565         (openat_not_cancel): Likewise.
19566         (openat_not_cancel_3): Likewise.
19567         (openat64_not_cancel): Likewise.
19568         (openat64_not_cancel_3): Likewise.
19569         (__close_nocancel): Likewise.
19570         (pause_not_cancel): Likewise.
19571         (nanosleep_not_cancel): Likewise.
19572         (sigsuspend_not_cancel): Likewise.
19574 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19576         [BZ #14958]
19577         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19578         wake-up.
19579         (__pthread_rwlock_rdlock_slow): Likewise.
19580         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19581         Likewise.
19582         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19583         Likewise.
19584         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19585         * nptl/tst-rwlock16.c: New file.
19586         * nptl/Makefile (tests): Add new test.
19588 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19590         [BZ #18324]
19591         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19592         missing wake-up of readers.
19593         * nptl/tst-rwlock15.c: New file.
19594         * nptl/Makefile (tests): Add new test.
19596 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19598         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19599         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19600         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19601         and __nacl_supply_interface_rtld.
19602         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19603         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19604         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19605         Add __nacl_supply_interface_rtld.
19606         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19608 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19610         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19611         isfinite.
19612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19613         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19615 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19617         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19618         __signbit* with standard C99 macros.
19619         * math/e_exp10l.c: Likewise.
19620         * math/e_exp2l.c: Likewise.
19621         * math/e_scalb.c: Likewise.
19622         * math/e_scalbf.c: Likewise.
19623         * math/e_scalbl.c: Likewise.
19624         * math/s_ldexp.c: Likewise.
19625         * math/s_ldexpf.c: Likewise.
19626         * math/s_ldexpl.c: Likewise.
19627         * math/w_atan2.c: Likewise.
19628         * math/w_atan2f.c: Likewise.
19629         * math/w_atan2l.c: Likewise.
19630         * math/w_cosh.c: Likewise.
19631         * math/w_coshf.c: Likewise.
19632         * math/w_coshl.c: Likewise.
19633         * math/w_exp10.c: Likewise.
19634         * math/w_exp10f.c: Likewise.
19635         * math/w_exp10l.c: Likewise.
19636         * math/w_exp2.c: Likewise.
19637         * math/w_exp2f.c: Likewise.
19638         * math/w_exp2l.c: Likewise.
19639         * math/w_fmod.c: Likewise.
19640         * math/w_fmodf.c: Likewise.
19641         * math/w_fmodl.c: Likewise.
19642         * math/w_hypot.c: Likewise.
19643         * math/w_hypotf.c: Likewise.
19644         * math/w_hypotl.c: Likewise.
19645         * math/w_jnl.c: Likewise.
19646         * math/w_lgamma.c: Likewise.
19647         * math/w_lgamma_r.c: Likewise.
19648         * math/w_lgammaf.c: Likewise.
19649         * math/w_lgammaf_r.c: Likewise.
19650         * math/w_lgammal.c: Likewise.
19651         * math/w_lgammal_r.c: Likewise.
19652         * math/w_pow.c: Likewise.
19653         * math/w_powf.c: Likewise.
19654         * math/w_powl.c: Likewise.
19655         * math/w_remainder.c: Likewise.
19656         * math/w_remainderf.c: Likewise.
19657         * math/w_remainderl.c: Likewise.
19658         * math/w_scalb.c: Likewise.
19659         * math/w_scalbf.c: Likewise.
19660         * math/w_scalbl.c: Likewise.
19661         * math/w_scalbln.c: Likewise.
19662         * math/w_scalblnf.c: Likewise.
19663         * math/w_scalblnl.c: Likewise.
19664         * math/w_sinh.c: Likewise.
19665         * math/w_sinhf.c: Likewise.
19666         * math/w_sinhl.c: Likewise.
19667         * math/w_tgamma.c: Likewise.
19668         * math/w_tgammaf.c: Likewise.
19669         * math/w_tgammal.c: Likewise.
19670         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19671         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19672         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19673         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19674         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19676         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19677         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19678         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19679         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19680         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19681         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19682         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19683         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19684         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19685         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19686         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19687         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19688         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19690         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19691         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19692         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19694         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19695         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19696         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19697         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19698         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19699         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19700         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19701         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19702         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19703         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19704         * stdio-common/printf_fp.c: Likewise.
19705         * stdio-common/printf_fphex.c: Likewise.
19706         * stdio-common/printf_size.c: Likewise.
19708 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19710         [BZ #18470]
19711         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19712         strnlen.
19713         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19714         Remove variable.
19715         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19716         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19717         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19718         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19719         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19720         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19721         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19722         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19723         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19724         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19726         [BZ #18468]
19727         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19728         weak alias of __wmemchr.  Use libc_hidden_weak.
19729         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19730         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19731         instead of wmemchr.
19733 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19735         [BZ #18383]
19736         * elf/tst-tlsalign-extern.c: New file.
19737         * elf/tst-tlsalign-extern-static.c: New file.
19738         * elf/tst-tlsalign-vars.c: New file.
19739         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19740         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19741         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19742         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19743         (test-xfail-tst-tlsalign-extern-static): New variable.
19745 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19747         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19748         Use variable name _sc_err instead of err.
19749         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19750         instead of ret.
19751         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19752         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19753         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19754         (INLINE_SYSCALL): Likewise.
19756         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19757         * include/string.h (__strnlen): Use libc_hidden_proto.
19758         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19759         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19760         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19761         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19762         (libc_hidden_def): Undefine and redefine.
19763         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19764         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19765         __GI_strnlen.
19766         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19767         libc_hidden_def.
19768         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19770         [BZ #18469]
19771         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19772         weak alias of __towlower.  Use libc_hidden_weak.
19773         (towupper): Rename to __towupper and define as weak alias of
19774         __towupper.  Use libc_hidden_weak.
19775         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19776         (__towupper): Likewise.
19777         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19778         __towlower instead of towlower.
19780 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19782         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19783         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19785 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19787         * sysdeps/aarch64/libm-test-ulps: Update.
19789 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19791         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19792         Define.
19793         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19795         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19796         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19797         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19798         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19799         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19801 2015-06-01  Martin Sebor  <msebor@redhat.com>
19803         [BZ #18116]
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19805         (__setcontext): Use extended four-operand version of mtsf whenever
19806         possible.
19807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19808         (__novec_swapcontext): Likewise.
19810 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19812         * benchtests/scripts/compare_bench.py: New file.
19813         * benchtests/scripts/import_bench.py (mean): New function.
19814         (split_list): Likewise.
19815         (do_for_all_timings): Likewise.
19816         (compress_timings): Likewise.
19818         * benchtests/scripts/import_bench.py: New file.
19819         * benchtests/scripts/validate_benchout.py: Import import_bench
19820         instead of jsonschema.
19821         (validate_bench): Remove function.
19822         (main): Use import_bench.
19824 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19826         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19827         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19829 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19833 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19835         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19836         set THREAD_SELF->tid to a magic value and futex-wake it.
19837         Pass its address to the thread_exit system call.
19838         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19839         bit is clear.
19840         * sysdeps/nacl/lowlevellock.h: New file.
19841         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19843         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19844         Add TIMEOUT to current time, don't subtract it.
19846 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19848         [BZ #2981]
19849         [BZ #18422]
19850         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19851         ($(objpfx)tst-audit2.out): Also depend on
19852         $(objpfx)tst-auditmod9b.so.
19853         * elf/tst-audit2.c: Include <dlfcn.h>.
19854         (calloc_called): New.
19855         (calloc): Allow to be called more than once.
19856         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19858 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19860         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19861         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19863 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19865         * stdlib/monetary.h: Fix comment.
19867 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19869         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19870         Avoid using variables in #defines that might cause shadowing.
19871         (INTERNAL_VSYSCALL_CALL): Likewise.
19873 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19875         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19877         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19878         * nptl/lll_timedlock_wait.c: ... to this new file.
19879         * nptl/Makefile (libpthread-routines): Add it.
19880         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19881         * nptl/lll_timedwait_tid.c: ... to this new file.
19882         * nptl/Makefile (libpthread-routines): Add it.
19883         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19884         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19885         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19886         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19887         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19888         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19889         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19890         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19891         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19892         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19894 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19896         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19897         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19898         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19900         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19902         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19903         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19904         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19905         * sysdeps/unix/sysv/linux/tile/sysdep.h
19906         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19907         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19908         using vDSO syscall macro.
19910 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19912         [BZ #17293]
19913         * uk_UA: Fix sorting order for Ukrainian locale
19915 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19917         * stdlib/monetary.h: Fix comment.
19919 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19921         [BZ #18234]
19922         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19923         st_mtim and st_ctim members.
19924         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19925         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19926         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19927         (struct stat64): Likewise.
19928         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19929         (struct stat64): Likewise.
19930         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19931         (struct stat64): Likewise.
19933 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19935         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19936         Define and include sysdep-vdso.h.
19937         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19938         Likewise.
19939         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19940         Likewise.
19941         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19942         Define with VDSO_SYMBOL and use PTR_MANGLE.
19943         (__vdso_clock_gettime): Likewise.
19944         (__vdso_clock_getres): Likewise.
19945         (_libc_vdso_platform_setup): Likewise.
19946         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19947         Likewise.
19948         (_libc_vdso_platform_setup): Likewise.
19949         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19950         Likewise.
19951         (__vdso_clock_gettime): Likewise.
19952         (__vdso_clock_getres): Likewise.
19953         (__vdso_get_tbfreq): Likewise.
19954         (__vdso_getcpu): Likewise.
19955         (__vdso_time): Likewise.
19956         (__vdso_sigtramp_rt64): Likewise.
19957         (__vdso_signtramp32): Likewise.
19958         (__vdso_sigtramp_rt32): Likewise.
19959         (_libc_vdso_platform_setup): Likewise.
19960         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19961         Likewise.
19962         (__vdso_clock_gettime): Likewise.
19963         (__vdso_clock_getres): Likewise.
19964         (_libc_vdso_platform_setup): Likewise.
19965         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19966         Likewise.
19967         (__vdso_clock_gettime): Likewise.
19968         (_libc_vdso_platform_setup): Likewise.
19969         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19970         Likewise.
19971         (__vdso_getcpu): Likewise.
19972         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19973         Use VDSO_SYMBOL macro to define.
19974         (__vdso_clock_gettime): Likewise.
19975         (__vdso_clock_getres): Likewise.
19976         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19977         Likewise.
19978         (__vdso_clock_gettime): Likewise.
19979         (__vdso_clock_getres): Likewise.
19980         (__vdso_get_tbfreq): Likewise.
19981         (__vdso_getcpu): Likewise.
19982         (__vdso_time): Likewise.
19983         (__vdso_sigtramp_rt64): Likewise.
19984         (__vdso_signtramp32): Likewise.
19985         (__vdso_sigtramp_rt32): Likewise.
19986         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19987         Likewise.
19988         (__vdso_clock_gettime): Likewise.
19989         (__vdso_clock_getres): Likewise.
19990         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19991         Likewise.
19992         (__vdso_clock_gettime): Likewise.
19993         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19994         Likewise.
19995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19996         macro.
19997         (INTERNAL_VSYSCALL): Likewise.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19999         Remove macro.
20000         (INTERNAL_VSYSCALL): Likewise.
20001         (INTERNAL_VSYSCALL_NCS): Likewise.
20002         (INTERNAL_VSYSCALL_CALL): New macro.
20003         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20005         Likewise.
20006         (INTERNAL_VSYSCALL): Likewise.
20007         (INTERNAL_VSYSCALL_NCS): Likewise.
20008         (INTERNAL_VSYSCALL_CALL): New macro.
20009         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20011         (INLINE_VSYSCALL): Remove macro.
20012         (INTERNAL_VSYSCALL): Remove macro.
20013         (INTERNAL_VSYSCALL_NCS): Remove macro.
20014         (INTERNAL_VSYSCALL_CALL): New macro.
20015         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20016         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20017         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20018         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20019         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20021         (INLINE_VSYSCALL): Remove macro.
20022         (INTERNAL_VSYSCALL): Likewise.
20023         (INTERNAL_VSYSCALL_NCS): Likewise.
20024         (INTERNAL_VSYSCALL_CALL): New macro.
20025         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20026         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20027         PTR_DEMANGLE on vDSO pointer.
20028         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20029         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20030         macro.
20031         (INTERNAL_SYSCALL): Likewise.
20032         (INTERNAL_VSYSCALL_NCS): Remove macro.
20033         (INTERNAL_VSYSCALL_CALL): New macro.
20034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20035         Remove macro.
20036         (INTERNAL_VSYSCALL): Likewise.
20037         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20038         sysdep-vdso.h instead of libc-vdso.h.
20039         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20040         definition.
20041         (INLINE_VSYSCALL): Likewise.
20042         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20043         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20044         definition.
20045         (INLINE_VSYSCALL): Likewise.
20046         (INTERNAL_VSYSCALL): Likewise.
20047         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20048         * sysdeps/unix/sysv/linux/timespec_get.c
20049         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20050         (timespec_get): Use ANSI prototype.
20051         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20052         and definition for Linux.
20054 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20056         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20057         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20059 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20061         [BZ #2981]
20062         [BZ #18410]
20063         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20064         for missing DT_PLTRELSZ.
20066 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20068         Remove obsolete aliases that broke 'locale -a'
20069         [BZ #18412]
20070         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20071         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20072         breaking some applications that use 'locale -a' output.
20073         Change the encoding of this file from Latin-1 to ASCII to avoid
20074         other potential problems with people grepping this file.
20076 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20078         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20079         -fasynchronous-unwind-tables.
20080         (CFLAGS-sendto.c): Likewise.
20081         (CFLAGS-sendmsg.c): Likewise.
20082         (CFLAGS-connect.c): Likewise.
20083         (CFLAGS-recvmsg.c): Likewise.
20084         (CFLAGS-recvfrom.c): Likewise.
20085         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20086         (SOCKETCALL): New macro: non-cancellable socketcall.
20087         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20088         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20089         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20090         * sysdeps/unix/sysv/linux/accept.c: New file.
20091         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20092         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20093         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20094         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20095         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20096         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20097         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20098         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20099         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20100         * sysdeps/unix/sysv/linux/send.c: Likewise.
20101         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20102         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20103         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20104         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20105         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20106         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20107         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20108         prototype.
20109         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20110         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20111         instead of __internal_xxx function.
20112         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20113         prototype.
20114         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20115         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20116         instead of __internal_xxx function.
20117         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20118         prototype.
20119         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20120         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20121         instead of __internal_xxx function.
20122         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20123         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20124         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20125         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20126         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20127         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20128         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20129         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20130         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20131         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20132         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20133         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20134         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20135         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20136         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20137         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20138         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20139         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20140         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20141         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20144         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20145         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20146         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20147         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20148         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20149         * sysdeps/unix/sysv/linux/send.S: Likewise.
20150         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20151         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20152         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20153         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20154         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20155         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20156         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20157         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20158         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20159         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20160         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20161         socketcall is implemented in GLIBC.
20163 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20165         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20166         (__fma): Ignore uninitialized warnings around packing.
20167         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20168         (__fmaf): Ignore uninitialized warnings around packing.
20169         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20170         (__fmal): Ignore uninitialized warnings around packing.
20172         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20173         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20174         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20175         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20177         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20178         switch statement into default case.
20179         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20181         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20182         a conditional in forcing "inexact".
20183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20184         Likewise.
20186 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20188         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20189         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20190         for each INTERNAL_SYSCALL use.
20192 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20194         [BZ #438]
20195         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20196         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20197         variable.
20199         [BZ #18444]
20200         * string/basename.c (basename): Rename to __basename and define as
20201         weak alias of __basename.  Use libc_hidden_weak.
20202         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20203         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20204         __basename instead of basename.
20205         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20206         Remove variable.
20207         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20209 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20211         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20212         (_IO_JUMPS_FILE_plus): New.
20213         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20214         _IO_CAST_FIELD_ACCESS.
20215         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20216         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20217         * libio/freopen.c (freopen): Likewise.
20218         * libio/freopen64.c (freopen64): Likewise.
20219         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20220         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20221         * libio/iofwide.c (_IO_fwide): Likewise.
20222         * libio/memstream.c (open_memstream): Likewise.
20223         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20224         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20225         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20227 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20229         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20230         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20231         NADJ.
20232         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20233         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20234         NADJ.
20235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20236         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20237         NADJ.
20239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20240         (p == 4) case.
20242         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20243         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20244         Remove variable.
20245         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20246         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20247         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20249 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20251         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20252         Adjust jump table label generation macros.
20254 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20256         * stdio-common/vfprintf.c (vfprintf): Move local variables
20257         args_malloced, specs, specs_malloced, and the code after
20258         do_positional to the printf_positional function.
20259         (printf_positional): New function.
20261 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20263         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20264         function.
20265         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20266         STEP4_TABLE, process_arg): Move macro definitions
20267         out of the vfprintf function.  (Cosmetic change only.)
20269 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20271         * benchtests/Makefile (stdio-common-bench): Define.
20272         (benchset): Add stdio-common-bench.
20273         * sprintf-inputs: New file.
20274         * sprintf-source.c: New file.
20276 2015-05-21  Andreas Schwab  <schwab@suse.de>
20278         [BZ #13028]
20279         [BZ #17053]
20280         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20281         of struct __res_state.
20282         * resolv/res_send.c (__libc_res_nsend): Likewise.
20283         (get_nsaddr): New function.
20284         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20285         statp directly.
20287 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20289         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20290         -D_POSIX_C_SOURCE=199506L.
20292         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20294         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20295         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20296         Do not mention otherwise.
20297         [POSIX] (_XOPEN_VERSION): Do not expect.
20298         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20299         [POSIX] (_POSIX2_C_BIND): Likewise.
20300         [POSIX] (_POSIX2_VERSION): Likewise.
20301         [POSIX] (_XOPEN_XPG2): Likewise.
20302         [POSIX] (_XOPEN_XPG3): Likewise.
20303         [POSIX] (_XOPEN_XPG4): Likewise.
20304         [POSIX] (_XOPEN_UNIX): Likewise.
20305         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20306         [POSIX] (_POSIX_BARRIERS): Likewise.
20307         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20308         [POSIX] (_POSIX_CPUTIME): Likewise.
20309         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20310         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20311         [POSIX] (_POSIX_SHELL): Likewise.
20312         [POSIX] (_POSIX_SPAWN): Likewise.
20313         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20314         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20315         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20316         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20317         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20318         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20319         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20320         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20321         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20322         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20323         [POSIX] (_POSIX2_PBS): Likewise.
20324         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20325         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20326         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20327         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20328         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20329         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20330         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20331         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20332         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20333         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20334         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20335         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20336         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20337         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20338         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20339         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20340         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20341         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20342         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20343         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20344         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20345         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20346         [POSIX] (_SC_2_C_BIND): Likewise.
20347         [POSIX] (_SC_2_C_VERSION): Likewise.
20348         [POSIX] (_SC_2_PBS): Likewise.
20349         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20350         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20351         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20352         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20353         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20354         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20355         [POSIX] (_SC_BARRIERS): Likewise.
20356         [POSIX] (_SC_BASE): Likewise.
20357         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20358         [POSIX] (_SC_DEVICE_IO): Likewise.
20359         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20360         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20361         [POSIX] (_SC_FD_MGMT): Likewise.
20362         [POSIX] (_SC_FIFO): Likewise.
20363         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20364         [POSIX] (_SC_FILE_LOCKING): Likewise.
20365         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20366         [POSIX] (_SC_IOV_MAX): Likewise.
20367         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20368         [POSIX] (_SC_NETWORKING): Likewise.
20369         [POSIX] (_SC_PAGE_SIZE): Likewise.
20370         [POSIX] (_SC_PASS_MAX): Likewise.
20371         [POSIX] (_SC_PIPE): Likewise.
20372         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20373         [POSIX] (_SC_REGEXP): Likewise.
20374         [POSIX] (_SC_SHELL): Likewise.
20375         [POSIX] (_SC_SIGNALS): Likewise.
20376         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20377         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20378         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20379         [POSIX] (_SC_USER_GROUPS): Likewise.
20380         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20381         [POSIX] (_SC_STREAMS): Likewise.
20382         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20383         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20384         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20385         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20386         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20387         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20388         [POSIX] (_PC_FILESIZEBITS): Likewise.
20389         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20390         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20391         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20392         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20393         [POSIX] (uid_t): Likewise.
20394         [POSIX] (gid_t): Likewise.
20395         [POSIX] (off_t): Likewise.
20396         [POSIX] (pid_t): Likewise.
20397         [POSIX] (cuserid): Allow.
20398         (_SC_2_CHAR_TERM): Require constant.
20399         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20400         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20401         variable.
20403 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20405         * sysdeps/nacl/pthread-pids.h: New file.
20406         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20407         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20409         * nptl/pthread-pids.h: New file.
20410         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20411         * nptl/nptl-init.c: Include <pthread-pids.h>.
20412         (__pthread_initialize_minimal_internal):
20413         Call __pthread_initialize_pids instead of set_tid_address syscall.
20415         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20416         * sysdeps/posix/usleep.c: ... here.
20418 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20420         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20421         call_pselect6 object.
20422         [$(subdir) = io]: Remove call_sync_file_range object.
20423         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20424         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20425         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20426         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20428 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20430         * math/s_cproj.c: Add include "math_private.h".
20431         * math/s_cprojf.c: Likewise.
20432         * math/s_cprojl.c: Likewise.
20434 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20436         [BZ #18244]
20437         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20438         high mantissa bit when testing whether P is a NaN.
20439         * math/libm-test.inc (remainder_test_data): Add more tests.
20440         (remquo_test_data): Likewise.
20442         [BZ #18049]
20443         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20444         below -32, return the argument, with underflow if subnormal.
20445         * math/auto-libm-test-in: Add more tests of atanh.
20446         * math/auto-libm-test-out: Regenerated.
20448 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20450         [BZ #18434]
20451         * nptl/tst-sem15.c: New file.
20452         * nptl/Makefile (tests): Add it.
20453         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20454         s/<</>>/ to fix typo in EOVERFLOW check.
20455         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20457 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459         * manual/strings.texi (envz_remove): Fix typo in safety
20460         annotations.
20462 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20463             Steve Ellcey  <sellcey@imgtec.com>
20465         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20466         in order to avoid strict alias warnings.
20467         (iruserok_af): Ditto for ra.
20469 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20471         [BZ #17581]
20472         * malloc/hooks.c
20473         (magicbyte): Convert to a function and avoid returning 0x01.
20474         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20475         (mem2chunk_check): Fix unsigned comparisons to zero.
20476         Hoist defs of sz and magic.
20478 2015-05-19  Richard Henderson  <rth@redhat.com>
20480         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20482         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20484 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20486         [BZ #16159]
20487         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20488         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20489         (reused_arena): Find a non-corrupt arena.
20490         (heap_trim): Pass arena to unlink.
20491         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20492         malloc_printerr.
20493         (top_check): Likewise.
20494         (free_check): Likewise.
20495         (realloc_check): Likewise.
20496         * malloc/malloc.c (malloc_printerr): Add arena argument.
20497         (unlink): Likewise.
20498         (munmap_chunk): Adjust.
20499         (ARENA_CORRUPTION_BIT): New macro.
20500         (arena_is_corrupt): Likewise.
20501         (set_arena_corrupt): Likewise.
20502         (sysmalloc): Use mmap if there are no usable arenas.
20503         (_int_malloc): Likewise.
20504         (__libc_malloc): Don't fail if arena_get returns NULL.
20505         (_mid_memalign): Likewise.
20506         (__libc_calloc): Likewise.
20507         (__libc_realloc): Adjust for additional argument to
20508         malloc_printerr.
20509         (_int_free): Likewise.
20510         (malloc_consolidate): Likewise.
20511         (_int_realloc): Likewise.
20512         (_int_memalign): Don't touch corrupt arenas.
20513         * malloc/tst-malloc-backtrace.c: New test case.
20515         * Makefile (summarize-tests): Fix return value on success.
20517         * manual/string.texi (Envz Functions): Add envz_remove.
20519 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20521         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20522         (invalid_name): New function, broken out of ...
20523         (__opendirat): ... here.  Call it.
20524         (need_isdir_precheck): New function, broken out of ...
20525         (__opendirat): ... here.  Call it.
20526         Use __fxstatat64, not __xstatat64.
20527         (opendir_oflags): New function, broken out of ...
20528         (__opendirat): ... here.  Call it.
20529         (opendir_tail): New function, broken out of ...
20530         (__opendirat): ... here.  Call it.
20531         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20532         opendir_tail, rather than punting to __opendirat.
20533         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20535 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20537         * .gitignore: Ignore generated *.pyc.
20539 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20541         * include/stdio.h: Define __need_wint_t.
20542         * test-skeleton.c: Avoid `for' loop initial declaration.
20543         * nptl/tst-initializers1.c: Use test-skeleton.c.
20545 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20547         [BZ #18418]
20548         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20550 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20552         [BZ #16352]
20553         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20554         (__ieee754_atanh): Force underflow exception for results with
20555         small absolute value.
20556         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20557         (__ieee754_atanhf): Force underflow exception for results with
20558         small absolute value.
20559         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20560         (__ieee754_atanh): Force underflow exception for results with
20561         small absolute value.
20562         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20563         (__ieee754_atanhf): Force underflow exception for results with
20564         small absolute value.
20565         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20566         (__ieee754_atanhl): Force underflow exception for results with
20567         small absolute value.
20568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20569         (__ieee754_atanhl): Force underflow exception for results with
20570         small absolute value.
20571         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20572         (__ieee754_atanhl): Force underflow exception for results with
20573         small absolute value.
20574         * math/auto-libm-test-in: Do not allow missing underflow
20575         exceptions from atanh.
20576         * math/auto-libm-test-out: Regenerated.
20578         [BZ #18221]
20579         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20580         2**-28 as threshold for returning x or +/- 1/x.
20581         * math/auto-libm-test-in: Add more tests of tan.
20582         * math/auto-libm-test-out: Regenerated.
20584         [BZ #18220]
20585         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20586         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20587         * math/auto-libm-test-in: Add another test of lgamma.
20588         * math/auto-libm-test-out: Regenerated.
20590 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20592         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20593         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20595         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20596         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20597         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20600         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20601         (log1): Use fabs.  (my_log2): Use fabs.
20602         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20603         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20604         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20605         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20606         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20607         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20608         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20609         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20610         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20611         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20612         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20614 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #18217]
20617         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20618         as threshold for returning 1 - x.
20619         * math/auto-libm-test-in: Add more tests of erfc.
20620         * math/auto-libm-test-out: Regenerated.
20622 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20624         [BZ #18196]
20625         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20626         threshold for large arguments.
20627         * math/auto-libm-test-in: Add another test of atan.
20628         * math/auto-libm-test-out: Regenerated.
20630         [BZ #16339]
20631         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20632         (__log1p): Force underflow exception for results with small
20633         absolute value.
20634         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20635         (__log1pf): Force underflow exception for results with small
20636         absolute value.
20637         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20638         (__log1p): Force underflow exception for results with small
20639         absolute value.
20640         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20641         (__log1pf): Force underflow exception for results with small
20642         absolute value.
20643         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20644         (__log1pl): Force underflow exception for results with small
20645         absolute value.
20646         * math/auto-libm-test-in: Do not allow missing underflow
20647         exceptions from log1p.
20648         * math/auto-libm-test-out: Regenerated.
20650 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20651             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20653         [BZ #16704]
20654         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20656 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20658         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20659         (libmvec): New variable.
20660         * configure.ac: Added option for mathvec build.
20661         * configure: Regenerated.
20662         * mathvec/Depend: New file.
20663         * mathvec/Makefile: New file.
20664         * shlib-versions: Added libmvec.
20665         * math/Makefile: Added rule for libm.so installation.
20667         * bits/math-vector.h: New file.
20668         * bits/libm-simd-decl-stubs.h: New header.
20669         * math/Makefile (headers): Added new header
20670         libm-simd-decl-stubs.h.
20671         * math/math.h (__MATHCALL_VEC): New macro.
20673         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20674         for conditions in testing functions.
20675         * math/Makefile: Added call of libm-have-vector-test.sh.
20676         * math/libm-test.inc (HAVE_VECTOR): New macros.
20678         * math/libm-test.inc: START refactored.
20679         * math/test-double.c (TEST_MATHVEC): Add define.
20680         * math/test-float.c: Likewise.
20681         * math/test-idouble.c: Likewise.
20682         * math/test-ifloat.c: Likewise.
20683         * math/test-ildoubl.c: Likewise.
20684         * math/test-ldouble.c: Likewise.
20685         * sysdeps/generic/math-tests-arch.h
20686         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20687         architecture check.
20689         * math/test-double.c (FUNC_TEST): New macro.
20690         * math/test-float.c: Likewise.
20691         * math/test-idouble.c: Likewise.
20692         * math/test-ifloat.c: Likewise.
20693         * math/test-ildoubl.c: Likewise.
20694         * math/test-ldouble.c: Likewise.
20695         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20697 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20699         * sysdeps/nacl/fdopendir.c: New file.
20701         * dirent/scandir-tail.c: New file.
20702         * dirent/scandir64-tail.c: New file.
20703         * dirent/Makefile (routines): Add them.
20704         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20705         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20706         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20707         [!SCANDIR] (SCANDIR_TAIL): New macro.
20708         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20709         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20710         (SCANDIRAT): Macro removed.
20711         (SCANDIR_TAIL): New macro.
20712         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20713         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20714         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20715         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20716         (READDIR): Macro removed.
20717         (SCANDIR_TAIL): New macro.
20718         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20719         (SCANDIR_TAIL): New macro.
20721         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20722         * dirent/scandir-cancel.c: ... to this new file.
20723         * dirent/Makefile (routines): Add it.
20724         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20725         * sysdeps/unix/sysv/linux/i386/scandir64.c
20726         (SKIP_SCANDIR_CANCEL): Macro removed.
20727         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20729         * dirent/tst-scandir.c: New file.
20730         * dirent/tst-scandir64.c: New file.
20731         * dirent/Makefile (tests): Add them.
20733 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20735         [BZ #18409]
20736         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20738 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20740         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20741         list.
20743 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20745         * benchtests/bench-strcoll.c: New benchmark.
20746         * benchtests/Makefile: Generate locales and run benchmark.
20747         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20748         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20749         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20750         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20751         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20752         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20753         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20754         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20755         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20756         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20757         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20758         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20759         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20760         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20761         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20762         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20763         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20764         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20765         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20766         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20767         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20768         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20769         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20770         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20772 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20774         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20775         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20777 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20779         * posix/uname-values.h: New file.
20780         * posix/uname.c: Include that instead of <config-name.h>.
20781         * sysdeps/nacl/uname-values.h: New file.
20782         * sysdeps/arm/nacl/uname-values.h: New file.
20784 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20786         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20787         splitting into fields.
20789 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20791         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20792         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20793         * locale/localeinfo.h: Add enum collation_encoding_type.
20794         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20795         * programs/ld-collate.c (collate_output): Add encoding type info.
20796         * string/strcoll_l.c (STRDIFF): New function.
20797         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20798         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20800 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20802         [BZ #18397]
20803         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20804         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20805         <fpu_control.h> instead of <math/fpu_control.c>.
20806         * sysdeps/mips/mips32/fpu/Makefile: New file.
20808 2015-05-11  Andreas Schwab  <schwab@suse.de>
20810         [BZ #18007]
20811         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20812         nss_endgrent.
20813         (_nss_compat_endgrent): Call nss_endgrent.
20814         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20815         nss_endpwent.
20816         (_nss_compat_endpwent): Call nss_endpwent.
20817         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20818         needent, call nss_setspent only if non-zero.
20819         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20820         (internal_endspent): Don't call nss_endspent.
20821         (_nss_compat_endspent): Call nss_endspent.
20822         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20823         Remove.  All uses removed.
20824         (internal_setent): Remove parameter stayopen, add parameter
20825         stream.  Use it instead of global variable.
20826         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20827         (internal_endent, internal_getent): Add parameter stream.  Use it
20828         instead of global variable.
20829         (CONCAT(_nss_files_end,ENTNAME))
20830         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20831         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20832         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20833         uses removed.
20834         (internal_setent, internal_endent): Add parameter stream.  Use it
20835         instead of global variable.
20836         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20837         stream.
20838         (get_next_alias): Add parameter stream.
20839         (_nss_files_getaliasent_r): Pass global stream.
20840         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20841         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20842         (_nss_files_gethostbyname4_r): Pass local stream to
20843         internal_setent, internal_getent and internal_endent.  Remove
20844         locking.
20846 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20848         * tst-strfmon1.c (tests): Update expected currency symbol.
20850 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20852         * sysdeps/nacl/gethostname.c: New file.
20854 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20856         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20857         and sinh.
20858         * math/auto-libm-test-out: Regenerated.
20859         * sysdeps/i386/fpu/libm-test-ulps: Update.
20860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20862 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20864         [BZ #18125]
20865         * stdlib/tst-setcontext3.c: New file.
20866         * stdlib/tst-setcontext3.sh: New file.
20867         * stdlib/Makefile (tests): Add tst-setcontext3.
20868         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20869         to verify test program created output file.
20870         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20871         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20872         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20873         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20875 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20877         [BZ #18383]
20878         * elf/tst-tlsalign.c: New file.
20879         * elf/tst-tlsalign-static.c: New file.
20880         * elf/tst-tlsalign-lib.c: New file.
20881         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20882         (tests-static): Add tst-tlsalign-static.
20883         (modules-names): Add tst-tlsalign-lib.
20884         (test-xfail-tst-tlsalign): New variable.
20885         (test-xfail-tst-tlsalign-static): New variable.
20887         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20888         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20890 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20892         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20893         csqrt, erfc, sin and sincos.
20894         * math/auto-libm-test-out: Regenerated.
20895         * sysdeps/i386/fpu/libm-test-ulps: Update.
20896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20900         * sysdeps/aarch64/libm-test-ulps: Update.
20902 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20904         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20905         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20906         * math/auto-libm-test-out: Regenerated.
20907         * sysdeps/i386/fpu/libm-test-ulps: Update.
20908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20910 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20912         [BZ #18265]
20913         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20914         (wcsncpy): Likewise.
20916 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20918         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20919         Assume __ASSUME_FALLOCATE is always true.
20920         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20921         (__posix_fallocate64_l64): Likweise.
20922         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20923         (posix_fallocate): Likewise.
20924         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20925         (__posix_fallocate64_l64): Likewise.
20926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20927         [!__ASSUME_FALLOCATE]: Add comment.
20929 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20931         * sysdeps/unix/sysv/linux/i386/Makefile
20932         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20933         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20934         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20935         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20936         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20937         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20938         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20940 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20942         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20943         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20944         tgamma.
20945         * math/auto-libm-test-out: Regenerated.
20946         * sysdeps/i386/fpu/libm-test-ulps: Update.
20947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20949 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20951         * math/auto-libm-test-in: Add more tests of tgamma.
20952         * math/auto-libm-test-out: Regenerated.
20953         * sysdeps/i386/fpu/libm-test-ulps: Update.
20954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20956         * math/auto-libm-test-in: Add more tests of tanh.
20957         * math/auto-libm-test-out: Regenerated.
20958         * sysdeps/i386/fpu/libm-test-ulps: Update.
20959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20961         * math/auto-libm-test-in: Add more tests of tan.
20962         * math/auto-libm-test-out: Regenerated.
20963         * sysdeps/i386/fpu/libm-test-ulps: Update.
20964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20966         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20967         * math/auto-libm-test-out: Regenerated.
20968         * sysdeps/i386/fpu/libm-test-ulps: Update.
20969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20971         * math/auto-libm-test-in: Add another test of pow.
20972         * math/auto-libm-test-out: Regenerated.
20973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20975         * math/auto-libm-test-in: Add more tests of lgamma.
20976         * math/auto-libm-test-out: Regenerated.
20977         * sysdeps/i386/fpu/libm-test-ulps: Update.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20981         log1p.
20982         * math/auto-libm-test-out: Regenerated.
20983         * sysdeps/i386/fpu/libm-test-ulps: Update.
20984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20986 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20988         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20989         Elf64_Chdr structs and ELFCOMPRESS constants.
20991 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20993         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20994         expm1.
20995         * math/auto-libm-test-out: Regenerated.
20996         * sysdeps/i386/fpu/libm-test-ulps: Update.
20997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20999         * math/auto-libm-test-in: Add more tests of erf and erfc.
21000         * math/auto-libm-test-out: Regenerated.
21001         * sysdeps/i386/fpu/libm-test-ulps: Update.
21002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21004 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21006         * config.h.in (HAVE_AARCH64_BE): Add.
21008 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21010         * math/auto-libm-test-in: Add more tests of csqrt.
21011         * math/auto-libm-test-out: Regenerated.
21012         * sysdeps/i386/fpu/libm-test-ulps: Update.
21013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21015         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21016         * math/auto-libm-test-out: Regenerated.
21017         * sysdeps/i386/fpu/libm-test-ulps: Update.
21018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21020         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21022 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21024         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21025         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21027         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21028         (euidaccess, eaccess): Define as weak aliases.
21030         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21031         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21032         but __suseconds_t is often 'long int' so some sources assume that
21033         type is being used (e.g. they use %ld to print tv_usec).
21035 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21037         [BZ #18007]
21038         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21039         (CVE-2014-8121)
21040         * nss/tst-nss-getpwent.c: New file.
21041         * nss/Makefile (tests): Add new test.
21043 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21045         [BZ #18346]
21046         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21047         exponents less than 48 as cases where high part of mantissa needs
21048         examining to determine whether argument is integral.
21049         * math/libm-test.inc (round_test_data): Add more tests.
21051 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21053         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21055 2015-04-27  David S. Miller  <davem@davemloft.net>
21057         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21058         __tls_get_addr.
21059         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21061 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21063         [BZ#18333]
21064         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21066 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21068         [BZ#18333]
21069         * time/tzset.c (parse_tzname): Return error on memory allocation
21070         failure.
21071         * test-skeleton.c (struct temp_name_list): Change type of name
21072         member to non-const.
21073         (add_temp_file): Create a copy of the file name.
21074         (delete_temp_files): Deallocate memory.
21075         (create_temp_file): Add comment.
21077 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21079         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21080         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21082 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21084         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21085         * sysdeps/arm/configure: Regenerated.
21087 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21089         [BZ #17715]
21090         * time/tzfile.c (__tzfile_read): Check for large values of
21091         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21092         * time/tzset.c (__tzstring_len): New function, based on the old
21093         __tzstring function.
21094         (__tzstring): Call __tzstring_len.
21095         (parse_tzname): New helper function extracted from
21096         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21097         the input string.
21098         (parse_offset): New helper function extracted from
21099         __tzset_parse_tz.  Replace switch with fallthrough with
21100         initialization before sscanf.
21101         (parse_rule): Likewise.
21102         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21103         new-style function definition.
21104         * timezone/Makefile (tests): Add tst-tzset.
21105         (tst-tzset.out): Dependencies on time zone files.
21106         (tst-tzset-ENV): Set TZDIR.
21107         (testdata/XT%): Copy crafted time zone files.
21108         * timezone/README: Mention crafted time zone files.
21109         * timezone/testdata/XT1, timezone/testdata/XT2,
21110         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21111         files.
21112         * timezone/tst-tzset.c: New test.
21114 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21116         * Makeconfig (+gccwarn): Remove -Winline.
21118 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21120         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21122 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21124         * NEWS: Mention sysconf() cache information support for s390.
21125         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21127 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21129         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21130         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21131         (__nearbyint): Likewise.
21132         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21133         (copysignl): Likewise.
21135 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21137         [BZ #18287]
21138         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21139         based on padding.  (CVE-2015-1781)
21141 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21143         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21144         libc-vdso.h.
21145         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21146         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21147         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21148         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21149         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21150         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21153         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21154         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21155         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21156         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21157         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21158         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21159         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21160         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21161         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21163         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21164         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21165         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21166         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21167         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21169 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21171         * stdlib/setenv.c (__add_to_environ):
21172         Dump core quickly if setenv (..., NULL, ...) is called.
21173         This time, do it the right way, and pacify GCC with a pragma.
21175 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21177         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21178         IMAP->l_prev cannot be null, and #if out the code for the contrary
21179         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21180         believe that NS (&_dl_ns[NSID]) could point outside the array.
21182         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21183         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21184         before using NSID as an index.
21186 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21188         [BZ #17825]
21189         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21190         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21191         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21193 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21195         Add preliminary port to Google Native Client on ARM.
21196         * abi-tags (.*-.*-nacl.*): New entry.
21197         * sysdeps/arm/nacl: New directory.
21198         * sysdeps/nacl: New directory.
21200 2015-04-16  David S. Miller  <davem@davemloft.net>
21202         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21203         lowlevellock-futex.h
21205 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21207         * sysdeps/tile/configure.ac: New file.
21208         * sysdeps/tile/configure: Regenerated.
21210 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21212         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21213         conditionals for weak_alias and libc_hidden_weak.
21214         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21215         libc_hidden_weak and weak_alias.
21216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21217         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21218         and weak_alias for static one.
21220 2015-04-15  David S. Miller  <davem@davemloft.net>
21222         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21224 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21226         [BZ #18206]
21227         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21228           Use signed comparision instead of substraction to avoid
21229           overflow bug.
21230         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21231           Take the sign of ret.
21232         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21233           Do not expect precise return values. Only the sign matters.
21234         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21235         * wcsmbs/test-wcsncmp.c: New File.
21236         * string/test-strncmp.c: Add wcsncmp support.
21238 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21240         [BZ #6792]
21241         * math/w_log1p.c: New file.
21242         * math/w_log1pf.c: Likewise.
21243         * math/w_log1pl.c: Likewise.
21244         * math/Makefile (libm-calls): Add w_log1p.
21245         * math/s_log1pl.c (log1pl): Remove weak_alias.
21246         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21247         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21248         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21249         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21250         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21251         [NO_LONG_DOUBLE] (log1pl): Likewise.
21252         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21253         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21254         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21255         (log1p): Remove long_double_symbol.
21256         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21257         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21258         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21259         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21260         remove weak_alias for corresponding log1p function.
21261         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21262         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21263         * sysdeps/ia64/fpu/w_log1p.c: New file.
21264         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21265         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21266         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21268 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21270         [BZ #18247]
21271         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21272         decimal exponent by 1.
21273         * stdlib/tst-strtod-round-data: Add more tests.
21274         * stdlib/tst-strtod-round.c (tests): Regenerated.
21276 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21278         * math/auto-libm-test-in: Add more tests of clog and clog10.
21279         * math/auto-libm-test-out: Regenerated.
21280         * sysdeps/i386/fpu/libm-test-ulps: Update.
21281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21285         * Makeconfig (module-cppflags): Exclude all .v.i files.
21286         (skip-module-cppflags): Variable removed.
21288         * configure.ac (libc_config_ok): Initialize before reading
21289         preconfigure scripts, not after.
21290         * configure: Regenerated.
21292         * test-skeleton.c (TIMEOUT): Move #define to top level.
21293         (main): Grok environment variable TEST_DIRECT.  If set, print
21294         test expectation details into that file and then behave as if
21295         given --direct.
21297 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21299         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21300         warning on 32-bit.
21302 2015-04-08  David S. Miller  <davem@davemloft.net>
21304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21306 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21308         * math/auto-libm-test-in: Add more tests of atanh.
21309         * math/auto-libm-test-out: Regenerated.
21310         * sysdeps/i386/fpu/libm-test-ulps: Update.
21311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21313         * math/auto-libm-test-in: Add more tests of atan.
21314         * math/auto-libm-test-out: Regenerated.
21315         * sysdeps/i386/fpu/libm-test-ulps: Update.
21316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21320         * elf/pldd.c (main): Rewrite to use struct
21321         scratch_buffer instead of extend_alloca.
21322         * elf/pldd-xx.c (find_maps): Likewise.
21323         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21324         <alloca.h>.
21325         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21326         scratch_buffer instead of extend_alloca.
21327         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21328         grp/compat-initgroups.c.
21329         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21330         Rewrite to use struct scratch_buffer instead of extend_alloca.
21331         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21332         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21334 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21336         * math/auto-libm-test-in: Add more tests of cbrt.
21337         * math/auto-libm-test-out: Regenerated.
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21340         * math/auto-libm-test-in: Add more tests of cabs.
21341         * math/auto-libm-test-out: Regenerated.
21342         * sysdeps/i386/fpu/libm-test-ulps: Update.
21343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21345         [BZ #18210]
21346         [BZ #18211]
21347         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21348         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21349         computations.
21350         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21351         clog10.
21352         * math/auto-libm-test-out: Regenerated.
21353         * sysdeps/i386/fpu/libm-test-ulps: Update.
21354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21356         [BZ #18197]
21357         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21358         (atan): Set FE_TONEAREST mode for internal computations.
21359         * math/auto-libm-test-in: Add more tests of atan.
21360         * math/auto-libm-test-out: Regenerated.
21362 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21364         [BZ #17930]
21365         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21367 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21369         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21371 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21373         * include/scratch_buffer.h: New file.
21374         * malloc/scratch_buffer_grow.c: Likewise.
21375         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21376         * malloc/scratch_buffer_set_array_size.c: Likewise.
21377         * malloc/tst-scratch_buffer.c: Likewise.
21378         * malloc/Makefile (routines): Add scratch_buffer_grow.
21379         (tests): Add test case.
21380         * malloc/Versions (GLIBC_PRIVATE): Export
21381         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21382         __libc_scratch_buffer_set_array_size.
21384 2015-04-06  Richard Henderson  <rth@redhat.com>
21386         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21387         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21389         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21390         unsigned int before printing.
21392 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21394         [BZ #17596]
21395         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21396         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21398 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21400         * include/libc-internal.h (libc_max_align_t): Define.
21402 2015-04-02  Andreas Schwab  <schwab@suse.de>
21404         [BZ #16850]
21405         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21407 2015-04-02  Mel Gorman  <mgorman@suse.de>
21409         [BZ #17195]
21410         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21411         as well as the main arena.
21413 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21415         [BZ #18185]
21416         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21417         sharing L2 cache to 2 for Silvermont/Knights Landing.
21419 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21421         [BZ #17711]
21422         * config.make.in (have-protected-data): New.
21423         * configure.ac: Check linker support for protected data symbol.
21424         * configure: Regenerated.
21425         * elf/Makefile (modules-names): Add tst-protected1moda and
21426         tst-protected1modb if $(have-protected-data) is yes.
21427         (tests): Add tst-protected1a and tst-protected1b if
21428         $(have-protected-data) is yes.
21429         ($(objpfx)tst-protected1a): New.
21430         ($(objpfx)tst-protected1b): Likewise.
21431         (tst-protected1modb.so-no-z-defs): Likewise.
21432         * elf/tst-protected1a.c: New file.
21433         * elf/tst-protected1b.c: Likewise.
21434         * elf/tst-protected1mod.h: Likewise.
21435         * elf/tst-protected1moda.c: Likewise.
21436         * elf/tst-protected1modb.c: Likewise.
21438 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21440         [BZ #17711]
21441         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21442         indicates it is called from do_lookup_x on relocation against
21443         protected data, skip the data definion in the executable from
21444         copy reloc.
21445         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21446         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21447         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21448         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21449         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21450         otherwise to 0.
21451         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21452         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21453         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21454         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21455         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21456         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21458 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21460         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21461         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21463 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21465         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21466         THREAD_SETMEM_NC.
21467         * sysdeps/x86_64/nptl/tls.h: Ditto.
21469 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21471         * dlfcn/tststatic.c (main): Converted to ...
21472         (do_test): ... this.
21473         (TEST_FUNCTION): New macro.
21474         Include test-skeleton.c.
21476 2015-03-26  Alan Modra  <amodra@gmail.com>
21478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21479         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21480         zero for undefined weak.
21481         (elf_machine_plt_conflict): Similarly.
21483 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21485         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21486         atanh.
21487         * math/auto-libm-test-out: Regenerated.
21488         * sysdeps/i386/fpu/libm-test-ulps: Update.
21489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491         * math/auto-libm-test-in: Add another test of asin.
21492         * math/auto-libm-test-out: Regenerated.
21493         * sysdeps/i386/fpu/libm-test-ulps: Update.
21494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21497         Remove macro.
21498         (LLL_EBX_REG): Likewise.
21499         (LLL_ENTER_KERNEL): Likewise.
21501         * math/auto-libm-test-in: Add more tests of asin.
21502         * math/auto-libm-test-out: Regenerated.
21503         * sysdeps/i386/fpu/libm-test-ulps: Update.
21504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21506         [BZ #18138]
21507         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21508         libc_do_syscall_args): New structure.
21509         (INTERNAL_SYSCALL_MAIN_0): New macro.
21510         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21511         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21512         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21513         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21514         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21515         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21516         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21517         Replace conditional definitions by conditional definitions of ....
21518         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21519         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21520         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21521         (libpthread-sysdep_routines): Add libc-do-syscall.
21522         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21523         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21524         to __NR_futex not 240.
21526 2015-03-25  Alan Modra  <amodra@gmail.com>
21528         * NEWS: Advertise TLS optimization.
21529         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21530         (DT_PPC_NUM): Increment.
21531         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21532         (CHECK_STATIC_TLS): Use here.
21533         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21534         TLS descriptors.
21535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21536         * sysdeps/powerpc/dl-tls.c: New file.
21537         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21538         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21539         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21540         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21545 2015-03-25  Alan Modra  <amodra@gmail.com>
21547         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21548         for overlapping .opd entries" to "support...".
21549         * sysdeps/powerpc/powerpc64/configure: Regenerate
21551 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21553         * math/auto-libm-test-in: Add more tests of acos.
21554         * math/auto-libm-test-out: Regenerated.
21555         * sysdeps/i386/fpu/libm-test-ulps: Update.
21556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558         * math/auto-libm-test-in: Add more tests of expm1.
21559         * math/auto-libm-test-out: Regenerated.
21560         * sysdeps/i386/fpu/libm-test-ulps: Update.
21561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21563 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21565         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21566         * math/auto-libm-test-out: Regenerated.
21567         * sysdeps/i386/fpu/libm-test-ulps: Update.
21568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21570         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21573         * math/auto-libm-test-in: Add more tests of log2.
21574         * math/auto-libm-test-out: Regenerated.
21575         * sysdeps/i386/fpu/libm-test-ulps: Update.
21576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21578 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21580         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21581         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21582         _IO_IS_APPENDING bit in READ_WRITE instead.
21584 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21586         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21587         (__determine_cpumask_size): Replace extend_alloca with a
21588         variable-length array.  Do not treat res == 0 as an error.
21590 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21592         [BZ #18100]
21593         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21594         and integer overflow.
21595         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21596         (main): Add integer overflow tests.
21597         * manual/pattern.texi (Calling Wordexp): Document additional use
21598         for WRDE_SYNTAX.
21600 2015-03-23  Alan Modra  <amodra@gmail.com>
21602         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21603         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21604         and false branch of conditional.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21606         Likewise.
21608 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21610         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21611         libc-modules.h
21612         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21613         unused declaration of _hurd_intr_rpc_msg_in_trap.
21614         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21615         defined instead of whether it is non-zero.
21616         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21617         input constraint instead of both input and output constraint.  Use ecx
21618         clobber instead of %ecx.
21619         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21620         mutex_unlock): Use a statement expression instead of an expression list.
21621         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21622         type to vm_size_t instead of vm_address_t.
21623         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21624         defined instead of whether it is non-zero.
21625         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21626         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21627         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21628         comparisons with mapaddr.
21629         * nscd/nscd-client.h: Include <time.h>.
21630         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21631         9th parameter to __vm_region instead of int.
21632         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21633         * scripts/check-local-headers.sh (exclude): Add device/,
21634         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21635         cthreads.h.
21637 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21639         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21640         to account for alignment padding.
21641         * sysdeps/arm/memmove.S: Likewise.
21643 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21645         * sysdeps/unix/sysv/linux/generic/README: New file.
21647 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21649         [BZ #18138]
21650         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21651         (futex_abstimed_wait)
21652         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21653         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21654         of lll_futex_timed_wait.
21656 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21658         [BZ #17542]
21659         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21661 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21663         [BZ #17090]
21664         [BZ #17620]
21665         [BZ #17621]
21666         [BZ #17628]
21667         * NEWS: Update.
21668         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21669         entries with Static TLS too.  Skip entries past the end of the
21670         allocated DTV, from Alan Modra.
21671         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21672         Static TLS DTV entry set up from...
21673         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21674         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21675         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21676         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21677         for Static TLS.
21678         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21679         that the slot we find is associated with the given map before
21680         using its generation count.
21681         * nptl_db/db_info.c: Include ldsodefs.h.
21682         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21683         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21684         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21685         (link_map::l_tls_offset): New struct field.
21686         (dtv_t::counter): Likewise.
21687         (rtld_global): New struct.
21688         (_rtld_global): New rtld variable.
21689         (dl_tls_dtv_slotinfo_list): New rtld global field.
21690         (dtv_slotinfo_list): New struct.
21691         (dtv_slotinfo): Likewise.
21692         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21693         (td_lookup): Rename to...
21694         (td_mod_lookup): ... this.  Use new mod parameter instead of
21695         LIBPTHREAD_SO.
21696         * nptl_db/td_thr_tlsbase.c: Include link.h.
21697         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21698         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21699         addresses even if the DTV is out of date or missing them.
21700         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21701         index zero-length arrays.
21702         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21703         (td_lookup): Make it a macro implemented in terms of...
21704         (td_mod_lookup): ... this declaration.
21705         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21706         (DB_MAIN_VARIABLE): Likewise.
21708 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21710         [BZ #18134]
21711         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21713 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21715         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21717 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21719         [BZ #18128]
21720         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21721         (atomic_add, atomic_increment_and_test)
21722         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21724 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21726         * stdlib/setenv.c (__add_to_environ):
21727         Dump core quickly if setenv (..., NULL, ...) is called.
21729 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21731         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21732         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21733         all the necessary asm magic in one place.
21734         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21735         using those.
21737 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21739         [BZ #14906]
21740         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21741         traced file mtime. Use consistent log message.
21742         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21743         (register_traced_file): Call install_watches. Always set mtime.
21744         (invalidate_cache): Iterate over all trace files. Call install_watches.
21745         (inotify_check_files): Don't inline. Handle watching parent
21746         directories and configuration file movement in and out.
21747         (handle_inotify_events): New function.
21748         (main_loop_poll): Call handle_inotify_events.
21749         (main_loop_epoll): Likewise.
21750         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21751         (struct traced_file): Use array of inotify fds. Add parent directory,
21752         and basename.
21753         (struct database_dyn): Remove unused file_mtime.
21754         (init_traced_file): New inline function.
21755         (define_traced_file): New macro.
21756         * nss/nss_db/db-init.c: Use define_traced_file.
21757         (_nss_db_init): Use init_traced_file.
21758         * nss/nss_files/files-init.c: Use define_traced_file.
21759         (_nss_files_init): Use init_traced_file.
21761 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21763         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21764         [_LIBC]: Do not include <stdlib.h>.
21765         [!_LIBC] (abort): Remove declaration.
21766         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21767         _FP_STATIC_ASSERT instead of conditionally calling abort.
21768         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21769         (_FP_EXTEND_CNAN): Likewise.
21770         (FP_TRUNC): Likewise.
21771         (__FP_CLZ): Likewise.
21772         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21774 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21776         * manual/string.texi (XPG basename): Fix prototype.
21778 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21780         [BZ #18080]
21781         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21782         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21783         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21784         (__setcontext): Likewise.
21785         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21786         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21787         Call rt_sigprocmask syscall one time to set new signal mask
21788         and retrieve the current signal mask instead of two calls.
21789         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21790         (__swapcontext): Likewise.
21791         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21792         * stdlib/tst-setcontext2.c: New file.
21794 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21796         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21798 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21800         [BZ #18093]
21801         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21802         the wrong size.
21804 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21806         [BZ #18043]
21807         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21809 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21811         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21812         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21813         Remove define.
21814         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21815         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21816         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21817         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21818         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21819         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21820         define.
21821         * nptl_db/td_symbol_list.c (td_lookup): Remove
21822         HAVE_ASM_GLOBAL_DOT_NAME code.
21823         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21824         HAVE_ASM_GLOBAL_DOT_NAME check.
21825         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21826         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21827         (DOT_LABEL): Remove define.
21828         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21829         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21830         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21831         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21832         (__TLS_GET_ADDR): Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21834         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21836 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21838         [BZ #18111]
21839         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21840         (_FPU_SETCW): Initialize cw from fpsr before storing.
21841         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21842         (fesetexceptflag): Rewrite using fpu_control.h.
21843         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21845 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21847         [BZ #18110]
21848         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21849         asms.
21850         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21852 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21854         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21855         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21856         abort.
21857         (_FP_FMA): Likewise.
21858         (_FP_DIV): Likewise.
21860 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21862         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21863         with 0 in that case.
21864         * Makefile (summarize-tests): New canned sequence, factored out of
21865         commands for targets tests and xtests.  Display summary lines that
21866         don't start with PASS: or XFAIL: rather than ones that do start with
21867         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21868         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21869         do start with ERROR: or FAIL:.
21870         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21871         (except for [$(build-shared) = yes]).
21872         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21873         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21874         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21875         * nptl/Makefile: Revert 2015-03-04 changes.
21876         [$(CXX) empty] (tests-unsupported): New variable.
21877         * debug/Makefile: Likewise.
21879         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21880         gnulib file.  Replace __attribute with __attribute__ throughout.
21882 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21884         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21886 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #18104]
21889         * math/auto-libm-test-in: Add another test of pow.
21890         * math/auto-libm-test-out: Regenerated.
21892 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21894         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21895         $(config-cflags-nofma).
21897 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21899         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21900         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21901         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21902         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21903         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21904         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21905         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21906         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21907         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21908         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21909         Add comment on closing #endif.
21911 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21913         * posix/wordexp.c (CHAR_IN_SET): New macro.
21914         (parse_param): Use it.
21916 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21918         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21920 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21922         [BZ #18043]
21923         * posix/wordexp.c (parse_param): Fix buffer overflow.
21924         * posix/wordexp-test.c (test_case): Add test case.
21926 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21928         [BZ #18042]
21929         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21930         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21932 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21934         [BZ #18043]
21935         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21936         (do_bz18043): Delete.
21937         (at_page_end): New.
21938         (testit): Refactor to have words at the edge of unreadable page.
21940 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21942         [BZ #16734]
21943         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21944         Cleanup read-only streams as well.
21945         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21947 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21949         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21950         <bits/libc-lockP.h>
21952 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21954         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21955         on [__KERNEL__].
21956         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21957         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21958         * soft-fp/op-common.h (_FP_DECL): Likewise.
21960 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21962         * elf/ifuncdep2.c (global): Replace
21963         __attribute__((visibility("protected"))) with
21964         asm (".protected global").
21965         * elf/ifuncmod1.c (global): Likewise.
21966         * elf/ifuncmod5.c (global): Likewise.
21968 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21970         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21971         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21973 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21975         * manual/install.texi (Configuring and compiling):
21976         Document test-wrapper-env-only.
21977         * INSTALL: Regenerated.
21979 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21981         [BZ #18043]
21982         * posix/wordexp.c (parse_param): Fix buffer overflow.
21983         * posix/wordexp-test.c (do_bz18043): Add test case.
21985 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21987         * time/tst-strptime2.c (do_test): Ensure failing tests are
21988         reported correctly.
21989         * time/tst-strptime3.c (do_test): Likewise.
21991 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21993         Fix aio_error thread-safety.
21994         * sysdeps/pthread/aio_error.c: New file
21995         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21996         synchronization.
21998 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22000         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22001         (group_number, vfprintf): Use it.
22002         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22003         (JUMP, REF): Use it.
22004         (WORK_BUFFER_SIZE): New enum constant.
22005         (process_arg, vfprintf): Use it.
22007 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22009         * manual/errno.texi (Error Messages): Complete example function
22010         by adding missing #define.
22011         (program_invocation_name): Add statement indicating GNU
22012         extension and reference which header file declares the variable.
22013         (program_invocation_short_name): Likewise.
22015 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22017         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22018         compatibility note.
22020 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22022         * Makeconfig (test-wrapper-env-only): New variable.
22023         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22024         then use that with $(test-wrapper-env-only) rather than using
22025         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22027 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22029         [BZ #18082]
22030         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22031         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22032         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22033         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22034         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22035         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22036         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22037         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22038         Likewise.
22039         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22040         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22041         Likewise.
22042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22043         Likewise.
22044         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22045         Likewise.
22046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22047         Likewise.
22048         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22050         Likewise.
22051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22052         Likewise.
22053         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22054         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22056 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22058         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22059         (ETH_ALEN): New macro.
22060         (struct ether_addr): Use it for length of ether_addr_octet.
22062         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22063         (setdb): Don't call __nss_configure_lookup for "rpc".
22064         (do_test): Don't call test_rpc.
22065         (output_rpcent, test_rpc): Functions moved ...
22066         * sunrpc/test-rpcent.c: ... to this new file.
22067         * sunrpc/Makefile (tests): Add it.
22069         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22070         __xpg_sigpause.
22071         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22072         * nptl/tst-signal6.c: Likewise.
22073         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22074         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22076         * configure.ac (libc_cv_cxx_link_ok): New check.
22077         Reset CXX to empty if it fails to link.
22078         * configure: Regenerated.
22079         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22080         bug-atexit3-lib only if $(CXX) is nonempty.
22081         * nptl/Makefile (tests): Likewise for tst-cancel24.
22082         (tests, tests-static): Likewise for tst-cancel24-static.
22083         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22084         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22085         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22086         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22088 2015-03-04  Andreas Schwab  <schwab@suse.de>
22090         [BZ #17631]
22091         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22092         for non-GCC compilers.
22093         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22094         Likewise.
22096 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22098         [BZ #17776]
22099         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22100         integer before bitwise and assembly operations.
22101         (feclearexcept): Likewise.
22102         * math/test-fenvinline.c: New file.
22103         * math/Makefile: Add test-fenvinline test.
22105 2015-03-03  Alan Modra  <amodra@gmail.com>
22107         [BZ #16512]
22108         * scripts/localplt.awk: Strip off symbol version.
22109         * NEWS: Mention bug fix.
22111 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22113         * sysdeps/pthread/timer_routines.c
22114         (timer_free_list, thread_free_list, thread_active_list): Make static.
22116 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22118         [BZ #17779]
22119         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22120         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22121         Undefine.
22122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22123         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22124         Likewise.
22125         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22126         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22127         Likewise.
22129 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22131         [BZ #18036]
22132         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22133         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22135 2015-03-02  Andreas Schwab  <schwab@suse.de>
22137         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22138         variable name.
22140 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22142         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22143         Return error status.
22145 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22147         [BZ #15969]
22148         * locale/findlocale.c (_nl_find_locale): Introduce const
22149         version of loc_name and drop unsafe type casts.
22151 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22153         * dlfcn/tststatic2.c (main): Converted to ...
22154         (do_test): ... this.
22155         (TEST_FUNCTION): New macro.
22156         Include test-skeleton.c.
22158 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22160         [BZ #17711]
22161         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22162         (tests-pie): Add vismain.
22163         (CFLAGS-vismain.c): New.
22164         * elf/vismain.c: Add comments for PIE requirement.
22166 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22168         [BZ #18046]
22169         [BZ #18047]
22170         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22171         0x1p-56L as threshold for just returning the argument.
22172         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22173         0x1p-32L as threshold for just returning the argument.
22174         * math/auto-libm-test-in: Add more tests of atanh.
22175         * math/auto-libm-test-out: Regenerated.
22176         * sysdeps/i386/fpu/libm-test-ulps: Update.
22177         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22179 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22181         * string/bcopy.c (bcopy): Call memmove for performance.
22183 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22185         * string/bzero.c (__bzero): Call memset for performance.
22187 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22189         [BZ #18068]
22190         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22191         to 00100000.
22193 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22195         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22197 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22199         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22200         (__kernel_standard): Use CSTR macro when setting exc.name.
22201         * sysdeps/ieee754/Makefile [$(subdir) = math]
22202         (CFLAGS-k_standard.c): Remove variable.
22204         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22205         setting p and q from "else if" to "else".
22206         (qzero): Likewise.
22207         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22208         (qone): Likewise.
22209         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22210         (qzerof): Likewise.
22211         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22212         (qonef): Likewise.
22213         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22214         (qzero): Likewise.
22215         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22216         (qone): Likewise.
22218         [BZ #18038]
22219         [BZ #18039]
22220         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22221         return pi/2 for arguments below 0x1p-113L.
22222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22223         return pi/2 for arguments below 0x1p-106L.
22224         * math/auto-libm-test-in: Add more tests of acos.
22225         * math/auto-libm-test-out: Regenerated.
22227         [BZ #16351]
22228         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22229         (MO): New macro.
22230         (__ieee754_asin): Force underflow exception for results with small
22231         absolute value.
22232         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22233         (MO): New macro.
22234         (__ieee754_asinf): Force underflow exception for results with
22235         small absolute value.
22236         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22237         (__ieee754_asin): Force underflow exception for results with small
22238         absolute value.
22239         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22240         (__ieee754_asinf): Force underflow exception for results with
22241         small absolute value.
22242         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22243         (__ieee754_asinl): Force underflow exception for results with
22244         small absolute value.
22245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22246         (__ieee754_asinl): Force underflow exception for results with
22247         small absolute value.
22248         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22249         (__ieee754_asinl): Force underflow exception for results with
22250         small absolute value.
22251         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22252         Include <math.h>.
22253         * math/auto-libm-test-in: Do not mark underflow exceptions as
22254         possibly missing for bug 16351.
22255         * math/auto-libm-test-out: Regenerated.
22257         [BZ #18030]
22258         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22259         of power of 2 down when low part has opposite sign.
22260         * math/libm-test.inc (logb_test_data): Add more tests.
22262 2015-02-26  Andreas Schwab  <schwab@suse.de>
22264         [BZ #18032]
22265         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22266         over collating symbol inside a bracket expression.  Minor cleanup.
22267         * posix/tst-fnmatch3.c (do_test): Add test case.
22269 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22271         [BZ #18029]
22272         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22273         Adjust exponent of power of 2 down when low part has opposite
22274         sign.
22275         * math/libm-test.inc (ilogb_test_data): Add more tests.
22277 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22279         [BZ #15969]
22280         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22281         the previous change.
22283         [BZ #15969]
22284         * locale/findlocale.c (_nl_find_locale): Retry archive search
22285         after alias expansion.
22287 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22289         * iconv/tst-iconv3.c (main): Converted to ...
22290         (do_test): ... this.
22291         (TEST_FUNCTION): New macro.
22292         Include test-skeleton.c.
22294         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22295         (convert): Make function static.
22296         (test_unalign): Likewise.  Add const to argument pointee types.
22297         (main): Replace with static function do_test.
22298         Print "Succeeded." only if RET is zero.
22299         (TEST_FUNCTION): New macro.
22300         Include test-skeleton.c.
22302         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22303         returns a null pointer.
22305 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22307         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22308         to __memcpy_ppc only for static builds.
22310 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22312         [BZ #18020]
22313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22314         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22315         * math/auto-libm-test-in: Add more tests of asinh.
22316         * math/auto-libm-test-out: Regenerated.
22317         * sysdeps/i386/fpu/libm-test-ulps: Update.
22318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22320 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22322         [BZ #15850]
22323         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22324         and ip6_mtuinfo definitions here.
22325         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22326         in this define too.  Update comment.
22328 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22330         * elf/sprof.c (load_shobj): Tweak error message to match others.
22332 2015-02-24  Kevin Easton  <kevin@guarana.org>
22334         [BZ #16145] (partial fix)
22335         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22336         to reduce lock contention.
22338 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22340         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22341         (struct timex): Update time comment.
22342         (ADJ_SETOFFSET): Define.
22344 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #18019]
22347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22348         2**56 not 2**28 as threshold for log (2x) formula.
22349         * math/auto-libm-test-in: Add more tests of acosh.
22350         * math/auto-libm-test-out: Regenerated.
22351         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22354 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22356         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22357         parenthesis around the buf assignment.
22358         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22360 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22362         [BZ #16783]
22363         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22364         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22365         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22366         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22367         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22368         * math/libm-test.inc (scalb_test_data): Add more tests.
22370 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22372         [BZ #17916]
22373         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22374         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22376 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22378         [BZ #17523]
22379         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22380         * io/bits/fcntl2.h (open): Use it.
22381         (openat): Likewise.
22382         * io/open.c (__libc_open): Likewise.
22383         * io/open64.c (__libc_open64): Likewise.
22384         * io/open64_2.c (__open64_2): Likewise.
22385         * io/open_2.c (__open_2): Likewise.
22386         * io/openat.c (__openat): Likewise.
22387         * io/openat64.c (__openat64): Likewise.
22388         * io/openat64_2.c (__openat64_2): Likewise.
22389         * io/openat_2.c (__openat_2): Likewise.
22390         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22391         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22392         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22393         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22394         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22395         (__open_nocancel): Likewise.
22396         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22397         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22398         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22400 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22402         [BZ #14841]
22403         * resolv/gethnamaddr.c (getanswer): Skip logging if
22404         RES_USE_DNSSEC is set.
22405         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22407 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22409         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22411 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22413         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22414         201304L, for Unicode 7.
22416 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22418         [BZ #17836]
22419         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22420         shared library.  Add gmon-start.os otherwise.
22421         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22422         $(objpfx)gmon-start.os if builing shared library.
22423         ($(objpfx)g$(static-start-installed-name)): Likewise.
22425 2015-02-23  Andreas Schwab  <schwab@suse.de>
22427         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22429 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22431         [BZ #17269]
22432         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22433         (enlarge_userbuf): Likewise.
22435 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22437         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22438         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22439         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22440         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22442 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22444         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22445         expression inside statement expression.
22447 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22449         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22450         <sysdeps/nptl/lowlevellock.h> and remove macros and
22451         functions that are now defined there.
22452         (SYS_futex): Remove.
22453         (lll_compare_and_swap): Remove.
22454         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22456 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22458         [BZ #17999]
22459         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22460         instead of scandirat.
22461         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22462         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22463         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22464         __scandirat.
22465         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22466         (__scandirat): Declare.  Use libc_hidden_proto.
22467         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22468         Remove variable.
22469         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22471 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22473         [BZ #15319]
22474         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22475         (MO): New macro.
22476         (__ieee754_atan2): For results with small absolute value, force
22477         underflow exception and remove excess range and precision from
22478         return value.
22479         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22480         (MO): New macro.
22481         (__ieee754_atan2f): For results with small absolute value, force
22482         underflow exception and remove excess range and precision from
22483         return value.
22484         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22485         (MO): New macro.
22486         (__atan): For results with small absolute value, force underflow
22487         exception and remove excess range and precision from return value.
22488         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22489         (MO): New macro.
22490         (__atanf): For results with small absolute value, force underflow
22491         exception and remove excess range and precision from return value.
22492         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22493         <math.h>.
22494         (__ieee754_atan2): Force underflow exception for results with
22495         small absolute value.
22496         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22497         <math_private.h>.
22498         (atan): Force underflow exception for results with small absolute
22499         value.
22500         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22501         (__atanf): Force underflow exception for results with small
22502         absolute value.
22503         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22504         <math.h>.
22505         (__atanl): Force underflow exception for results with small
22506         absolute value.
22507         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22508         (__atanl): Force underflow exception for results with small
22509         absolute value.
22510         * sysdeps/x86/fpu/bits/mathinline.h
22511         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22512         (__ieee754_atan2): Only define inline for long double.
22513         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22514         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22515         * math/auto-libm-test-in: Do not mark underflow exceptions as
22516         possibly missing for bug 15319.  Add more tests of atan2.
22517         * math/auto-libm-test-out: Regenerated.
22518         * math/libm-test.inc (casin_test_data): Do not mark underflow
22519         exceptions as possibly missing for bug 15319.
22520         (casinh_test_data): Likewise.
22521         * sysdeps/i386/fpu/libm-test-ulps: Update.
22523 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22525         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22526         * sysdeps/mips/bits/endian.h: Fix comments.
22528 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22530         [BZ #17996]
22531         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22532         (hdestroy_r): Likewise.
22533         (hsearch_r): Likewise.
22534         (__hcreate_r): Declare and use libc_hidden_proto.
22535         (__hdestroy_r): Likewise.
22536         (__hsearch_r): Likewise.
22537         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22538         (hcreate): Call __hcreate_r instead of hcreate_r.
22539         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22540         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22541         as weak alias of __hcreate_r.
22542         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22543         __hdestroy_r.
22544         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22545         __hsearch_r.
22546         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22547         Remove variable.
22548         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22549         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22550         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22551         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22553 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22555         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22556         arena_lock into a single arena_get.
22558 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22560         * dl-reloc.c: Inlucde libc-internal.h.
22561         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22562         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22563         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22564         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22565         (grow_heap): Likewise.
22566         * malloc/malloc.c: Include libc-internal.h.
22567         (do_check_malloc): Call powerof2.
22568         (sysmalloc): Use pagesize. Call ALIGN_UP.
22569         (systrim): Use pagesize.
22570         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22571         (__libc_valloc): Use pagesize.
22572         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22574 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22576         [BZ #17991]
22577         * include/sys/resource.h (__getrlimit64): Declare.  Use
22578         libc_hidden_proto.
22579         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22580         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22581         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22582         getrlimit64.
22583         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22584         __getrlimit64.
22585         [!getrlimit64] (getrlimit64): Define as weak alias of
22586         __getrlimit64.  Use libc_hidden_weak.
22587         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22588         using __getrlimit64 not __new_getrlimit64.
22589         (__GI_getrlimit64): Likewise.
22590         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22591         Likewise.
22592         (__GI_getrlimit64): Likewise.
22593         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22595         (getrlimit): Add __getrlimit64 alias.
22596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22597         Likewise.
22598         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22599         Remove variable.
22600         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22601         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22603 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22605         * libio/fileops.c: Add missing sys/mman.h
22606         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22608 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22610         * manual/math.texi (Errors in Math Functions): Clarify goals
22611         regarding inexact and underflow exceptions.
22613 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22615         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22616         * sysdeps/mips/memset.S: Ditto.
22618 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22620         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22622 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22624         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22625         (__v1longjmp): Remove versioned symbol.
22626         (__v1siglongjmp): Remove alias and versioned symbol.
22627         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22628         (__v2siglongjmp): Likewise.
22630 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22632         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22634 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22636         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22638 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22640         [BZ #17987]
22641         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22642         zero result does not depend on the sign resulting from
22643         subtraction.
22644         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22645         Likewise.
22646         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22647         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22649         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22650         * math/libm-test.inc (remquo_test_data): Add more tests.
22652 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22654         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22655         Problem reported by J William Piggott.
22657 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22659         [BZ #17978]
22660         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22661         products 4 * y and 2 * y where those would overflow.
22662         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22663         Likewise.
22664         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22665         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22667         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22668         * math/libm-test.inc (remquo_test_data): Add more tests.
22670         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22672         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22673         [defined _COMPILING_NEWLIB].
22674         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22675         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22677         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22678         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22680 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22682         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22683         acquired.
22685 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22687         [BZ #17792]
22688         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22689         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22690         HOST_STACK_END_ADDR): Likewise.
22692 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22694         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22695         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22696         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22698 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22700         * sysdeps/generic/c++-types.data: New file.
22701         * sysdeps/generic/ld.abilist: New file.
22702         * sysdeps/generic/libBrokenLocale.abilist: New file.
22703         * sysdeps/generic/libanl.abilist: New file.
22704         * sysdeps/generic/libc.abilist: New file.
22705         * sysdeps/generic/libcrypt.abilist: New file.
22706         * sysdeps/generic/libdl.abilist: New file.
22707         * sysdeps/generic/libm.abilist: New file.
22708         * sysdeps/generic/libpthread.abilist: New file.
22709         * sysdeps/generic/libresolv.abilist: New file.
22710         * sysdeps/generic/librt.abilist: New file.
22712 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22714         [BZ #17569]
22715         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22716         Compute absolute value of x as modified by fmod, not original
22717         value of x.
22718         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22719         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22720         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22721         RUN_TEST_ffI_f1_mod8.
22722         (remquo_test_data): Add more tests.
22724 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22726         * sysdeps/init_array/pt-crti.S: New file.
22728 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22730         [BZ #17967]
22731         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22732         __builtin_fmaf instead of relying on contraction of a * b + c.
22734 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22736         [BZ #17969]
22737         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22738         node.
22740 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22742         [BZ #17964]
22743         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22744         __builtin_fma instead of relying on contraction of a * b + c.
22746 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22748         * Makeconfig (ASFLAGS): Add -Werror=undef.
22749         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22750         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22751         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22753         * Makeconfig (after-link): New variable.
22754         (+link-pie, +link-pie-tests): Use it.
22755         (+link-static, +link-static-tests): Likewise.
22756         (+link, +link-tests): Likewise.
22757         * Makerules (build-module, build-module-asneeded): Likewise.
22758         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22759         Likewise.
22760         * elf/Makefile ($(objpfx)ld.so): Likewise.
22762 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22764         [BZ #17965]
22765         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22766         both struct timeval and struct timespec.
22768 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22770         [BZ #16560]
22771         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22772         and redefine.
22773         (__ieee754_exp2l): Do not multiply small fractional parts by
22774         M_LN2l.
22775         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22776         small argument.
22777         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22778         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22779         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22780         * math/auto-libm-test-in: Add more tests of exp2.
22781         * math/auto-libm-test-out: Regenerated.
22783 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22785         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22786         unaligned path.
22788 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22790         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22791         little endian.
22793 2015-02-12  Andreas Schwab  <schwab@suse.de>
22795         [BZ #15790]
22796         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22797         Filter out elision flags from value returned in kind.
22798         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22799         * nptl/tst-pthread-mutexattr.c: New file.
22801 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22803         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22804         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22805         into gnu-gnu, and update comment to refer to abi-tags.
22807 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22809         [BZ #15467]
22810         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22811         (__sincos): Set errno to EDOM for infinite argument.
22812         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22813         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22814         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22815         (__sincosl): Set errno to EDOM for infinite argument.
22816         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22817         (__sincosl): Set errno to EDOM for infinite argument.
22818         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22819         (__sincosl): Set errno to EDOM for infinite argument.
22820         * math/libm-test.inc (sincos_test_data): Test errno setting.
22822 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22824         * string/strxfrm_l.c: Remove #define STRCMP.
22825         * string/strcoll_l.c: Remove #define STRLEN.
22826         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22827         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22829 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22831         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22832         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22833         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22834         * sysdeps/mips/mips64/Makefile: ... here.
22835         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22836         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22837         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22838         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22839         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22840         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22841         * sysdeps/mips/mips64/n64/Implies: Likewise.
22843 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22845         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22846         <sys/time.h>, <string.h>, and <errno.h>.
22847         (dest_offset, dest_address, value, zero): Remove unused variables.
22848         (ldouble): Remove typedef.
22849         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22850         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22851         1).  Fix code style.
22852         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22853         (check): Function removed.
22854         (CHECK): New macro.
22855         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22856         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22857         Don't call set_sigaction_FP and remove_sigaction_FP here.
22858         (ldouble_test): Just use 'long double' as macro argument, no need for
22859         the 'ldouble' typedef.
22860         (do_test): Set up SIGFPE handler at start, using plain signal rather
22861         than sigaction.  Fix code style.
22863 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22865         [BZ #17949]
22866         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22867         jump label.
22869 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22871         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22872         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22874         * sysdeps/powerpc/configure.ac: Remove file.
22875         * sysdeps/powerpc/configure: Likewise.
22877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22878         [sysdep_routines]: Remove wordcopy-power6 object.
22879         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22880         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22881         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22882         (__memmove_ppc32): Likewise.
22883         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22884         file.
22885         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22886         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22887         Remove preprocessor.
22889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22890         [sysdep_routines]: Remove wide chars objects.
22891         [wcsmbs]: New rule for wide char objects.
22893         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22894         Remove wordcopy-power6 obejct.
22895         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22896         Use local call for wordcopy and memcpy symbols.
22897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22898         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22899         implementation for loader.
22900         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22902         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22903         Remove wordcopy-power7 object.
22904         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22905         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22906         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22907         (_wordcopy_fwd_dest_aligned): Likewise.
22908         (_wordcopy_bwd_aligned): Likewise.
22909         (_wordcopy_bwd_dest_aligned): Likewise.
22911         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22912         Rewrite to call __memmove_ppc instead of include default
22913         implementation.
22915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22916         Remove wide chars objects.
22917         [wcsmbs]: New rule for wide char objects.
22919 2015-02-09  Andreas Schwab  <schwab@suse.de>
22921         [BZ #17912]
22922         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22923         in terms of __O_DIRECTORY.
22925 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22927         * time/getdate.c: Include <stdbool.h>.
22928         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22929         call PTR_MANGLE.
22930         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22931         PTR_DEMANGLE.
22933 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22935         Add ersatz _Static_assert on older C hosts
22936         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22937         pre-C11 C platform that is not known to support _Static_assert.
22939 2015-02-07  Richard Braun  <rbraun@sceen.net>
22941         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22942         sigstate.
22943         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22945 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22947         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22948         priority against unexistent AIO_PRIO_DELTA_MAX.
22949         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22950         instead of int.
22951         * misc/fchflags.c (fchflags): Likewise.
22952         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22953         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22954         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22955         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22956         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22957         Declare macros.
22958         [__USE_MISC] (chflags, fchflags): Declare functions.
22959         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22960         EINVAL when nfds is greater than FD_SETSIZE.
22961         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22962         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22963         45.
22964         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22965         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22966         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22967         MACH_RCV_TIMED_OUT.
22968         * hurd/hurd/signal.h (_hurd_self_sigstate,
22969         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22970         Explicit casts from void *.
22971         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22972         * abi-tags: Rename gnu-gnu os into gnu.
22974         [BZ #4719]
22975         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22976         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22977         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22978         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22979         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22980         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22982         [BZ #17944]
22983         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22984         duplicates ADDR->sun_path with sockaddr LEN limitation.
22985         * sysdeps/mach/hurd/connect.c: Include <string.h>
22986         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22987         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22988         * sysdeps/mach/hurd/sendto.c: Likewise.
22989         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22990         implementing it by hand.
22992 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22995         Use sfi_breg on ldr.
22996         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22997         Likewise.
22999         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23000         it's defined.
23001         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23002         Test SIGSETXID only if it's defined.
23004         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23006         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23007         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23009         * nptl/tst-align2.c: Moved ...
23010         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23011         * nptl/Makefile (tests): Remove tst-align2.
23012         * sysdeps/unix/sysv/linux/Makefile
23013         [$(subdir) = nptl] (tests): Add tst-align-clone.
23014         * nptl/tst-getpid1.c: Moved ...
23015         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23016         * nptl/tst-getpid2.c: Moved ...
23017         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23018         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23019         * sysdeps/unix/sysv/linux/Makefile
23020         [$(subdir) = nptl] (tests): ... here.
23021         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23022         * sysdeps/unix/sysv/linux/Makefile
23023         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23025         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23026         Drop trailing \n from perror argument.  Use return rather than exit.
23028         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23029         on [SA_SIGINFO].
23030         * nptl/tst-cancel21.c (do_test): Likewise.
23031         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23032         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23033         [!SA_SIGINFO]: Make it a stub test.
23035         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23036         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23038         * posix/tst-getlogin.c: Move to ...
23039         * login/tst-getlogin.c: ... here.
23040         * posix/Makefile (tests): Move tst-getlogin to ...
23041         * login/Makefile (tests): ... here.
23043         * libio/tst-atime.c (do_test): Move local variables SV and E
23044         inside [ST_NOATIME] conditional.
23046         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23048         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23050         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23051         (wait_code): New function replaces macro.
23052         Call nanosleep rather than syscall.
23054         * nptl/pt-system.c: Rewritten.  Put everything under
23055         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23056         Use IFUNC to redirect when possible.
23058         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23059         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23060         Use IFUNC to redirect when possible.
23062         * nptl/pt-fork.c: Rewritten.  Put everything under
23063         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23064         Use IFUNC to redirect when possible.
23065         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23067         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23068         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23069         unconditionally nowadays.  This included the only reference to
23070         __vdso_clock_gettime that appears outside libc proper.
23071         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23072         Remove version set (containing only __vdso_clock_gettime).
23073         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23074         Add attribute_hidden.
23075         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23076         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23077         libc_hidden_data_def.
23078         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23079         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23081         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23082         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23083         setrpcent, and getrpcport to ...
23084         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23085         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23086         getrpcbynumber_r, and getrpcent_r to ...
23087         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23088         * inet/getrpcbyname.c: Moved ...
23089         * sunrpc/getrpcbyname.c: ... here.
23090         * inet/getrpcbyname_r.c: Moved ...
23091         * sunrpc/getrpcbyname_r.c: ... here.
23092         * inet/getrpcbynumber.c: Moved ...
23093         * sunrpc/getrpcbynumber.c: ... here.
23094         * inet/getrpcbynumber_r.c: Moved ...
23095         * sunrpc/getrpcbynumber_r.c: ... here.
23096         * inet/getrpcent.c: Moved ...
23097         * sunrpc/getrpcent.c: ... here.
23098         * inet/getrpcent_r.c: Moved ...
23099         * sunrpc/getrpcent_r.c: ... here.
23100         * inet/Makefile (routines): Move those to ...
23101         * sunrpc/Makefile (routines): ... here.
23102         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23103         the $(subdirs) list.
23104         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23105         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23106         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23107         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23109         * elf/Makefile (routines): Include $(all-dl-routines), not just
23110         $(dl-routines).
23111         (rtld-routines): Likewise.  Use = rather than :=.
23112         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23113         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23114         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23115         * sysdeps/arm/Makefile: Likewise.
23116         * sysdeps/i386/Makefile: Likewise.
23117         * sysdeps/x86_64/Makefile: Likewise.
23118         * sysdeps/hppa/Makefile [$(subdir) = elf]
23119         (sysdep_routines, sysdep-rtld-routines): Don't add
23120         $(sysdep-dl-routines) to these.
23121         * sysdeps/ia64/Makefile: Likewise.
23122         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23123         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23124         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23125         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23126         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23127         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23128         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23129         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23130         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23131         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23132         these; sysdep-dl-routines alone is enough.
23134 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #17932]
23137         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23138         where multiplication results in zero and third argument is finite
23139         and nonzero.
23140         * math/auto-libm-test-in: Add more tests of fma.
23141         * math/auto-libm-test-out: Regenerated.
23143         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23144         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23145         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23146         (_FP_CMP_EQ): Likewise.
23147         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23149         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23150         extra argument CHECK_NAN.  Redefine as wrapper around
23151         _FP_EXTEND_CNAN.
23153 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23155         * version.h (RELEASE): Set to "stable".
23156         (VERSION): Set to "2.21"
23157         * include/features.h (__GLIBC_MINOR__): Set to 21.
23159         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23161 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23162             Paul Eggert  <eggert@cs.ucla.edu>
23164         [BZ #16618]
23165         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23166         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23167         size in bytes. Store needed elements in wpmax. Use needed size
23168         in bytes for extend_alloca.
23170 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23172         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23173         binutls 2.25, and texinfo 5.2.
23174         * INSTALL: Regenerate.
23175         * sysdeps/nios2/configure: Regenerate.
23176         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23177         * manual/contrib.texi: Update.
23178         * po/be.po: Update.
23179         * po/bg.po: Update.
23180         * po/ca.po: Update.
23181         * po/cs.po: Update.
23182         * po/da.po: Update.
23183         * po/de.po: Update.
23184         * po/el.po: Update.
23185         * po/eo.po: Update.
23186         * po/es.po: Update.
23187         * po/fi.po: Update.
23188         * po/fr.po: Update.
23189         * po/gl.po: Update.
23190         * po/hr.po: Update.
23191         * po/hu.po: Update.
23192         * po/ia.po: Update.
23193         * po/id.po: Update.
23194         * po/it.po: Update.
23195         * po/ja.po: Update.
23196         * po/ko.po: Update.
23197         * po/lt.po: Update.
23198         * po/nb.po: Update.
23199         * po/nl.po: Update.
23200         * po/pl.po: Update.
23201         * po/pt_BR.po: Update.
23202         * po/ru.po: Update.
23203         * po/rw.po: Update.
23204         * po/sk.po: Update.
23205         * po/sl.po: Update.
23206         * po/sv.po: Update.
23207         * po/tr.po: Update.
23208         * po/uk.po: Update.
23209         * po/vi.po: Update.
23210         * po/zh_CN.po: Update.
23211         * po/zh_TW.po: Update.
23213         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23214         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23215         * sysdeps/hppa/dl-irel.h: Remove #warning.
23216         * sysdeps/hppa/entry.h: Provide prototype for
23217         __canonicalize_funcptr_for_compare and cast argument.
23218         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23219         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23220         * sysdeps/hppa/sotruss-lib.c: New file.
23221         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23222         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23223         (atomic_compare_and_exchange_bool_acq): Likewise.
23224         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23225         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23227         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23228         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23229         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23231 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23233         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23234         called function in non-PIC case.
23236 2015-01-31  David S. Miller  <davem@davemloft.net>
23238         * sysdeps/sparc/sparc32/bits/atomic.h
23239         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23240         unlock not after it.
23241         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23242         volatile register usage warnings from the compiler.
23244         * sysdeps/sparc/nptl/sem_init.c: Delete.
23245         * sysdeps/sparc/nptl/sem_post.c: Delete.
23246         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23247         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23248         * sysdeps/sparc/sparc32/sem_init.c: New file.
23249         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23250         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23251         padding explicitly initialized.
23252         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23253         padding for in-semaphore spinlock.
23254         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23255         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23256         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23257         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23258         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23259         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23260         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23261         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23262         version.
23263         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23264         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23266 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23268         [BZ #17801]
23269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23270         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23271         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23272         New.
23273         (index_AVX_Fast_Unaligned_Load): Likewise.
23274         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23275         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23276         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23277         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23278         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23279         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23280         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23281         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23282         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23284 2015-01-29  Andreas Schwab  <schwab@suse.de>
23286         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23288 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23290         [BZ #17892]
23291         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23293 2015-01-28  Martin Sebor  <msebor@redhat.com>
23295         * math/README.libm-test: Clarify. Add "How to read the test output."
23297 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23299         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23300         Define to 0.
23302 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23304         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23305         (__HAVE_64B_ATOMICS): Define to 0.
23307 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23309         [BZ #17885]
23310         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23311         value to set as new flag.
23313         [BZ #16576]
23314         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23315         and use _ARCH_PPCSQ instead.
23316         (__ieee754_sqrt): Likewise.
23317         (__ieee754_sqrtf): Likewise.
23318         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23319         _ARCH_PPCSQ is defined.
23320         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23321         fsqrt instruction.
23322         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23323         _ARCH_PPCSQ is defined.
23324         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23325         fsqrts instruction.
23326         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23328 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23330         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23331         bug (GCC BZ #64739).
23333 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23335         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23336         Mark _retval as used.
23337         (lll_futex_wake_unlock): Likewise.
23338         (lll_futex_timed_wait_requeue_pi): Likewise.
23340         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23341         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23342         register variables.
23344         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23345         libm_hidden_def.
23347         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23348         (__bswap_64): Mark as __always_inline.
23350 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23352         [BZ #15378]
23353         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23354         when none of the search directories exist.
23356 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23358         [BZ #17869]
23359         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23360         power8 in .machine directive.
23362         [BZ #17868]
23363         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23364         set dependency from opd value.
23366 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23369         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23370         architecture.
23372 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23374         [BZ #17870]
23375         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23376         with uint64_t.
23377         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23378         (uint64_t) 1.
23379         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23380         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23381         Replace 1UL with (uint64_t) 1.
23382         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23383         int with uint64_t.
23385 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23387         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23388         (if_freenameindex): Likewise.
23390         * resource/getrlimit64.c: Add missing libc_hidden_def.
23392 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23394         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23395         __label__.
23396         (_FP_FMA): Likewise.
23397         (_FP_TO_INT_ROUND): Likewise.
23398         (_FP_FROM_INT): Likewise.
23400 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23402         [BZ #16418]
23403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23404         Make code racy and cancel safe.
23406 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23408         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23409         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23410         attribution.
23412         * pwd/tst-getpw.c: Rewrite.
23414         [BZ #17702]
23415         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23416         (modules-names): Add moddummy1 and moddummy2.
23417         ($(objpfx)tst-rec-dlopen): Define.
23418         * dlfcn/moddummy1.c: New file.
23419         * dlfcn/moddummy2.c: New file.
23420         * dlfcn/tst-rec-dlopen.c: New file.
23421         * elf/dl-cache.c (_dl_load_cache_lookup):
23422         Return char*. Copy result with alloca/strcpy/strdup.
23423         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23424         returns char*. Free cached. If not saving realname
23425         free cached.
23426         * elf/dl-open.c (dl_open_worker): Do not assert that
23427         _r_debug->r_state is RT_CONSISTENT.
23428         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23429         returns char*.
23431 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23432             Carlos O'Donell  <carlos@redhat.com>
23434         [BZ #12674]
23435         * nptl/sem_waitcommon.c: New file.
23436         * nptl/sem_wait.c: Include sem_waitcommon.c.
23437         (__sem_wait_cleanup, do_futex_wait): Remove.
23438         (__new_sem_wait): Adapt.
23439         (__new_sem_trywait): New function.
23440         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23441         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23442         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23443         (sem_timedwait): Adapt.
23444         * nptl/sem_post.c (__new_sem_post): Adapt.
23445         (futex_wake): New function.
23446         (__old_sem_post): Add release MO fence.
23447         * nptl/sem_open.c (sem_open): Adapt.
23448         * nptl/sem_init.c (__new_sem_init): Adapt.
23449         (futex_private_if_supported): New function.
23450         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23451         (__old_sem_getvalue): Add using previous code.
23452         * sysdeps/nptl/internaltypes.h: Adapt.
23453         * nptl/tst-sem13.c (do_test): Adapt.
23454         * nptl/tst-sem11.c (main): Adapt.
23455         * nptl/sem_trywait.c: Remove.
23456         * nptl/DESIGN-sem.txt: Remove.
23457         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23458         (gen-as-const-headers): Remove structsem.sym.
23459         * nptl/structsem.sym: Remove.
23460         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23461         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23462         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23463         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23464         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23465         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23466         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23467         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23468         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23469         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23470         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23471         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23472         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23473         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23474         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23475         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23476         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23477         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23478         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23479         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23480         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23481         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23483 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23485         * INSTALL: Regenerated.
23487         * po/libc.pot: Regenerated.
23489 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23490             Sandra Loosemore  <sandra@codesourcery.com>
23491             Andrew Jenner  <andrew@codesourcery.com>
23492             Joseph Myers  <joseph@codesourcery.com>
23493             Nathan Sidwell  <nathan@codesourcery.com>
23495         * NEWS: Mention new Nios II port.
23496         * sysdeps/nios2/Implies: New file.
23497         * sysdeps/nios2/Makefile: New file.
23498         * sysdeps/nios2/Subdirs: New file.
23499         * sysdeps/nios2/Versions: New file.
23500         * sysdeps/nios2/__longjmp.S: New file.
23501         * sysdeps/nios2/abort-instr.h: New file.
23502         * sysdeps/nios2/backtrace.c: New file.
23503         * sysdeps/nios2/bits/endian.h: New file.
23504         * sysdeps/nios2/bits/fenv.h: New file.
23505         * sysdeps/nios2/bits/link.h: New file.
23506         * sysdeps/nios2/bits/setjmp.h: New file.
23507         * sysdeps/nios2/bsd-_setjmp.S: New file.
23508         * sysdeps/nios2/bsd-setjmp.S: New file.
23509         * sysdeps/nios2/configure: New generated file.
23510         * sysdeps/nios2/configure.ac: New file.
23511         * sysdeps/nios2/crti.S: New file.
23512         * sysdeps/nios2/crtn.S: New file.
23513         * sysdeps/nios2/dl-init.c: New file.
23514         * sysdeps/nios2/dl-machine.h: New file.
23515         * sysdeps/nios2/dl-sysdep.h: New file.
23516         * sysdeps/nios2/dl-tls.h: New file.
23517         * sysdeps/nios2/dl-trampoline.S: New file.
23518         * sysdeps/nios2/gccframe.h: New file.
23519         * sysdeps/nios2/gmp-mparam.h: New file.
23520         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23521         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23522         * sysdeps/nios2/ldsodefs.h: New file.
23523         * sysdeps/nios2/libc-tls.c: New file.
23524         * sysdeps/nios2/libm-test-ulps: New file.
23525         * sysdeps/nios2/machine-gmon.h: New file.
23526         * sysdeps/nios2/math-tests.h: New file.
23527         * sysdeps/nios2/math_private.h: New file.
23528         * sysdeps/nios2/memusage.h: New file.
23529         * sysdeps/nios2/nptl/Makefile: New file.
23530         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23531         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23532         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23533         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23534         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23535         * sysdeps/nios2/nptl/tls.h: New file.
23536         * sysdeps/nios2/preconfigure: New file.
23537         * sysdeps/nios2/s_fma.c: New file.
23538         * sysdeps/nios2/s_fmaf.c: New file.
23539         * sysdeps/nios2/setjmp.S: New file.
23540         * sysdeps/nios2/sfp-machine.h: New file.
23541         * sysdeps/nios2/sotruss-lib.c: New file.
23542         * sysdeps/nios2/stackguard-macros.h: New file.
23543         * sysdeps/nios2/stackinfo.h: New file.
23544         * sysdeps/nios2/start.S: New file.
23545         * sysdeps/nios2/sysdep.h: New file.
23546         * sysdeps/nios2/tls-macros.h: New file.
23547         * sysdeps/nios2/tst-audit.h: New file.
23548         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23549         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23550         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23551         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23552         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23553         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23554         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23555         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23556         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23557         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23558         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23559         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23560         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23561         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23562         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23563         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23564         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23565         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23566         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23567         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23568         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23569         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23570         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23571         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23572         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23573         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23574         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23575         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23576         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23577         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23578         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23579         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23580         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23581         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23582         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23583         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23584         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23585         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23586         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23587         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23588         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23589         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23590         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23591         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23593 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23595         [BZ #17844]
23596         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23597         (getutent): Use weak_alias in non SHARED case
23598         and default_symbol_version in SHARED case.
23599         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23600         (getutent_r, pututline): Likewise.
23601         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23602         (getutid): Likewise.
23603         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23604         (getutid_r): Likewise.
23605         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23606         (getutline): Likewise.
23607         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23608         (getutline_r): Likewise.
23609         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23610         (updwtmp): Likewise.
23612 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23614         [BZ #17848]
23615         * sysdeps/s390/s390-32/memcmp.S
23616         (memcmp_g5): Rename to __memcmp_g5.
23617         * sysdeps/s390/s390-32/memcpy.S
23618         (memcpy_g5): Rename to __memcpy_g5.
23619         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23620         (memcpy_mvcle) Rename to __memcpy_mvcle.
23621         * sysdeps/s390/s390-32/memset.S
23622         (memset_g5): Rename to __memset_g5.
23623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23624         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23625         and use prefixed functions.
23626         * sysdeps/s390/s390-32/multiarch/memcmp.S
23627         (memcmp_z196): Rename to __memcmp_z196.
23628         (memcmp_z10): Rename to __memcmp_z10.
23629         (memcmp): Set alias to __memcmp_g5.
23630         (bcmp): Set alias to __memcmp_g5.
23631         * sysdeps/s390/s390-32/multiarch/memcpy.S
23632         (memcpy_z196): Rename to __memcpy_z196.
23633         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23634         (memcpy_z10): Rename to __memcpy_z10.
23635         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23636         (memcpy): Set alias to __memcpy_g5.
23637         * sysdeps/s390/s390-32/multiarch/memset.S
23638         (memset_z196): Rename to __memset_z196.
23639         Jump to __memset_mvcle instead of memset_mvcle.
23640         (memset_z10): Rename to __memset_z10.
23641         Jump to __memset_mvcle instead of memset_mvcle.
23642         (memset_mvcle) Rename to __memset_mvcle.
23643         (memset): Set alias to __memset_g5.
23644         * sysdeps/s390/s390-64/memcmp.S
23645         (memcmp_z900): Rename to __memcmp_z900.
23646         * sysdeps/s390/s390-64/memcpy.S
23647         (memcpy_z900): Rename to __memcpy_z900.
23648         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23649         (memcpy_mvcle) Rename to __memcpy_mvcle.
23650         * sysdeps/s390/s390-64/memset.S
23651         (memset_z900): Rename to __memset_z900.
23652         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23653         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23654         and use prefixed functions.
23655         * sysdeps/s390/s390-64/multiarch/memcmp.S
23656         (memcmp_z196): Rename to __memcmp_z196.
23657         (memcmp_z10): Rename to __memcmp_z10.
23658         (memcmp): Set alias to __memcmp_z900.
23659         (bcmp): Set alias to __memcmp_z900.
23660         * sysdeps/s390/s390-64/multiarch/memcpy.S
23661         (memcpy_z196): Rename to __memcpy_z196.
23662         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23663         (memcpy_z10): Rename to __memcpy_z10.
23664         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23665         (memcpy): Set alias to __memcpy_z900.
23666         * sysdeps/s390/s390-64/multiarch/memset.S
23667         (memset_z196): Rename to __memset_z196.
23668         Jump to __memset_mvcle instead of memset_mvcle.
23669         (memset_z10): Rename to __memset_z10.
23670         Jump to __memset_mvcle instead of memset_mvcle.
23671         (memset_mvcle) Rename to __memset_mvcle.
23672         (memset): Set alias to __memset_z900.
23674 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23676         [BZ #17748]
23677         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23678         __fesetenv instead of fesetenv.
23680 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23682         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23683         macro.
23685 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23687         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23688         regression on LE.
23690         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23691         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23693         strncmp-power8 object.
23694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23695         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23696         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23697         * NEWS: Update.
23699 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23700             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23702         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23703         trailing byte check.
23705 2015-01-13  David S. Miller  <davem@davemloft.net>
23707         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23709 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23711         * login/logout.c (logout): Use memset rather than bzero.
23712         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23713         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23714         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23715         (_gethtbyaddr): Likewise.
23716         * locale/programs/simple-hash.c (bcopy): Macro removed.
23718 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23721         Add strcmp-power8 object.
23722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23723         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23724         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23725         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23726         __strcmp_power8 implementation.
23727         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23728         * NEWS: Update.
23730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23731         Add strncpy-power8 and stpncpy-power8 objects.
23732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23733         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23734         implementations.
23735         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23736         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23737         __stpncpy_power8 implementation.
23738         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23739         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23740         __strncpy_power8 implementation.
23741         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23742         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23743         * NEWS: Update.
23745         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23746         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23747         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23750         strncat-power8 object.
23751         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23752         __strcat_power8 implementation.
23753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23754         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23755         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23756         optimized strcat for power8.
23758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23759         strcpy-power8 and stpcpy-power8 objects.
23760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23761         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23762         implementations.
23763         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23764         multiarch stpcpy implementation for POWER8.
23765         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23766         multiarch strcpy implementation for POWER8.
23767         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23768         __strcpy_power8 function.
23769         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23770         stpcpy for POWER8.
23771         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23772         strcpy for POWER8.
23773         * NEWS: Update.
23775 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23777         [BZ #16009]
23778         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23779         weights and rules. Use do_xfrm_cached if data fits in cache,
23780         do_xfrm otherwise.  Moved former main loop to...
23781         * (do_xfrm_cached): New function.
23782         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23783         find_idx, find_position and stack_push.
23784         * (find_idx): New function.
23785         * (find_position): Likewise.
23786         * localedata/sort-test.sh: Added test run for do_xfrm.
23787         * localedata/xfrm-test.c (main): Added command line option
23788         -nocache to run the test with strings that are too large for
23789         the STRXFRM cache.
23791 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23793         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23794         variable to lll_futex_wake call, not the value itself.
23796 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23798         [BZ #17803]
23799         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23800         twom64.  Adjust value to 0x1p-64L.
23801         (__scalblnl): Only return standard underflowing result for K <=
23802         -64 not K <= -63; adjust exponent for underflowing result by 64
23803         not 63.
23804         * math/libm-test.inc (scalbn_test_data): Add more tests.
23805         (scalbln_test_data): Likewise.
23807         [BZ #17834]
23808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23809         0x1p63L.
23810         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23811         not HX.
23812         * math/libm-test.inc (scalbn_test_data): Add more tests.
23813         (scalbln_test_data): Likewise.
23815 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23816             Stefani Seibold  <stefani@seibold.net>
23818         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23819         (sysdep_routines): Add dl-vdso here, ...
23820         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23821         (sysdep_routines): ... not here.
23822         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23823         fallback when vDSO is not presented.
23824         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23825         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23826         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23827         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23828         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23829         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23830         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23831         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23832         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23833         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23834         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23835         fallback configurable symbol when vDSO is not available.
23836         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23837         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23838         be able to redefine fallback symbol when vDSO is not available.
23839         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23840         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23842 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23844         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23845         (TLS_INIT_TP): Add tm_capable initialization.
23846         (TLS_DEFINE_INIT_TP): Likewise.
23847         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23848         TCB.
23849         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23850         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23851         calculation.
23852         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23853         transactoion is lock elision is built and TCB tm_capable is set.
23854         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23856         (INTERNAL_SYSCALL_NCS): Likewise.
23857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23858         (INTERNAL_SYSCALL_NCS): Likewise.
23859         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23861         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23862         for powerpc.
23863         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23864         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23865         and remove it for 32 bits case.
23866         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23868         initialization.
23869         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23870         Disable lock elision with rdlocks if elision is not available.
23872         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23873         (sysdep_routines): Add lock elision objects.
23874         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23875         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23876         [pthread_mutex_t] (__elision): Add field.
23877         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23878         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23879         elision definitions for powerpc.
23880         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23881         implementation of lock elision for powerpc.
23882         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23883         implementation of timed lock elision for powerpc.
23884         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23885         implementation of trylock with lock elision for powerpc.
23886         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23887         implementaion of unlock for lock elision for powerpc.
23888         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23889         automatic enable lock elision for mutexes.
23890         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23891         transaction execution definitions for powerpc.
23892         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23893         definitions.
23894         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23895         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23896         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23897         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23898         * NEWS: Update.
23900 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23902         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23903         for #include of <shm-directory.h>.
23905 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23907         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23908         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23910 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23912         [BZ #17791]
23913         * NEWS: Mention bug fix.
23914         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23915         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23916         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23918 2015-01-09  Torvald Riegel <triegel@redhat.com>
23920         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23922 2015-01-09  Torvald Riegel <triegel@redhat.com>
23924         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23926 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23928         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23929         pointer and cast to uintptr_t.
23931 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23933         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23934         removed.
23935         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23937 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23939         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23940         of 0.
23942 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23944         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23945         <nptl/pthreadP.h> instead.
23946         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23948         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23949         already defined.
23950         [__SIGRTMIN] (init): Function removed.
23951         [__SIGRTMIN] (initialized): Variable removed.
23952         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23953         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23954         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23955         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23956         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23957         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23958         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23959         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23960         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23961         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23962         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23963         * sysdeps/nptl/allocrtsig.c: New file.
23964         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23965         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23966         * sysdeps/generic/testrtsig.h: File removed.
23968         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23969         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23971         * nptl/nptl-init.c (pthread_functions): Conditionalize
23972         .ptr__nptl_setxid initialization on [SIGSETXID].
23974         * sysdeps/nptl/sys/procfs.h: New file.
23975         * nptl_db/Makefile (headers): Add it.
23976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23978         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23979         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23980         * nptl/pthread_attr_setaffinity.c: Include it.
23981         * nptl/pthread_setattr_default_np.c: Likewise.
23982         * nptl/check-cpuset.h: New file.
23984 2015-01-08  Richard Henderson  <rth@redhat.com>
23986         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23987         (CFLAGS-tst-execstack-prog.c): Likewise.
23988         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23990 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23991             Sandra Loosemore  <sandra@codesourcery.com>
23992             Andrew Jenner  <andrew@codesourcery.com>
23993             Joseph Myers  <joseph@codesourcery.com>
23994             Nathan Sidwell  <nathan@codesourcery.com>
23996         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23997         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23998         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23999         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24000         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24001         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24002         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24003         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24004         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24005         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24006         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24007         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24008         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24009         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24010         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24011         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24012         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24014 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24017         timespec struct member in syscall macro.
24018         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24019         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24020         first timeval struct member in syscall macro.
24021         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24023 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24025         [BZ #17748]
24026         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24027         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24028         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24029         __feupdateenv and define as weak alias of __feupdateenv.  Use
24030         libm_hidden_weak.
24031         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24032         libm_hidden_def.
24033         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24034         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24035         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24036         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24037         libm_hidden_def.
24038         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24039         __feupdateenv and define as weak alias of __feupdateenv.  Use
24040         libm_hidden_weak.
24041         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24042         libm_hidden_def.
24043         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24044         __feupdateenv and define as weak alias of __feupdateenv.  Use
24045         libm_hidden_weak.
24046         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24047         libm_hidden_def.
24048         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24049         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24050         (__feupdateenv): Likewise.
24051         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24052         __feupdateenv and define as weak alias of __feupdateenv.  Use
24053         libm_hidden_weak.
24054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24055         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24056         libm_hidden_def.
24057         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24058         function.
24059         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24060         libm_hidden_def.
24061         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24062         __feupdateenv instead of feupdateenv.
24063         (default_libc_feupdateenv_test): Likewise.
24064         (libc_feresetround_ctx): Likewise.
24066 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24068         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24069         prototype.
24071 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24073         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24074         COLL_SYM in a couple of places to avoid uninitialized variable
24075         wanings on tilegx gcc 4.8.2.
24077 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24079         * sysdeps/aarch64/strcpy.S: New file.
24080         * sysdeps/aarch64/stpcpy.S: New file.
24081         * NEWS: Updated.
24083 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24085         * sysdeps/aarch64/strrchr.S: New file.
24086         * NEWS: Updated.
24088 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24090         [BZ #17658]
24091         * stdlib/setenv.c: Fix memory leak when setting large,
24092         duplicate string.
24094 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24096         [BZ #17273]
24097         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24098         and tabs from buffer before parsing fstab entry.
24099         * misc/tst-mntent.c (main): Add test for mount entry with
24100         trailing spaces and tabs.
24102 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #17748]
24105         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24106         * math/fesetround.c (fesetround): Rename to __fesetround and
24107         define as weak alias of __fesetround.  Use libm_hidden_weak.
24108         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24109         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24110         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24111         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24112         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24113         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24114         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24115         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24116         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24117         __fesetround_inline.
24118         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24119         __fesetround_inline instead of __fesetround.
24120         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24121         __fesetround and define as weak alias of __fesetround.  Use
24122         libm_hidden_weak.  Call __fesetround_inline instead of
24123         __fesetround.
24124         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24125         __fesetround and define as weak alias of __fesetround.  Use
24126         libm_hidden_weak.
24127         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24128         Likewise.
24129         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24130         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24131         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24132         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24133         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24134         __fesetround and define as weak alias of __fesetround.  Use
24135         libm_hidden_weak.
24136         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24137         __fesetround instead of fesetround.
24138         (default_libc_feholdexcept_setround): Likewise.
24139         (libc_feholdsetround_ctx): Likewise.
24140         (libc_feholdsetround_noex_ctx): Likewise.
24142         [BZ #17748]
24143         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24144         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24145         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24146         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24147         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24148         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24149         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24150         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24151         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24152         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24153         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24154         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24155         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24156         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24157         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24158         libm_hidden_def.
24159         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24160         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24161         Likewise.
24162         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24163         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24164         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24165         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24166         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24167         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24168         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24169         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24170         __fesetenv instead of fesetenv.
24171         (libc_feresetround_noex_ctx): Likewise.
24172         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24173         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24174         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24175         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24176         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24177         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24178         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24179         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24180         (__feupdateenv): Likewise.
24181         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24182         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24183         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24184         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24186 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24188         [BZ #17806]
24189         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24190         addresses have been freed.
24192 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24194         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24195         and nservall.
24197 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24199         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24200         Clean up check_pf allocation pattern. addresses
24202 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24204         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24205         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24206         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24207         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24208         * nptl/pthread_join.c (pthread_join): Likewise.
24209         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24210         * sysdeps/posix/waitid.c (__waitid): Likewise.
24211         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24212         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24213         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24214         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24215         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24216         Likewise.
24217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24218         (__libc_pread64): Likewise.
24219         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24220         (__libc_pwrite): Likewise.
24221         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24222         (__libc_pwrite64): Likewsie.
24223         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24224         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24225         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24226         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24227         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24228         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24229         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24231         Likewise.
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24233         (__libc_pread64): Likewise.
24234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24235         Likewise.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24237         (__libc_pwrite64): Likewise.
24238         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24239         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24240         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24241         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24242         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24243         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24244         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24245         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24246         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24247         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24248         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24249         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24250         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24251         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24252         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24254         Likewise.
24256 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24258         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24259         (CFLAGS-test-double.c): Likewise.
24260         (CFLAGS-test-ldouble.c): Likewise.
24261         (CPPFLAGS-test-ifloat.c): Likewise.
24262         (CPPFLAGS-test-idouble.c): Likewise.
24263         (CPPFLAGS-test-ildoubl.c): Likewise.
24264         (CFLAGS-test-test-fenv.c): Remove variable.
24265         (CFLAGS-test-misc.c): Likewise.
24267 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24269         [BZ #17797]
24270         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24271         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24272         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24273         CLOCKS_PER_SEC == 1000000.
24274         * time/clocktest.c (main): Replace %ld with %jd and cast to
24275         intmax_t.
24277 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24279         * sysdeps/generic/unwind-resume.h: New file.
24280         * sysdeps/gnu/unwind-resume.c: Include it.
24281         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24282         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24283         argument list.
24284         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24285         global rather than static.
24286         (_Unwind_Resume): Update user.
24287         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24288         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24289         rather than static.  Add __attribute__ ((cold)).
24290         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24291         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24292         * sysdeps/arm/arm-unwind-resume.S: New file.
24293         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24294         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24295         * sysdeps/arm/Makefile [$(subdir) = csu]
24296         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24297         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24298         Add rt-arm-unwind-resume.
24299         [$(subdir) = nptl]
24300         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24301         Add pt-arm-unwind-resume.
24302         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24303         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24305 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24307         [BZ #17748]
24308         * include/fenv.h (__feholdexcept): Declare.  Use
24309         libm_hidden_proto.
24310         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24311         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24312         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24313         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24314         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24315         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24316         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24317         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24318         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24319         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24320         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24321         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24322         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24323         (feholdexcept): Likewise.
24324         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24325         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24326         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24327         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24328         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24329         __feholdexcept instead of feholdexcept.
24330         (default_libc_feholdexcept_setround): Likewise.
24332 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24334         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24335         to avoid using stl/str to align destination.
24337 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24339         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24341 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24343         [BZ #17796]
24344         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24345         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24346         Define as weak alias not strong alias.
24348 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24350         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24351         bltzal with addiupc.
24352         (RTLD_START): Ditto.
24354 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24356         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24357         for __vdso_* functions in declarations.
24358         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24359         definitions.
24360         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24361         INTERNAL_VSYSCALL): Use struct return types to check for error.
24363         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24364         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24365         function with cast from llround().
24366         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24367         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24368         Define.
24370 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #17793]
24373         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24374         Define as weak alias not strong alias.
24376         [BZ #17635]
24377         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24378         ...
24379         * ctype/ctype-extn.c: ... here.
24380         (__isblank_l): Move to ...
24381         * ctype/ctype-c99_l.c: ... here.  New file.
24382         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24383         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24384         Remove variable.
24385         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24386         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24387         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24388         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24389         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24391         [BZ #17777]
24392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24393         (posix_fadvise64): Define as weak alias not strong alias.
24394         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24395         (posix_fallocate64): Likewise.
24396         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24397         Remove variable.
24398         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24399         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24400         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24401         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24402         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24404 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24406         [BZ #16191]
24407         * NEWS: Mention bug fix.
24408         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24409         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24410         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24411         (HOST_STACK_END_ADDR): Likewise.
24413 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24415         [BZ #17748]
24416         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24417         * math/fegetround.c (fegetround): Rename to __fegetround and
24418         define as weak alias of __fegetround.  Use libm_hidden_weak.
24419         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24420         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24421         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24422         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24423         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24424         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24425         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24426         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24427         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24428         Undefine after rather than before function definition; use
24429         parentheses around function name in definition.
24430         (__fegetround): Also undefine macro after function definition.
24431         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24432         __fegetround and define as weak alias of __fegetround.  Use
24433         libm_hidden_weak.  Do not undefine as macro.
24434         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24435         Likewise.
24436         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24437         __fegetround and define as weak alias of __fegetround.  Use
24438         libm_hidden_weak.
24439         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24440         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24441         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24442         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24443         __fegetround and define as weak alias of __fegetround.  Use
24444         libm_hidden_weak.
24445         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24446         __fegetround instead of fegetround.
24448         [BZ #17782]
24449         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24450         Condition macro definition on [__USE_MISC].
24452         [BZ #17781]
24453         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24454         (struct sigaction): Change type of sa_flags field to int.
24456         [BZ #17780]
24457         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24458         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24459         __glibc_reserved0.
24461         * nptl/version.c (banner): Use single year in copyright notice.
24463         * NEWS: Update copyright dates.
24464         * catgets/gencat.c (print_version): Likewise.
24465         * csu/version.c (banner): Likewise.
24466         * debug/catchsegv.sh: Likewise.
24467         * debug/pcprofiledump.c (print_version): Likewise.
24468         * debug/xtrace.sh (do_version): Likewise.
24469         * elf/ldconfig.c (print_version): Likewise.
24470         * elf/ldd.bash.in: Likewise.
24471         * elf/pldd.c (print_version): Likewise.
24472         * elf/sotruss.sh: Likewise.
24473         * elf/sprof.c (print_version): Likewise.
24474         * iconv/iconv_prog.c (print_version): Likewise.
24475         * iconv/iconvconfig.c (print_version): Likewise.
24476         * locale/programs/locale.c (print_version): Likewise.
24477         * locale/programs/localedef.c (print_version): Likewise.
24478         * login/programs/pt_chown.c (print_version): Likewise.
24479         * malloc/memusage.sh (do_version): Likewise.
24480         * malloc/memusagestat.c (print_version): Likewise.
24481         * malloc/mtrace.pl: Likewise.
24482         * manual/libc.texinfo: Likewise.
24483         * nptl/version.c (banner): Likewise.
24484         * nscd/nscd.c (print_version): Likewise.
24485         * nss/getent.c (print_version): Likewise.
24486         * nss/makedb.c (print_version): Likewise.
24487         * posix/getconf.c (main): Likewise.
24488         * scripts/test-installation.pl: Likewise.
24489         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24491 2015-01-02  Will Newton  <will.newton@linaro.org>
24493         * sysdeps/arm/armv7/configure: Removed.
24494         * sysdeps/arm/armv7/configure.ac: Likewise.
24496 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24498         * All files with FSF copyright notices: Update copyright dates
24499         using scripts/update-copyrights.
24500         * intl/plural.c: Regenerated.
24501         * locale/programs/charmap-kw.h: Likewise.
24502         * locale/programs/locfile-kw.h: Likewise.
24504 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24506         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24508 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24510         [BZ #17748]
24511         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24512         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24513         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24514         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24515         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24516         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24517         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24518         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24519         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24520         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24521         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24522         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24523         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24524         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24525         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24526         libm_hidden_def.
24527         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24528         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24529         Likewise.
24530         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24531         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24532         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24533         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24534         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24535         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24536         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24537         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24538         __fegetenv instead of fegetenv.
24539         (libc_feholdsetround_noex_ctx): Likewise.
24541 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24543         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24544         (Elf_MIPS_ABIFlags_v0): New structure.
24545         (EF_MIPS_FP64): Define.
24546         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24547         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24548         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24549         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24550         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24551         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24552         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24553         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24554         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24555         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24556         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24557         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24558         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24559         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24560         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24561         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24562         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24563         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24564         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24565         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24566         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24567         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24568         field.
24569         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24570         EF_MIPS_FP64.
24571         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24572         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24573         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24574         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24575         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24576         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24577         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24578         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24579         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24580         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24581         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24582         record the current FP ABI extension.
24583         (mips-mode-switch): Define to show if kernel headers support mode
24584         switching.
24585         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24586         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24587         supported SYSV ABI version to 3.
24588         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24589         feature.
24591 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24592             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24594         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24595         path.
24596         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24598 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24600         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24601         __fegetround and redefine to call __fegetround.  Remove condition
24602         on [!__NO_MATH_INLINES].
24603         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24604         function.
24605         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24606         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24607         Remove macro.
24608         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24609         instead of <fenv_libc.h>.
24610         (__llrintl): Call fegetround instead of __fegetround.
24611         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24612         instead of <fenv_libc.h>.
24613         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24614         (__lrintl): Call fegetround instead of __fegetround.
24615         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24616         instead of <fenv_libc.h>.
24617         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24618         (__rintl): Call fegetround instead of __fegetround.
24620 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24623         arrays.
24625 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24627         [BZ #17775]
24628         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24629         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24630         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24632 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24634         * sysdeps/i386/tls-macros.h: Include <features.h>.
24635         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24636         (TLS_IE): Likewise.
24637         (TLS_LD): Likewise.
24638         (TLS_GD): Likewise.
24639         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24640         define for GCC >= 5.0.
24642 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24644         * math/test-fenv.c (test_single_exception, set_single_exc,
24645         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24646         feexcp_mask_test, feenable_test, fe_single_test): Add
24647         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24648         case where they are not used.
24649         * math/libm-test.inc: Likewise.
24650         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24651         unused in the absence of FP rounding/exception support.
24652         * stdio-common/tst-printf-round.c: Likewise.
24653         * stdlib/tst-strtod-round.c: Likewise.
24654         * stdlib/tst-strtod-underflow.c: Likewise.
24656 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24658         [BZ #17723]
24659         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24660         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24661         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24662         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24663         libm_hidden_weak.
24664         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24665         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24666         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24667         libm_hidden_def.
24668         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24669         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24670         libm_hidden_weak.
24671         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24672         Likewise.
24673         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24674         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24675         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24676         libm_hidden_weak.
24677         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24678         libm_hidden_def.
24679         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24680         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24681         (__feraiseexcept): Likewise.
24682         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24683         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24684         libm_hidden_weak.
24685         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24686         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24687         libm_hidden_def.
24688         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24689         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24690         Use libm_hidden_def.
24691         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24692         libm_hidden_def.
24693         (feraiseexcept): Define as weak not strong alias.  Use
24694         libm_hidden_weak.
24695         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24696         New inline function.  Factored out of ...
24697         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24698         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24699         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24700         feraiseexcept.
24701         * math/w_acos.c (__acos): Likewise.
24702         * math/w_asin.c (__asin): Likewise.
24703         * math/w_ilogb.c (__ilogb): Likewise.
24704         * math/w_j0.c (y0): Likewise.
24705         * math/w_j1.c (y1): Likewise.
24706         * math/w_jn.c (yn): Likewise.
24707         * math/w_log.c (__log): Likewise.
24708         * math/w_log10.c (__log10): Likewise.
24709         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24710         * sysdeps/aarch64/fpu/math_private.h
24711         (libc_feupdateenv_test_aarch64): Likewise.
24712         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24713         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24714         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24715         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24716         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24717         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24718         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24719         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24720         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24721         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24723 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24725         [BZ #17732]
24726         * io/test-utime.c (main): Replace %ld with %jd and cast to
24727         intmax_t.
24728         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24729         * nptl/tst-mutex5.c: Include <stdint.h>.
24730         (do_test): Replace %ld with %jd and cast to intmax_t.
24731         * posix/tst-regex.c (run_test): Likewise.
24732         (run_test_backwards): Likewise.
24733         * rt/tst-clock.c: Include <stdint.h>.
24734         (clock_test): Replace %ld with %jd and cast to intmax_t.
24735         * rt/tst-cpuclock1.c: Include <stdint.h>.
24736         (do_test): Replace %lu with %ju and cast to uintmax_t.
24737         * rt/tst-cpuclock2.c: Include <stdint.h>.
24738         (do_test): Replace %lu with %ju and cast to uintmax_t.
24739         * rt/tst-mqueue1.c: Include <stdint.h>.
24740         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24741         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24742         intmax_t.
24743         * rt/tst-mqueue4.c (do_test): Likewise.
24744         * rt/tst-timer4.c: Include <stdint.h>.
24745         (check_ts): Replace %ld with %jd and cast to intmax_t.
24746         (do_test): Likewise.
24747         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24748         and cast to intmax_t.
24749         * sysdeps/pthread/tst-timer.c (main): Likewise.
24750         * time/clocktest.c (main): Likewise.
24751         * time/tst-posixtz.c (do_test): Likewise.
24752         * timezone/tst-timezone.c (main): Likewise.
24754 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24755             H.J. Lu  <hongjiu.lu@intel.com>
24757         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24758         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24759         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24760         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24761         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24762         version if bit_Fast_Unaligned_Load is set.
24763         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24764         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24765         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24766         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24767         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24768         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24769         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24770         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24771         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24772         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24773         to 4.
24774         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24775         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24776         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24777         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24779 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24781         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24782         instead of #if to avoid a Wundef warning.
24783         * stdlib/tst-limits.c (do_test): Likewise.
24785         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24786         parallel other exception macros.
24787         (fegetenv): Convert from macro to extern inline so that it applies
24788         retroactively to inline functions already seen by the compiler.
24789         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24791         * posix/Makefile (before-compile): Use $(objpfx) for
24792         posix-conf-vars-def.h.
24794 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24796         * posix/getconf.c (main): Use size_t for type of I.
24797         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24798         NSPEC.
24800         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24801         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24802         * posix/posix-envs.def: Likewise.
24803         * sysdeps/posix/sysconf.c: Likewise.
24804         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24805         (specs): Remove array.
24806         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24807         array.
24809         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24810         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24811         (__sysconf): Use CONF_IS_* macros.
24813         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24814         ($(objpfx)posix-conf-vars-def.h): New target.
24815         * posix/posix-conf-vars.list: New file.
24816         * posix/posix-conf-vars.h: New file.
24817         * posix/confstr.c: Include posix-conf-vars.h.
24818         (confstr): Use CONF_IS_* macros.
24819         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24820         CONF_IS_* macros.
24821         * scripts/gen-posix-conf-vars.awk: New file.
24823 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24825         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24826         fegetround): Add no-op macros to avoid linknamespace issues.
24828         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24829         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24831         * sysdeps/unix/sysv/linux/tile/sysdep.h
24832         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24833         assembly-specific section to avoid a redefinition warning.
24835         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24836         long before casting to pointer to avoid a cast warning.
24838 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24840         * sysdeps/tile/tilegx/Implies: New file.
24842 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24844         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24846 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24848         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24850 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24853         not define.
24854         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24855         <kernel-features.h>.
24856         (__utimes) [__NR_utimes]: Make code unconditional.
24857         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24858         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24859         (__ASSUME_UTIMES): Do not undefine.
24860         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24861         (__ASSUME_UTIMES): Likewise.
24862         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24863         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24864         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24865         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24867 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24869         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24871 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24873         [BZ #17747]
24874         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24875         alias to weak alias for j0l, y0l.
24876         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24877         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24879         [BZ #17746]
24880         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24881         conversion.
24883 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24885         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24886         to zero if not already defined.
24888 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24890         [BZ #17724]
24891         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24892         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24893         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24894         (char *) casts added.
24895         * sysdeps/ieee754/k_standardf.c: New file.
24896         * sysdeps/ieee754/k_standardl.c: Likewise.
24897         * math/Makefile (libm-support): Remove k_standard.
24898         (libm-calls): Add k_standard.
24900 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24902         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24903         Optimize to avoid an unnecessary FPCR read.
24905 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24907         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24908         Optimize to reduce FPCR/FPSR accesses.
24910 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24912         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24913         Call libc_fetestexcept_aarch64.
24915 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24917         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24918         Call libc_fesetround_aarch64.
24920 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24922         [BZ #17733]
24923         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24924         (__bind): Do not define as weak alias.
24925         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24926         define.
24927         (__getsockname): Do not define as weak alias.
24929 2014-12-22  Will Newton  <will.newton@linaro.org>
24931         * manual/install.texi: Document that we require bison 2.7
24932         or above.
24933         * INSTALL: Regenerate.
24934         * configure.ac: Use AC_CHECK_PROG_VER instead of
24935         AC_PATH_PROG when checking for bison and check for
24936         version 2.7 or above.
24937         * configure: Regenerate.
24939 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24941         [BZ #17745]
24942         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24943         * sysdeps/tile/ffsll.c (ffsll): To here.
24945         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24947 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24949         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24950         if not defined.
24951         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24952         definition.
24953         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24954         hidden ___tls_get_addr.
24955         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24956         hidden __tls_get_addr.
24957         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24958         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24959         Likewise.
24961 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24963         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24964         _dl_init call.
24966 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24968         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24969         from "call _dl_init@PLT".
24970         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24972 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24974         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24975         guarantees.
24977 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24979         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24981 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24983         [BZ #17744]
24984         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24985         strnlen.
24987 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24989         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24990         of multu on MIPSr6.
24991         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24992         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24993         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24994         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24995         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24997 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24999         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25000         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25001         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25002         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25003         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25004         mips32r6/mips64r6.
25005         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25007 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25009         * string/strncat.c (STRNCAT): Simplify implementation.
25011 2014-12-19  David S. Miller  <davem@davemloft.net>
25013         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25014         access the quad as both a long double and as a series of 4 words.
25016         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25017         link_map->l_info array access.
25019 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25021         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25023         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25024         * math/atest-exp2.c (TIMEOUT): Likewise.
25025         * math/atest-sincos.c (TIMEOUT): Likewise.
25027 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25029         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25030         -Wno-error with -fno-builtin-lround.
25032 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25034         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25035         Contains futex constants and functions moved over from ...
25036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25037         <lowlevellock-futex.h>.
25038         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25039         (lll_timedwait_tid): Add comments and parentheses around macro
25040         arguments.
25042 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25044         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25045         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25046         (__lll_private_flag): Remove.
25047         (lll_futex_wait): Likewise.
25048         (lll_futex_timed_wait): Likewise.
25049         (lll_futex_wake): Likewise.
25050         (lll_futex_requeue): Likewise.
25051         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25052         (__lll_timedwait_tid): Spell out argument names.
25053         (lll_timedwait_tid): Add comments and parentheses around macro
25054         arguments.
25055         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25056         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25058 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25060         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25061         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25062         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25063         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25064         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25065         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25066         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25067         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25068         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25069         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25070         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25071         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25072         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25073         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25074         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25075         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25076         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25077         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25078         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25080 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25082         * sysdeps/x86_64/x32/Makefile: New file.
25084 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25086         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25087         1L with (mp_limb_t) 1.
25089 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25091         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25092         * nptl/libc_pthread_init.c: ... here.
25093         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25094         * nptl/register-atfork.c: ... here.
25096         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25097         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25098         Use assert_perror to check its return value.
25099         (__gai_create_helper_thread): Likewise.
25101         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25103         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25105 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25107         [BZ #17725]
25108         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25109         __profil_counter.
25110         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25111         Likewise.
25112         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25113         Likewise.
25114         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25115         Likewise.
25116         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25117         (profil_counter): Likewise.
25118         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25119         (profil_counter): Likewise.
25120         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25121         Likewise.
25122         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25123         Likewise.
25124         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25125         (profil_counter): Likewise.
25126         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25127         Likewise.
25128         [!__profil_counter] (profil_counter): Define as weak alias of
25129         __profil_counter.
25130         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25131         (profil_counter): Rename to __profil_counter.
25132         [!__profil_counter] (profil_counter): Define as weak alias of
25133         __profil_counter.
25134         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25135         (profil_counter): Rename to __profil_counter.
25136         [!__profil_counter] (profil_counter): Define as weak alias of
25137         __profil_counter.
25138         * sysdeps/posix/profil.c: Update comment referring to
25139         profil_counter.
25140         (__profil): Use __profil_counter instead of profil_counter.
25141         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25142         __profil_counter.  Use __profil_counter_ushort and
25143         __profil_counter_uint in definitions.
25144         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25145         instead of profil_counter_uint and profil_counter_ushort.
25147         [BZ #17722]
25148         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25149         define as weak alias of __inet_makeaddr.
25150         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25151         as weak alias of __inet_addr.
25152         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25153         as weak alias of __inet_pton.  Use libc_hidden_weak.
25154         * include/arpa/inet.h (__inet_pton): Declare.  Use
25155         libc_hidden_proto.
25156         (inet_makeaddr): Don't use libc_hidden_proto.
25157         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25158         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25159         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25160         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25161         Remove variable.
25162         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25163         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25165 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25167         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25169 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25171         * stdio-common/bug-vfprintf-nargs.c (do_test):
25172         Cast value to intptr_t to avoid format warning
25173         for usage with PRIdPTR printing macro.
25175 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25177         * libio/tst-widetext.c (do_test):
25178         Use format type %td instead of %Zd for ptrdiff_t
25179         in order to avoid format warning.
25181 2014-12-17  Andreas Schwab  <schwab@suse.de>
25183         * nscd/mem.c (gc): Add size_t cast to match printf format.
25185 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25187         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25188         (init): Apply PTR_MANGLE to pointers before storing them.
25189         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25190         before using them.
25192 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25194         [BZ #17719]
25195         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25196         define as weak alias of __memrchr.
25197         (__memrchr): Do not define as strong alias of memrchr.
25198         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25199         Remove variable.
25200         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25201         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25202         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25204         [BZ #17717]
25205         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25206         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25207         (if_indextoname): Rename to __if_indextoname and define as weak
25208         alias of __if_indextoname.  Use libc_hidden_weak.
25209         (if_freenameindex): Rename to __if_freenameindex and define as
25210         weak alias of __if_freenameindex.
25211         (if_nameindex): Rename to __if_nameindex and define as weak alias
25212         of __if_nameindex.
25213         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25214         __if_nametoindex and define as weak alias of __if_nametoindex.
25215         Use libc_hidden_weak.
25216         (if_freenameindex): Rename to __if_freenameindex and define as
25217         weak alias of __if_freenameindex.
25218         (if_nameindex): Rename to __if_nameindex and define as weak alias
25219         of __if_nameindex.
25220         (if_indextoname): Rename to __if_indextoname and define as weak
25221         alias of __if_indextoname.  Use libc_hidden_weak.
25222         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25223         __if_nametoindex and define as weak alias of __if_nametoindex.
25224         Use libc_hidden_weak.
25225         (if_freenameindex): Rename to __if_freenameindex and define as
25226         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25227         (if_nameindex_netlink): Use __if_freenameindex instead of
25228         if_freenameindex.
25229         (if_nameindex): Rename to __if_nameindex and define as weak alias
25230         of __if_nameindex.  Use libc_hidden_weak.
25231         (if_indextoname): Rename to __if_indextoname and define as weak
25232         alias of __if_indextoname.  Use libc_hidden_weak.
25233         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25234         libc_hidden_proto.
25235         [!_ISOMAC] (__if_freenameindex): Likewise.
25236         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25237         if_nametoindex.
25238         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25239         variable.
25240         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25241         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25242         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25243         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25244         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25245         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25246         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25248         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25249         Remove variable.
25250         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25251         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25253 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25255         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25256         subscript above bounds'
25258         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25259         bounds.
25261 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25263         * libio/tst-fopenloc.c: Use test-skeleton.c.
25265         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25266         (entry): Rename to ITEM.
25267         (do_test, comp): Adjust.
25269         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25271 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25273         * string/tester.c: Include <libc-internal.h>.
25274         (test_memset): Ignore -Wmemset-transposed-args.
25276 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25278         * misc/tst-mntent2.c (do_test): Fix warning.
25280 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25282         * elf/tst-unique4lib.cc(a): Mark as used.
25284 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25286         [BZ #17630]
25287         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25288         names.
25290 2014-12-16  Allan McRae  <allan@archlinux.org>
25292         * stdio-common/Makefile (tests): Re-add bug26.
25294 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25296         [BZ #17657]
25297         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25298         static array.
25300 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25302         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25303         (__lll_lock_wait): Likewise.
25304         (__lll_timedlock_wait): Likewise.
25305         (__lll_timedwait_tid): Likewise.
25306         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25307         (__lll_robust_timedlock_wait): Likewise.
25308         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25309         (lll_cond_trylock): Likewise.
25310         (__lll_lock): Likewise.
25311         (__lll_robust_lock): Likewise.
25312         (__lll_cond_lock): Likewise.
25313         (lll_robust_cond_lock): Likewise.
25314         (__lll_timedlock): Likewise.
25315         (__lll_robust_timedlock): Likewise.
25316         (__lll_unlock): Likewise.
25317         (__lll_robust_unlock): Likewise.
25318         (lll_wait_tid): Likewise.
25319         (lll_timedwait_tid): Likewise.
25321 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25323         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25325 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25327         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25329 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25331         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25332         * stdio-common/tst-sprintf.c: Likewise.
25334 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25336         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25338 2014-12-15  Jeff Law  <law@redhat.com>
25340         [BZ #16617]
25341         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25342         on the heap.  (CVE-2012-3406)
25343         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25344         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25345         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25347 2014-12-15  Will Newton  <will.newton@linaro.org>
25349         * manual/install.texi: Bump required version of texinfo
25350         to 4.7 from 4.5.
25351         * INSTALL: Regenerated.
25352         * configure.ac: Check for makeinfo version 4.7 and above.
25353         * configure: Regenerated.
25355 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25357         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25358         PREFIX, string constant to insert between directory and name.
25359         * sysdeps/posix/shm_open.c: Update caller.
25360         * sysdeps/posix/shm_unlink.c: Likewise.
25361         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25362         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25363         (SEM_SHM_PREFIX): New macro.
25364         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25365         [$(have-thread-library) = no].
25366         * nptl/Makefile (libpthread-routines): Add shm-directory.
25367         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25368         * sysdeps/nptl/shm-directory.h: New file.
25369         * sysdeps/posix/shm-directory.c
25370         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25371         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25372         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25373         INTERNAL_SYSCALL.
25374         (__where_is_shmfs): Function removed.
25375         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25376         Variables removed.
25377         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25378         Use SHM_GET_NAME.
25379         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25381         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25382         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25383         unconditional for use inside libpthread.
25384         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25386 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25388         * nptl/pthread_getaffinity.c: New file.
25389         * nptl/pthread_setaffinity.c: New file.
25390         * nptl/pthread_getname.c: New file.
25391         * nptl/pthread_setname.c: New file.
25393         * nptl/pthread_create.c (START_THREAD_DEFN)
25394         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25396 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25399         * resolv/res_send.c (send_vc): Disable warning resplen may
25400         be used uninitialized.
25402 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25404         * nptl/tst-mutex6.c
25405         (ATTR_NULL): New define checks ATTR against NULL.
25406         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25407         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25409 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25411         [BZ #17581]
25412         * malloc/hooks.c
25413         (mem2mem_check): Revert my previous change.
25414         (malloc_check_get_size): Revert my previous change.
25415         (mem2chunk_check): Revert my previous change.
25417 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25419         * sysdeps/posix/shm-directory.c: New file.
25420         * sysdeps/posix/shm-directory.h: New file.
25421         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25422         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25423         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25424         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25425         Transmute EPERM to EACCES.
25426         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25427         from ...
25428         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25429         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25431 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25433         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25434         pointer and cast to uintptr_t.
25435         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25436         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25437         Add cast to avoid warning.
25438         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25440 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25442         * nptl/semaphore.h: Move to ...
25443         * sysdeps/pthread/semaphore.h: ... here.
25444         * Makefile (installed-headers): Change nptl/semaphore.h to
25445         sysdeps/pthread/semaphore.h.
25447 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25449         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25450         generated error format strings.
25452         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25453         -Wformat-extra-args warnings for scanf formats.
25454         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25455         test of zero-length format (duh).
25456         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25457         corner-case scanf format test.
25458         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25459         generated fprintf format string.
25460         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25461         corner-case sprintf format tests.
25462         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25463         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25464         -Wformat-extra-args warnings throughout.
25465         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25466         (CFLAGS-scanf4.c): Likewise.
25467         (CFLAGS-scanf7.c): Likewise.
25468         (CFLAGS-tst-sprintf.c): Likewise.
25469         (CFLAGS-tst-printf.c): Likewise.
25470         (CFLAGS-tst-printfsz.c): Likewise.
25472 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25474         * include/cpio.h: New file.
25475         * include/fmtmsg.h: Likewise.
25477         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25478         corresponding format argument to size_t.
25479         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25480         arguments.
25481         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25482         corresponding format argument to size_t.
25483         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25484         arguments.
25485         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25486         corresponding format argument to size_t.
25487         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25488         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25489         (CFLAGS-tst-mbswcs2.c): Likewise.
25490         (CFLAGS-tst-mbswcs3.c): Likewise.
25491         (CFLAGS-tst-mbswcs4.c): Likewise.
25492         (CFLAGS-tst-mbswcs5.c): Likewise.
25493         (CFLAGS-tst-trans.c): Likewise.
25495 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25497         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25498         rather than assuming they won't contain any '%'s.
25500 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25502         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25503         inhibit_loop_to_libcall to avoid recursive calls.
25504         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25505         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25507 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25509         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25510         prototype.
25512 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25514         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25515         integer value instead of boolean.
25517 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25519         * malloc/malloc.c: Fix powerof2 check.
25521 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25523         * locale/programs/locfile.h (maybe_swap_uint32):
25524         Remove inline and add unused attribute.
25526 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25529         Truncating assembler expression to a .long expression.
25531 2014-12-11  Andreas Schwab  <schwab@suse.de>
25533         * elf/rtld.c (struct map_args): Constify str member.
25534         (do_preload): Constify fname argument.
25536 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25538         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25539         constants definition.
25541 2014-12-11  Andreas Schwab  <schwab@suse.de>
25543         [BZ #16657]
25544         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25545         FORCE_ELISION instead of DO_ELISION.
25546         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25547         Remove.
25548         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25549         Likewise.
25551         * iconvdata/gconv-modules: Remove duplicate entry.
25553 2014-12-11  Will Newton  <will.newton@linaro.org>
25555         Merge gettext 0.19.3 into intl/.
25557         This involves a number of cosmetic changes to comments
25558         and ANSI function definitions and prototypes throughout
25559         all the files. The gettext copyright header is used but
25560         with the date ranges taken from the glibc copy.
25562         * NEWS: Add gettext merge to 2.21.
25563         * intl/bindtextdom.c: Switch to gettext copyright.
25564         Use ANSI definitions and prototypes.
25565         Use gl_* locking primitives rather than __libc_* ones.
25566         Use __builtin_expect rather than __glibc_likely/unlikely.
25567         * intl/dcgettext.c: Switch to gettext copyright.
25568         Use ANSI definitions and prototypes.
25569         * intl/dcigettext.c: Switch to gettext copyright.
25570         Use ANSI definitions and prototypes.
25571         (INTDIV0_RAISES_SIGFPE): New define.
25572         Use gl_* locking primitives rather than __libc_* ones.
25573         Include eval-plural.h instead of plural-eval.c.
25574         Use __builtin_expect rather than __glibc_likely/unlikely.
25575         * intl/dcngettext.c: Switch to gettext copyright.
25576         Use ANSI definitions and prototypes.
25577         * intl/dgettext.c: Likewise.
25578         * intl/dngettext.c: Likewise.
25579         * intl/plural-eval.c: Renamed to...
25580         * intl/eval-plural.h: ...this.
25581         * intl/explodename.c: Switch to gettext copyright.
25582         Use ANSI definitions and prototypes.
25583         (_nl_explode_name): Use strchr instead of __rawmemchr.
25584         * intl/finddomain.c: Switch to gettext copyright.
25585         Use ANSI definitions and prototypes.
25586         Use gl_* locking primitives rather than __libc_* ones.
25587         (_nl_find_domain): Use malloc rather than alloca for
25588         allocation of temporary locale name.
25589         * intl/gettext.c: Switch to gettext copyright.
25590         Use ANSI definitions and prototypes.
25591         * intl/gettextP.h: Switch to gettext copyright.
25592         Use ANSI definitions and prototypes.
25593         Use gl_* locking primitives rather than __libc_* ones.
25594         * intl/gmo.h: Switch to gettext copyright.
25595         (struct sysdep_string): Move struct segment_pair outside of
25596         struct definition.
25597         * intl/hash-string.c: Use ANSI definitions and prototypes.
25598         * intl/hash-string.h: Switch to gettext copyright.
25599         Use ANSI definitions and prototypes.
25600         * intl/l10nflist.c: Switch to gettext copyright.
25601         Use ANSI definitions and prototypes.
25602         (_nl_normalize_codeset): Avoid integer overflow.
25603         * intl/loadinfo.h: Switch to gettext copyright.
25604         Use ANSI definitions and prototypes.
25605         (LIBINTL_DLL_EXPORTED): New define.
25606         (PATH_SEPARATOR): New define.
25607         * intl/loadmsgcat.c: Switch to gettext copyright.
25608         * intl/localealias.c: Switch to gettext copyright.
25609         Use ANSI definitions and prototypes.
25610         (_nl_expand_alias): Use PATH_SEPARATOR.
25611         * intl/ngettext.c: Switch to gettext copyright.
25612         Use ANSI definitions and prototypes.
25613         * intl/plural-exp.c: Likewise.
25614         * intl/plural-exp.h: Switch to gettext copyright.
25615         Use ANSI definitions and prototypes.
25616         (struct expression): Move definition of enum operator outside
25617         of struct definition.
25618         * intl/plural.c: Regenerate.
25619         * intl/plural.y: Switch to gettext copyright.
25620         Use ANSI definitions and prototypes.
25621         Port to bison 3.0.
25622         * intl/textdomain.c: Switch to gettext copyright.
25623         Use ANSI definitions and prototypes.
25624         Use gl_* locking primitives rather than __libc_* ones.
25626 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25628         * debug/warning-nop.c: Add used atrribute.
25630 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25632         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25634         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25635         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25636         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25638 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25639             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25641         [BZ #17634]
25642         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25643         Undefine after defining function.  Define as weak alias of
25644         __wcschr.  Use libc_hidden_weak.
25645         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25646         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25647         (libc_hidden_def): Also define __GI___wcschr alias.
25648         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25649         __wcschr and define as weak alias of __wcschr.
25650         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25651         __wcschr.
25652         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25653         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25654         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25655         libc_hidden_weak.  Do not use libc_hidden_def.
25656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25657         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25658         __GI___wcschr alias.
25659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25660         [IS_IN (libc)] (wcschr): Define as macro expanding to
25661         __redirect_wcschr.
25662         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25663         [IS_IN (libc)] (__wcschr_power6): Likewise.
25664         [IS_IN (libc)] (__wcschr_power7): Likewise.
25665         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25666         instead of wcschr.
25667         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25668         __libc_wcschr.
25669         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25670         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25671         __wcschr and define as weak alias of __wcschr.  Use
25672         libc_hidden_builtin_def.
25673         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25674         as weak alias of __wcschr.  Use libc_hidden_weak.
25675         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25676         wcschr.
25677         * time/era.c (_nl_init_era_entries): Likewise.
25678         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25679         variable.
25680         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25681         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25683 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25685         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25686         format for long int variable.
25688 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25690         [BZ #10672]
25691         * manual/search.texi: (Array Sort Function): Remove claim how to make
25692         qsort stable.
25694 2014-12-10  Andreas Schwab  <schwab@suse.de>
25696         [BZ #12847]
25697         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25698         user-controlled locks.
25700 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25702         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25703         register.
25705 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25707         * configure.ac (--disable-werror): New configure option.
25708         (enable_werror): New AC_SUBST.
25709         * configure: Regenerated.
25710         * config.make.in (enable-werror): New variable.
25711         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25712         -Wno-error=undef.
25713         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25714         * manual/install.texi (Configuring and compiling): Document
25715         --disable-werror.
25716         * INSTALL: Regenerated.
25717         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25718         (CFLAGS-tst-chk2.c): Likewise.
25719         (CFLAGS-tst-chk3.c): Likewise.
25720         (CFLAGS-tst-chk4.cc): Likewise.
25721         (CFLAGS-tst-chk5.cc): Likewise.
25722         (CFLAGS-tst-chk6.cc): Likewise.
25723         (CFLAGS-tst-lfschk1.c): Likewise.
25724         (CFLAGS-tst-lfschk2.c): Likewise.
25725         (CFLAGS-tst-lfschk3.c): Likewise.
25726         (CFLAGS-tst-lfschk4.cc): Likewise.
25727         (CFLAGS-tst-lfschk5.cc): Likewise.
25728         (CFLAGS-tst-lfschk6.cc): Likewise.
25730         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25731         (main): Disable -Wdeprecated-declarations around calls to
25732         register_printf_function.
25734         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25735         (do_test): Disable -Wdiv-by-zero around some calls to
25736         fwrite_unlocked and fread_unlocked.
25738         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25739         (DIAG_POP_NEEDS_COMMENT): Likewise.
25740         (_DIAG_STR1): Likewise.
25741         (_DIAG_STR): Likewise.
25742         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25743         * stdio-common/bug21.c: Include <libc-internal.h>.
25744         (do_test): Disable -Wformat around call to sscanf.
25745         * stdio-common/scanf14.c: Include <libc-internal.h>.
25746         (main): Disable -Wformat around some calls to scanf functions.
25748 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25750         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25752 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25754         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25755         stack variable alignment.
25757 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25759         [BZ #17682]
25760         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25761         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25762         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25763         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25764         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25765         __getrlimit instead of getrlimit.
25766         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25767         __gettimeofday instead of gettimeofday.
25768         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25769         Likewise.
25770         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25771         Likewise.
25772         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25773         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25774         Remove variable.
25775         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25776         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25778 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25780         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25781         for wide-character tests.
25783 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25785         * io/openat64.c: #include <libc-internal.h>
25786         (__openat64): Prototypify.  Use ignore_value on MODE.
25787         * io/openat.c: Likewise.
25788         * misc/reboot.c: #include <libc-internal.h>
25789         (reboot): Prototypify.  Use ignore_value on HOWTO.
25790         * misc/ptrace.c: #include <libc-internal.h>
25791         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25793 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25795         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25796         XPG4, UNIX98 and XOPEN2K.
25797         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25798         Remove variable.
25799         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25801 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25803         * libio/fileops.c: Use ISO C style for function definitions.
25804         * libio/iofopen.c: Likewise.
25805         * libio/wfileops.c: Likewise.
25807         [BZ #17653]
25808         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25809         offset on EOF.
25810         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25811         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25812         (fgets_func): Function pointer to fgets and fgetws.
25813         (do_ftell_test): Add test to verify ftell value after read
25814         EOF.
25815         (do_test): Set fgets_func.
25817         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25818         O_TRUNC flag for w and w+ modes.
25819         (do_rewind_test): Likewise.
25820         (do_ftell_test): Likewise.
25821         (do_write_test): Likewise.
25823         [BZ #17647]
25824         * libio/fileops.c (do_ftell): Seek only when there are
25825         unflushed writes.
25826         * libio/wfileops.c (do_ftell_wide): Likewise.
25827         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25828         test case.
25829         (do_one_test): Call it.
25831 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25833         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25834         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25835         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25836         Remove variable.
25837         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25838         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25839         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25841 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25843         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25844         Remove variable.
25845         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25847         [BZ #17668]
25848         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25849         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25850         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25851         __freeifaddrs.  Use libc_hidden_weak.
25852         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25853         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25854         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25855         __freeifaddrs.  Use libc_hidden_weak.
25856         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25857         __getifaddrs and define as weak alias of __getifaddrs.  Use
25858         libc_hidden_weak.
25859         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25860         __freeifaddrs.  Use libc_hidden_weak.
25861         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25862         Remove variable.
25863         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25864         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25866 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25868         [BZ #17601]
25869         * sysdeps/mips/start.S (__start): Use indirect jump to call
25870         __libc_start_main.
25872 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25874         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25876         * nptl/tst-mutex1.c: Include <stdbool.h>.
25877         [!ATTR] (ATTR_NULL): New macro.
25878         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25879         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25880         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25882         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25883         to char *.
25885         [BZ #17665]
25886         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25887         Change conditional to [__USE_MISC].
25889         [BZ #17664]
25890         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25891         fgets_unlocked.
25892         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25893         __fgets_unlocked.
25894         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25895         fgets_unlocked.
25896         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25897         Remove variable.
25898         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25899         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25900         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25901         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25902         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25903         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25904         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25905         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25906         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25908         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25910 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25913         Remove strpbrk objects.
25914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25915         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25916         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25918         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25919         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25922         Remove strcspn objects.
25923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25924         (__libc_ifunc_impl_list): Remove strcspn implementation.
25925         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25926         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25927         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25928         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25931         Remove strspn objetcs.
25932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25933         (__libc_ifunc_impl_list): Remove strspn implementation.
25934         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25935         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25936         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25937         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25939 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25941         [BZ #17581]
25942         * malloc/hooks.c
25943         (mem2mem_check): Add a terminator to the chain of checking blocks.
25944         (malloc_check_get_size): Use it here.
25945         (mem2chunk_check): Ditto.
25947 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25949         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25950         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25952 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25954         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25956         * nptl/nptl-init.c: Include libc-internal.h.
25957         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25959         * elf/ldconfig.c (search_dir): Expand comment.
25961 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25963         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25964         variable.
25965         (linknamespace-symlist-stdlibs-tests): Likewise.
25966         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25967         instead of $(objpfx)symlist-stdlibs.
25968         (linknamespace-libs-isoc): New variable.
25969         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25970         (linknamespace-libs-ISO): New variable.
25971         (linknamespace-libs-ISO99): Likewise.
25972         (linknamespace-libs-ISO11): Likewise.
25973         (linknamespace-libs-XPG3): Likewise.
25974         (linknamespace-libs-XPG4): Likewise.
25975         (linknamespace-libs-POSIX): Likewise.
25976         (linknamespace-libs-UNIX98): Likewise.
25977         (linknamespace-libs-XOPEN2K): Likewise.
25978         (linknamespace-libs-POSIX2008): Likewise.
25979         (linknamespace-libs-XOPEN2K8): Likewise.
25980         ($(objpfx)symlist-stdlibs): Replace by
25981         $(linknamespace-symlist-stdlibs-tests).  Use
25982         $(linknamespace-libs-$*) as set of libraries.
25983         ($(linknamespace-header-tests)): Update dependencies.  Use
25984         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25985         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25986         * conform/linknamespace.pl: Remove comment about considering
25987         definitions of symbols from irrelevant libraries.
25989 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25991         [BZ #13862]
25992         * elf/dl-tls.c: Include <atomic.h>.
25993         (oom): Remove #ifdef SHARED/#endif.
25994         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25995         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25996         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25997         big enough.
25998         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25999         * nptl/Makefile (tests): Add tst-stack4.
26000         (modules-names): Add tst-stack4mod.
26001         ($(objpfx)tst-stack4): New.
26002         (tst-stack4mod.sos): Likewise.
26003         ($(objpfx)tst-stack4.out): Likewise.
26004         ($(tst-stack4mod.sos)): Likewise.
26005         (clean): Likewise.
26006         * nptl/tst-stack4.c: New file.
26007         * nptl/tst-stack4mod.c: Likewise.
26009 2014-11-27  J. Brown  <jb999@gmx.de>
26011         * sysdeps/x86/bits/string.h: Add recent CPUs.
26013 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26015         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26016         sigblock.
26018         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26019         feof.
26021         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26022         variable.
26024 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26026         * nscd/connections.c: Include libc-internal.h because of macro
26027         usage ignore_value.
26029 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26031         * string/bits/string3.h (__warn_memset_zero_len): Don't
26032         declare for gcc newer than 5.0.
26033         (memset): Don't test for zero-length __LEN for gcc newer than
26034         5.0.
26036 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26038         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26039         size_t for %zu format.
26041         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26042         difference, not %ju.
26044 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26046         * include/libc-internal.h (ignore_value): New macro.
26047         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26048         with ignore_value.
26050         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26051         definition.
26053         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26054         pthread_cleanup_push to void *.
26056         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26057         Undefine.
26059         [BZ #16619]
26060         [BZ #16740]
26061         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26062         instead of 1L << 52.
26064         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26065         * libio/bug-rewind2.c (do_test): Likewise.
26067         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26068         * debug/test-strcpy_chk-ifunc.c: Likewise.
26069         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26070         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26071         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26072         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26073         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26074         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26075         * Rules [$(multi-arch) = no] (tests): Do not filter out
26076         $(tests-ifunc).
26077         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26078         * debug/Makefile (tests-ifunc): Remove variable.
26079         (tests): Do not add $(tests-ifunc).
26080         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26081         (tests): Do not add $(tests-ifunc).
26082         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26083         [TEST_IFUNC]: Remove conditionals.
26084         * string/test-string.h (TEST_IFUNC): Remove macro.
26085         [TEST_IFUNC]: Remove conditionals.
26087         * string/test-strchr.c [!WIDE] (L): New macro.
26088         [WIDE] (L): Likewise.
26089         (check1): Use CHAR instead of char.  Use L on string and character
26090         constants.
26092 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26094         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26095         tests.
26096         * sysdeps/powerpc/bits/atomic.h
26097         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26098         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26099         (atomic_exchange_and_add_acq): Likewise.
26100         (atomic_exchange_and_add_rel): Likewise.
26101         * sysdeps/powerpc/powerpc32/bits/atomic.h
26102         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26103         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26104         * sysdeps/powerpc/powerpc64/bits/atomic.h
26105         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26106         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26108 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26110         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26111         Change synchronization of __sched_fifo_min_prio and
26112         __sched_fifo_max_prio.
26113         * nptl/pthread_mutexattr_getprioceiling.c
26114         (pthread_mutexattr_getprioceiling): Likewise.
26115         * nptl/pthread_mutexattr_setprioceiling.c
26116         (pthread_mutexattr_setprioceiling): Likewise.
26117         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26118         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26119         Likewise.
26121 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26123         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26124         void.
26126 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26128         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26129         third argument const.
26131 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26133         fnmatch: work around GCC compiler warning bug with uninit var
26134         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26135         This works around a bug with x86-64 GCC 4.9.2 and earlier
26136         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26137         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26138         used uninitialized in this function [-Wmaybe-uninitialized]".
26140 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26142         * posix/bug-regex31.c (main): Return RES not 0.
26144 2014-11-25  Anton Blanchard <anton@samba.org>
26146         * sysdeps/powerpc/bits/atomic.h
26147         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26149 2014-11-24  Sterling Augustine  <saugustine@google.com>
26151         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26153 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26155         [BZ #17608]
26156         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26158 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26160         [BZ #17633]
26161         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26162         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26163         variable.
26164         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26165         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26167 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26169         * string/strncpy.c (strncpy): Improve performance by using memset.
26171 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26173         * string/strcpy.c (strcpy):
26174         Improve performance by using strlen and memcpy.
26176 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26178         * string/strcoll_l.c (get_next_seq): __always_inline.
26179         * string/strcoll_l.c (do_compare): __always_inline.
26181 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26183         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26184         defined.
26185         * include/mqueue.h: Likewise.
26186         * include/stdlib.h: Likewise.
26188         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26189         (get_null_defines): Adjust.
26190         * sunrpc/Makefile: Adjust comment.
26191         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26192         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26193         (CFLAGS-interp.c): Likewise.
26194         (CFLAGS-ldconfig.c): Likewise.
26195         (CPPFLAGS-.os): Likewise.
26196         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26197         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26198         * extra-modules.mk (extra-modules.mk): Likewise.
26199         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26200         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26201         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26202         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26203         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26204         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26205         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26206         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26207         * iconvdata/Makefile (CPPFLAGS): Likewise.
26208         (cpp-srcs-left): Add libof for all iconvdata routines.
26209         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26210         * include/assert.h: Likewise.
26211         * include/ctype.h: Likewise.
26212         * include/errno.h: Likewise.
26213         * include/libc-symbols.h: Likewise.
26214         * include/math.h: Likewise.
26215         * include/netdb.h: Likewise.
26216         * include/resolv.h: Likewise.
26217         * include/stdio.h: Likewise.
26218         * include/stdlib.h: Likewise.
26219         * include/string.h: Likewise.
26220         * include/sys/stat.h: Likewise.
26221         * include/wctype.h: Likewise.
26222         * intl/l10nflist.c: Likewise.
26223         * libidn/idn-stub.c: Likewise.
26224         * libio/libioP.h: Likewise.
26225         * nptl/libc_multiple_threads.c: Likewise.
26226         * nptl/pthreadP.h: Likewise.
26227         * posix/regex_internal.h: Likewise.
26228         * resolv/res_hconf.c: Likewise.
26229         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26230         * sysdeps/arm/memmove.S: Likewise.
26231         * sysdeps/arm/sysdep.h: Likewise.
26232         * sysdeps/generic/_itoa.h: Likewise.
26233         * sysdeps/generic/symbol-hacks.h: Likewise.
26234         * sysdeps/gnu/errlist.awk: Likewise.
26235         * sysdeps/gnu/errlist.c: Likewise.
26236         * sysdeps/i386/i586/memcpy.S: Likewise.
26237         * sysdeps/i386/i586/memset.S: Likewise.
26238         * sysdeps/i386/i686/memcpy.S: Likewise.
26239         * sysdeps/i386/i686/memmove.S: Likewise.
26240         * sysdeps/i386/i686/mempcpy.S: Likewise.
26241         * sysdeps/i386/i686/memset.S: Likewise.
26242         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26243         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26244         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26245         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26246         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26247         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26248         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26249         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26250         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26251         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26252         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26253         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26254         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26255         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26256         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26257         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26258         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26259         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26260         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26261         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26262         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26263         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26264         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26265         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26266         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26267         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26268         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26269         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26270         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26272         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26273         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26274         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26275         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26276         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26277         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26278         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26279         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26280         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26281         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26282         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26283         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26284         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26285         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26286         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26287         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26288         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26289         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26290         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26291         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26292         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26293         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26294         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26295         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26296         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26297         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26298         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26299         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26300         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26301         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26302         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26303         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26304         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26305         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26306         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26307         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26308         * sysdeps/posix/closedir.c: Likewise.
26309         * sysdeps/posix/opendir.c: Likewise.
26310         * sysdeps/posix/readdir.c: Likewise.
26311         * sysdeps/posix/rewinddir.c: Likewise.
26312         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26313         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26314         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26315         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26316         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26318         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26322         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26323         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26324         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26325         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26326         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26327         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26328         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26329         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26330         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26332         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26333         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26334         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26340         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26347         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26348         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26350         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26351         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26352         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26353         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26354         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26356         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26357         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26358         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26359         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26360         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26361         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26362         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26363         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26364         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26369         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26370         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26371         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26372         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26373         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26374         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26375         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26376         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26377         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26378         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26379         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26380         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26381         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26382         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26383         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26384         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26385         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26386         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26387         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26388         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26389         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26390         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26391         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26392         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26393         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26394         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26396         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26397         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26398         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26399         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26400         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26401         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26402         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26403         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26404         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26406         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26407         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26408         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26409         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26410         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26411         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26412         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26413         * sysdeps/unix/alpha/sysdep.S: Likewise.
26414         * sysdeps/unix/alpha/sysdep.h: Likewise.
26415         * sysdeps/unix/make-syscalls.sh: Likewise.
26416         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26418         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26419         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26420         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26421         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26422         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26423         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26424         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26425         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26426         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26427         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26429         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26430         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26431         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26432         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26433         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26434         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26435         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26436         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26437         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26438         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26439         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26440         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26441         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26442         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26445         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26450         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26454         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26455         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26456         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26457         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26458         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26459         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26460         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26463         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26466         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26467         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26468         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26469         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26470         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26472         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26474         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26475         * sysdeps/x86_64/memcpy.S: Likewise.
26476         * sysdeps/x86_64/memmove.c: Likewise.
26477         * sysdeps/x86_64/memset.S: Likewise.
26478         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26479         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26480         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26481         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26482         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26483         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26484         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26485         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26486         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26487         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26488         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26489         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26490         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26491         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26492         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26493         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26494         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26495         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26496         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26497         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26498         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26499         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26500         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26501         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26502         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26503         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26504         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26505         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26506         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26507         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26508         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26509         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26510         * sysdeps/x86_64/strcmp.S: Likewise.
26512         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26514         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26515         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26516         * elf/rtld-Rules: Likewise.
26517         * elf/setup-vdso.h: Likewise.
26518         * include/assert.h: Likewise.
26519         * include/bits/stdlib-float.h: Likewise.
26520         * include/errno.h: Likewise.
26521         * include/sys/stat.h: Likewise.
26522         * include/unistd.h: Likewise.
26523         * sysdeps/aarch64/setjmp.S: Likewise.
26524         * sysdeps/alpha/setjmp.S: Likewise.
26525         * sysdeps/arm/__longjmp.S: Likewise.
26526         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26527         * sysdeps/arm/setjmp.S: Likewise.
26528         * sysdeps/arm/sysdep.h: Likewise.
26529         * sysdeps/generic/_itoa.h: Likewise.
26530         * sysdeps/generic/dl-sysdep.h: Likewise.
26531         * sysdeps/generic/ldsodefs.h: Likewise.
26532         * sysdeps/i386/dl-tls.h: Likewise.
26533         * sysdeps/i386/setjmp.S: Likewise.
26534         * sysdeps/m68k/setjmp.c: Likewise.
26535         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26536         * sysdeps/mach/hurd/opendir.c: Likewise.
26537         * sysdeps/posix/getcwd.c: Likewise.
26538         * sysdeps/posix/opendir.c: Likewise.
26539         * sysdeps/posix/profil.c: Likewise.
26540         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26541         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26542         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26543         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26544         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26545         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26546         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26547         * sysdeps/s390/dl-tls.h: Likewise.
26548         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26549         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26550         * sysdeps/sh/sh3/setjmp.S: Likewise.
26551         * sysdeps/sh/sh4/setjmp.S: Likewise.
26552         * sysdeps/unix/alpha/sysdep.h: Likewise.
26553         * sysdeps/unix/arm/sysdep.S: Likewise.
26554         * sysdeps/unix/i386/sysdep.S: Likewise.
26555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26556         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26557         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26559         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26560         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26561         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26562         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26563         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26564         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26565         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26566         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26567         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26570         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26573         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26574         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26575         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26578         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26579         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26580         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26582         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26583         * sysdeps/x86_64/setjmp.S: Likewise.
26585         * include/math.h: Use IS_IN instead of IS_IN_libm.
26586         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26587         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26588         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26589         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26590         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26591         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26592         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26593         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26594         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26595         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26596         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26597         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26598         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26599         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26600         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26601         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26602         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26603         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26604         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26605         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26606         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26607         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26608         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26609         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26610         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26611         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26613         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26614         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26615         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26616         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26617         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26618         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26620         Likewise.
26621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26622         Likewise.
26623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26624         Likewise.
26625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26626         Likewise.
26627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26628         Likewise.
26629         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26630         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26631         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26632         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26633         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26640         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26641         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26642         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26643         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26644         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26645         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26646         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26647         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26648         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26649         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26650         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26651         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26653         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26655         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26657         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26658         * nptl/pthreadP.h: Likewise.
26659         * nptl_db/structs.def: Likewise.
26660         * sysdeps/arm/sysdep.h: Likewise.
26661         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26662         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26663         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26664         * sysdeps/unix/alpha/sysdep.h: Likewise.
26665         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26667         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26668         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26669         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26670         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26671         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26672         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26673         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26674         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26675         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26676         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26677         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26678         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26681         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26683         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26684         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26685         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26686         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26687         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26688         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26689         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26692         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26693         * nptl/pthreadP.h: Likewise.
26694         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26695         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26696         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26697         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26698         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26699         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26700         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26701         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26702         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26703         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26704         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26705         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26707         Likewise.
26708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26709         Likewise.
26710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26712         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26715         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26716         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26717         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26719         * dlfcn/dladdr.c: Use IS_IN.
26720         * dlfcn/dladdr1.c: Likewise.
26721         * dlfcn/dlclose.c: Likewise.
26722         * dlfcn/dlerror.c: Likewise.
26723         * dlfcn/dlinfo.c: Likewise.
26724         * dlfcn/dlmopen.c: Likewise.
26725         * dlfcn/dlopen.c: Likewise.
26726         * dlfcn/dlsym.c: Likewise.
26727         * dlfcn/dlvsym.c: Likewise.
26729         * include/ifaddrs.h: Use IS_IN.
26730         * inet/check_pf.c: Likewise.
26731         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26732         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26734         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26735         IS_IN_ldconfig.
26736         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26737         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26739         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26740         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26741         IS_IN (libc).
26743         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26745         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26746         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26747         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26748         * include/libc-symbols.h (IS_IN_LIB): New macro.
26749         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26750         * include/netdb.h: Likewise.
26751         * include/stap-probe.h: Remove all uses of IN_LIB.
26753         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26754         instead of IN_MODULE.
26755         * include/libc-symbols.h (IN_MODULE): Define using
26756         MODULE_NAME.
26757         (PASTE_NAME, PASTE_NAME1): New macros.
26758         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26759         of IN_LIB.
26760         (STAP_PROBE_ASM): Likewise.
26762 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26764         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26765         __mach_init in dlopened libc.
26767 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26769         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26770         * sysdeps/arm/preconfigure: Regenerate.
26772 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26774         * nptl/pthread_create.c (__pthread_create_2_1): Set
26775         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26776         when copying values from IATTR into PD.
26778 2014-11-21  Will Newton  <will.newton@linaro.org>
26779             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26781         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26782         Refactor inline-asm.  Also add comment.
26784         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26785         ElfW macro instead of hardcoded Elf64 types.
26786         (la_aarch64_gnu_pltenter): Likewise.
26787         * sysdeps/aarch64/dl-machine.h
26788         (elf_machine_runtime_setup): Use ElfW(Addr).
26790         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26791         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26792         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26793         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26794         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26795         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26796         (R_AARCH64_TLS_DTPMOD): This.
26797         (R_AARCH64_TLS_DTPREL64): Rename to ...
26798         (R_AARCH64_TLS_DTPREL): This.
26799         (R_AARCH64_TLS_TPREL64): Rename to ...
26800         (R_AARCH64_TLS_TPREL): This.
26801         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26802         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26803         R_AARCH64_TLS_TPREL64.
26804         (elf_machine_rela): Likewise.
26806 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26808         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26809         by setting it to 0.  64b atomics are not supported currently.
26811 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26813         [BZ #16469]
26814         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26815         search domain names.
26817 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26819         [BZ #16469]
26820         * NEWS: Update.
26821         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26822         trailing dot.
26823         * posix/tst-getaddrinfo5.c: New.
26824         * posix/Makefile (tests): Add it.
26826 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26828         [BZ #14498]
26829         * NEWS: Fixed.
26830         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26831         after parsing line but before break_if_match.
26832         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26833         if there is a protocol mismatch.
26835 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26837         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26838         because the potential race is on the user-supplied stream.
26840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26842         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26843         string literal if not passed a buffer.
26844         * manual/job.texi (ctermid): Update reasoning, note deviation
26845         from posix, suggest mtasurace when not passed a buffer, for
26846         future non-preliminary safety notes.
26848 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26850         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26851         of not passing it a buffer.
26852         Reported by Peng Haitao.
26854 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26856         * manual/Makefile ($(objpfx)stamp-summary): Require
26857         check-safety.sh to pass.
26858         * manual/check-safety.sh: Wish for verification that every
26859         @deftypefn and @deftypefun is followed by a @safety remark.
26861 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26863         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26865         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26866         PTHREAD_CANCEL_ASYNCHRONOUS.
26867         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26868         send SIGCANCEL.
26870         * nptl/default-sched.h: New file.
26871         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26872         * nptl/pthread_create.c: Include it.
26873         (__pthread_create_2_1): Use collect_default_sched instead of making
26874         Linux syscalls here directly.
26876 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26878         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26879         __pthread_once): Use C11 atomics.
26881 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26883         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26885 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26887         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26888         atomic_thread_fence_acquire, atomic_thread_fence_release,
26889         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26890         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26891         atomic_compare_exchange_weak_relaxed,
26892         atomic_compare_exchange_weak_acquire,
26893         atomic_compare_exchange_weak_release,
26894         atomic_exchange_acquire, atomic_exchange_release,
26895         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26896         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26897         atomic_fetch_and_acquire,
26898         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26900 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26902         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26903         USE_ATOMIC_COMPILER_BUILTINS): Define.
26904         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26906         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26908         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26910         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26912         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26914         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26916         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26918         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26920         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26922         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26924         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26926         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26930         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26932         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26934         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26936         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26938         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26939         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26940         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26942         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26945 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26947         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26948         the sched_priority value here.  It was already checked when the user
26949         called pthread_attr_setschedparam.
26951         * nptl/tst-bad-schedattr.c: New file.
26952         * nptl/Makefile (tests): Add it.
26954 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26955             Florian Weimer  <fweimer@redhat.com>
26956             Joseph Myers  <joseph@codesourcery.com>
26957             Adam Conrad  <adconrad@0c3.net>
26958             Andreas Schwab  <schwab@suse.de>
26959             Brooks  <bmoses@google.com>
26961         [BZ #17625]
26962         * wordexp-test.c (__dso_handle): Add prototype.
26963         (__register_atfork): Likewise.
26964         (__app_register_atfork): New function.
26965         (registered_forks): New global.
26966         (register_fork): New function.
26967         (test_case): Add 3 new tests for WRDE_CMDSUB.
26968         (main): Call __app_register_atfork.
26969         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26970         fork count is non-zero fail the test.
26971         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26972         is set.
26973         (parse_dollars): Remove check for WRDE_NOCMD.
26974         (parse_dquote): Likewise.
26976 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26978         * Makeconfig (built-modules): List non-library modules to be
26979         built.
26980         (module-cppflags): Include libc-modules.h for
26981         everything except shlib-versions.v.i.
26982         (CPPFLAGS): Use it.
26983         (before-compile): Add libc-modules.h.
26984         ($(common-objpfx)libc-modules.h,
26985         $(common-objpfx)libc-modules.stmp): New targets.
26986         (common-generated): Add libc-modules.h and libc-modules.stmp.
26987         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26988         * include/libc-symbols.h: Don't include libc-modules.h.
26989         * include/libc-modules.h: Remove file.
26990         * scripts/gen-libc-modules.awk: New script to generate
26991         libc-modules.h.
26992         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26993         Depend on libc-modules.stmp.
26995         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26997         * Makeconfig (in-module): Get value of libof set for the
26998         translation unit.
26999         (CPPFLAGS): Use $(in-module).
27000         * Makerules: Don't suffix routine names for nonlib.
27001         * include/libc-modules.h: New file.
27002         * include/libc-symbols.h: Include libc-modules.h
27003         (IS_IN): New macro to replace IS_IN_* macros.
27004         * elf/Makefile: Set libof-* for each routine.
27005         * elf/rtld-Rules: Likewise.
27006         * extra-modules.mk: Likewise.
27007         * iconv/Makefile: Likewise.
27008         * iconvdata/Makefile: Likewise.
27009         * locale/Makefile: Likewise.
27010         * malloc/Makefile: Likewise.
27011         * nss/Makefile: Likewise.
27012         * sysdeps/gnu/Makefile: Likewise.
27013         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27014         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27015         * sysdeps/s390/s390-64/Makefile: Likewise.
27016         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27017         CPPFLAGS for nscd instead of nonlib.
27019 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27021         * nptl/createthread.c: New file.
27023         * nptl/createthread.c: Moved ...
27024         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27026         * nptl/createthread.c: Add proper top-line comment.
27027         (do_clone): Folded into ...
27028         (create_thread): ... here.  Take new arguments STOPPED_START and
27029         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27030         increment __nptl_threads, do event-reporting logic, do
27031         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27032         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27033         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27034         just send SIGCANCEL.
27035         * nptl/pthread_create.c: Forward-declare create_thread before
27036         including createthread.c.
27037         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27038         declaration, and new macro START_THREAD_SELF to replace argument.
27039         Remove return statement.
27040         (report_thread_creation): New function.
27041         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27042         synchronization logic, and __nptl_nthreads increment here, around
27043         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27044         PD->parent_cancelhandling here, before create_thread.  When
27045         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27046         __deallocate_stack, and ENOMEM translation here.
27048 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27050         [BZ #17616]
27051         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27052         (mptwo): Rename to __mptwo.
27053         (__inv): Use __mptwo instead of mptwo.
27054         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27055         (mptwo): Rename to __mptwo.
27056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27057         of mpone and __mptwo instead of mptwo.
27058         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27059         instead of mpone.
27060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27061         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27062         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27063         of mpone and __mptwo instead of mptwo.
27064         (__mpranred): Use __mpone instead of mpone.
27065         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27066         variable.
27067         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27068         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27069         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27070         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27071         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27072         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27073         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27074         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27075         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27076         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27077         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27078         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27079         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27080         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27081         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27082         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27083         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27084         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27085         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27087 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27089         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27090         replace BSD Handler xref with BSD Signal Handling.
27092 2014-11-17  Richard Henderson  <rth@redhat.com>
27094         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27095         (_FP_PACK_RAW_2): Remove.
27096         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27097         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27098         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27099         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27100         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27101         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27102         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27103         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27104         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27105         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27106         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27107         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27108         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27109         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27110         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27111         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27113 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27115         * signal/signal.h [__USE_MISC]
27116         (struct sigvec): Remove type.
27117         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27118         (sigvec): Remove declaration.
27119         * sysdeps/posix/sigvec.c: Moved ...
27120         * signal/sigvec.c: ... here, replacing old file.
27121         (struct sigvec): New type, copied from old signal.h definition.
27122         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27123         (__sigvec): Convert definition to prototype.
27124         (sigvec): Replace weak_alias with compat_symbol.
27125         * signal/Versions (libc: GLIBC_2.21): New version set.
27126         * include/signal.h: Remove __sigvec declaration.
27127         * sysdeps/unix/bsd/sigvec.c: Remove file.
27128         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27129         * manual/signal.texi (BSD Handler): Remove subsection.
27130         Move siginterrupt up to ...
27131         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27132         (Blocking in BSD): Fold subsection into its parent.
27133         * NEWS: Mention sigvec removal.
27135 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27137         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27138         (DLA_FMS): Make definition conditional only on [__FMA4__].
27139         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27140         definition.
27142         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27143         Make definition conditional only on [PROF].
27144         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27145         definition.
27146         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27147         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27149         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27150         !__GNUC__].
27151         * include/signal.h (__sigpause): Move declaration above call to
27152         libc_hidden_proto.
27153         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27154         variable.
27155         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27156         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27158 2014-11-14  David S. Miller  <davem@davemloft.net>
27160         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27161         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27163 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27165         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27166         * configure: Regenerated.
27167         * manual/install.texi (Tools for Compilation): Document a
27168         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27169         compiler verified to work.
27170         * INSTALL: Regenerated.
27172         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27173         redeclare with asm name.
27174         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27175         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27176         including <string.h>.
27177         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27178         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27179         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27180         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27181         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27182         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27183         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27185 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27187         * stdlib/strtol.c (__strtol): Use prototype definition.
27189         [BZ #17594]
27190         * stdlib/strtol.c (SYM__): New macro.
27191         (SYM__1): Likewise.
27192         (__strtol): Likewise.
27193         (strtol): Rename to __strtol and define as weak alias of
27194         __strtol.  Use libc_hidden_weak.
27196 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27198         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27199         Use numbered labels in inline assembly.
27201 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27203         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27204         Add setjmp LIBC_PROBE.
27205         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27206         Likewise.
27207         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27208         Add longjmp, longjmp_target LIBC_PROBE.
27209         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27210         Likewise.
27212 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27214         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27215         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27216         to get rid of unused variable warning.
27218 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27220         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27221         Check for unwind_backtrace ==  NULL only in SHARED case.
27222         (__backchain_backtrace): Compile only in SHARED case.
27223         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27224         Likewise.
27225         (__backchain_backtrace): Declare as static.
27227 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27229         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27230         (__libc_multiple_threads_ptr): Variable moved ...
27231         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27233 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27235         * conform/GlibcConform.pm: New file.
27236         * conform/conformtest.pl: Use GlibcConform module.
27237         * conform/linknamespace.pl: New file.
27238         * conform/list-header-symbols.pl: Likewise.
27239         * conform/Makefile (linknamespace-symlists-base): New variable.
27240         (linknamespace-symlists-tests): Likewise.
27241         (linknamespace-header-base): Likewise.
27242         (linknamespace-header-tests): Likewise.
27243         (tests-special): Add new tests.
27244         ($(linknamespace-symlists-tests)): New rule.
27245         (linknamespace-libs): New variable.
27246         ($(objpfx)symlist-stdlibs): New rule.
27247         ($(linknamespace-header-tests)): Likewise.
27248         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27249         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27250         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27251         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27252         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27253         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27254         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27255         (test-xfail-ISO/math.h/linknamespace): Likewise.
27256         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27257         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27258         (test-xfail-ISO/time.h/linknamespace): Likewise.
27259         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27260         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27261         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27262         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27263         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27264         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27265         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27266         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27267         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27268         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27269         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27270         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27271         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27272         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27273         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27274         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27275         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27276         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27277         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27278         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27279         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27280         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27281         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27282         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27283         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27284         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27285         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27286         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27287         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27288         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27289         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27290         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27291         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27292         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27293         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27294         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27295         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27296         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27297         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27298         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27299         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27300         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27301         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27302         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27303         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27304         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27305         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27306         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27307         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27308         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27309         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27310         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27311         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27312         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27313         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27314         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27315         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27316         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27317         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27318         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27319         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27320         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27321         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27322         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27323         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27324         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27325         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27326         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27327         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27328         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27329         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27330         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27331         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27332         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27333         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27334         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27335         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27336         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27337         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27338         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27339         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27340         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27341         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27342         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27343         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27344         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27345         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27346         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27347         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27348         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27349         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27350         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27351         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27352         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27353         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27354         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27355         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27356         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27357         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27358         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27359         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27360         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27361         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27362         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27363         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27364         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27365         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27366         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27367         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27368         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27369         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27370         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27371         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27372         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27373         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27374         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27375         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27376         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27377         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27378         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27379         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27380         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27381         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27382         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27383         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27384         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27385         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27386         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27387         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27388         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27389         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27390         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27391         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27392         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27393         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27394         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27395         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27396         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27397         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27398         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27399         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27400         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27401         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27402         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27403         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27404         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27405         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27406         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27407         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27408         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27410         [BZ #17589]
27411         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27412         of fgets_unlocked.
27414         [BZ #17585]
27415         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27416         (memmem): Rename to __memmem and define as weak alias of
27417         __memmem.  Use libc_hidden_weak.
27418         (__memmem): Use libc_hidden_def.
27419         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27420         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27421         memmem.
27423         [BZ #17582]
27424         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27425         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27426         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27427         and define as weak alias of __fgets_unlocked.  Use
27428         libc_hidden_weak.
27429         (__fgets_unlocked): Use libc_hidden_def.
27430         * include/stdio.h (__fgets_unlocked): Declare.  Use
27431         libc_hidden_proto.
27432         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27433         __fgets_unlocked instead of fgets_unlocked.
27434         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27435         (GET_NPROCS_CONF_PARSER): Likewise.
27436         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27437         (GET_NPROCS_CONF_PARSER): Likewise.
27439         [BZ #17574]
27440         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27441         weak alias of __wmemset.  Use libc_hidden_weak.
27442         (__wmemset): Use libc_hidden_def.
27443         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27444         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27445         of wmemset.
27447         [BZ #17573]
27448         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27449         with asm name __mempcpy.
27450         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27452         [BZ #17572]
27453         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27454         and define as weak alias of __rawmemchr.
27455         (__rawmemchr): Do not define as strong alias of rawmemchr.
27457         [BZ #17571]
27458         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27459         alias of __qsort_r.
27460         (qsort): Call __qsort_r instead of qsort_r.
27461         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27462         (__qsort_r): Declare.  Call libc_hidden_proto.
27463         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27464         instead of qsort_r.
27465         * nscd/gai.c (__qsort_r): Define to qsort_r.
27466         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27467         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27468         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27470         [BZ #17570]
27471         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27472         define as weak alias of __malloc_info.
27474         [BZ #17584]
27475         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27476         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27477         (__rewinddir): Use libc_hidden_def.
27478         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27479         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27480         (__rewinddir): Use libc_hidden_def.
27481         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27482         weak alias of __rewinddir.  Don't use libc_hidden_def.
27483         (__rewinddir): Use libc_hidden_def.
27484         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27485         (__rewinddir): Use libc_hidden_proto.
27486         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27487         rewinddir.
27488         (__getcwd): Use __rewinddir instead of rewinddir.
27490         [BZ #17583]
27491         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27492         alias of __fileno.  Use libc_hidden_weak.
27493         (__fileno): Use libc_hidden_def.
27494         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27495         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27496         alias of __ftello.
27497         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27498         __ftello.
27499         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27500         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27501         libc_hidden_def.
27502         (fread_unlocked): Don't use libc_hidden_ver.
27503         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27504         and define as weak alias of __fread_unlocked.  Don't use
27505         libc_hidden_def.
27506         (__fread_unlocked): Use libc_hidden_def.
27507         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27508         (ftello): Don't use libc_hidden_proto.
27509         (__ftello): Declare.  Use libc_hidden_proto.
27510         (fread_unlocked): Don't use libc_hidden_proto.
27511         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27512         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27513         and __ftello instead of fileno, fread_unlocked and ftello.
27515 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27517         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27518         GOT12.
27519         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27520         Likewise.
27521         (_dl_start_user): Likewise.
27522         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27524 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27525             Siddhesh Poyarekar  <siddhesh@redhat.com>
27527         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27528         Move argv and envp down instead of moving argc up.
27529         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27531 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27533         [BZ #17506]
27534         * test-skeleton.c (main): Return successful if one of
27535         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27536         * string/tst-strcoll-overflow.c: Define expected status.
27538 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27540         [BZ #17475]
27541         * locale/iso-639.def: Define Bhili and Tulu language codes.
27543 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27545         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27547 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27549         [BZ #17555]
27550         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27552 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27554         * configure.ac: Updated check of minimal required version to
27555         2.22.
27556         * manual/install.texi (Tools for Compilation): Updated version
27557         number.
27558         * configure: Regenerated.
27559         * INSTALL: Likewise.
27561 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27563         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27564         __tls_get_addr.
27566 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27568         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27569         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27570         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27571         libc_hidden_weak.
27572         (waitpid): Define as alias of __waitpid.
27573         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27574         __waitpid.
27575         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27576         libc_hidden_weak.
27577         (waitpid): Define as alias of __waitpid.
27578         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27579         __libc_waitpid alias.
27580         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27581         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27582         Likewise.
27583         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27584         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27585         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27586         alias.
27587         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27588         __waitpid.
27589         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27590         libc_hidden_weak.
27591         (waitpid): Define as alias of __waitpid.
27593 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27595         * manual/llio.texi: Add comment that write safety has been
27596         fixed in Linux.
27598         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27599         (localplt-build-dso): Add elf/ld.so.
27600         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27601         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27602         and free for ld.so.
27603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27604         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27606         Likewise.
27607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27608         Likewise.
27609         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27610         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27611         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27612         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27613         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27614         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27615         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27616         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27617         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27618         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27619         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27621 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #14132]
27624         * include/libc-symbols.h (INTUSE): Remove macro.
27625         (INTDEF): Likewise.
27626         (INTVARDEF): Likewise.
27627         (_INTVARDEF): Likewise.
27628         (INTDEF2): Likewise.
27629         (INTVARDEF2): Likewise.
27630         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27631         rtld_hidden_def instead of INTVARDEF.
27632         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27633         (_dl_starting_up_internal): Remove declaration.
27634         (_dl_starting_up): Use rtld_hidden_proto.
27635         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27636         declaration.
27637         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27638         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27639         _dl_starting_up.
27640         * elf/dl-writev.h (_dl_writev): Likewise.
27641         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27642         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27643         _dl_starting_up_internal.
27645 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27647         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27648         test-skeleton.c.
27650 2014-11-05  Will Newton  <will.newton@linaro.org>
27652         * benchtests/Makefile: (bench-malloc): Add malloc thread
27653         scalability benchmark.
27654         * benchtests/bench-malloc-threads.c: New file.
27656 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27658         * sysdeps/aarch64/strchrnul.S: New file.
27660 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27662         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27663         definition.
27664         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27665         Likwise.
27666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27667         Likewise.
27668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27669         Likewise.
27670         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27671         Likewise.
27672         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27673         Likewise.
27675 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27677         * catgets/test-gencat.c: Use test-skeleton.c.
27678         * catgets/tst-catgets.c: Likewise.
27679         * csu/tst-empty.c: Likewise.
27680         * elf/tst-audit2.c: Likewise.
27681         * elf/tst-global1.c: Likewise.
27682         * elf/tst-pathopt.c: Likewise.
27683         * elf/tst-piemod1.c: Likewise.
27684         * elf/tst-tls10.c: Likewise.
27685         * elf/tst-tls11.c: Likewise.
27686         * elf/tst-tls12.c: Likewise.
27687         * gnulib/tst-gcc.c: Likewise.
27688         * iconvdata/tst-e2big.c: Likewise.
27689         * iconvdata/tst-loading.c: Likewise.
27690         * iconv/tst-iconv1.c: Likewise.
27691         * iconv/tst-iconv2.c: Likewise.
27692         * inet/test-inet6_opt.c: Likewise.
27693         * inet/tst-gethnm.c: Likewise.
27694         * inet/tst-network.c: Likewise.
27695         * inet/tst-ntoa.c: Likewise.
27696         * intl/tst-codeset.c: Likewise.
27697         * intl/tst-gettext2.c: Likewise.
27698         * intl/tst-gettext3.c: Likewise.
27699         * intl/tst-ngettext.c: Likewise.
27700         * intl/tst-translit.c: Likewise.
27701         * io/test-stat.c: Likewise.
27702         * libio/test-fmemopen.c: Likewise.
27703         * libio/tst-freopen.c: Likewise.
27704         * libio/tst-sscanf.c: Likewise.
27705         * libio/tst-ungetwc1.c: Likewise.
27706         * libio/tst-ungetwc2.c: Likewise.
27707         * libio/tst-widetext.c: Likewise.
27708         * localedata/tst-ctype.c: Likewise.
27709         * localedata/tst-digits.c: Likewise.
27710         * localedata/tst-leaks.c: Likewise.
27711         * localedata/tst-mbswcs1.c: Likewise.
27712         * localedata/tst-mbswcs2.c: Likewise.
27713         * localedata/tst-mbswcs3.c: Likewise.
27714         * localedata/tst-mbswcs4.c: Likewise.
27715         * localedata/tst-mbswcs5.c: Likewise.
27716         * localedata/tst-setlocale.c: Likewise.
27717         * localedata/tst-trans.c: Likewise.
27718         * localedata/tst-wctype.c: Likewise.
27719         * localedata/tst-xlocale1.c: Likewise.
27720         * login/tst-grantpt.c: Likewise.
27721         * malloc/tst-calloc.c: Likewise.
27722         * malloc/tst-malloc.c: Likewise.
27723         * malloc/tst-mallocstate.c: Likewise.
27724         * malloc/tst-mcheck.c: Likewise.
27725         * malloc/tst-mtrace.c: Likewise.
27726         * malloc/tst-obstack.c: Likewise.
27727         * math/atest-exp2.c: Likewise.
27728         * math/atest-exp.c: Likewise.
27729         * math/atest-sincos.c: Likewise.
27730         * math/test-matherr.c: Likewise.
27731         * math/test-misc.c: Likewise.
27732         * math/test-powl.c: Likewise.
27733         * math/tst-definitions.c: Likewise.
27734         * misc/tst-dirname.c: Likewise.
27735         * misc/tst-efgcvt.c: Likewise.
27736         * misc/tst-fdset.c: Likewise.
27737         * misc/tst-hsearch.c: Likewise.
27738         * misc/tst-mntent2.c: Likewise.
27739         * nptl/tst-sem7.c: Likewise.
27740         * nptl/tst-sem8.c: Likewise.
27741         * nptl/tst-sem9.c: Likewise.
27742         * nss/test-netdb.c: Likewise.
27743         * posix/tst-fnmatch.c: Likewise.
27744         * posix/tst-getlogin.c: Likewise.
27745         * posix/tst-gnuglob.c: Likewise.
27746         * posix/tst-mmap.c: Likewise.
27747         * pwd/tst-getpw.c: Likewise.
27748         * resolv/tst-inet_ntop.c: Likewise.
27749         * rt/tst-timer.c: Likewise.
27750         * stdio-common/test-fseek.c: Likewise.
27751         * stdio-common/test-popen.c: Likewise.
27752         * stdio-common/test-vfprintf.c: Likewise.
27753         * stdio-common/tst-cookie.c: Likewise.
27754         * stdio-common/tst-fileno.c: Likewise.
27755         * stdio-common/tst-gets.c: Likewise.
27756         * stdio-common/tst-obprintf.c: Likewise.
27757         * stdio-common/tst-perror.c: Likewise.
27758         * stdio-common/tst-sprintf2.c: Likewise.
27759         * stdio-common/tst-sprintf3.c: Likewise.
27760         * stdio-common/tst-sprintf.c: Likewise.
27761         * stdio-common/tst-swprintf.c: Likewise.
27762         * stdio-common/tst-tmpnam.c: Likewise.
27763         * stdio-common/tst-unbputc.c: Likewise.
27764         * stdio-common/tst-wc-printf.c: Likewise.
27765         * stdlib/tst-environ.c: Likewise.
27766         * stdlib/tst-fmtmsg.c: Likewise.
27767         * stdlib/tst-limits.c: Likewise.
27768         * stdlib/tst-rand48-2.c: Likewise.
27769         * stdlib/tst-rand48.c: Likewise.
27770         * stdlib/tst-random2.c: Likewise.
27771         * stdlib/tst-random.c: Likewise.
27772         * stdlib/tst-strtol.c: Likewise.
27773         * stdlib/tst-strtoll.c: Likewise.
27774         * stdlib/tst-tls-atexit.c: Likewise.
27775         * stdlib/tst-xpg-basename.c: Likewise.
27776         * string/test-ffs.c: Likewise.
27777         * string/tst-bswap.c: Likewise.
27778         * string/tst-inlcall.c: Likewise.
27779         * string/tst-strtok.c: Likewise.
27780         * string/tst-strxfrm.c: Likewise.
27781         * sysdeps/x86_64/tst-audit10.c: Likewise.
27782         * sysdeps/x86_64/tst-audit3.c: Likewise.
27783         * sysdeps/x86_64/tst-audit4.c: Likewise.
27784         * sysdeps/x86_64/tst-audit5.c: Likewise.
27785         * time/tst-ftime_l.c: Likewise.
27786         * time/tst-getdate.c: Likewise.
27787         * time/tst-mktime3.c: Likewise.
27788         * time/tst-mktime.c: Likewise.
27789         * time/tst-posixtz.c: Likewise.
27790         * time/tst-strptime2.c: Likewise.
27791         * time/tst-strptime3.c: Likewise.
27792         * wcsmbs/tst-btowc.c: Likewise.
27793         * wcsmbs/tst-mbrtowc.c: Likewise.
27794         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27795         * wcsmbs/tst-wchar-h.c: Likewise.
27796         * wcsmbs/tst-wcpncpy.c: Likewise.
27797         * wcsmbs/tst-wcrtomb.c: Likewise.
27798         * wcsmbs/tst-wcsnlen.c: Likewise.
27799         * wcsmbs/tst-wcstof.c: Likewise.
27801 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27803         [BZ #14132]
27804         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27805         INTDEF.
27806         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27807         declaration.
27808         (_dl_mcount): Use rtld_hidden_proto.
27809         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27810         _dl_mcount.
27811         * elf/rtld.c (_rtld_global_ro): Likewise.
27813         [BZ #14132]
27814         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27815         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27816         of _dl_init_internal.
27817         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27818         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27819         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27820         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27821         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27822         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27823         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27824         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27825         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27826         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27827         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27828         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27829         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27830         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27831         * sysdeps/tile/dl-start.S (_start): Likewise.
27832         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27833         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27835         [BZ #14132]
27836         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27837         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27838         (rtld_progname): Make macro definition unconditional.
27839         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27840         INTDEF.
27841         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27842         (dl_main): Likewise.
27843         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27844         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27845         instead of _dl_argv_internal.
27846         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27847         __GI__dl_argv instead of INTUSE(_dl_argv).
27848         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27849         __GI__dl_argv instead of _dl_argv_internal.
27851         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27852         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27853         macro.
27854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27855         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27856         New macro.
27857         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27858         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27859         macro.
27860         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27861         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27863 2014-11-04  Andreas Schwab  <schwab@suse.de>
27865         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27867 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27869         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27870         mtvsrd instruction in binary form.
27872 2014-11-03  Andreas Schwab  <schwab@suse.de>
27874         [BZ #17522]
27875         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27876         for less than MB_LEN_MAX use a local buffer of that size.
27877         * libio/tst-fputws.c: New file.
27878         * libio/Makefile (tests): Add tst-fputws.
27880 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27882         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27883         the size of the fpu_fr.fpu_dregs[] array.
27885 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27887         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27888         (__nanosleep): Do not define as alias.
27889         (nanosleep): Define as alias of __nanosleep.
27890         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27891         __libc_nanosleep name.
27893 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27895         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27896         install.texi in comment.
27898 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27900         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27901         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27902         ... add here and use lwsync or sync ...
27903         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27904         ... and add here using lwsync.
27906 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27908         * elf/dl-machine-reject-phdr.h: New file.
27909         * elf/dl-load.c: #include that.
27910         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27911         if that returned true.
27913 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27915         [BZ #17496]
27916         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27917         gen-as-const-headers chunk.  Add a big scare comment after the last
27918         safe place to touch before-compile.
27920 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27922         * manual/install.texi (Tools for Compilation): Update autoconf
27923         version requirements.
27924         * INSTALL: Regenerated.
27926         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27927         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27928         (__libc_pselect): Likewise.
27930         [BZ #14138]
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27936 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27938         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27939         correct barrier instruction.
27940         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27941         Likewise.
27942         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27943         Likewise.
27945 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27947         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27948         after defining inlines.  Instead, just use parens to defeat macro
27949         expansion of __isctype in its declaration.
27951 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27953         * include/sys/uio.h (__libc_readv): Remove declaration.
27954         (__libc_writev): Likewise.
27955         * misc/readv.c (__libc_readv): Rename to __readv.
27956         (__readv): Do not define as alias.
27957         (readv): Define as alias of __readv.
27958         * misc/writev.c (__libc_writev): Rename to __writev.
27959         (__writev): Do not define as alias.
27960         (writev): Define as alias of __writev.
27961         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27962         (__readv): Do not define as alias.
27963         (readv): Define unconditionally as alias of __readv.
27964         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27965         (__writev): Do not define as alias.
27966         (writev): Define unconditionally as alias of __writev.
27967         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27968         name.
27969         (writev): Do not define __libc_writev name.
27971 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27973         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27974         (convert_charseq): New function, broken out of ...
27975         (use_from_charmap): ... here.  Call it.
27976         (use_to_charmap): Use convert_charseq and free instead of duplicating
27977         its code with a variable-length stack struct.
27979 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27981         * include/fcntl.h (__libc_creat): Remove declaration.
27982         * io/creat.c (__libc_creat): Rename to creat.
27983         (creat): Do not define as alias.
27984         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27985         of creat instead of __libc_creat.
27986         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27987         to creat.
27988         (creat): Do not define as alias.
27989         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27990         __libc_creat.
27991         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27992         __libc_creat name.
27993         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27994         Likewise.
27996 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27998         * manual/llio.texi: Add comments discussing why write() may be
27999         considered MT-unsafe on Linux.
28001 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28003         * dl-load.c (local_strdup): Remove.
28004         (expand_dynamic_string_token): Use __strdup.
28005         (decompose_rpath): Likewise.
28006         (_dl_map_object): Likewise.
28008 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28010         [BZ #14132]
28011         * sysdeps/generic/unwind-dw2-fde.c
28012         (__register_frame_info_bases_internal): Do not declare.
28013         (__register_frame_info_table_bases_internal): Likewise.
28014         (__deregister_frame_info_bases_internal): Likewise.
28015         (__register_frame_info_bases): Declare and use hidden_proto before
28016         definition.  Use hidden_def instead of INTDEF.
28017         (__register_frame_info_table_bases): Likewise.
28018         (__deregister_frame_info_bases): Likewise.
28019         (__register_frame_info): Do not use INTUSE.
28020         (__register_frame): Likewise.
28021         (__register_frame_info_table): Likewise.
28022         (__register_frame_table): Likewise.
28023         (__deregister_frame_info): Likewise.
28024         (__deregister_frame): Likewise.
28026 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28029         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28030         not undefine.
28031         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28032         Likewise.
28033         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28034         Likewise.
28036 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28038         [BZ #14138]
28039         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28040         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28041         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28042         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28043         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28044         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28045         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28046         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28047         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28048         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28049         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28050         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28051         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28052         syscall.
28053         (setfsuid): Likewise.
28054         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28055         (setfsuid): Likewise.
28056         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28057         (setfsuid): Likewise.
28058         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28059         Likewise.
28060         (setfsuid): Likewise.
28061         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28062         (setfsuid): Likewise.
28063         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28064         Likewise.
28065         (setfsuid): Likewise.
28067 2014-10-27  Andreas Schwab  <schwab@suse.de>
28069         [BZ #17501]
28070         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28071         check for Slow_SSE4_2 feature bit.
28072         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28073         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28074         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28075         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28077 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28079         * configure.ac: Validate compiler version with a empirical test of
28080         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28081         $CC -v output.
28082         * configure: Regenerated.
28084         * inet/htons.c (htons): Prototypify.
28085         * inet/htonl.c (htonl): Likewise.
28087 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28089         * string/strncat.c (strncat): Improve performance by using strlen.
28091 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28093         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28095 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28097         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28098         Call libc_fetestexcept_aarch64.
28100 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28102         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28103         Call libc_feholdexcept_aarch64.
28105 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28107         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28108         Call get_rounding_mode.
28110 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28112         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28113         Simplify logic.
28115 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28117         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28118         Simplify logic.
28120 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28122         [BZ #14138]
28123         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28124         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28125         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28126         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28127         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28128         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28129         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28130         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28131         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28132         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28133         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28134         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28135         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28136         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28137         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28138         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28139         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28140         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28141         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28142         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28143         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28144         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28145         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28146         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28147         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28148         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28149         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28150         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28151         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28152         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28153         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28154         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28155         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28156         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28157         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28159         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28160         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28161         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28162         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28163         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28164         syscall.
28165         (geteuid): Likewise.
28166         (getgid): Likewise.
28167         (getuid): Likewise.
28168         (getresgid): Likewise.
28169         (getresuid): Likewise.
28170         (getgroups): Likewise.
28171         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28172         (geteuid): Likewise.
28173         (getgid): Likewise.
28174         (getuid): Likewise.
28175         (getresgid): Likewise.
28176         (getresuid): Likewise.
28177         (getgroups): Likewise.
28178         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28179         (geteuid): Likewise.
28180         (getgid): Likewise.
28181         (getuid): Likewise.
28182         (getresgid): Likewise.
28183         (getresuid): Likewise.
28184         (getgroups): Likewise.
28185         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28186         Likewise.
28187         (geteuid): Likewise.
28188         (getgid): Likewise.
28189         (getuid): Likewise.
28190         (getresgid): Likewise.
28191         (getresuid): Likewise.
28192         (getgroups): Likewise.
28193         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28194         (geteuid): Likewise.
28195         (getgid): Likewise.
28196         (getuid): Likewise.
28197         (getresgid): Likewise.
28198         (getresuid): Likewise.
28199         (getgroups): Likewise.
28200         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28201         Likewise.
28202         (geteuid): Likewise.
28203         (getgid): Likewise.
28204         (getuid): Likewise.
28205         (getgroups): Likewise.
28207         [BZ #14138]
28208         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28209         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28210         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28211         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28212         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28213         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28214         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28215         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28216         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28217         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28218         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28219         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28220         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28221         __chown.
28222         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28223         (lchown): Likewise.
28224         (fchown): Likewise.
28225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28226         Likewise.
28227         (lchown): Likewise.
28228         (fchown): Likewise.
28229         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28230         (lchown): Likewise.
28231         (fchown): Likewise.
28232         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28233         Likewise.
28234         (lchown): Likewise.
28235         (fchown): Likewise.
28237 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28239         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28240         Simplify logic.
28242 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28244         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28245         Cleanup logic.
28247 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28249         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28250         Remove unused include.
28252 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28254         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28255         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28256         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28257         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28259 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28260             Helge Deller <deller@gmx.de>
28262         [BZ #17508]
28263         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28264         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28265         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28267 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28269         [BZ #14132]
28270         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28271         Remove macro definition.
28272         (__ashrdi3_v_glibc20): Likewise.
28273         (__lshrdi3_v_glibc20): Likewise.
28274         (__cmpdi2_v_glibc20): Likewise.
28275         (__ucmpdi2_v_glibc20): Likewise.
28276         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28277         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28278         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28279         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28280         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28281         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28283 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28285         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28286         old GNU extension [0] syntax.
28287         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28288         alloca rather than an array member with variable length.
28289         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28290         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28291         (parse_opt): ... here.  Likewise use alloca there.
28292         Validate the -i argument before checking for rootness.
28293         (send_shutdown): New function, broken out of ...
28294         (parse_opt): ... here.
28296 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28298         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28299         macro to get at the _rt_local_ro field.
28300         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28301         ([PIC] case) or _dl_hwcap ([!PIC] case).
28302         * sysdeps/arm/setjmp.S: Likewise.
28304         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28305         * sysdeps/arm/configure.ac: New check to define it.
28306         * sysdeps/arm/configure: Regenerated.
28307         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28308         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28309         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28310         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28311         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28312         Use move/movt pair instead of a load.
28313         (LDST_GLOBAL): Macro removed.
28314         (LDR_GLOBAL): New macro replaces it.
28315         (LDR_HIDDEN): New macro.
28316         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28317         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28319         * setjmp/tst-setjmp-static.c: New file.
28320         * setjmp/Makefile (tests): Add it.
28321         (tests-static): New variable.
28323 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28325         [BZ #17485]
28326         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28328 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28330         [BZ #14132]
28331         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28333 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28335         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28337 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28339         * io/fts.c (dirent_not_directory): New function.
28340         (fts_build): Call it.
28342 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28344         * nptl/version.c (__nptl_main): Use normal __write rather than
28345         INTERNAL_SYSCALL.
28346         (banner): Update copyright years.
28348         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28349         gettimeofday.
28350         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28351         * nptl/pthread_cond_timedwait.c: Likewise.
28352         * nptl/pthread_mutex_timedlock.c: Likewise.
28353         * nptl/sem_timedwait.c: Likewise.
28355         * sysdeps/nptl/bits/libc-lock.h
28356         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28357         (__libc_lock_init_recursive): Return void, not 0.
28358         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28359         (__libc_rwlock_init): Likewise.
28360         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28362 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28364         [BZ #15215]
28365         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28366         (__pthread_once_slow): ... here.
28367         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28368         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28370 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28372         [BZ #15215]
28373         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28374         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28375         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28376         * nptl/pthread_once.c (__pthread_once): Likewise.
28377         Update comments.
28379 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28381         [BZ #14138]
28382         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28383         name.
28384         (writev): Use __libc_writev as strong name.
28385         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28386         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28388 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28390         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28392         * sysdeps/i386/nptl/tls.h
28393         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28394         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28395         New macros.
28396         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28397         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28398         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28399         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28400         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28401         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28403         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28404         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28405         on [__NR_futex].
28406         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28407         broken out of ...
28408         (__pthread_mutex_init): ... here.  Call it.
28409         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28410         Conditionalize PI cases on [__NR_futex].
28411         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28412         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28413         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28415         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28416         conditional on [SIGSETXID].
28417         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28418         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28419         is defined.  Likewise for SIGSETXID.
28420         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28421         Conditionalize definitions on [SIGSETXID].
28422         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28423         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28424         unblocking on [SIGCANCEL].
28426         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28427         [__NR_set_robust_list].
28429 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28431         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28432         (do_compare): Likewise.
28434 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28436         [BZ #15884]
28437         * string/strcoll_l.c: Don't include stdio.h.
28438         (coll_seq): Remove members idxarr and rulearr.
28439         (get_next_seq_cached): Remove function.
28440         (get_next_seq): Likewise.
28441         (get_next_seq_nocache): Rename to get_next_seq.
28442         (do_compare): Remove function.
28443         (do_compare_nocache): Rename to do_compare.
28444         (STRCOLL): Remove weight and rules cache.
28446 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28448         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28449         * sysdeps/arm/sfp-machine.h: ... to here.
28450         * sysdeps/arm/Implies: Remove arm/soft-fp.
28452 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28454         * conform/data/sys/utsname.h-data (*_t): Allow.
28455         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28456         [POSIX] (WEXITED): Do not expect constant.
28457         [POSIX] (WSTOPPED): Likewise.
28458         [POSIX] (WNOHANG): Likewise.
28459         [POSIX] (WNOWAIT): Likewise.
28460         [POSIX] (siginfo_t): Do not expect type or elements.
28461         [POSIX] (pid_t): Do not expect type.
28462         [POSIX] (signal.h): Do not allow header.
28463         [POSIX] (sys/resource.h): Likewise.
28464         [POSIX] (si_*): Do not allow pattern.
28465         [POSIX] (W*): Likewise.
28466         [POSIX] (P_*): Likewise.
28467         [POSIX] (BUS_*): Likewise.
28468         [POSIX] (CLD_*): Likewise.
28469         [POSIX] (FPE_*): Likewise.
28470         [POSIX] (ILL_*): Likewise.
28471         [POSIX] (POLL_*): Likewise.
28472         [POSIX] (SEGV_*): Likewise.
28473         [POSIX] (SI_*): Likewise.
28474         [POSIX] (TRAP_*): Likewise.
28475         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28476         variable.
28478 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28480         [BZ #12926]
28481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28482         infinite loop when __recvmsg returns 0.
28484 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28486         * CANCEL-FCT-WAIVE: Remove file.
28487         * CANCEL-FILE-WAIVE: Likewise.
28489         [BZ #14132]
28490         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28491         instead of INTVARDEF.
28492         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28493         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28494         rtld_hidden_data_def instead of INTVARDEF.
28495         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28496         * elf/dl-deps.c (expand_dst): Likewise.
28497         * elf/dl-load.c (_dl_dst_count): Likewise.
28498         (_dl_dst_substitute): Likewise.
28499         (decompose_rpath): Likewise.
28500         (_dl_init_paths): Likewise.
28501         (open_path): Likewise.
28502         (_dl_map_object): Likewise.
28503         * elf/rtld.c (dl_main): Likewise.
28504         (process_dl_audit): Likewise.
28505         (process_envvars): Likewise.
28506         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28507         Remove declaration.
28508         (__libc_enable_secure): Use rtld_hidden_proto.
28510 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28512         * elf/dl-load.c
28513         (add_path): New function broken out of _dl_rtld_di_serinfo.
28514         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28516 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28518         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28519         parentheses around macro arguments.
28520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28526         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28529         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28531         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28532         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28533         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28534         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28535         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28536         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28546         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28549         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28550         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28551         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28552         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28553         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28554         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28555         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28556         Likewise.
28557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28564         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28565         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28568         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28569         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28573         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28575         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28578         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28579         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28580         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28581         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28582         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28583         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28584         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28585         (_FP_FRAC_SRS_1): Likewise.
28586         (_FP_FRAC_CLZ_1): Likewise.
28587         (_FP_MUL_MEAT_1_imm): Likewise.
28588         (_FP_MUL_MEAT_1_wide): Likewise.
28589         (_FP_MUL_MEAT_1_hard): Likewise.
28590         (_FP_SQRT_MEAT_1): Likewise.
28591         (_FP_FRAC_ASSEMBLE_1): Likewise.
28592         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28593         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28594         (__FP_CLZ_2): Likewise.
28595         (_FP_MUL_MEAT_2_wide): Likewise.
28596         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28597         (_FP_MUL_MEAT_2_gmp): Likewise.
28598         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28599         (_FP_SQRT_MEAT_2): Likewise.
28600         (_FP_FRAC_ASSEMBLE_2): Likewise.
28601         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28602         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28603         (_FP_FRAC_CLZ_4): Likewise.
28604         (_FP_MUL_MEAT_4_wide): Likewise.
28605         (_FP_MUL_MEAT_4_gmp): Likewise.
28606         (_FP_SQRT_MEAT_4): Likewise.
28607         (_FP_FRAC_ASSEMBLE_4): Likewise.
28608         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28609         * soft-fp/op-common.h (_FP_CMP): Likewise.
28610         (_FP_CMP_EQ): Likewise.
28611         (_FP_CMP_UNORD): Likewise.
28612         (_FP_TO_INT): Likewise.
28613         (_FP_FROM_INT): Likewise.
28614         [!__FP_CLZ] (__FP_CLZ): Likewise.
28615         (_FP_DIV_HELP_imm): Likewise.
28616         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28617         Likewise.
28618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28629         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28632         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28633         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28634         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28647         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28651         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28652         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28653         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28654         (FP_UNPACK_RAW_SP): Likewise.
28655         (FP_PACK_RAW_S): Likewise.
28656         (FP_PACK_RAW_SP): Likewise.
28657         (FP_UNPACK_S): Likewise.
28658         (FP_UNPACK_SP): Likewise.
28659         (FP_UNPACK_SEMIRAW_S): Likewise.
28660         (FP_UNPACK_SEMIRAW_SP): Likewise.
28661         (FP_PACK_S): Likewise.
28662         (FP_PACK_SP): Likewise.
28663         (FP_PACK_SEMIRAW_S): Likewise.
28664         (FP_PACK_SEMIRAW_SP): Likewise.
28665         (_FP_SQRT_MEAT_S): Likewise.
28666         (FP_CMP_S): Likewise.
28667         (FP_CMP_EQ_S): Likewise.
28668         (FP_CMP_UNORD_S): Likewise.
28669         (FP_TO_INT_S): Likewise.
28670         (FP_FROM_INT_S): Likewise.
28672         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28674         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28675         (FP_EX_INVALID_IMZ): Likewise.
28676         (FP_EX_INVALID_IMZ_FMA): Likewise.
28677         (FP_EX_INVALID_ISI): Likewise.
28678         (FP_EX_INVALID_ZDZ): Likewise.
28679         (FP_EX_INVALID_IDI): Likewise.
28680         (FP_EX_INVALID_SQRT): Likewise.
28681         (FP_EX_INVALID_CVI): Likewise.
28682         (FP_EX_INVALID_VC): Likewise.
28683         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28684         "invalid" exceptions.
28685         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28686         (_FP_ADD_INTERNAL): Likewise.
28687         (_FP_MUL): Likewise.
28688         (_FP_FMA): Likewise.
28689         (_FP_DIV): Likewise.
28690         (_FP_CMP_CHECK_NAN): Likewise.
28691         (_FP_SQRT): Likewise.
28692         (_FP_TO_INT): Likewise.
28693         (FP_EXTEND): Likewise.
28695 2014-10-09  Allan McRae  <allan@archlinux.org>
28697         * po/fr.po: Update French translation from translation project.
28699 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28701         [BZ #14132]
28702         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28703         of INTDEF.
28704         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28705         (__cxa_atexit): Use libc_hidden_proto.
28706         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28708         [BZ #14132]
28709         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28710         declaration.
28711         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28712         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28713         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28714         [!_ISOMAC] (__iswctype_internal): Likewise.
28715         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28716         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28717         alias.
28718         (fcntl): Remove __fcntl_internal alias.
28719         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28720         __connect_internal alias.
28721         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28722         Likewise.
28724         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28725         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28726         FP_DENORM_ZERO.
28727         (_FP_CHECK_FLUSH_ZERO): New macro.
28728         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28729         (_FP_CMP): Likewise.
28730         (_FP_CMP_EQ): Likewise.
28731         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28732         FP_DENORM_ZERO.
28733         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28734         (FP_TRUNC): Likewise.
28736         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28737         treated as invalid conversion, not as normal exponent.
28739         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28740         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28741         (_FP_CMP_EQ): Likewise.
28742         (_FP_CMP_UNORD): Likewise.
28743         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28744         (FP_CMP_EQ_D): Likewise.
28745         (FP_CMP_UNORD_D): Likewise.
28746         * soft-fp/extended.h (FP_CMP_E): Likewise.
28747         (FP_CMP_EQ_E): Likewise.
28748         (FP_CMP_UNORD_E): Likewise.
28749         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28750         (FP_CMP_EQ_Q): Likewise.
28751         (FP_CMP_UNORD_Q): Likewise.
28752         * soft-fp/single.h (FP_CMP_S): Likewise.
28753         (FP_CMP_EQ_S): Likewise.
28754         (FP_CMP_UNORD_S): Likewise.
28755         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28756         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28757         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28758         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28759         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28760         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28761         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28762         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28763         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28764         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28765         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28766         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28767         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28768         to FP_CMP_Q.
28769         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28770         FP_CMP_Q.
28771         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28772         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28773         FP_CMP_EQ_Q.
28774         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28775         FP_CMP_Q.
28776         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28777         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28778         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28779         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28780         FP_CMP_EQ_Q.
28781         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28782         FP_CMP_Q.
28783         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28784         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28785         FP_CMP_EQ_Q.
28786         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28787         FP_CMP_Q.
28788         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28789         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28790         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28791         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28792         FP_CMP_EQ_Q.
28794         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28795         a subnormal result, set the underflow exception if trapping on
28796         underflow is enabled.
28797         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28798         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28799         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28800         redefine to 0.
28801         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28802         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28803         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28804         * soft-fp/extendxftf2.c (__extendxftf2): Use
28805         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28807         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28808         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28809         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28810         FP_HANDLE_EXCEPTIONS.
28811         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28812         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28813         FP_HANDLE_EXCEPTIONS.
28814         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28815         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28816         FP_HANDLE_EXCEPTIONS.
28817         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28818         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28819         FP_HANDLE_EXCEPTIONS.
28821 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28823         [BZ #14132]
28824         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28825         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28826         use INTUSE.
28827         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28828         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28829         Remove alias.
28830         (__adjtimex): Define using libc_hidden_ver.
28831         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28832         Remove declaration.
28833         (ntp_gettime): Call __adjtimex directly.
28834         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28835         Remove declaration.
28836         (ntp_gettimex): Call __adjtimex directly.
28837         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28838         __adjtimex_internal alias.
28840 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28842         [BZ #17460]
28843         * nscd/nscd.c (more_help): Rewrite list of tables collection
28844         using xstrdup and asprintf.
28846         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28848 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28849             Roland McGrath  <roland@hack.frob.com>
28851         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28852         (do_lookup_unique): ... local function 'enter' here; update callers.
28854 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28856         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28857         compat_symbol calls on [SHARED].
28858         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28859         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28860         Remove.
28861         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28862         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28863         (oldsetrlimit): Remove.
28864         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28866         (lchown): New syscall entry.
28867         (oldsetrlimit): Remove.
28868         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28869         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28870         (oldsetrlimit): Remove.
28871         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28873         [BZ #14138]
28874         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28875         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28876         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28877         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28878         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28879         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28880         (fchown): Likewise.
28881         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28882         (fchown): Likewise.
28883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28884         Likewise.
28886 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28888         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28889         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28890         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28891         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28892         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28893         Likewise.
28894         (__old_sem_post): Likewise.
28896 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28898         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28899         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28900         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28901         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28902         Use INLINE_VSYSCALL macro.
28903         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28904         __vdso_clock_gettime.
28905         * sysdeps/unix/sysv/linux/tile/init-first.c
28906         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28907         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28908         __vdso_clock_gettime.
28910         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28911         to set up frame more cleanly.
28913         * sysdeps/tile/memcmp.c: New file.
28915         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28917         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28918         * sysdeps/tile/tilegx/strcasestr.c: New file.
28919         * sysdeps/tile/tilegx/strnlen.c: New file.
28920         * sysdeps/tile/tilegx/strstr.c: New file.
28922         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28924 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28926         * nptl/tst-setuid3.c: Write errors to stdout.
28928 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28930         * elf/dl-deps.c
28931         (preload): New functions broken out of _dl_map_object_deps.
28932         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28934 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28936         [BZ #14138]
28937         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28938         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28940 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28942         * sysdeps/mips/strcmp.S: New.
28944 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28946         [BZ #14138]
28947         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28948         (linkat): Likewise.
28949         (mkdirat): Likewise.
28950         (readlinkat): Likewise.
28951         (renameat): Likewise.
28952         (symlinkat): Likewise.
28953         (unlinkat): Likewise.
28954         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28955         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28956         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28957         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28958         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28959         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28960         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28962 2014-09-30  Will Newton  <will.newton@linaro.org>
28964         * math/math.h: Define long double math functions if
28965         _LIBC_TEST is defined.
28966         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28968         * localedata/Makefile: Move assignment to tests-special
28969         into an ifdef testing run-built-tests.
28970         * timezone/Makefile: Likewise.
28972 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28974         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28975         with $(BASH) not $(SHELL).
28977 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28978             Matthew LeGendre  <legendre1@llnl.gov>
28980         [BZ #17411]
28981         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28982         l_reloc_result.
28984 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28986         * stdio-common/printf_fp.c
28987         (hack_digit): New function, broken out of ...
28988         (__printf_fp): ... local function here.  Update call sites.
28989         hack_digit now takes an additional parameter that is a pointer
28990         to a struct of the referenced locals.  Those locals moved inside
28991         the struct and references updated.
28993 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28995         * aclocal.m4: Require autoconf 2.69.
28996         * configure: Regenerated.
28997         * sysdeps/aarch64/configure: Likewise.
28998         * sysdeps/alpha/configure: Likewise.
28999         * sysdeps/arm/armv7/configure: Likewise.
29000         * sysdeps/arm/configure: Likewise.
29001         * sysdeps/ia64/configure: Likewise.
29002         * sysdeps/mach/configure: Likewise.
29003         * sysdeps/mips/configure: Likewise.
29004         * sysdeps/s390/configure: Likewise.
29005         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29008         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29009         file.
29010         * sysdeps/ia64/configure.ac: Likewise.
29012 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29015         specify symbol version for ld.so.  Do not include entry for
29016         libpthread.
29017         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29018         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29019         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29021         [BZ #14171]
29022         * Makeconfig [$(build-shared) = yes]
29023         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29024         makefiles.
29025         [$(build-shared) = yes && $(soversions.mk-done) = t]
29026         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29027         [$(build-shared) = yes && $(soversions.mk-done) = t]
29028         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29029         to Makerules.
29030         [$(build-shared) = yes && $(soversions.mk-done) = t]
29031         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29032         here.
29033         [$(build-shared) = yes && $(soversions.mk-done) = t]
29034         (common-generated): Don't append gnu/lib-names.h and
29035         gnu/lib-names.stmp here.
29036         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29037         (lib-names-h-abi): New variable.
29038         [$(build-shared) = yes && $(soversions.mk-done) = t]
29039         (lib-names-stmp-abi): Likewise.
29040         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29041         abi-variants] (before-compile): Append
29042         $(common-objpfx)$(lib-names-h-abi).
29043         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29044         abi-variants] (common-generated): Append gnu/lib-names.h.
29045         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29046         abi-variants] (install-others-nosubdir): Depend on
29047         $(inst_includedir)/$(lib-names-h-abi).
29048         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29049         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29050         [$(build-shared) = yes && $(soversions.mk-done) = t]
29051         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29052         [$(build-shared) = yes && $(soversions.mk-done) = t]
29053         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29054         [$(build-shared) = yes && $(soversions.mk-done) = t]
29055         (common-generated): Append $(lib-names-h-abi) and
29056         $(lib-names-stmp-abi).
29057         * scripts/lib-names.awk: Do not handle multi being set.
29058         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29059         Remove variable.
29060         (abi-lp64_be-ld-soname): Likewise.
29061         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29062         Likewise.
29063         (abi-hard-ld-soname): Likewise.
29064         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29065         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29066         Remove variable.
29067         (abi-o32_hard-ld-soname): Likewise.
29068         (abi-o32_soft_2008-ld-soname): Likewise.
29069         (abi-o32_hard_2008-ld-soname): Likewise.
29070         (abi-n32_soft-ld-soname): Likewise.
29071         (abi-n32_hard-ld-soname): Likewise.
29072         (abi-n32_soft_2008-ld-soname): Likewise.
29073         (abi-n32_hard_2008-ld-soname): Likewise.
29074         (abi-n64_soft-ld-soname): Likewise.
29075         (abi-n64_hard-ld-soname): Likewise.
29076         (abi-n64_soft_2008-ld-soname): Likewise.
29077         (abi-n64_hard_2008-ld-soname): Likewise.
29078         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29079         Likewise.
29080         (abi-64-v2-ld-soname): Likewise.
29081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29082         ld.so entries.
29083         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29084         variable.
29085         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29086         entry.
29087         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29088         variable.
29089         (abi-64-ld-soname): Likewise.
29090         (abi-x32-ld-soname): Likewise.
29091         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29092         entry.
29093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29095 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29097         [BZ #14138]
29098         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29099         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29100         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29101         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29102         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29103         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29104         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29105         syscall entry for GLIBC_2.2 symbol version.
29106         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29107         Likewise.
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29109         (setrlimit): Likewise.
29110         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29111         Likewise.
29113 2014-09-23  Will Newton  <will.newton@linaro.org>
29115         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29116         _LINUX_ARM_SYSDEP_H include guard too.
29117         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29118         define.
29120 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29122         * sysdeps/unix/sysv/linux/eventfd.c:
29123         Make first argument unsigned.
29124         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29125         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29127 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29129         [BZ #16852]
29130         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29131         * socket/sys/socket.h: Likewise.
29132         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29134 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29136         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29138 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29140         * time/tst-ftime.c: New test.
29141         * time/Makefile (tests): Add tst-ftime.
29143 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29145         * soft-fp/extended.h: Fix comment formatting.
29146         * soft-fp/op-1.h: Likewise.
29147         * soft-fp/op-2.h: Likewise.
29148         * soft-fp/op-4.h: Likewise.
29149         * soft-fp/op-8.h: Likewise.
29150         * soft-fp/op-common.h: Likewise.
29151         * soft-fp/soft-fp.h: Likewise.
29153         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29155 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #6652]
29158         * Makeconfig (soversions-default-setname): Remove variable.
29159         ($(common-objpfx)soversions.i): Don't pass default_setname to
29160         soversions.awk.
29161         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29162         oldest_abi to abi-versions.awk.
29163         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29164         * config.make.in (oldest-abi): Remove variable.
29165         * configure.ac (--enable-oldest-abi): Remove configure option.
29166         * configure: Regenerated.
29167         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29168         text.
29169         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29170         * scripts/soversions.awk: Do not handle default_setname variable.
29171         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29172         variable.
29173         * sysdeps/mach/hurd/configure: Regenerated.
29174         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29175         variable.
29176         * sysdeps/unix/sysv/linux/configure: Regenerated.
29178 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29180         * elf/Makefile (CFLAGS-interp.c): Remove.
29181         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29182         path string.
29183         * elf/interp.c: Include generated runtime-linker.h
29185         * Makerules (lib%.so): Don't include $(+interp) in
29186         prerequisites.
29187         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29188         * dlfcn/eval.c: Remove file.
29190         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29191         macros.
29193         [BZ #17266]
29194         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29195         4.2 and newer.
29197         [BZ #17370]
29198         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29200 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29201             Jakub Jelinek  <jakub@redhat.com>
29203         [BZ #17266]
29204         * libio/stdio.h: Check definition of __fortify_function
29205         instead of __extern_always_inline to include bits/stdio2.h.
29206         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29207         check if __extern_always_inline is defined.
29208         [__USE_MISC || __USE_XOPEN]: Likewise.
29209         [__USE_ISOC99] Likewise.
29210         * misc/sys/cdefs.h (__fortify_function): Define only if
29211         __extern_always_inline is defined.
29212         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29213         __extern_always_inline and __extern_inline only for g++-4.3
29214         and newer or a compatible gcc.
29216 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29218         [BZ #17371]
29219         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29220         last change to handle zero prefix length.
29222 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29224         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29225         _SC_REGEX_VERSION.
29227         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29228         _POSIX_RAW_SOCKETS.
29230 2014-09-13  Allan McRae  <allan@archlinux.org>
29232         * po/ru.po: Update Russian translation from translation project.
29234 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29236         * locale/programs/locale.c (show_locale_vars): Inline local function
29237         into its sole call site.  Clean up some style nits.
29238         (print_item): New function, broken out of ...
29239         (show_info): ... local function here.  Clean up style nits.
29241         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29242         out of ...
29243         (set_class_defaults): ... local function set_default here.
29244         Define set_default as a macro locally to pass constant parameters.
29245         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29246         rather than a shared local.
29248         * stdlib/rpmatch.c (try): New function, broken out of ...
29249         (rpmatch): ... local function here.  Also, prototypify definition.
29251 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29253         * scripts/soversions.awk: Do not handle configuration names.
29254         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29255         vendor and os variables to soversions.awk.
29256         * configure.ac: Do not modify gnu-* host_os.
29257         * configure: Regenerated
29258         * shlib-versions: Remove first column with configuration names.
29259         * nptl/shlib-versions: Likewise.
29260         * nptl_db/shlib-versions: Likewise.
29261         * sysdeps/hppa/shlib-versions: Likewise.
29262         * sysdeps/m68k/shlib-versions: Likewise.
29263         * sysdeps/mach/hurd/shlib-versions: Likewise.
29264         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29265         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29266         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29267         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29268         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29269         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29270         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29271         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29273         Likewise.
29274         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29275         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29276         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29277         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29278         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29279         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29280         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29281         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29284         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29286         Regenerated.
29287         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29289         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29291         * shlib-versions: Remove OS-specific entries.  Moved to files in
29292         sysdeps.
29293         * sysdeps/mach/hurd/shlib-versions: New file.
29294         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29296         * nptl/shlib-versions: Remove architecture-specific entries.
29297         Moved to files in sysdeps.
29298         * shlib-versions: Likewise.
29299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29300         file.
29301         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29302         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29303         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29304         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29306         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29307         (UDP_NO_CHECK6_RX): Likewise.
29309 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29311         * sysdeps/posix/sysconf.c (__sysconf): Spell
29312         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29314 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29316         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29317         loading.
29318         * iconv/Versions (__gconv_transliterate): Export for use from
29319         gconv modules.
29320         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29321         (struct __gconv_trans_data, __gconv_trans_fct,
29322         __gconv_trans_context_fct, __gconv_trans_query_fct,
29323         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29324         definitions.
29325         (struct __gconv_step_data): Remove __trans member.
29326         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29327         longer hidden.  Remove unused trans_data argument.
29328         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29329         (__gconv_translit_find): Remove declaration.
29330         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29331         prototype.
29332         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29333         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29334         trans_data argument.  Add hidden definition.
29335         (__gconv_translit_find): Remove.
29336         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29337         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29338         * iconv/skeleton.c: Remove transliteration initialization.
29339         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29340         __gconv_step_data initialization.
29341         * libio/iofwide.c (__libio_translit_): Remove.
29342         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29343         * wcsmbs/btowc.c (__btowc): Likewise.
29344         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29345         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29346         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29347         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29348         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29349         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29350         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29351         * wcsmbs/wctob.c (wctob): Likewise.
29353 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29355         [BZ #16194]
29356         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29357         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29358         register usage.
29359         * sysdeps/x86/Makefile: Adjust.
29361 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29362             Roland McGrath  <roland@hack.frob.com>
29364         * locale/weight.h: Add include guard.
29365         (findidx): Make static rather than auto; take new parameters
29366         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29367         * locale/weightwc.h: Likewise.
29368         * posix/fnmatch_loop.c
29369         (FCT): Change type of EXTRA from int32_t to wint_t.
29370         Don't include either header inside the function.
29371         Call FINDIDX rather than findidx, and pass new arguments.
29372         #undef FINDIDX at the end of the file.
29373         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29374         FINDIDX before including fnmatch_loop.c for the non-wide version.
29375         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29376         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29377         for the wide version.
29378         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29379         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29380         Pass new arguments to findidx.
29381         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29382         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29383         Don't #include it inside the function.  Pass new arguments to findidx.
29384         * posix/regex_internal.h
29385         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29386         (re_string_elem_size_at): Don't #include it inside the function.
29387         Pass new arguments to findidx.
29388         * string/strcoll_l.c: #include WEIGHT_H at top level.
29389         (get_next_seq): Don't #include it inside the function.
29390         Pass new arguments to findidx.
29391         (get_next_seq_nocache): Likewise.
29392         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29393         (STRXFRM): Don't #include it inside the function.
29394         Pass new arguments to findidx.
29396 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29398         [BZ #17344]
29399         * malloc/malloc.c (unlink): Turn asserts into a call to
29400         malloc_printerr.
29402 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29404         [BZ #17370]
29405         * libio/wfileops (do_ftell_wide): Free OUT.
29407 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29409         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29411 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29413         [BZ #17363]
29414         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29415         group if the current group is empty.
29417 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29419         * benchtests/bench-memset.c (test_main): Add more test from size
29420         from 32 to 512 bytes.
29421         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29422         Add POWER8 memset object.
29423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29424         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29425         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29426         implementation.
29427         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29428         Likewise.
29429         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29430         multiarch POWER8 memset optimization.
29431         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29432         POWER8 memset optimization.
29434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29435         Remove bzero multiarch objects.
29436         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29437         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29438         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29439         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29440         Remove define.
29441         [__bzero]: Redefine to specific name.
29442         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29443         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29444         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29445         define.
29446         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29447         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29449 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29451         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29452         warnings into errors.
29454         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29455         __cxa_thread_atexit_impl prototype.
29457 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29459         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29460         Fix capitalization of error message.
29462 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29464         * sysdeps/mips/preconfigure: Modify ABI tests.
29466 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29468         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29470 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29471             Carlos O'Donell  <carlos@systemhalted.org>
29473         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29474         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29475         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29476         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29477         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29478         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29479         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29480         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29481         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29482         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29483         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29484         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29485         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29486         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29487         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29488         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29489         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29490         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29491         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29493         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29494         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29495         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29496         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29497         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29498         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29499         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29500         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29501         Deconditionalize the code that was previously under [RESET_PID].
29502         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29503         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29504         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29505         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29506         include sysdep.h.
29508 2014-09-08  Allan McRae  <allan@archlinux.org>
29510         * version.h (RELEASE): Set to "development".
29511         (VERSION): Set to "2.20.90"
29513 2014-09-07  Allan McRae  <allan@archlinux.org
29515         * version.h (RELEASE): Set to "stable".
29516         (VERSION): Set to "2.20"
29517         * include/features.h (__GLIBC_MINOR__): Set to 20.
29519         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29520         Liebler.
29522         * po/ko.po: Update Korean translation from translation project.
29524 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29526         [BZ #17354]
29527         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29528         macro for handling signed relocations.
29530 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29532         [BZ #17325]
29533         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29534         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29535         assert.
29536         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29537         * iconvdata/ibm935.c (BODY): Likewise.
29538         * iconvdata/ibm937.c (BODY): Likewise.
29539         * iconvdata/ibm939.c (BODY): Likewise.
29540         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29541         assert.
29542         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29543         script.
29544         * iconvdata/run-iconv-test.sh: New test loop for checking for
29545         decoder crashers.
29547 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29549         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29550         libm_hidden_ver.
29552 2014-09-01  Allan McRae  <allan@archlinux.org>
29554         * po/eo.po: Update Esperanto translation from translation project.
29556         * po/ca.po: Update Catalan translation from translation project.
29558 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29560         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29561         __proc_dostop call.
29563 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29565         [BZ #17319]
29566         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29567         to call set_thread_area instead of hand written asm.
29568         (__NR_set_thread_area): Removed define.
29569         (TLS_FLAG_WRITABLE): Likewise.
29570         (__ASSUME_SET_THREAD_AREA): Remove check.
29571         (TLS_EBX_ARG): Remove define.
29572         (TLS_LOAD_EBX): Likewise.
29574 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29576         Simplify atomicity of socket creation in bind.
29578         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29579         looking up the name after linking the file.
29581 2014-08-27  Allan McRae  <allan@archlinux.org>
29583         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29585 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29587         [BZ #17187]
29588         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29589         trans_compare, open_translit, __gconv_translit_find):
29590         Remove module loading code.
29592 2014-08-26  Allan McRae  <allan@archlinux.org>
29594         * po/vi.po: Update Vietnamese translation from translation project.
29596         * po/uk.po: Update Ukrainian translation from translation project.
29598         * po/fr.po: Update French translation from translation project.
29600         * po/ru.po: Update Russian translation from translation project.
29602         * po/pl.po: Update Polish translation from translation project.
29604         * po/cs.po: Update Czech translation from translation project.
29606         * po/de.po: Update German translation from translation project.
29608         * po/bg.po: Update Bulgarian translation from translation project.
29610         * po/sv.po: Update Sweedish translation from translation project.
29612         * po/nl.po: Update Dutch translation from translation project.
29614         * po/es.po: Update Spanish translation from translation project.
29616 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29618         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29620         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29621         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29622         (CPPFLAGS-iconvconfig): Likewise.
29623         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29625         * include/libc-symbols.h: Remove unnecessary check for
29626         NOT_IN_libc.
29627         * nptl/pthreadP.h: Likewise.
29628         * sysdeps/aarch64/setjmp.S: Likewise.
29629         * sysdeps/alpha/setjmp.S: Likewise.
29630         * sysdeps/arm/sysdep.h: Likewise.
29631         * sysdeps/i386/setjmp.S: Likewise.
29632         * sysdeps/m68k/setjmp.c: Likewise.
29633         * sysdeps/posix/getcwd.c: Likewise.
29634         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29635         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29636         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29637         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29638         * sysdeps/sh/sh3/setjmp.S: Likewise.
29639         * sysdeps/sh/sh4/setjmp.S: Likewise.
29640         * sysdeps/unix/alpha/sysdep.h: Likewise.
29641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29643         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29644         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29647         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29649         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29652         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29654         * sysdeps/x86_64/setjmp.S: Likewise.
29656 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29658         [BZ #17263]
29659         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29660         <stdint.h>.
29661         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29662         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29664 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29668         [BZ #17262]
29669         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29670         and __x86_64__ when disabling x87 inline functions.
29672 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29674         [BZ #17259]
29675         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29676         asm statement with __cpuid_count.
29678 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29680         * configure.ac: Change __ehdr_start code to dereference the struct.
29681         Run readelf on the output to look for relocations.
29682         * configure: Regenerated.
29684 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #17261]
29687         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29688         value to 0.
29689         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29691 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29693         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29695 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29697         [BZ #16892]
29698         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29699         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29701 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29703         * malloc/malloc.c: Fix typo in comment.
29705 2014-08-09  Allan McRae  <allan@archlinux.org>
29707         * Regenerate libc.po.
29709 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29711         * intl/tst-gettext2.sh: Check every lang file for creation.
29713 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29715         * sysdeps/aarch64/fpu/math_private.h
29716         (libc_feholdsetround_noex_aarch64_ctx): New function.
29718 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29720         * sysdeps/arm/armv6/strcpy.S (strcpy):
29721         Fix performance issue in misaligned cases.
29723 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29725         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29726         Move definition from termios.h.
29727         (struct termio): Likewise.
29728         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29729         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29730         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29731         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29732         Likewise.
29733         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29734         Move definition to ioctl-types.h
29735         (struct termio): Likewise.
29736         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29737         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29738         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29739         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29740         Likewise.
29742 2014-08-05  Richard Henderson  <rth@redhat.com>
29744         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29745         exceptions.
29746         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29747         Add fraiseexcpt.
29748         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29749         Use __feraiseexcept.
29750         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29751         Protect libm symbols with IS_IN_libm.
29753         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29755 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29757         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29759 2014-08-04  Will Newton  <will.newton@linaro.org>
29761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29762         file.
29764 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29766         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29767         variants for each function.
29769 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29771         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29772         appended ...
29773         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29774         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29775         appended ...
29776         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29777         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29778         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29779         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29780         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29781         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29782         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29783         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29784         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29785         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29786         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29787         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29788         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29789         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29790         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29791         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29792         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29793         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29794         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29795         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29796         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29797         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29798         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29799         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29800         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29801         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29802         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29803         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29804         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29805         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29806         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29807         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29808         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29809         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29810         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29811         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29812         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29813         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29815         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29816         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29817         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29818         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29819         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29820         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29821         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29822         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29824         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29826         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29827         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29828         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29829         Update #include.
29830         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29831         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29833 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29835         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29836         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29837         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29838         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29839         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29840         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29842 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29844         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29845         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29846         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29847         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29851         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29852         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29853         (__libc_vfork): Define function under this name.
29854         (__vfork): Define as an alias.
29855         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29856         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29858 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29860         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29861         that was previously under [RESET_PID].
29862         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29864 2014-08-04  Andreas Schwab  <schwab@suse.de>
29866         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29868 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29870         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29871         (main): Likewise.
29873 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29875         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29877 2014-08-01  Richard Henderon  <rth@redhat.com>
29879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29880         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29881         typo in exact zero test.
29882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29886 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29888         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29889         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29890         * sysdeps/arm/sysdep.h: ... here.
29891         [!__ASSEMBLER__]: Include <stdint.h>.
29893 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29895         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29896         (HAVE_WCTYPE_H): Likewise.
29897         (HAVE_ISWCTYPE): Likewise.
29898         (ENABLE_NLS): Likewise.
29899         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29900         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29902         * posix/regex_internal.c: Check if DEBUG is defined and is
29903         set.
29905         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29906         (HAVE_MBSRTOWCS): Likewise.
29907         * posix/fnmatch.c: Include string.h unconditionally.
29909 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29911         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29912         reversal.
29914 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29916         * sysdeps/generic/safe-fatal.h: New file.
29917         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29918         * nptl/forward.c: Include it.
29919         (__pthread_unwind): Use __safe_fatal as default action, rather
29920         than a bogus use of INTERNAL_SYSCALL that could never work.
29922         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29923         * configure.ac (libc_cv_builtin_trap): New test.
29924         * configure: Regenerated.
29925         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29926         (ABORT_INSTRUCTION): Define using __builtin_trap.
29928         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29929         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29930         * sysdeps/nptl/nptl-signals.h: New file.
29931         * nptl/pthreadP.h: Include <nptl-signals.h>.
29933 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29935         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29936         (ONE_DIRECTION): Define.
29937         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29938         (ONE_DIRECTION): Define.
29939         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29940         (ONE_DIRECTION): Define.
29942 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29944         * sysdeps/s390/Makefile: Delete file.
29945         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29946         * sysdeps/s390/__longjmp.c: Delete file.
29947         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29948         Remove fields __flags and __reserved.
29949         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29950         and add versioning.
29951         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29952         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29953         * sysdeps/s390/rtld-setjmp.S: Likewise.
29954         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29955         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29956         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29957         * sysdeps/s390/s390-32/setjmp.S: ... here.
29958         Add versioning.
29959         (__sigsetjmp): Remove setting __flags field.
29960         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29961         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29962         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29963         * sysdeps/s390/s390-64/setjmp.S: ... here.
29964         Add versioning.
29965         (__sigsetjmp): Remove setting __flags field.
29966         * sysdeps/s390/setjmp.S: Delete file.
29967         * sysdeps/s390/sigjmp.c: Likewise.
29968         * sysdeps/s390/v1-longjmp.c: Likewise.
29969         * sysdeps/s390/v1-setjmp.h: Likewise.
29970         * sysdeps/s390/v1-sigjmp.c: Likewise.
29971         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29972         Remove v1-longjmp_chk.
29973         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29974         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29975         Include debug/longjmp_chk.c and add versioning.
29976         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29977         Include nptl/pt-longjmp.c and add versioning.
29978         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29979         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29980         Include __longjmp.c.
29981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29982         Move to ...
29983         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29984         (__getcontext): Remove setting __flags field.
29985         Add versioning.
29986         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29987         Don't restore upper high grps.
29988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29989         Likewise.
29990         (__swapcontext): Remove setting uc_flags field.
29991         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29992         Delete file.
29993         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29994         Include __longjmp.c.
29995         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29996         Move to ...
29997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29998         (__getcontext): Remove setting __flags field.
29999         Add versioning.
30000         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30001         (__swapcontext): Remove setting uc_flags field.
30002         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30003         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30004         Remove fields uc_high_gprs and __reserved.
30005         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30006         New file with reverted content.
30007         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30008         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30009         Regenerated.
30010         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30011         Regenerated.
30013 2014-07-31  Andreas Schwab  <schwab@suse.de>
30015         * config.h.in (HAVE_IFUNC): Define to 0.
30016         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30017         definedness.
30019 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30022         memmove-avx-unaligned, memcpy-avx-unaligned and
30023         mempcpy-avx-unaligned.
30024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30025         Add tests for AVX memcpy functions.
30026         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30027         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30028         memcpy_chk.
30029         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30030         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30031         memmove_chk.
30032         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30034         mempcpy_chk.
30035         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30036         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30037         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30039 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30041         [BZ #17213]
30042         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30043         powerpc64le.
30045 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30047         [BZ #16839]
30048         * manual/llio.texi: Add section about open file description locks.
30049         * manual/examples/ofdlocks.c: Example of open file description
30050         lock usage.
30051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30052         F_OFD_SETLK, and F_OFD_SETLKW.
30054 2014-07-23  Allan McRae  <allan@archlinux.org>
30056         * po/es.po: Update Spanish translation from translation project.
30058 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30060         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30062 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30064         [BZ #17078]
30065         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30066         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30067         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30069 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30071         [BZ #17088]
30072         * math/fesetenv.c (__fesetenv)
30073         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30074         * math/feupdateenv.c (__feupdateenv)
30075         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30077         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30078         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30079         (__ASSUME_SOCKETCALL): Do not define.
30081         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30082         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30083         (__ASSUME_SOCKETCALL): Do not define.
30084         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30085         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30086         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30087         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30089         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30091         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30093         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30094         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30095         (__ASSUME_SOCKETCALL): Do not define.
30096         (__ASSUME_IPC64): Define unconditionally.
30097         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30098         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30099         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30101         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30103         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30104         Likewise.
30106         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30107         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30108         (__ASSUME_SOCKETCALL): Do not define.
30109         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30110         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30111         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30112         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30113         (__ASSUME_REQUEUE_PI): Define unconditionally.
30114         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30115         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30116         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30117         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30118         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30119         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30121         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30122         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30123         (__ASSUME_SOCKETCALL): Do not define.
30124         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30125         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30126         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30127         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30129         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30131         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30132         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30133         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30134         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30136         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30138         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30139         (__ASSUME_GETCPU_SYSCALL): Likewise.
30141         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30142         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30143         cases for individual architectures.
30144         * sysdeps/gnu/configure: Regenerated.
30145         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30146         LIBC_SLIBDIR_RTLDDIR.
30147         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30148         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30149         LIBC_SLIBDIR_RTLDDIR.
30150         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30152         LIBC_SLIBDIR_RTLDDIR.
30153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30154         Regenerated.
30155         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30156         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30157         file.
30158         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30159         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30160         file.
30161         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30162         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30163         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30164         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30166         * sysdeps/aarch64/shlib-versions: Move to ...
30167         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30168         * sysdeps/alpha/shlib-versions: Move to ...
30169         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30170         * sysdeps/arm/shlib-versions: Move to ...
30171         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30172         * sysdeps/hppa/shlib-versions: Move all contents except for
30173         libgcc_s entry to ...
30174         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30175         entry from ...
30176         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30177         * sysdeps/ia64/shlib-versions: Move to ...
30178         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30179         entry from ...
30180         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30181         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30182         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30183         * sysdeps/microblaze/shlib-versions: Move to ...
30184         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30185         * sysdeps/mips/shlib-versions: Move to ...
30186         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30187         entry from ...
30188         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30189         * sysdeps/tile/shlib-versions: Move to ...
30190         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30191         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30192         from ...
30193         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30194         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30195         entry from ...
30196         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30198 2014-07-17  Will Newton  <will.newton@linaro.org>
30200         * sysdeps/arm/bits/atomic.h
30201         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30202         (__arch_compare_and_exchange_bool_16_int): Likewise.
30203         (__arch_compare_and_exchange_bool_64_int): Likewise.
30205         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30206         into an #else block.
30208 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30210         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30211         just Linux configurations.  Test empirically that the compiler sets
30212         __ARM_EABI__, rather than using the tuple to decide.
30213         * sysdeps/arm/preconfigure: Regenerated.
30214         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30215         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30216         contents appended ...
30217         * sysdeps/arm/configure.ac: ... here.
30218         * sysdeps/arm/configure: Regenerated.
30220 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30222         * nptl/pthread_kill.c: New file.
30223         * nptl/pthread_sigmask.c: New file.
30224         * nptl/pthread_sigqueue.c: New file.
30226         * sysdeps/nptl/lowlevellock.h: New file.
30227         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30228         * sysdeps/nptl/lowlevellock-futex.h: New file.
30230         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30231         Remove dead declarations.
30233 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30235         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30236         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30237         config-cflags-avx2.
30238         * sysdeps/x86_64/configure.ac: Likewise.
30239         * sysdeps/i386/configure: Regenerated.
30240         * sysdeps/x86_64/configure: Likewise.
30241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30242         memset-avx2 only if config-cflags-avx2 is yes.
30243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30244         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30245         defined.
30246         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30247         only if HAVE_AVX2_SUPPORT is defined.
30248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30250 2014-07-14  Alan Modra  <amodra@gmail.com>
30252         [BZ #17153]
30253         * elf/elf.h (DT_PPC64_NUM): Correct value.
30254         * NEWS: Add to fixed bug list.
30256 2014-07-13  Jim Meyering  <meyering@fb.com>
30258         [BZ 17150]
30259         regex: don't deref NULL upon heap allocation failure
30260         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30261         failure in one more place.
30262         To trigger the segfault, configure grep -with-included-regex,
30263         build it, and run these commands:
30264         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30266 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30268         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30270 2014-07-11  Richard Henderson  <rth@redhat.com>
30272         * sysdeps/aarch64/libm-test-ulps: Update.
30274 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30276         [BZ #17135]
30277         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30278         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30279         (__nptl_setxid): Initialize error member.  Call
30280         __nptl_setxid_error.
30281         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30282         * nptl/descr.h (struct xid_command): Add error member.
30283         * nptl/tst-setuid3.c: New file.
30284         * nptl/Makefile (tests): Add it.
30286 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30289         New define.
30290         (__lll_trylock): Use __lll_base_trylock.
30291         (__lll_cond_trylock): Likewise.
30293 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30295         * nptl/pthread_create.c (start_thread): Use atomic_or and
30296         lll_futex_wake directly rather than lll_robust_dead.
30297         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30298         (lll_robust_dead): Macro removed.
30299         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30300         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30301         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30302         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30304         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30305         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30306         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30307         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30308         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30309         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30311         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30312         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30315         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30316         Use atomic_compare_and_exchange_val_acq directly rather than
30317         lll_robust_trylock.
30318         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30319         (__lll_robust_trylock, lll_robust_trylock): Removed.
30320         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30321         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30322         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30324         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30325         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30326         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30327         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30329         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30330         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30331         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30332         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30335 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30337         * manual/locale.texi (Locale Names): New section documenting
30338         locale name syntax.  Adjust menu and node chaining accordingly.
30339         (Choosing Locale): Reference Locale Names, Locale Categories.
30340         Mention setting LC_ALL=C.  Reflect that name syntax is now
30341         documented.
30342         (Locale Categories): New section title.  Reference Locale Names.
30343         LC_ALL is an environment variable, but not a category.
30344         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30345         description, now in Locale Name.  Reference that section.  Locale
30346         name syntax is now documented.
30348 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30350         [BZ #17137]
30351         * locale/findlocale.c (name_present, valid_locale_name): New
30352         functions.
30353         (_nl_find_locale): Use the loc_name variable to store name
30354         candidates.  Call name_present and valid_locale_name to check and
30355         validate locale names.  Return an error if the locale is invalid.
30357 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30359         * locale/setlocale.c (setlocale): Use strdup for allocating
30360         composite name copy.
30362 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30364         Sync up with gnulib.
30365         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30366         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30367         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30368         and _GL_ARG_NONNULL.
30369         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30370         [!_LIBC]: Include code for Windows and Cygwin.
30371         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30372         Include prototype for int strerror_r.
30373         [!_LIBC] (is_open): New function.
30374         (flush_stdout): New function.
30375         (print_errno_message): Use it.
30376         (error): Likewise.
30377         (error_at_line): Likewise.
30378         (error_tail) Add function attribute macros.  Use
30379         __builtin_expect.
30381         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30383         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30385         * io/ftw.c: Include sys/param.h unconditionally.
30387         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30389         [BZ #17125]
30390         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30391         libc_freeres_ptr.
30392         (freecache): New function to free CACHE on exit.
30394         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30395         initialization.
30397 2014-07-09  David S. Miller  <davem@davemloft.net>
30399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30401         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30402         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30403         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30404         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30405         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30406         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30407         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30408         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30409         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30410         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30411         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30412         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30413         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30415 2014-07-09  Andreas Schwab  <schwab@suse.de>
30417         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30418         output.
30419         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30420         (do_test): Likewise.
30422         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30424 2014-07-09  Will Newton  <will.newton@linaro.org>
30426         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30427         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30428         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30429         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30430         * sysdeps/hppa/start.S (_start): Likewise.
30432 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30434         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30436         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30437         defined.
30439 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30441         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30442         after checking that it is non-NULL.
30444         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30446 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30448         * sysdeps/powerpc/memmove.c: Remove file.
30449         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30450         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30451         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30452         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30453         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30454         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30455         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30456         string memmove instead of removed powerpc one.
30458         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30459         [weak_alias]: Fix compiler warning due trailing data.
30460         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30461         [weak_alias]: Likewise.
30462         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30463         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30466         (__libc_ifunc_impl_list): Add memmove functions.
30468 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30471         Remove code.
30472         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30473         Likewise.
30474         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30475         Likewise.
30476         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30477         Likewise.
30478         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30479         Likewise.
30480         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30481         Likewise.
30482         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30483         Likewise.
30484         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30485         Likewise.
30486         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30487         Likewise.
30488         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30489         Likewise.
30490         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30491         Likewise.
30492         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30493         Likewise.
30494         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30495         Likewise.
30496         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30497         Likewise.
30498         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30499         Likewise.
30500         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30501         Likewise.
30502         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30503         Likewise.
30505 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30508         to avoid alignment traps in non-cacheable memory.
30509         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30512         multiarch objects.
30513         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30514         file: multiarch power7 memmove.
30515         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30516         multiarch default memmove.
30517         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30518         multiarch memove for powerpc32/power4.
30520         * string/bcopy.c: Use full path to include memmove.c.
30521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30522         multiarch objects.
30523         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30524         bcopy for powerpc64.
30525         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30526         bcopy for powerpc64.
30527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30528         and memmove implementations.
30529         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30530         optimized multiarch memmove for POWER7/powerpc64.
30531         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30532         default multiarch memmove for powerpc64.
30533         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30534         multiarch for powerpc64.
30535         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30536         for POWER7/powerpc64.
30537         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30538         memmove for POWER7/powerpc64.
30540         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30541         glibc default one.
30543         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30544         __ELF_NATIVE_CLASS equal to 64.
30546 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30548         * sysdeps/nptl/lowlevellock.h: File removed.
30550         * NEWS: NPTL is no longer an add-on!
30551         * nptl/internaltypes.h: Moved ...
30552         * sysdeps/nptl/internaltypes.h: ... here.
30553         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30554         * sysdeps/nptl/fork.c: Likewise.
30555         * sysdeps/nptl/gai_misc.h: Likewise.
30556         * sysdeps/nptl/librt-cancellation.c: Likewise.
30557         * sysdeps/nptl/jmp-unwind.c: Likewise.
30558         * sysdeps/nptl/setxid.h: Likewise.
30559         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30560         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30561         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30562         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30563         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30564         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30565         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30566         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30567         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30568         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30569         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30570         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30571         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30572         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30573         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30574         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30575         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30576         * nptl/Makeconfig: Moved ...
30577         * sysdeps/nptl/Makeconfig: ... here.
30578         * nptl/configure: File removed.
30579         * nptl/ANNOUNCE: File removed.
30580         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30581         * sysdeps/unix/sysv/linux/configure: Regenerated.
30583         * nptl/Makefile (routines): Add libc_pthread_init,
30584         libc_multiple_threads, register-atfork and unregister-atfork.
30585         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30586         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30587         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30588         pthread-pi-defines.sym, structsem.sym.
30589         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30590         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30591         [$(subdir) = nptl] (tests): Add tst-setgetname.
30592         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30593         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30594         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30595         [!LIBC_SIGACTION]: Remove aliases.
30596         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30597         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30598         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30599         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30600         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30601         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30602         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30604         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30605         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30606         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30607         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30608         __libc_allocate_rtsig_private.
30609         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30610         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30611         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30612         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30613         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30614         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30615         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30616         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30617         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30618         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30619         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30620         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30621         * nptl/internaltypes.h: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30623         * sysdeps/nptl/jmp-unwind.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30625         * nptl/libc-lowlevellock.c: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30627         * nptl/libc_multiple_threads.c: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30629         * nptl/libc_pthread_init.c: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30631         * nptl/lowlevelbarrier.sym: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30633         * nptl/lowlevelcond.sym: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30635         * nptl/lowlevellock.c: ... here.
30636         * nptl/lowlevellock.h: Moved ...
30637         * sysdeps/nptl/lowlevellock.h: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30639         * nptl/lowlevelrobustlock.c: ... here.
30640         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30641         * nptl/lowlevelrobustlock.sym: ... here.
30642         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30643         * nptl/lowlevelrwlock.sym: ... here.
30644         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30645         * nptl/pt-fork.c: ... here.
30646         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30647         * nptl/pthread-pi-defines.sym: ... here.
30648         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30649         * nptl/pthread_attr_getaffinity.c: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30651         * nptl/pthread_attr_setaffinity.c: ... here.
30652         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30653         * nptl/pthread_mutex_cond_lock.c: ... here.
30654         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30655         Update #include.
30656         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30657         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30658         * nptl/pthread_once.c: ... here, replacing old file.
30659         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30660         * nptl/pthread_yield.c: ... here.
30661         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30662         * nptl/register-atfork.c: ... here.
30663         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30664         * nptl/sem_post.c: ... here.
30665         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30666         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30667         * nptl/sem_timedwait.c: ... here.
30668         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30669         * nptl/sem_trywait.c: ... here.
30670         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30671         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30672         * nptl/sem_wait.c: ... here.
30673         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30674         * nptl/structsem.sym: ... here.
30675         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30676         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30677         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30678         * nptl/unregister-atfork.c: ... here.
30679         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30680         * nptl/unwindbuf.sym: ... here.
30681         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30682         * sysdeps/nptl/fork.c: ... here.
30683         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30684         * sysdeps/nptl/fork.h: ... here.
30685         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30686         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30687         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30688         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30689         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30690         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30691         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30692         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30693         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30694         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30695         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30696         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30697         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30698         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30699         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30700         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30701         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30703         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30704         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30705         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30706         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30707         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30708         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30709         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30710         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30711         * sysdeps/unix/sysv/linux/raise.c: ... here.
30712         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30713         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30714         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30715         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30716         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30717         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30718         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30719         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30720         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30721         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30722         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30723         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30725         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30726         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30728 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30730         * sysdeps/generic/memcopy.h: Add comment for
30731         MEMCPY_OK_FOR_FWD_MEMMOVE.
30733 2014-07-04  Will Newton  <will.newton@linaro.org>
30735         * string/memchr.c: Merge from gnulib.
30736         [_LIBC]: Remove conditionals.
30737         (__ptr_t): Remove define.
30738         (LONG_MAX_32_BITS): Likewise.
30739         (LONG_MAX): Likewise.
30740         (MEMCHR): Use ANSI prototype and optimize algorithm.
30742         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30744 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30746         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30747         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30749         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30750         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30751         in a bare environment with no <stdlib.h> installed.
30752         * sysdeps/nptl/configure: Regenerated.
30754         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30756         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30757         AC_EGREP_CPP for kernel header checks, so they only succeed if
30758         including <linux/version.h> actually works right.
30759         * sysdeps/unix/sysv/linux/configure: Regenerated.
30761         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30762         value so it's not diagnosed as unused.
30764         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30765         thing) with "ifeq ($(subdir),rt)".
30767 2014-07-03  Richard Henderson  <rth@redhat.com>
30769         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30770         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30771         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30773         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30774         (math_force_eval): New.
30776         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30777         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30779         * sysdeps/alpha/fpu/s_round.c: Remove file.
30780         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30782         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30783         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30784         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30785         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30786         (_dl_start, print_statistics): Likewise.
30787         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30788         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30790         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30791         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30792         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30793         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30795         (HP_SMALL_TIMING_AVAIL): Define.
30796         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30797         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30798         (HP_SMALL_TIMING_AVAIL): Define.
30799         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30800         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30802         * sysdeps/aarch64/hp-timing.h: New file.
30804         * sysdeps/generic/hp-timing.h: Remove dead comment.
30805         * sysdeps/generic/hp-timing-common.h: New file.
30806         * sysdeps/alpha/hp-timing.h: Include it.
30807         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30808         * sysdeps/i386/i686/hp-timing.h: Likewise.
30809         * sysdeps/ia64/hp-timing.h: Likewise.
30810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30813         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30814         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30815         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30816         (hp_timing_t): New.
30818         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30819         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30820         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30821         * elf/rtld.c (_dl_start_final): Likewise.
30822         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30823         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30824         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30825         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30826         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30828         (HP_TIMING_DIFF_INIT): Remove.
30829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30831         (HP_TIMING_DIFF_INIT): Remove.
30832         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30833         * sysdeps/i386/i686/hp-timing.c: Remove file.
30834         * sysdeps/x86_64/hp-timing.c: Remove file.
30835         * sysdeps/ia64/hp-timing.c: Remove file.
30836         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30837         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30838         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30839         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30841         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30842         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30843         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30844         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30846         (HP_TIMING_ACCUM): Remove.
30847         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30848         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30849         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30851         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30852         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30853         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30854         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30856         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30858         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30860         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30862 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30864         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30866 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30868         Sync up with gettext.
30869         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30870         [_MSC_VER]: Include malloc.h
30871         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30872         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30873         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30874         TEMP_FAILURE_RETRY.  Cast return of alloca.
30875         [!_LIBC] Call gl_rwlock_init.
30876         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30878 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30880         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30881         before checking its value.
30883 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30885         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30887         * debug/memcpy_chk.c: Don't include pagecopy.h.
30888         * debug/mempcpy_chk.c: Likewise.
30889         * string/memcpy.c: Likewise.
30890         * string/memmove.c: Likewise.
30891         * sysdeps/powerpc/memmove.c: Likewise.
30892         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30893         definition of PAGE_COPY_FWD_MAYBE here...
30894         * sysdeps/generic/pagecopy.h: ... from here.
30895         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30897 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30900         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30902         optimizations.
30903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30904         (__libc_ifunc_impl_list): Likewise.
30905         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30906         multiarch strcat for PPC64.
30907         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30908         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30910 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30912         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30914 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30916         * intl/loadmsgcat.c: Remove declaration of
30917         get_sysdep_segment_value.
30918         (get_sysdep_segment_value): Use ISO C style.
30919         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30920         semicolon.  Fix typo and formatting in comment.
30921         (_nl_unload_domain): Use ISO C style.
30923         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30925 2014-07-02  Will Newton  <will.newton@linaro.org>
30927         * malloc/obstack.c: Merge from gnulib master.
30928         [HAVE_CONFIG_H]: Remove conditional code.
30929         [!_LIBC]: Include config.h.
30930         [!ELIDE_CODE]: Don't include inttypes.h, include
30931         stdint.h unconditionally.
30932         (print_and_abort): Mark as _Noreturn.
30933         (_obstack_allocated_p): Mark as __attribute_pure__.
30934         (obstack_free): Rename to __obstack_free.
30935         [!__attribute__]: Remove conditional code.
30936         * malloc/obstack.h: Merge from gnulib master.
30937         [__cplusplus]: Move conditional down.
30938         [!__attribute_pure__]: Define __attribute_pure__ here
30939         if it is not already defined.
30940         (_obstack_memory_used): Mark as __attribute_pure__.
30941         [!__obstack_free]: Define as obstack_free.
30942         [__GNUC__]: Remove check for ancient NeXT gcc.
30944 2014-07-02  Will Newton  <will.newton@linaro.org>
30945             Paul Eggert  <eggert@cs.ucla.edu>
30947         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30949 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30951         * resolv/gethnamaddr.c: Add comment warning that the file is
30952         not maintained.
30954 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30956         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30957         entries.
30959         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30960         entry for aio_cancel and aio_cancel64.
30961         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30962         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30963         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30964         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30965         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30966         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30967         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30968         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30969         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30970         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30971         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30972         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30973         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30975 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30977         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30978         * nptl/pthread_mutex_lock.c: Likewise.
30979         * nptl/pthread_mutex_timedlock.c: Likewise.
30980         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30982 2014-07-01  Richard henderson  <rth@redhat.com>
30984         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30985         (__isnan, __isnanl): Remove.
30986         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30988         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30990 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30992         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30994 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30996         * resolv/nss_dns/dns-host.c (getanswer_r)
30997         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30999 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31002         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31003         undefine.
31004         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31005         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31007 2014-07-01  Roland McGrath <roland@hack.frob.com>
31009         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31010         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31012         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31013         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31015         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31016         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31017         ... here.
31018         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31019         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31021         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31022         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31023         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31024         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31026         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31027         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31028         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31029         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31030         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31031         Moved ...
31032         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31033         ... here.
31034         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31035         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31036         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31037         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31038         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31039         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31040         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31041         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31043         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31044         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31045         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31046         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31047         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31048         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31049         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31050         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31051         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31052         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31053         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31054         ... here.
31055         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31056         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31057         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31058         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31060         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31061         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31062         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31064 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31066         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31067         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31068         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31069         Add sysdep.
31071 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31075 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31077         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31078         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31080         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31082         * sysdeps/arm/libm-test-ulps: Regenerated.
31084 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31085             Roland McGrath <roland@hack.frob.com>
31087         * test-skeleton.c (signal_handler): Kill the whole process group
31088         before killing the child individually.
31089         (main): Report any failure on `setpgid'.
31091 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31093         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31094         from _TLS_H to _ARM_NPTL_TLS_H.
31095         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31096         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31098 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31100         [BZ #16539]
31101         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31102         (__expm1l): Return argument unchanged when small but not
31103         subnormal.
31105         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31106         include macro name.
31107         (_FP_UNPACK_RAW_1_P): Likewise.
31108         (_FP_PACK_RAW_1): Likewise.
31109         (_FP_PACK_RAW_1_P): Likewise.
31110         (_FP_MUL_MEAT_1_wide): Likewise.
31111         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31112         (_FP_MUL_MEAT_1_hard): Likewise.
31113         (_FP_DIV_MEAT_1_imm): Likewise.
31114         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31115         (_FP_DIV_MEAT_1_udiv): Likewise.
31116         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31117         (_FP_UNPACK_RAW_2): Likewise.
31118         (_FP_UNPACK_RAW_2_P): Likewise.
31119         (_FP_PACK_RAW_2): Likewise.
31120         (_FP_PACK_RAW_2_P): Likewise.
31121         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31122         (_FP_MUL_MEAT_2_wide): Likewise.
31123         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31124         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31125         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31126         (_FP_MUL_MEAT_2_gmp): Likewise.
31127         (_FP_DIV_MEAT_2_udiv): Likewise.
31128         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31129         (_FP_FRAC_SRL_4): Likewise.
31130         (_FP_FRAC_SRST_4): Likewise.
31131         (_FP_FRAC_SRS_4): Likewise.
31132         (_FP_UNPACK_RAW_4): Likewise.
31133         (_FP_UNPACK_RAW_4_P): Likewise.
31134         (_FP_PACK_RAW_4): Likewise.
31135         (_FP_PACK_RAW_4_P): Likewise.
31136         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31137         (_FP_MUL_MEAT_4_wide): Likewise.
31138         (_FP_MUL_MEAT_4_gmp): Likewise.
31139         (umul_ppppmnnn): Likewise.
31140         (_FP_DIV_MEAT_4_udiv): Likewise.
31141         (__FP_FRAC_ADD_4): Likewise.
31142         (__FP_FRAC_SUB_3): Likewise.
31143         (__FP_FRAC_SUB_4): Likewise.
31144         (__FP_FRAC_DEC_3): Likewise.
31145         (__FP_FRAC_DEC_4): Likewise.
31146         (__FP_FRAC_ADDI_4): Likewise.
31147         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31148         (_FP_FRAC_SRL_8): Likewise.
31149         (_FP_FRAC_SRS_8): Likewise.
31151         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31152         include macro name.
31153         (FP_UNPACK_RAW_EP): Likewise.
31154         (FP_PACK_RAW_E): Likewise.
31155         (FP_PACK_RAW_EP): Likewise.
31156         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31157         (_FP_ISSIGNAN): Likewise.
31158         (_FP_ADD_INTERNAL): Likewise.
31159         (_FP_FMA): Likewise.
31160         (_FP_CMP): Likewise.
31161         (_FP_SQRT): Likewise.
31162         (_FP_TO_INT): Likewise.
31163         (_FP_FROM_INT): Likewise.
31164         (FP_EXTEND): Likewise.
31165         (_FP_DIV_MEAT_N_loop): Likewise.
31167 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31169         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31170         throughout.
31172 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31174         [BZ #17097]
31175         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31176         result with correct sign in case of exponents that produce
31177         overflow except for X very close to 1.
31179 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31181         mktime: merge #if/#ifdef usage from glibc
31182         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31183         as that works with both Glibc's and Gnulib's style.
31184         See thread starting at Siddhesh Poyarekar's bug report at:
31185         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31187 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31189         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31190         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31191         * sysdeps/tile/tilegx/memmove.c: Remove file.
31193 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31195         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31196         abi-name definition.
31197         * scripts/soversions.awk: Do not handle or generate ABI lines.
31198         * shlib-versions: Remove ABI entries.
31199         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31200         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31202 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31205         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31206         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31207         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31209         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31211         Moved ...
31212         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31213         ... here.
31214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31215         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31217         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31219         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31221         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31225         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31227         Moved ...
31228         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31230         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31234         Moved ...
31235         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31237         Moved ...
31238         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31242         Moved ...
31243         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31245         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31247         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31249         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31254         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31256         Moved ...
31257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31259         Moved ...
31260         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31262         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31264         Moved ...
31265         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31266         ... here.
31267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31268         Identical file removed.
31269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31270         Moved ...
31271         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31273         Identical file removed.
31274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31277         Moved ...
31278         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31280         Identical file removed.
31281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31282         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31284         Identical file removed.
31285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31286         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31288         Identical file removed.
31289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31290         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31292         Identical file removed.
31293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31294         Moved ...
31295         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31297         Identical file removed.
31298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31299         Moved ...
31300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31302         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31304         Identical file removed.
31305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31306         Moved ...
31307         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31308         ... here.
31309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31310         Identical file removed.
31311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31312         Moved ...
31313         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31315         Identical file removed.
31316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31317         Moved ...
31318         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31322         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31324         Moved ...
31325         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31326         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31327         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31329         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31330         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31331         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31332         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31333         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31335 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31337         [BZ #17092]
31338         * nscd/nscd.c (monitor_child): Return exit status of child
31339         instead of return value from wait syscall.
31341 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31343         * configure.ac (libc_commonpagesize): Remove variable.
31344         (libc_relro_required): Likewise.
31345         (libc_cv_z_relro): Remove configure test.
31346         * configure: Regenerated.
31347         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31348         variable.
31349         (libc_relro_required): Likewise.
31350         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31351         (libc_relro_required): Likewise.
31352         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31353         (libc_relro_required): Likewise.
31354         * sysdeps/arm/preconfigure: Regenerated.
31355         * sysdeps/ia64/preconfigure: Remove file.
31356         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31357         variable.
31358         (libc_relro_required): Likewise.
31360         [BZ #16561]
31361         [BZ #16562]
31362         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31363         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31364         recompute overflowing results in original rounding mode.
31365         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31366         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31367         recompute overflowing results in original rounding mode.
31368         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31369         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31370         recompute overflowing results in original rounding mode.
31371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31372         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31373         recompute overflowing results in original rounding mode.
31374         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31375         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31376         recompute overflowing results in original rounding mode.
31377         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31378         (libc_feholdsetround_ctx): New macro.
31379         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31380         * sysdeps/i386/fpu/libm-test-ulps: Update.
31381         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31383 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31385         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31386         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31387         corresponding .cpsetup call.
31389 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31391         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31392         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31393         * sysdeps/arm/Makefile [$(subdir) = csu]
31394         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31395         (static-only-routines): Add aeabi_read_tp here.
31396         (shared-only-routines): Add libc-aeabi_read_tp here.
31397         (CFLAGS-libc-start.c): Add -fexceptions here.
31398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31399         (sysdep_routines, static-only-routines, shared-only-routines):
31400         Don't add to these here.
31401         (CFLAGS-libc-start.c): Likewise.
31403         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31404         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31405         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31406         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31407         * sysdeps/arm/Makefile [$(subdir) = rt]
31408         (librt-sysdep_routines, librt-shared-only-routines):
31409         Append rt-aeabi_unwind_cpp_pr1 here.
31410         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31411         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31412         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31413         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31414         Append nptl-aeabi_unwind_cpp_pr1 here.
31415         (tests): Filter out tst-cleanupx4 here.
31416         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31417         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31418         Don't do those here.
31420 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31422         * scripts/list-sources.sh: Do not handle ports specially.
31424 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31426         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31427         * sysdeps/arm/feupdateenv.c: Likewise.
31429         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31431 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31433         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31434         trailing whitespace removed.
31435         * scripts/config.guess: Update to version 2014-03-23.
31436         * scripts/config.sub: Update to version 2014-05-01
31437         * scripts/install-sh: Update to version 2013-12-25.23.
31438         * scripts/move-if-change: Update from gnulib.
31440 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31442         * debug/memmove_chk.c: Remove pagecopy.h include.
31444 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31446         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31447         identical to gnulib mktime.
31449 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31451         * configure.ac: Do not test for machine being rs6000.  Do not test
31452         for powerpc*-*soft.
31453         * configure: Regenerated.
31455         [BZ #11505]
31456         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31457         test.
31458         * configure: Regenerated.
31459         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31460         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31461         Remove configure test.
31462         * sysdeps/arm/configure: Regenerated.
31463         * sysdeps/nptl/configure.ac: Do not check
31464         libc_cv_asm_cfi_directives.
31465         * sysdeps/nptl/configure: Regenerated.
31466         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31467         * sysdeps/x86_64/nptl/configure: Remove generated file.
31468         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31469         unconditional.
31470         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31472 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31474         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31475         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31476         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31477         it is defined.
31479         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31480         instead of whether it is defined.
31481         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31482         * sysdeps/hppa/dl-machine.h: Likewise.
31483         * sysdeps/ia64/dl-machine.h: Likewise.
31484         * sysdeps/m68k/dl-machine.h: Likewise.
31485         * sysdeps/microblaze/dl-machine.h: Likewise.
31486         * sysdeps/mips/dl-machine.: Likewise.
31487         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31488         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31489         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31490         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31491         * sysdeps/sh/dl-machine.h: Likewise.
31492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31493         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31494         * sysdeps/tile/dl-machine.h: Likewise.
31495         * sysdeps/x86_64/dl-machine.h: Likewise.
31497         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31498         code.
31499         (verify_persistent_db): Likewise.
31501 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31504         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31506         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31508         Moved ...
31509         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31510         ... here.
31511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31512         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31514         Identical file removed.
31515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31516         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31518         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31520         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31522         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31524         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31526         Moved ...
31527         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31529         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31531         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31533         Moved ...
31534         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31536         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31538         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31540         Identical file removed.
31541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31542         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31544         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31546         Moved ...
31547         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31548         ... here.
31549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31550         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31552         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31554         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31558         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31560         Moved ...
31561         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31563         Moved ...
31564         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31566         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31568         Moved ...
31569         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31573         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31574         folded into ...
31575         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31576         * sysdeps/unix/sysv/linux/s390/Versions
31577         (libpthread: GLIBC_2.19): New version set.
31578         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31579         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31580         (librt: GLIBC_2.3.3): New version set.
31581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31582         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31583         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31584         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31585         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31586         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31587         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31588         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31589         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31590         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31591         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31592         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31593         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31594         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31595         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31596         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31597         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31598         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31599         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31600         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31601         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31603         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31604         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31605         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31606         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31607         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31608         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31609         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31610         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31611         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31612         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31615         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31617         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31619         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31621         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31623         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31625         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31627         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31628         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31629         (__libc_vfork): Define the function under this name.
31630         [!NOT_IN_libc] (__vfork): Make this an alias.
31631         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31633         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31634         (__libc_vfork): Define the function under this name.
31635         [!NOT_IN_libc] (__vfork): Make this an alias.
31636         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31637         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31638         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31641         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31643         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31644         code that was previously under [RESET_PID].
31645         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31646         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31649         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31650         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31651         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31652         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31653         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31654         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31655         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31656         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31657         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31658         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31659         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31660         Moved ...
31661         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31662         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31663         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31664         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31665         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31666         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31667         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31668         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31669         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31670         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31671         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31673         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31674         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31675         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31676         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31677         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31678         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31679         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31680         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31681         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31682         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31683         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31684         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31685         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31686         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31687         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31689         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31691 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31693         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31694         that was previously under [RESET_PID].
31695         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31697 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31699         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31700         not undefine and redefine.
31701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31702         [O_CLOEXEC]: Make code unconditional.
31703         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31704         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31705         <kernel-features.h>.
31706         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31707         conditional variable definition.
31708         (shm_open) [O_CLOEXEC]: Make code unconditional.
31709         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31710         code.
31712         * configure.ac (USE_REGPARMS): Don't define here.
31713         * configure: Regenerated.
31714         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31715         * sysdeps/i386/configure: Regenerated.
31717         * nptl/createthread.c: Don't include kernel-features.h.
31718         * nptl/pthread_cancel.c: Likewise.
31719         * nptl/pthread_condattr_setclock.c: Likewise.
31720         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31721         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31722         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31723         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31724         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31729         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31730         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31731         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31732         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31733         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31734         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31735         * nscd/gai.c: Likewise.
31736         * nss/nss_db/db-open.c: Likewise.
31737         * sysdeps/generic/ldsodefs.h: Likewise.
31738         * sysdeps/sh/nptl/tls.h: Likewise.
31739         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31740         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31741         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31742         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31743         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31744         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31745         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31746         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31748         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31749         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31750         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31751         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31752         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31753         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31754         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31755         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31756         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31757         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31758         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31767         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31768         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31769         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31770         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31771         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31772         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31773         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31774         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31775         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31776         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31777         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31778         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31779         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31780         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31781         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31782         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31783         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31784         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31785         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31786         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31787         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31788         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31789         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31790         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31791         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31792         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31793         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31794         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31795         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31796         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31819         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31820         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31821         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31822         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31823         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31824         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31826         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31827         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31828         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31829         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31830         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31831         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31832         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31833         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31834         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31835         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31836         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31837         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31838         * sysdeps/unix/sysv/linux/system.c: Likewise.
31839         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31840         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31841         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31842         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31843         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31844         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31845         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31847         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31848         * configure: Regenerated.
31849         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31851         * configure.ac (base_machine): Do not set specially for particular
31852         machines here.
31853         * configure: Regenerated.
31854         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31855         settings from configure.ac.
31856         * sysdeps/i386/preconfigure: New file.
31857         * sysdeps/s390/preconfigure: Likewise.
31858         * sysdeps/sh/preconfigure: Likewise.
31859         * sysdeps/sparc/preconfigure: Likewise.
31861 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31863         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31864         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31865         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31866         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31867         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31868         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31869         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31870         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31871         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31872         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31873         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31874         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31875         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31876         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31877         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31878         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31880         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31881         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31883         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31884         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31885         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31886         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31887         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31888         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31889         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31890         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31891         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31892         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31893         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31894         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31895         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31896         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31897         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31898         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31899         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31900         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31901         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31902         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31904         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31906         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31908         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31910         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31911         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31912         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31913         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31914         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31915         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31916         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31918         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31919         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31920         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31923         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31925         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31927         Moved ...
31928         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31929         ... here.
31930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31931         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31933         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31935         Moved ...
31936         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31938         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31940         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31942         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31944         Moved ...
31945         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31947         Moved ...
31948         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31950         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31952         Moved ...
31953         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31955         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31957         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31959         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31961         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31963         Moved ...
31964         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31965         ... here.
31966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31967         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31969         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31971         Moved ...
31972         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31974         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31976         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31978         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31980         Moved ...
31981         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31983         Moved ...
31984         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31986         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31988         Moved ...
31989         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31991         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31993         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31995 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31997         * timezone/checktab.awk: Update from tzcode 2014e.
31998         * timezone/private.h: Likewise.
31999         * timezone/tzfile.h: Likewise.
32000         * timezone/zdump.c: Likewise.
32001         * timezone/zic.c: Likewise.
32003         * sysdeps/unix/sysv/linux/kernel-features.h
32004         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32006         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32007         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32008         Remove conditional code.
32010 2014-06-25  Will Newton  <will.newton@linaro.org>
32012         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32013         (_dl_arm_cap_flags): Add HWCAP2 values.
32014         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32015         (_DL_HWCAP_COUNT): Increase to 37.
32016         (_DL_HWCAP_LAST): New define.
32017         (_DL_HWCAP2_LAST): New define.
32018         (_dl_procinfo): Add support for printing
32019         AT_HWCAP2 entries.
32020         (_dl_string_hwcap): Use _dl_hwcap_string.
32022 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32026 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32028         * README: Do not mention ports directory.
32030         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32031         Remove macro.
32032         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32033         <kernel-features.h>.
32034         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32035         conditional variable definition.
32036         (__futimes): Update comment.
32037         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32038         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32040         [BZ #16560]
32041         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32042         arguments close to 0.
32043         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32044         Likewise.
32045         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32046         Likewise.
32047         * math/auto-libm-test-in: Add more tests of exp10.
32048         * math/auto-libm-test-out: Regenerated.
32049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32051         * sysdeps/unix/sysv/linux/kernel-features.h
32052         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32053         * sysdeps/unix/sysv/linux/readv.c: Do not include
32054         <kernel-features.h>.
32055         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32056         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32057         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32058         unconditional.
32059         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32060         conditional code.
32061         * sysdeps/unix/sysv/linux/writev.c: Do not include
32062         <kernel-features.h>.
32063         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32064         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32065         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32066         unconditional.
32067         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32068         conditional code.
32070 2014-06-25  Will Newton  <will.newton@linaro.org>
32072         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32073         comment changes throughout the file.  Remove checks
32074         for HAVE_*_H definitions that are not required.
32075         (__gen_tempname): Call abort if an unknown kind value is
32076         passed.
32078 2014-06-25  Andreas Schwab  <schwab@suse.de>
32080         [BZ #17086]
32081         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32082         scalbln, scalblnf, scalblnl in libc.
32084 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086         [BZ #17086]
32087         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32088         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32089         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32091 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32093         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32094         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32095         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32096         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32097         Update #include.
32098         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32099         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32100         Update #include.
32101         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32103         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32104         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32105         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32106         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32107         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32108         * sysdeps/x86/bits/semaphore.h: ... here.
32109         * sysdeps/x86/nptl/elide.h: Moved ...
32110         * sysdeps/x86/elide.h: ... here.
32111         * sysdeps/x86_64/nptl/Implies: File removed.
32112         * sysdeps/i386/nptl/Implies: File removed.
32114 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32116         [BZ #16539]
32117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32118         return the argument for normal arguments with exponent below -64.
32119         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32120         Likewise.
32121         * math/auto-libm-test-in: Add another test of expm1.
32122         * math/auto-libm-test-out: Regenerated.
32124         [BZ #16287]
32125         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32126         calling __erfcl for arguments at least 16.
32127         * math/auto-libm-test-in: Add more tests of erf.
32128         * math/auto-libm-test-out: Regenerated.
32130         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32131         individual architectures.
32132         * sysdeps/unix/sysv/linux/configure: Regenerated.
32133         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32134         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32135         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32136         (ldd_rewrite_script): Define variable.
32137         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32139         file.
32140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32141         generated file.
32142         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32143         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32144         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32145         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32146         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32147         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32148         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32149         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32151 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32153         [BZ #17084]
32154         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32155         Rename member __data.d to __data.__elision_data.
32157 2014-06-24  Wilco  <wdijkstr@arm.com>
32159         * NEWS: Add 16918 to fixed bug list.
32161 2014-06-24  Wilco  <wdijkstr@arm.com>
32163         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32165 2014-06-24  Wilco  <wdijkstr@arm.com>
32167         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32168         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32169         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32170         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32171         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32172         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32173         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32174         Use _FPU_MASK_RM.
32176 2014-06-24  Wilco  <wdijkstr@arm.com>
32178         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32180 2014-06-24  Wilco  <wdijkstr@arm.com>
32182         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32183         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32184         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32185         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32187 2014-06-24  Wilco  <wdijkstr@arm.com>
32189         [BZ #16918]
32190         * sysdeps/arm/feupdateenv.c (feupdateenv):
32191         Rewrite to reduce FPSCR accesses and fix return value.
32193 2014-06-24  Wilco  <wdijkstr@arm.com>
32195         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32196         Optimize to avoid unnecessary FPSCR writes.
32197         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32198         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32199         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32200         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32202 2014-06-24  Wilco  <wdijkstr@arm.com>
32204         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32205         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32206         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32207         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32208         Call libc_fetestexcept_vfp.
32209         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32210         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32211         __SOFTFP__ ifdef so that they can be built for softfp.
32213 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32215         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32216         argument type signed char.
32218         * Makerules (check-abi): Dump diff of symlist if the test
32219         fails.
32221 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32223         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32224         using abort.
32226         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32227         Remove unused variable ST.
32229 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32231         [BZ #16354]
32232         [BZ #17061]
32233         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32234         small arguments before calling __expm1.
32235         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32236         small arguments before calling __expm1f.
32237         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32238         small arguments before calling __expm1l.
32239         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32240         Likewise.
32241         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32242         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32243         spurious underflow for some cosh tests.
32244         * math/auto-libm-test-out: Regenerated.
32245         * sysdeps/i386/fpu/libm-test-ulps: Update.
32247         [BZ #17050]
32248         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32249         (__ieee754_y1): Set errno if return value overflows.
32250         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32251         (__ieee754_y1f): Set errno if return value overflows.
32252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32253         (__ieee754_y1l): Set errno if return value overflows.
32254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32255         (__ieee754_y1l): Set errno if return value overflows.
32256         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32257         * math/auto-libm-test-out: Regenerated.
32259         * math/gen-auto-libm-tests.c: Document use of
32260         ignore-zero-inf-sign.
32261         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32262         (input_flags): Add ignore-zero-inf-sign.
32263         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32264         * math/gen-libm-test.pl (generate_testfile): Handle
32265         ignore-zero-inf-sign.
32266         * math/auto-libm-test-in: Mark some cpow tests with
32267         ignore-zero-inf-sign and some with xfail-rounding.
32268         * math/auto-libm-test-out: Regenerated.
32269         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32270         * sysdeps/i386/fpu/libm-test-ulps: Update.
32271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32273         [BZ #16315]
32274         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32275         overflowing or underflowing operations take place with sign of
32276         result.
32277         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32278         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32279         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32280         (__ieee754_pow): Recompute overflowing and underflowing results in
32281         original rounding mode.
32282         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32283         (__powl_helper): Allow negative argument X and scale negated value
32284         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32285         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32286         overflowing or underflowing operations take place with sign of
32287         result.
32288         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32289         Include <math.h>.
32290         * math/auto-libm-test-in: Add more tests of pow.
32291         * math/auto-libm-test-out: Regenerated.
32292         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32293         (pow_tonearest_test_data): Remove.
32294         (pow_test_tonearest): Likewise.
32295         (pow_towardzero_test_data): Likewise.
32296         (pow_test_towardzero): Likewise.
32297         (pow_downward_test_data): Likewise.
32298         (pow_test_downward): Likewise.
32299         (pow_upward_test_data): Likewise.
32300         (pow_test_upward): Likewise.
32301         (main): Don't call removed functions.
32302         * sysdeps/i386/fpu/libm-test-ulps: Update.
32303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32308         Moved ...
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32311         Moved ...
32312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32314         Moved ...
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32317         Moved ...
32318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32320         File removed.
32321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32322         File removed.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32324         File removed.
32325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32326         File removed.
32327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32328         File removed.
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32330         File removed.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32332         File removed.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32334         File removed.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32336         File removed.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32338         File removed.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32340         File removed.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32342         File removed.
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32344         Moved ...
32345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32347         Moved ...
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32349         ... here.
32350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32351         Moved ...
32352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32354         Moved ...
32355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32357         Moved ...
32358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32360         Moved ...
32361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32363         Moved ...
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32369         Moved ...
32370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32373         ... here.
32374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32375         Moved ...
32376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32378         Moved ...
32379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32380         ... here.
32381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32382         Moved ...
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32384         ... here.
32385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32386         Moved ...
32387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32388         ... here.
32389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32390         Moved ...
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32393         Moved ...
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32400         ... here.
32401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32402         Moved ...
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32404         ... here.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32406         Moved ...
32407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32409         Moved ...
32410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32412         Moved ...
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32415         Moved ...
32416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32418         Moved ...
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32420         ... here.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32422         Moved ...
32423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32425         Moved ...
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32428         Moved ...
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32431         Moved ...
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32436         Moved ...
32437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32439         Moved ...
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32442         Moved ...
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32444         ... here.
32445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32446         Moved ...
32447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32448         ... here.
32449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32450         Moved ...
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32452         ... here.
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32454         Moved ...
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32457         Moved ...
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32460         Moved ...
32461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32463         Moved ...
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32465         ... here.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32467         Moved ...
32468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32469         ... here.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32471         Moved ...
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32473         ... here.
32474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32475         Moved ...
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32478         Moved ...
32479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32481 2014-06-23  Will Newton  <will.newton@linaro.org>
32482             Wilco  <wdijkstr@arm.com>
32484         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32485         implementation.  Include get-rounding-mode.h.
32486         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32487         [!libc_feholdsetround_noex_ctx]: Define
32488         libc_feholdsetround_noex_ctx.
32489         [!libc_feholdsetround_noexf_ctx]: Define
32490         libc_feholdsetround_noexf_ctx.
32491         [!libc_feholdsetround_noexl_ctx]: Define
32492         libc_feholdsetround_noexl_ctx.
32493         (libc_feholdsetround_ctx): New function.
32494         (libc_feresetround_ctx): New function.
32495         (libc_feholdsetround_noex_ctx): New function.
32496         (libc_feresetround_noex_ctx): New function.
32498 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32500         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32501         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32502         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32503         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32504         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32505         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32508         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32509         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32510         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32511         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32512         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32514         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32516         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32518         Moved ...
32519         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32520         ... here.
32521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32522         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32524         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32529         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32531         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32532         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32533         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32535         Moved ...
32536         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32538         Moved ...
32539         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32541         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32543         Moved ...
32544         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32546         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32547         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32548         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32549         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32550         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32552         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32554         Moved ...
32555         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32556         ... here.
32557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32558         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32560         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32562         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32564         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32568         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32570         Moved ...
32571         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32573         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32575         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32580         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32581         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32582         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32584         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32585         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32586         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32587         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32588         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32589         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32591         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32593         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32595         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32597         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32599         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32601         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32603         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32604         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32605         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32606         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32607         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32608         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32609         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32610         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32611         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32613 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32616         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32617         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32618         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32619         (IPV6_PMTUDISC_INTERFACE): Likewise.
32620         (IPV6_PMTUDISC_OMIT): Likewise.
32622 2014-06-23  Andreas Schwab  <schwab@suse.de>
32624         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32625         Remove unused errout label.
32627 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32629         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32630         macro: hardware supports Vector Crypto instructions.
32632 2014-06-23  Will Newton  <will.newton@linaro.org>
32634         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32635         rather than __builtin_expect.
32637         * elf/dl-lookup.c (undefined_msg): Remove variable.
32638         (_dl_lookup_symbol_x): Replace undefined_msg with string
32639         literal.
32641         * elf/dl-lookup.c (do_lookup_unique): New function.
32642         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32643         to a separate function.
32645 2014-06-23  Andreas Schwab  <schwab@suse.de>
32647         [BZ #17079]
32648         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32649         before reading the next line.
32651 2014-06-23  Will Newton  <will.newton@linaro.org>
32653         * test-skeleton.c (signal_handler): Use printf and %m
32654         rather than perror.  Use printf rather than fprintf to
32655         stderr.  Use puts rather than fputs to stderr.
32656         (main): Likewise.
32658 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32660         * nscd/nscd.c (thread_info_t): Remove typedef.
32661         (thread_info): Remove variable.
32663 2014-06-21  Allan McRae  <allan@archlinux.org>
32665         * NEWS: Mention CVE-2014-4043.
32667 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32669         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32670         * nptl/smp.h: ... here.
32672         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32674         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32675         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32676         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32677         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32679         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32680         * nptl/stack-aliasing.h: New file.
32681         * sysdeps/i386/i686/stack-aliasing.h: New file.
32682         * sysdeps/i386/i686/nptl/Makefile: File removed.
32683         * sysdeps/x86_64/stack-aliasing.h: New file.
32684         * sysdeps/x86_64/nptl/Makefile
32685         (CFLAGS-pthread_create.c): Variable removed.
32687         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32688         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32689         old file.
32690         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32691         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32692         old file.
32694 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32697         (__ASSUME_SIGFRAME_V2): Remove macro.
32698         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32699         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32700         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32701         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32702         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32703         Declare as function.  Remove conditional macro definitions.
32704         (__default_rt_sa_restorer): Likewise.
32705         (__default_sa_restorer_v1): Remove declaration.
32706         (__default_sa_restorer_v2): Likewise.
32707         (__default_rt_sa_restorer_v1): Likewise.
32708         (__default_rt_sa_restorer_v2): Likewise.
32709         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32710         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32711         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32713 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32715         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32716         (libpthread-routines): Add sysdep.
32717         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32718         * sysdeps/unix/sysv/linux/sparc/Versions
32719         (libpthread: GLIBC_2.3.3): New version set.
32720         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32721         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32722         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32723         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32724         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32725         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32726         Moved ...
32727         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32728         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32729         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32730         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32731         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32732         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32733         * sysdeps/sparc/nptl/sem_init.c: ... here.
32734         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32735         * sysdeps/sparc/nptl/sem_post.c: ... here.
32736         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32737         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32739         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32740         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32741         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32742         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32743         (libpthread-routines): Add cpu_relax.
32744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32745         File removed.
32746         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32747         (librt: GLIBC_2.3.3): New version set.
32748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32749         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32750         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32751         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32754         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32756         Moved ...
32757         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32759         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32761         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32763         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32765         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32767         Moved ...
32768         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32769         Update #include.
32770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32771         Moved ...
32772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32773         Update #include.
32774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32775         Moved ...
32776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32777         Update #include.
32778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32779         Moved ...
32780         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32781         Update #include.
32782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32783         Moved ...
32784         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32785         Update #include.
32786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32787         Moved ...
32788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32789         Update #include.
32790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32791         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32799         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32801         Moved ...
32802         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32804         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32806         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32808 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32810         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32811         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32812         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32813         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32814         * nscd/nscd.c: Likewise.
32815         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32816         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32817         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32818         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32820         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32821         <kernel-features.h>.
32822         (init_mq_netlink): Remove conditional have_sock_cloexec
32823         definitions.  Remove code conditional on have_sock_cloexec < 0.
32824         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32825         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32826         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32827         <kernel-features.h>.
32828         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32829         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32831 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32834         Add tests for memset_chk and memset.
32836         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32837         with AVX2_Usable.
32839 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32841         [BZ #16046]
32842         * elf/tst-dl-iter-static.c: New file.
32843         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32845         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32846         error.
32848 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32850         * sysdeps/unix/sysv/linux/kernel-features.h
32851         (__ASSUME_F_GETOWN_EX): Remove macro.
32852         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32853         <kernel-features.h>.
32854         (miss_F_GETOWN_EX): Remove variable or macro.
32855         (do_fcntl): Do not check miss_F_GETOWN_EX.
32856         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32859         Remove macro.
32860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32861         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32862         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32864         * sysdeps/unix/sysv/linux/kernel-features.h
32865         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32867         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32868         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32870 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32872         [BZ #17075]
32873         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32874         Fix calculation of the symbol's value.
32875         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32876         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32877         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32878         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32879         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32880         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32881         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32882         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32883         (modules-names): Add `tst-armtlsdescmod',
32884         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32885         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32886         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32887         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32888         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32889         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32890         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32891         ($(objpfx)tst-armtlsdescloc): New dependency.
32892         ($(objpfx)tst-armtlsdescextnow): Likewise.
32893         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32894         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32895         TLS scheme support.
32896         * sysdeps/arm/configure: Regenerate.
32898 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32900         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32901         (__atfct_seterrno_2): Likewise.
32902         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32903         <kernel-features.h>.
32904         (__ASSUME_ATFCTS): Do not undefine and redefine.
32905         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32906         (__have_atfcts): Remove conditional definition.
32907         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32908         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32909         unreachable if [__ASSUME_ATFCTS].
32910         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32911         not undefine and redefine.
32912         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32913         <kernel-features.h>.
32914         (faccessat) [__NR_faccessat]: Make code unconditional.
32915         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32916         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32917         <kernel-features.h>.
32918         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32919         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32920         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32921         <kernel-features.h>.
32922         (fchownat) [__NR_fchownat]: Make code unconditional.
32923         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32924         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32925         <kernel-features.h>.
32926         (futimesat) [__NR_futimesat]: Make code unconditional.
32927         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32928         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32929         <kernel-features.h>.
32930         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32932         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32933         <kernel-features.h>.
32934         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32935         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32936         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32937         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32938         <kernel-features.h>.
32939         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32940         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32941         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32942         <kernel-features.h>.
32943         (linkat) [__NR_linkat]: Make code unconditional.
32944         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32945         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32946         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32947         <kernel-features.h>.
32948         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32949         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32950         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32951         <kernel-features.h>.
32952         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32953         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32954         * sysdeps/unix/sysv/linux/openat.c: Do not include
32955         <kernel-features.h>.
32956         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32957         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32958         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32959         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32960         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32961         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32962         <kernel-features.h>.
32963         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32964         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32965         result of INLINE_SYSCALL directly, not via int variable.
32966         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32967         <kernel-features.h>.
32968         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32969         (renameat) [__NR_renameat]: Make code unconditional.
32970         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32971         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32972         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32973         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32974         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32975         (__ASSUME_ATFCTS): Do not undefine and redefine.
32976         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32977         <kernel-features.h>.
32978         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32979         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32980         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32981         <kernel-features.h>.
32982         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32983         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32984         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32985         (__ASSUME_ATFCTS): Do not undefine and redefine.
32986         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32987         <kernel-features.h>.
32988         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32990         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32991         <kernel-features.h>.
32992         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32993         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32995 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32997         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32999 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33001         [BZ #17069]
33002         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33003         constructed tree before returning error.
33004         * posix/bug-regexp36.c: Expand test case.
33006 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33008         [BZ #6803]
33009         * math/libm-test.inc (scalbln_test_date):
33010         Add errno expectations.
33011         * math/w_scalblnf.c: New File.
33012         Add wrapper which checks for setting errno to ERANGE.
33013         Add weak_alias for corresponding scalbln function.
33014         * math/w_scalbln.c: Likewise.
33015         * math/w_scalblnl.c: Likewise.
33016         * math/Makefile (libm-calls): Add w_scalbln.
33017         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33018         Remove weak_alias for corresponding scalbln function.
33019         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33021         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33023         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33024         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33025         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33026         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33027         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33028         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33029         Remove long_double_symbol for scalblnl function in libm, libc.
33030         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33031         Add wrapper which checks for setting errno to ERANGE.
33032         Add long_double_symbol for scalblnl function in libm, libc.
33033         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33034         Remove long_double_symbol for scalblnl in libm.
33035         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33036         Add wrapper which checks for setting errno to ERANGE.
33037         Add long_double_symbol for scalblnl function in libm.
33038         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33039         Do not use wrapper because of own implementation.
33041 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33043         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33044         3 bytes for __pad1 for x32.
33045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33047 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33048             H.J. Lu  <hongjiu.lu@intel.com>
33050         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33051         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33052         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33054         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33056 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33058         [BZ #17069]
33059         * posix/regcomp.c (parse_expression): Deallocate partially
33060         constructed tree before returning error.
33061         * posix/Makefile.c (tests): Add bug-regex36.
33062         (generated): Add bug-regex36.mtrace.
33063         (tests-special): Add $(objpfx)bug-regex36-mem.out
33064         (bug-regex36-ENV): New variable.
33065         ($(objpfx)bug-regex36-mem.out): New rule.
33066         * posix/bug-regex36.c: New file.
33068 2014-06-19  Will Newton  <will.newton@linaro.org>
33070         * malloc/malloc.c (systrim): If extra is zero then return
33071         early.
33073 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33075         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33077 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33079         * sysdeps/aarch64/strchr.S: New file.
33081 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #17022]
33084         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33085         from arguments -2 or below.
33086         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33087         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33089 2014-06-18  Andreas Schwab  <schwab@suse.de>
33091         [BZ #17062]
33092         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33093         of a bracket expr not to run off the end of the string.
33094         * posix/Makefile (tests): Add tst-fnmatch3.
33095         * posix/tst-fnmatch3.c: New file.
33097 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33099         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33100         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33101         [$(cross-compiling) = no]: Likewise.
33102         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33103         [$(cross-compiling) = no]: Likewise.
33105 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33107         [BZ #17031]
33108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33109         double, adjusted for any remainder from the high double.
33110         * math/libm-test.inc (nearbyint): Add tests.
33111         (rint): Likewise.
33113 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33115         * nptl/sysdeps/powerpc/Makefile: Moved ...
33116         * sysdeps/powerpc/nptl/Makefile: ... here.
33117         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33118         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33119         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33120         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33121         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33122         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33123         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33124         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33125         * nptl/sysdeps/powerpc/tls.h: Moved ...
33126         * sysdeps/powerpc/nptl/tls.h: ... here.
33128 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33130         [BZ #16681]
33131         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33132         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33133         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33134         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33135         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33136         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33137         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33138         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33139         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33141 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33143         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33145 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33147         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33148         defined operator.
33150         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33151         $TIMEOUTFACTOR.
33153 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33155         [BZ #17058]
33156         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33157         non-executed part of the test.
33159 2014-06-16  Andreas Schwab  <schwab@suse.de>
33161         * string/bits/string2.h (strdup, strndup): Update feature guard.
33163 2014-06-14  David S. Miller  <davem@davemloft.net>
33165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33167 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33169         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33170         that was previously under [RESET_PID].
33171         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33173         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33174         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33175         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33177         (__libc_vfork): New strong alias.
33178         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33180 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33182         * sysdeps/generic/elide.h: New file.
33184 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33186         * Makefile (installed-headers): Adjust path of pthread.h header.
33188 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33190         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33191         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33192         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33193         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33195         * nptl/sysdeps/s390/Makefile: Moved ...
33196         * sysdeps/s390/nptl/Makefile: ... here.
33197         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33198         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33199         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33200         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33201         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33202         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33203         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33204         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33205         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33206         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33207         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33208         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33209         * nptl/sysdeps/s390/tls.h: Moved ...
33210         * sysdeps/s390/nptl/tls.h: ... here.
33212         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33213         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33215 2014-06-13  David S. Miller  <davem@davemloft.net>
33217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33220         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33224         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33225         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33226         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33227         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33228         Remove RESET_PID cpp guards.
33229         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33230         Remove RESET_PID cpp guards.
33231         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33233 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33235         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33236         __sp to uintptr_t.
33238 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33244         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33257         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33261         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33262         (pthread_rwlock_rdlock): Add elision.
33263         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33264         (pthread_rwlock_wrlock): Add elision.
33265         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33266         (pthread_rwlock_trywrlock): Add elision.
33267         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33268         (pthread_rwlock_tryrdlock): Add elision.
33269         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33270         (pthread_rwlock_tryrdlock): Add elision unlock.
33271         * nptl/sysdeps/pthread/pthread.h:
33272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33273         (PTHREAD_RWLOCK_INITIALIZER,
33274         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33275         Handle new elision field.
33276         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33277         * sysdeps/arm/nptl/bits/pthreadtypes.h
33278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33279         * sysdeps/sh/nptl/bits/pthreadtypes.h
33280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33281         * sysdeps/tile/nptl/bits/pthreadtypes.h
33282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33283         * sysdeps/a/nptl/bits/pthreadtypes.h
33284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33285         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33289         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33291         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33295         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33299         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33301         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33302         (elision_init): Set try_xbegin to zero when no RTM.
33303         * sysdeps/x86/nptl/bits/pthreadtypes.h
33304         (pthread_rwlock_t): Change __pad1 to __rwelision.
33305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33307 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33309         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33310         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33311         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33312         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33314 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33316         [BZ #16996]
33317         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33318         that the cached result has been set before returning it.
33320 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33322         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33323         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33324         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33325         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33326         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33327         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33329         * nptl/sysdeps/sparc/Makefile: Moved ...
33330         * sysdeps/sparc/nptl/Makefile: ... here.
33331         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33332         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33333         * nptl/sysdeps/sparc/tls.h: Moved ...
33334         * sysdeps/sparc/nptl/tls.h: ... here.
33335         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33336         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33337         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33338         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33339         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33340         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33341         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33342         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33343         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33344         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33345         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33346         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33347         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33348         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33349         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33350         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33353         Update #include.
33354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33356         Update #include.
33357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33359         Update #include.
33360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33362         Update #include.
33364         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33366         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33367         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33369         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33370         (struct list_links): Type removed.
33371         (struct thread_node, struct timer_node): Replace struct list_links
33372         with struct list_head.
33373         (list_unlink_ip): Likewise.
33374         * sysdeps/pthread/timer_routines.c
33375         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33376         (list_append, list_insbefore): Likewise.
33377         (list_init): Function removed.
33378         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33379         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33380         * sysdeps/pthread/Makefile: ... here, new file.
33382         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33383         * sysdeps/nptl/Implies: ... here.
33384         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33385         * nptl/sysdeps/pthread/list.h: Moved ...
33386         * include/list.h: ... here.
33387         * nptl/sysdeps/pthread/createthread.c: Moved ...
33388         * nptl/createthread.c: ... here.
33389         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33390         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33391         * nptl/pt-longjmp.c: ... here.
33392         * nptl/sysdeps/pthread/Makefile: Moved ...
33393         * sysdeps/nptl/Makefile: ... here.
33394         * nptl/sysdeps/pthread/Subdirs: Moved ...
33395         * sysdeps/nptl/Subdirs: ... here.
33396         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33397         * sysdeps/nptl/aio_misc.h: ... here.
33398         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33399         * sysdeps/nptl/bits/libc-lock.h: ... here.
33400         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33401         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33402         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33403         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33404         * nptl/sysdeps/pthread/configure: Moved ...
33405         * sysdeps/nptl/configure: ... here.
33406         * nptl/sysdeps/pthread/configure.ac: Moved ...
33407         * sysdeps/nptl/configure.ac: ... here.
33408         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33409         * sysdeps/nptl/gai_misc.h: ... here.
33410         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33411         * sysdeps/nptl/librt-cancellation.c: ... here.
33412         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33413         * sysdeps/nptl/malloc-machine.h: ... here.
33414         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33415         * sysdeps/nptl/pthread-functions.h: ... here.
33416         * nptl/sysdeps/pthread/pthread.h: Moved ...
33417         * sysdeps/nptl/pthread.h: ... here.
33418         * nptl/sysdeps/pthread/setxid.h: Moved ...
33419         * sysdeps/nptl/setxid.h: ... here.
33420         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33421         * sysdeps/nptl/sigfillset.c: ... here.
33422         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33423         * sysdeps/nptl/tcb-offsets.h: ... here.
33424         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33425         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33426         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33427         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33428         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33429         * sysdeps/pthread/allocalim.h: ... here.
33430         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33431         * sysdeps/pthread/bits/sigthread.h: ... here.
33432         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33433         * sysdeps/pthread/flockfile.c: ... here.
33434         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33435         * sysdeps/pthread/ftrylockfile.c: ... here.
33436         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33437         * sysdeps/pthread/funlockfile.c: ... here.
33438         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33439         * sysdeps/pthread/posix-timer.h: ... here.
33440         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33441         * sysdeps/pthread/timer_create.c: ... here.
33442         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33443         * sysdeps/pthread/timer_delete.c: ... here.
33444         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33445         * sysdeps/pthread/timer_getoverr.c: ... here.
33446         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33447         * sysdeps/pthread/timer_gettime.c: ... here.
33448         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33449         * sysdeps/pthread/timer_routines.c: ... here.
33450         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33451         * sysdeps/pthread/timer_settime.c: ... here.
33452         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33453         * sysdeps/pthread/tst-timer.c: ... here.
33454         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33455         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33457         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33458         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33460         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33461         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33462         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33463         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33464         Update #include target.
33465         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33466         * sysdeps/i386/i686/nptl/Makefile: ... here.
33467         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33468         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33469         Update #include target.
33470         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33471         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33472         * nptl/sysdeps/i386/Makefile: Moved ...
33473         * sysdeps/i386/nptl/Makefile: ... here.
33474         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33475         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33476         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33477         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33478         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33479         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33480         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33481         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33482         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33483         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33484         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33485         * nptl/sysdeps/i386/tls.h: Moved ...
33486         * sysdeps/i386/nptl/tls.h: ... here.
33488         * sysdeps/sh/Makefile [$(subdir) = csu]
33489         (gen-as-const-headers): Add tcb-offsets.sym.
33490         * nptl/sysdeps/sh/Makefile: File removed.
33491         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33492         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33493         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33494         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33495         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33496         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33497         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33498         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33499         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33500         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33501         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33502         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33503         * nptl/sysdeps/sh/tls.h: Moved ...
33504         * sysdeps/sh/nptl/tls.h: ... here.
33505         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33506         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33507         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33508         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33509         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33510         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33511         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33512         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33514         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33516         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33518         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33520         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33522         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33524         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33526         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33530         Moved ...
33531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33533         Moved ...
33534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33539         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33540         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33541         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33542         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33543         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33544         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33545         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33546         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33547         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33548         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33549         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33550         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33551         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33552         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33554 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33556         * posix/spawn_faction_addopen.c: Include string.h.
33558 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33560         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33561         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33562         * nptl/sysdeps/x86_64/Makefile: Moved ...
33563         * sysdeps/x86_64/nptl/Makefile: ... here.
33564         * nptl/sysdeps/x86_64/configure: Moved ...
33565         * sysdeps/x86_64/nptl/configure: ... here.
33566         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33567         * sysdeps/x86_64/nptl/configure.ac: ... here.
33568         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33569         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33570         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33571         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33572         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33573         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33574         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33575         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33576         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33577         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33578         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33579         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33580         * nptl/sysdeps/x86_64/tls.h: Moved ...
33581         * sysdeps/x86_64/nptl/tls.h: ... here.
33582         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33583         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33584         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33585         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33587         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33589 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33593 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33595         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33596         type.
33597         [POSIX] (off_t): Likewise.
33598         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33599         [POSIX] (S_ISBLK): Require macro.
33600         [POSIX] (S_ISCHR): Likewise.
33601         [POSIX] (S_ISDIR): Likewise.
33602         [POSIX] (S_ISFIFO): Likewise.
33603         [POSIX] (S_ISREG): Likewise.
33604         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33605         optional-macro.
33606         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33607         type.
33608         [POSIX] (time_t): Likewise.
33609         [POSIX] (timer_t): Likewise.
33611 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33613         [BZ #17048]
33614         * posix/spawn_int.h (struct __spawn_action): Make the path string
33615         non-const to support deallocation.
33616         * posix/spawn_faction_addopen.c
33617         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33618         * posix/spawn_faction_destroy.c
33619         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33620         path in all spawn_do_open actions.
33621         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33622         posix_spawn_file_actions_addopen.
33624 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33626         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33627         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33628         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33629         conditional code always true.
33630         (__libc_vfork): New alias.
33632 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33634         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33635         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33637         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33639         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33640         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33642         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33643         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33645         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33646         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33648 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33650         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33651         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33652         multiarch strcmp for PPC64.
33653         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33654         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33656         multiarch optimizations.
33657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33658         (__libc_ifunc_impl_list): Likewise.
33660 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33662         * benchtests/scripts/validate_benchout.py: New script.
33663         * benchtests/Makefile (bench-func): Call it.
33664         * benchtests/scripts/benchout.schema.json: New file.
33666 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33668         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33669         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33670         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33671         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33672         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33673         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33674         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33675         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33676         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33677         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33678         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33679         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33680         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33681         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33682         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33683         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33685         Moved ...
33686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33687         ... here.
33688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33689         Moved ...
33690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33692         Moved ...
33693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33694         ... here.
33695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33696         Moved ...
33697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33698         ... here.
33699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33700         Moved ...
33701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33703         Moved ...
33704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33705         ... here.
33706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33707         Moved ...
33708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33709         ... here.
33710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33711         Moved ...
33712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33714         Moved ...
33715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33716         ... here.
33717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33718         Moved ...
33719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33720         ... here.
33721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33722         Moved ...
33723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33724         ... here.
33725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33726         Moved ...
33727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33729         Moved ...
33730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33731         ... here.
33732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33733         Moved ...
33734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33735         ... here.
33736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33737         Moved ...
33738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33739         ... here.
33740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33741         Moved ...
33742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33744         Moved ...
33745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33746         ... here.
33747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33748         Moved ...
33749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33750         ... here.
33751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33752         Moved ...
33753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33755         Moved ...
33756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33757         ... here.
33758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33759         Moved ...
33760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33762         Moved ...
33763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33767         ... here.
33768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33769         Moved ...
33770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33771         ... here.
33772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33775         ... here.
33776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33777         Moved ...
33778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33780         Moved ...
33781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33782         ... here.
33783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33784         Moved ...
33785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33786         ... here.
33787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33788         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33792         Moved ...
33793         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33794         ... here.
33795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33796         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33800         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33808         Moved ...
33809         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33811         Moved ...
33812         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33814         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33816         Moved ...
33817         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33819         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33820         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33821         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33822         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33823         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33825 2014-06-10  Wilco  <wdijkstr@arm.com>
33827         * math/test-fenv-return.c: New file.
33828         * math/Makefile: Add new test test-fenv-return.
33830 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33832         [BZ #17042]
33833         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33834         when x - 1 is zero.
33835         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33836         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33837         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33838         0.0L for an argument of 1.0L.
33839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33840         Likewise.
33841         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33842         value when x - 1 is zero.
33843         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33844         * sysdeps/i386/fpu/libm-test-ulps: Update.
33845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33847 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33849         [BZ #15119]
33850         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33852 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33854         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33855         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33857 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33859         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33860         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33862         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33863         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33865         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33866         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33868         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33869         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33871         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33872         if not already defined.
33873         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33874         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33875         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33876         (TLS_INIT_TP): Use it.
33877         (TLS_DEFINE_INIT_TP): New macro.
33878         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33880 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33882         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33883         constant.
33884         [POSIX] (IXANY): Likewise.
33885         [POSIX] (OLCUC): Likewise.
33886         [POSIX || POSIX2008] (CBAUD): Do not allow.
33887         [POSIX || POSIX2008] (DEFECHO): Likewise.
33888         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33889         [POSIX || POSIX2008] (ECHOKE): Likewise.
33890         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33891         [POSIX || POSIX2008] (EXTA): Likewise.
33892         [POSIX || POSIX2008] (EXTB): Likewise.
33893         [POSIX || POSIX2008] (FLUSHO): Likewise.
33894         [POSIX || POSIX2008] (LOBLK): Likewise.
33895         [POSIX || POSIX2008] (PENDIN): Likewise.
33896         [POSIX || POSIX2008] (SWTCH): Likewise.
33897         [POSIX || POSIX2008] (VDISCARD): Likewise.
33898         [POSIX || POSIX2008] (VDSUSP): Likewise.
33899         [POSIX || POSIX2008] (VLNEXT): Likewise.
33900         [POSIX || POSIX2008] (VREPRINT): Likewise.
33901         [POSIX || POSIX2008] (VSTATUS): Likewise.
33902         [POSIX || POSIX2008] (VWERASE): Likewise.
33903         (B*): Change to B[0123456789]*.
33904         * conform/data/time.h-data [POSIX || UNIX98]
33905         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33906         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33907         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33908         [POSIX] (tm_*): Do not allow.
33910 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33912         * Makefile (install): Don't set LANGUAGE.
33913         * Makefile.in (install): Likewise.
33914         * assert/Makefile (test-assert-ENV): Remove variable.
33915         (test-assert-perr-ENV): Likewise.
33916         * elf/Makefile (neededtest4-ENV): Likewise.
33917         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33918         [$(cross-compiling) = no]: Don't set LANGUAGE.
33919         * io/ftwtest-sh (LANG): Remove variable.
33920         * libio/Makefile (tst-widetext-ENV): Likewise.
33921         * manual/install.texi (Running make install): Don't refer to
33922         environment settings for make install.
33923         * INSTALL: Regenerated.
33924         * nptl/tst-tls6.sh: Don't set LANG.
33925         * posix/globtest.sh (LANG): Remove variable.
33926         * string/Makefile (tester-ENV): Likewise.
33927         (inl-tester-ENV): Likewise.
33928         (noinl-tester-ENV): Likewise.
33929         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33930         [$(cross-compiling) = no]: Don't set LANGUAGE.
33931         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33932         without explicit environment settings.
33934 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33936         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33937         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33939         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33941 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33943         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33944         other files in the crypt directory.
33945         * crypt/crypt.c: Remove duplicate includes.
33946         * crypt/crypt-entry.c: Likewise.
33947         * crypt/crypt_util.c: Likewise.
33949 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33951         * Makeconfig (run-program-env): New variable.
33952         (run-program-prefix-before-env): Likewise.
33953         (run-program-prefix-after-env): Likewise.
33954         (run-program-prefix): Define in terms of new variables.
33955         (built-program-cmd-before-env): New variable.
33956         (built-program-cmd-after-env): Likewise.
33957         (built-program-cmd): Define in terms of new variables.
33958         (test-program-prefix-before-env): New variable.
33959         (test-program-prefix-after-env): Likewise.
33960         (test-program-prefix): Define in terms of new variables.
33961         (test-program-cmd-before-env): New variable.
33962         (test-program-cmd-after-env): Likewise.
33963         (test-program-cmd): Define in terms of new variables.
33964         * Rules (make-test-out): Use $(run-program-env).
33965         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33966         (help): Do not mention environment variables.  Mention
33967         --timeoutfactor option.
33968         (timeoutfactor): New variable.
33969         (blacklist_exports): Remove function.
33970         (exports): Remove variable.
33971         (command): Do not include ${exports}.
33972         * manual/install.texi (Configuring and compiling): Do not mention
33973         test wrappers preserving environment variables.  Mention that last
33974         assignment to a variable must take precedence.
33975         * INSTALL: Regenerated.
33976         * benchtests/Makefile (run-bench): Use $(run-program-env).
33977         * catgets/Makefile ($(objpfx)test1.cat): Use
33978         $(built-program-cmd-before-env), $(run-program-env) and
33979         $(built-program-cmd-after-env).
33980         ($(objpfx)test2.cat): Do not specify environment variables
33981         explicitly.
33982         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33983         $(run-program-env) and $(built-program-cmd-after-env).
33984         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33985         $(run-program-env) and $(test-program-cmd-after-env).
33986         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33987         explicitly.
33988         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33989         run_program_env and test_program_cmd_after_env arguments.
33990         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33991         * elf/tst-pathopt.sh: Use run_program_env argument.
33992         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33993         $(test-wrapper-env) and $(run-program-env).
33994         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33995         run_program_env arguments.
33996         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33997         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33998         $(test-program-prefix-before-env), $(run-program-env) and
33999         $(test-program-prefix-after-env).
34000         ($(objpfx)tst-gettext2.out): Likewise.
34001         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34002         run_program_env and test_program_prefix_after_env arguments.
34003         * intl/tst-gettext2.sh: Likewise.
34004         * intl/tst-gettext4.sh: Do not set environment variables
34005         explicitly.
34006         * intl/tst-gettext6.sh: Likewise.
34007         * intl/tst-translit.sh: Likewise.
34008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34009         $(test-program-prefix-before-env), $(run-program-env) and
34010         $(test-program-prefix-after-env).
34011         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34012         run_program_env and test_program_prefix_after_env arguments.
34013         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34014         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34015         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34016         explicitly with each use of ${test_wrapper_env}.
34017         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34018         $(test-program-prefix-before-env), $(run-program-env) and
34019         $(test-program-prefix-after-env).
34020         * posix/tst-getconf.sh: Do not set environment variables
34021         explicitly.
34022         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34023         run_program_env and test_program_prefix_after_env arguments.
34024         * stdio-common/tst-printf.sh: Do not set environment variables
34025         explicitly.
34026         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34027         $(test-program-prefix-before-env), $(run-program-env) and
34028         $(test-program-prefix-after-env).
34029         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34030         run_program_env and test_program_prefix_after_env arguments.
34031         Split $test calls into $test_pre and $test.
34032         * timezone/Makefile (build-testdata): Use
34033         $(built-program-cmd-before-env), $(run-program-env) and
34034         $(built-program-cmd-after-env).
34036 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34038         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34039         strlen for non SHARED builds.
34041 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34043         * nptl/allocatestack.c (check_list): Inlined function...
34044         (__reclaim_stacks): ... here.
34046 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34048         [BZ #15698]
34049         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34050         memory overrun.
34052 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34054         * Rules (make-test-out): Include
34055         LOCPATH=$(common-objpfx)localedata in default environment.
34056         * debug/Makefile (tst-chk1-ENV): Remove variable.
34057         (tst-chk2-ENV): Likewise.
34058         (tst-chk3-ENV): Likewise.
34059         (tst-chk4-ENV): Likewise.
34060         (tst-chk5-ENV): Likewise.
34061         (tst-chk6-ENV): Likewise.
34062         (tst-lfschk1-ENV): Likewise.
34063         (tst-lfschk2-ENV): Likewise.
34064         (tst-lfschk3-ENV): Likewise.
34065         (tst-lfschk4-ENV): Likewise.
34066         (tst-lfschk5-ENV): Likewise.
34067         (tst-lfschk6-ENV): Likewise.
34068         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34069         (tst-iconv7-ENV): Likewise.
34070         * intl/Makefile (LOCPATH-ENV): Likewise.
34071         (tst-codeset-ENV): Likewise.
34072         (tst-gettext3-ENV): Likewise.
34073         (tst-gettext5-ENV): Likewise.
34074         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34075         (tst-fopenloc-ENV): Likewise.
34076         (tst-fgetws-ENV): Remove variable.
34077         (tst-ungetwc1-ENV): Likewise.
34078         (tst-ungetwc2-ENV): Likewise.
34079         (bug-ungetwc2-ENV): Likewise.
34080         (tst-swscanf-ENV): Likewise.
34081         (bug-ftell-ENV): Likewise.
34082         (tst-fgetwc-ENV): Likewise.
34083         (tst-fseek-ENV): Likewise.
34084         (tst-ftell-partial-wide-ENV): Likewise.
34085         (tst-ftell-active-handler-ENV): Likewise.
34086         (tst-ftell-append-ENV): Likewise.
34087         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34088         (tst-regexloc-ENV): Likewise.
34089         (bug-regex1-ENV): Likewise.
34090         (tst-regex-ENV): Likewise.
34091         (tst-regex2-ENV): Likewise.
34092         (bug-regex5-ENV): Likewise.
34093         (bug-regex6-ENV): Likewise.
34094         (bug-regex17-ENV): Likewise.
34095         (bug-regex18-ENV): Likewise.
34096         (bug-regex19-ENV): Likewise.
34097         (bug-regex20-ENV): Likewise.
34098         (bug-regex22-ENV): Likewise.
34099         (bug-regex23-ENV): Likewise.
34100         (bug-regex25-ENV): Likewise.
34101         (bug-regex26-ENV): Likewise.
34102         (bug-regex30-ENV): Likewise.
34103         (bug-regex32-ENV): Likewise.
34104         (bug-regex33-ENV): Likewise.
34105         (bug-regex34-ENV): Likewise.
34106         (bug-regex35-ENV): Likewise.
34107         (tst-rxspencer-ENV): Likewise.
34108         (tst-rxspencer-no-utf8-ENV): Likewise.
34109         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34110         (tst-sscanf-ENV): Likewise.
34111         (tst-swprintf-ENV): Likewise.
34112         (tst-swscanf-ENV): Likewise.
34113         (test-vfprintf-ENV): Likewise.
34114         (scanf13-ENV): Likewise.
34115         (bug14-ENV): Likewise.
34116         (tst-grouping-ENV): Likewise.
34117         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34118         (tst-strtod3-ENV): Likewise.
34119         (tst-strtod4-ENV): Likewise.
34120         (tst-strtod5-ENV): Likewise.
34121         (testmb2-ENV): Likewise./
34122         * string/Makefile (tst-strxfrm-ENV): Likewise.
34123         (tst-strxfrm2-ENV): Likewise.
34124         (bug-strcoll1-ENV): Likewise.
34125         (test-strcasecmp-ENV): Likewise.
34126         (test-strncasecmp-ENV): Likewise.
34127         * time/Makefile (tst-strptime-ENV): Likewise.
34128         (tst-ftime_l-ENV): Likewise.
34129         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34130         (tst-mbrtowc-ENV): Likewise.
34131         (tst-wcrtomb-ENV): Likewise.
34132         (tst-mbrtowc2-ENV): Likewise.
34133         (tst-c16c32-1-ENV): Likewise.
34134         (tst-mbsnrtowcs-ENV): Likewise.
34136 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34138         * manual/resource.texi (How to get information about the memory
34139         subsystem?): Fix typo.
34140         Reported by Peon de la Parra Ivan <peon@keba.com>
34142 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34144         [BZ #16882]
34145         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34146         (pthread_spin_lock): Branch out of spin loop to proper location.
34147         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34148         (pthread_spin_lock): Likewise.
34150         * nptl/tst-spin4.c: New test.
34151         * nptl/Makefile (tests): Add tst-spin4.
34153 2014-06-03  Andreas Schwab  <schwab@suse.de>
34155         [BZ #15946]
34156         * resolv/res_send.c (send_dg): Reload file descriptor after
34157         calling reopen.
34159 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34161         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34163 2014-06-03  Richard Henderson  <rth@redhat.com>
34165         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34166         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34167         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34168         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34169         in the SAVE_PID block.
34170         (__libc_vfork): New alias.
34171         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34173         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34174         child in registers, not on the stack.  Remove RESET_PID conditionals.
34175         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34177 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34179         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34181 2014-06-03  Wilco  <wdijkstr@arm.com>
34183         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34184         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34185         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34186         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34187         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34188         Likewise.
34190 2014-06-03  Wilco  <wdijkstr@arm.com>
34192         * sysdeps/aarch64/fpu/math_private.h
34193         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34194         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34195         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34196         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34197         Fix declarations.
34199 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34201         * crypt/crypt-private.h: Include ufc-crypt.h.
34202         (__b64_from_24bit): Declare extern.
34203         * crypt/crypt_util.c(__b64_from_24bit): New function.
34204         (b64t): New static const variable.
34205         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34206         (b64t): Remove variable.
34207         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34208         * crypt/sha256-crypt.c: Include crypt-private.h.
34209         (b64t): Remove variable.
34210         (__sha256_crypt_r): Remove b64_from_24bit and replace
34211         with __b64_from_24bit.
34212         * crypt/sha512-crypt.c: Likewise.
34214 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34216         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34217         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34218         Label the code __libc_vfork rather than __vfork.
34219         [!NOT_IN_libc] (vfork): Define as weak alias.
34220         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34221         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34222         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34224 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34226         * malloc/malloc.c (malloc_info): Fix format specifier for
34227         n_mmaps.
34229 2014-06-02  Wilco  <wdijkstr@arm.com>
34231         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34232         FPCR write.
34234 2014-06-02  Wilco  <wdijkstr@arm.com>
34236         [BZ #17009]
34237         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34238         Rewrite to reduce FPCR/FPSR accesses.
34240 2014-06-01  David S. Miller  <davem@davemloft.net>
34242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34244 2014-05-31  David S. Miller  <davem@davemloft.net>
34246         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34247         to occur in round to nearest mode when |x| >= 2.0
34249 2014-05-30  Richard Henderson  <rth@twiddle.net>
34251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34252         (PSEUDO_RET_NOERRNO): Remove.
34253         (ret): Don't redefine.
34254         (ret_NOERRNO): Define in terms of ret.
34255         (ret_ERRVAL): Likewise.
34257         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34258         use of PSEUDO_RET; perform the error check directly.
34260 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34262         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34263         with __int128_t.
34265 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34267         * malloc/malloc (malloc_info): Fix formatting.
34269 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34270             Roland McGrath  <roland@hack.frob.com>
34272         * malloc/malloc (malloc_info): Also print mmapped statistics.
34274 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34276         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34277         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34279 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34281         * malloc/malloc.c (malloc_info): Inline mi_arena.
34283 2014-05-29  Richard Henderson  <rth@twiddle.net>
34285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34286         Remove comma before expanding ASM_ARGS_##nr.
34287         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34288         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34289         of ASM_ARGS_##nr.
34290         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34291         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34292         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34293         (ASM_ARGS_1): Add leading comma.
34295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34296         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34297         to __errno_location.
34298         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34299         Remove the expected plt for __errno_location.
34301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34302         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34303         call to __read_tp.
34305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34306         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34307         it and break it down.
34308         (DOCARGS_0, DOCARGS_1): Do nothing.
34309         (DOCARGS_2): Update to store into the new stack frame.
34310         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34311         (UNDOCARGS_1): Update to restore from the new stack frame.
34312         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34313         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34316         (SINGLE_THREAD_P): New parameter for result regno.
34317         (PSEUDO): Update to match; use cbz instead of beq.
34319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34320         Use ENTRY to define the _nocancel entry point.  Share the syscall
34321         and syscall error check paths with the cancel path.
34322         (PSEUDO_END): New.
34324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34325         whitespace; tabs before and after asm mnemonics.
34327 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34329         [BZ #15132]
34330         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34331         Call fstat64 or stat64 internally, depending on arguments passed.
34332         Replace stat buffer argument with file descriptor argument.
34333         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34334         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34335         Pass fd to __internal_statvfs instead of calling fstat64.
34336         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34337         Pass fd to __internal_statvfs64 instead of calling fstat64.
34338         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34339         Pass -1 to __internal_statvfs instead of calling stat64.
34340         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34341         Pass -1 to __internal_statvfs64 instead of calling stat64.
34343 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34345         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34346         that was previously under [RESET_PID].
34347         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34349         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34350         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34352 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34354         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34356         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34357         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34359 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34361         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34363 2014-05-27  Andreas Schwab  <schwab@suse.de>
34365         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34366         TLS_INIT_TP macro.
34367         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34368         * elf/rtld.c (init_tls, dl_main): Likewise.
34369         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34370         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34371         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34372         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34373         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34374         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34375         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34376         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34377         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34378         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34379         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34380         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34381         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34382         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34383         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34384         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34385         * sysdeps/generic/tls.h: Update description.
34387 2014-05-27  Will Newton  <will.newton@linaro.org>
34389         [BZ #16990]
34390         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34391         and restore r2 rather than just restoring.
34393 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34395         [BZ #16724]
34396         * libio/tst-ftell-append.c: New test case.
34397         * libio/Makefile (tests): Add test case.
34398         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34399         append mode.
34400         * libio/wfileops.c (do_ftell_wide): Likewise.
34402 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34406         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34407         ...
34408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34410         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34411         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34413         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34417         Moved ...
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34420         Moved ...
34421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34423         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34424         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34425         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34427         ...
34428         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34429         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34430         Moved ...
34431         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34432         here.
34433         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34434         ...
34435         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34436         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34437         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34439         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34440         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34441         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34442         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34445         merge into ...
34446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34448         ...
34449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34451         ...
34452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34454         Moved ...
34455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34456         here.
34457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34458         Moved ...
34459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34461         Moved ...
34462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34465         conditional [RESET_PID].
34466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34468         removed.
34469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34470         removed.
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34473         <tcb-offsets.h>.
34474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34475         (__libc_vfork): New strong alias.
34476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34477         removed.
34478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34479         Removed.
34481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34482         <tcb-offsets.h>.
34483         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34484         (__libc_vfork): New strong alias.
34485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34486         removed.
34487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34488         removed.
34490 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34492         * malloc/malloc.c (mi_arena): New function.
34493         (malloc_info): Remove nested function mi_arena. Call non-nosted
34494         function mi_arena.
34496 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34498         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34499         by insrwi.
34500         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34501         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34502         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34503         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34505         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34508 2014-05-26  Andreas Schwab  <schwab@suse.de>
34510         [BZ #16984]
34511         * locale/programs/repertoire.c (repertoire_read): Add slash
34512         between I18NPATH element and file name.
34513         * locale/programs/locfile.c (locfile_read): Likewise.
34515 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34517         * nptl/pthread_mutexattr_settype.c
34518         (__pthread_mutexattr_settype):
34519         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34523         * nptl/tst-mutex5 (do_test):
34524         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34526 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34528         * benchtests/README: Document 'init' directive.
34529         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34530         BENCH_INIT.
34531         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34532         (parse_file): Recognize 'init' directive.
34534 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34536         [BZ #16796]
34537         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34538         alignment of struct pthread.
34540 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34542         [BZ #16878]
34543         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34544         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34545         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34546         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34548 2014-05-25  Richard Henderson  <rth@twiddle.net>
34550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34551         (SINGLE_THREAD_P_PIC): Remove.
34552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34553         (SINGLE_THREAD_P_PIC): Remove.
34555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34556         branch to syscall error ...
34557         (PSEUDO): ... here.
34558         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34559         from __local_syscall_error to .Lsyscall_error.
34560         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34561         (SYSCALL_ERROR): Update label name.
34563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34564         Do not use DOARGS/UNDOARGS.
34565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34566         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34567         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34568         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34569         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34572         block comment.
34574         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34575         define if !NOT_IN_libc.
34576         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34577         define with non-default symbol versions.
34579 2014-05-23  Richard Henderson  <rth@twiddle.net>
34581         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34582         (vfork, __vfork): Define via compat_symbol.
34584         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34585         [!HAVE_IFUNC] (vfork_compat): Remove.
34586         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34588 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34590         [BZ #16978]
34591         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34592         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34593         variable.
34595 2014-05-23  Richard Henderson  <rth@twiddle.net>
34597         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34598         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34599         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34600         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34602         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34603         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34604         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34605         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34606         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34607         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34608         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34609         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34610         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34611         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34612         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34613         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34614         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34615         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34617         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34618         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34619         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34620         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34621         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34622         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34623         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34624         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34628         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34629         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34630         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34631         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34633         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34641         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34642         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34643         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34644         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34645         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34646         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34647         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34649         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34651         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34653         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34655         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34657         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34659         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34660         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34661         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34662         before exiting on error.
34663         (__libc_vfork): New strong alias.
34664         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34665         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34667         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34668         that was previously under [RESET_PID].
34669         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34671         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34673 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #16977]
34676         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34677         value when x - 1 is zero.
34678         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34679         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34680         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34681         0.0L for an argument of 1.0L.
34682         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34683         Likewise.
34684         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34685         value when x - 1 is zero.
34686         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34687         * sysdeps/i386/fpu/libm-test-ulps: Update.
34688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34692         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34693         alphasort and versionsort.
34695 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34697         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34698         macro.
34699         [copysignf]: Likewise.
34701 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34703         * crypt/md5-crypt.c: Fix formatting.
34705 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34707         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34708         (b64_from_24bit): New function.
34710 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34712         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34713         libc_hidden_builtin_def to ifunc.
34714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34715         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34717 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34719         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34720         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34722 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34724         * nscd/Depend (linuxthreads): Remove.
34725         (nptl): Add.
34726         * resolv/Depend (linuxthreads): Remove.
34727         * rt/Depend (linuxthreads): Remove.
34729         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34730         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34731         $(common-objpfx)elf/.
34732         (link-libc-before-gnulib): Likewise.
34733         (elfobjdir): Remove variable.
34734         * Makefile (install): Use $(elf-objpfx) instead of
34735         $(common-objpfx)elf/.
34736         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34737         $(elfobjdir)/.
34738         (link-libc-deps): Likewise.
34739         ($(common-objpfx)libc.so): Likewise.
34740         ($(common-objpfx)linkobj/libc.so): Likewise.
34741         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34742         instead of $(common-objpfx)elf/.
34743         (symbolic-link-list): Likewise.
34744         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34745         [$(cross-compiling) = no]: Likewise.
34746         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34747         $(elfobjdir)/.
34748         (static-gnulib-arch): Likewise.
34749         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34750         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34751         $(common-objpfx)elf/.
34753 2014-05-21  Richard Henderson  <rth@redhat.com>
34755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34756         (SINGLE_THREAD_P): Use the correct width load.  Fold
34757         into the ldr offset.
34759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34760         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34762 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34764         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34765         (libgcc_s_resume): Use __attribute_used__.
34766         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34767         Likewise.
34769 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34771         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34772         optimization when used with float constants.
34774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34776 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34778         [BZ #16915]
34779         * locale/nl_langinfo_l.c: Make direct reference to every
34780         _nl_current_CATEGORY symbol.
34781         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34782         (tests-static): Add tst-langinfo-static.
34783         (tests-special): Add tst-langinfo-static.out.
34784         ($(objpfx)tst-langinfo.out): Redirect output.
34785         ($(objpfx)tst-langinfo-static.out): New.
34786         * localedata/tst-langinfo.sh: Send output to stdout.
34787         * localedata/tst-langinfo-static.c: New file.
34789         [BZ #16965]
34790         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34791         when the shift amount is modulo the limb size.
34793 2014-05-20  Richard Henderson  <rth@redhat.com>
34795         [BZ #16967]
34796         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34797         Change type of sa_flags from unsigned int to int.
34799         [BZ #16966]
34800         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34802         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34804 2014-05-20  Will Newton  <will.newton@linaro.org>
34806         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34807         Test the return value of the system call in the nocancel case.
34809 2014-05-20  Will Newton  <will.newton@linaro.org>
34810             Yvan Roux  <yvan.roux@linaro.org>
34812         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34813         #include of asm/ptrace.h.
34814         (PTRACE_GET_THREAD_AREA): Remove #undef.
34815         (PTRACE_GETHBPREGS): Likewise.
34816         (PTRACE_SETHBPREGS): Likewise.
34817         (struct user_regs_struct): New structure.
34818         (struct user_fpsimd_struct): New structure.
34819         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34820         #include of asm/ptrace.h and second #include of sys/user.h.
34821         (PTRACE_GET_THREAD_AREA): Remove #undef.
34822         (PTRACE_GETHBPREGS): Likewise.
34823         (PTRACE_SETHBPREGS): Likewise.
34824         (ELF_NGREG): Use new struct user_regs_struct.
34825         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34827 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34832 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34834         [BZ #16958]
34835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34836         membar to avoid block loads/stores to overlap previous stores.
34838 2014-05-17  Richard Henderson  <rth@redhat.com>
34840         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34841         Create the __##syscall_name##_nocancel entry point.
34842         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34843         Remove; let the sysdep-cancel.h code create it.
34845 2014-05-17  David S. Miller  <davem@davemloft.net>
34847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34848         Protect with __USE_GNU.
34849         (TIOCSET_TEMPT): Likewise.
34850         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34852         these are already provided in bits/ioctl-types.h
34854 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34856         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34857         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34859         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34860         Use wait4 regardless of [__NR_waitpid].
34862 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34864         PR libgcc/60166
34865         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34866         (_FP_NANSIGN_Q): Set the quiet bit.
34868 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34870         * benchtests/Makefile
34871         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34872         not $(common-objpfx)math/libm.so.
34873         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34874         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34875         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34876         $(common-objpfx)dlfcn/libdl.so.
34877         ($(objpfx)tst-audit8): Depend on $(libm), not
34878         $(common-objpfx)math/libm.so.
34879         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34880         not $(common-objpfx)dlfcn/libdl.so.
34881         * math/Makefile
34882         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34883         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34884         [$(build-shared) = yes].
34885         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34886         $(common-objpfx)nptl/libpthread.so.
34887         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34888         $(common-objpfx)math/libm.so$(libm.so-version) or
34889         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34890         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34891         $(common-objpfx)dlfcn/libdl.so.
34892         * setjmp/Makefile (link-libm): Remove variable.
34893         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34894         * stdio-common/Makefile (link-libm): Remove variable.
34895         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34896         * stdlib/Makefile (link-libm): Remove variable.
34897         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34898         ($(objpfx)tst-strtod-round): Likewise.
34899         ($(objpfx)tst-tininess): Likewise.
34900         ($(objpfx)tst-strtod-underflow): Likewise.
34901         ($(objpfx)tst-strtod6): Likewise.
34902         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34903         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34904         $(common-objpfx)dlfcn/libdl.so.
34906 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34908         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34909         BSD terminal modes definitions.
34911 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34913         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34914         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34916         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34917         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34918         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34919         Don't do #include_next.
34920         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34921         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34922         Don't do #include_next.
34923         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34924         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34925         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34926         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34928 2014-05-16  Allan McRae  <allan@archlinux.org>
34930         * po/sv.po: Update Swedish translation from translation project.
34932         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34933         in sed expression.
34935 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34937         [BZ #16917]
34938         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34939         errno if the TIOCGPTN ioctl fails with an error different than
34940         EINVAL.
34941         * login/tst-ptsname.c: New file.
34942         * login/Makefile (tests): Add tst-ptsname.
34944         [BZ #16943]
34945         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34946         and prlimit64.
34948 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34950         [BZ #16849]
34951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34952         herrno to return EAI_AGAIN.
34954 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34956         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34957         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34958         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34959         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34960         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34961         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34962         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34963         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34965         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34966         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34967         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34968         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34969         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34970         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34971         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34972         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34973         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34975         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34976         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34977         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34978         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34979         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34980         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34981         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34982         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34983         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34984         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34985         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34987         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34989         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34991         Moved ...
34992         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34994         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34996         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34998         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35000         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35002         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35004         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35006         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35008         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35010         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35012         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35014         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35016         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35018         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35020         Moved ...
35021         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35023         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35025         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35027         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35029         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35033         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35035         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35037         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35039         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35041         Moved ...
35042         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35046         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35047         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35048         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35049         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35050         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35051         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35052         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35053         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35054         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35055         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35056         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35057         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35058         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35059         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35060         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35061         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35062         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35063         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35064         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35065         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35066         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35067         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35068         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35069         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35070         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35071         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35072         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35073         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35074         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35078         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35079         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35081         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35082         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35083         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35084         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35085         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35087         Moved ...
35088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35090         Moved ...
35091         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35093         Moved ...
35094         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35096         Moved ...
35097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35099         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35101         Moved ...
35102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35103         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35104         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35107         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35108         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35110         Moved ...
35111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35113         Moved ...
35114         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35115         ... here.
35116         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35117         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35118         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35119         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35120         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35121         Moved ...
35122         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35123         ... here.
35124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35125         Moved ...
35126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35127         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35128         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35129         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35130         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35132         Moved ...
35133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35135         Moved ...
35136         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35138         Moved ...
35139         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35141         Moved ...
35142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35144         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35146         Moved ...
35147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35148         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35149         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35151         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35152         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35153         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35155         Moved ...
35156         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35158         Moved ...
35159         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35160         ... here.
35161         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35162         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35163         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35164         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35166         Moved ...
35167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35168         ... here.
35169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35170         Moved ...
35171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35172         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35173         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35175         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35179         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35181         Moved ...
35182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35184         Moved ...
35185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35187         Moved ...
35188         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35190         Moved ...
35191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35193         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35194         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35195         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35197         Moved ...
35198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35199         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35200         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35202         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35204         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35206         Moved ...
35207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35209         Moved ...
35210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35211         ... here.
35212         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35213         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35215         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35217         Moved ...
35218         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35219         ... here.
35220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35221         Moved ...
35222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35223         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35224         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35225         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35226         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35228         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35229         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35230         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35231         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35232         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35234         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35235         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35237         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35238         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35240         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35241         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35242         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35243         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35244         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35245         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35246         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35247         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35248         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35249         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35250         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35251         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35253         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35254         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35256         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35258         Moved ...
35259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35263         Moved ...
35264         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35266         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35268         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35272         Moved ...
35273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35275         Moved ...
35276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35282         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35283         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35284         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35285         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35286         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35287         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35288         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35290         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35292         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35295         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35296         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35297         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35298         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35300         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35301         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35303         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35304         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35305         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35306         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35307         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35308         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35309         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35314         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35315         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35316         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35317         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35318         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35319         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35320         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35321         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35322         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35323         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35325         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35327         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35329         Update #include.
35330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35331         Likewise.
35332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35333         Likewise.
35334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35335         Likewise.
35336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35337         Likewise.
35338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35339         Likewise.
35340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35341         Likewise.
35342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35343         Likewise.
35344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35345         Likewise.
35346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35347         Likewise.
35348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35358         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35360         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35362         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35364         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35365         that was previously under [RESET_PID].
35366         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35367         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35368         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35370         * sysdeps/i386/nptl/Implies: New file.
35371         * sysdeps/x86_64/nptl/Implies: New file.
35372         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35373         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35374         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35375         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35377         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35379         (__libc_vfork): New strong alias.
35380         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35381         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35383         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35385         (__libc_vfork): New strong alias.
35386         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35387         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35389         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35391         (__libc_vfork): New strong alias.
35392         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35393         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35394         * nptl/pt-vfork.c: New file.
35395         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35396         (libpthread: GLIBC_2.20): New version set (empty).
35398 2014-05-14  Will Newton  <will.newton@linaro.org>
35400         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35401         rather than #if.
35403 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35405         [BZ #16564]
35406         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35407         arguments with exponent 65 or above.
35408         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35409         arguments 0x1p113L or above.
35410         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35411         to arguments 0x1p107L or above.
35412         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35413         positive arguments with exponent 65 or above.
35414         * math/auto-libm-test-in: Add more tests of log1p.
35415         * math/auto-libm-test-out: Regenerated.
35417         [BZ #16928]
35418         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35419         non-finite arguments is +0.
35420         * math/s_cacosf.c (__cacosf): Likewise.
35421         * math/s_cacosl.c (__cacosl): Likewise.
35422         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35423         * sysdeps/i386/fpu/libm-test-ulps: Update.
35424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35426         [BZ #16927]
35427         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35428         value.
35429         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35430         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35431         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35432         for explicit high bit of mantissa when testing for argument equal
35433         to 1.
35434         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35435         * sysdeps/i386/fpu/libm-test-ulps: Update.
35436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35438         [BZ #16516]
35439         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35440         (__erf): Scale by 16 instead of 8 in potentially underflowing
35441         case.  Ensure exception if result actually underflows.
35442         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35443         (__erff): Scale by 16 instead of 8 in potentially underflowing
35444         case.  Ensure exception if result actually underflows.
35445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35446         (efx8): Remove variable.
35447         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35448         case.  Ensure exception if result actually underflows.
35449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35450         (efx8): Remove variable.
35451         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35452         case.  Ensure exception if result actually underflows.
35453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35454         (efx8): Remove variable.
35455         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35456         case.  Ensure exception if result actually underflows.
35457         * math/auto-libm-test-in: Add more tests of erf.
35458         * math/auto-libm-test-out: Regenerated.
35460 2014-05-14  Andreas Schwab  <schwab@suse.de>
35462         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35463         Remove code conditionalized on USE___THREAD.
35465         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35466         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35467         not definedness.
35469 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35472         Define unconditionally.
35473         (__ASSUME_O_CLOEXEC): Likewise.
35474         (__ASSUME_SOCK_CLOEXEC): Likewise.
35475         (__ASSUME_IN_NONBLOCK): Likewise.
35476         (__ASSUME_PIPE2): Likewise.
35477         (__ASSUME_EVENTFD2): Likewise.
35478         (__ASSUME_SIGNALFD4): Likewise.
35479         (__ASSUME_DUP3): Likewise.
35480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35481         (__ASSUME_DUP3): Do not define.
35482         (__ASSUME_EVENTFD2): Likewise.
35483         (__ASSUME_IN_NONBLOCK): Likewise.
35484         (__ASSUME_O_CLOEXEC): Likewise.
35485         (__ASSUME_PIPE2): Likewise.
35486         (__ASSUME_SIGNALFD4): Likewise.
35487         (__ASSUME_SOCK_CLOEXEC): Likewise.
35488         (__ASSUME_UTIMES): Undefine.
35489         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35490         (__ASSUME_UTIMES): Do not define.
35491         (__ASSUME_O_CLOEXEC): Likewise.
35492         (__ASSUME_SOCK_CLOEXEC): Likewise.
35493         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35494         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35495         0x020621].
35496         (__ASSUME_PIPE2): Likewise.
35497         (__ASSUME_EVENTFD2): Likewise.
35498         (__ASSUME_SIGNALFD4): Likewise.
35499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35500         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35501         Do not define.
35502         (__ASSUME_EVENTFD2): Likewise.
35503         (__ASSUME_SIGNALFD4): Likewise.
35504         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35505         (__ASSUME_32BITUIDS): Likewise.
35506         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35507         (__ASSUME_IPC64): Likewise.
35508         (__ASSUME_ST_INO_64_BIT): Likewise.
35509         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35510         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35511         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35512         (__ASSUME_UTIMES): Do not define.
35513         (__ASSUME_PSELECT): Likewise.
35514         (__ASSUME_PPOLL): Likewise.
35515         (__ASSUME_O_CLOEXEC): Likewise.
35516         (__ASSUME_SOCK_CLOEXEC): Likewise.
35517         (__ASSUME_IN_NONBLOCK): Likewise.
35518         (__ASSUME_PIPE2): Likewise.
35519         (__ASSUME_EVENTFD2): Likewise.
35520         (__ASSUME_SIGNALFD4): Likewise.
35521         (__ASSUME_DUP3): Likewise.
35522         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35523         (__ASSUME_UTIMES): Likewise.
35524         (__ASSUME_O_CLOEXEC): Likewise.
35525         (__ASSUME_SOCK_CLOEXEC): Likewise.
35526         (__ASSUME_IN_NONBLOCK): Likewise.
35527         (__ASSUME_PIPE2): Likewise.
35528         (__ASSUME_EVENTFD2): Likewise.
35529         (__ASSUME_SIGNALFD4): Likewise.
35530         (__ASSUME_DUP3): Likewise.
35531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35532         (__ASSUME_UTIMES): Likewise.
35533         (__ASSUME_O_CLOEXEC): Likewise.
35534         (__ASSUME_SOCK_CLOEXEC): Likewise.
35535         (__ASSUME_IN_NONBLOCK): Likewise.
35536         (__ASSUME_PIPE2): Likewise.
35537         (__ASSUME_EVENTFD2): Likewise.
35538         (__ASSUME_SIGNALFD4): Likewise.
35539         (__ASSUME_DUP3): Likewise.
35540         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35541         Likewise.
35542         (__ASSUME_UTIMES): Likewise.
35543         (__ASSUME_EVENTFD2): Likewise.
35544         (__ASSUME_SIGNALFD4): Likewise.
35545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35546         (__ASSUME_O_CLOEXEC): Likewise.
35547         (__ASSUME_SOCK_CLOEXEC): Likewise.
35548         (__ASSUME_IN_NONBLOCK): Likewise.
35549         (__ASSUME_PIPE2): Likewise.
35550         (__ASSUME_EVENTFD2): Likewise.
35551         (__ASSUME_SIGNALFD4): Likewise.
35552         (__ASSUME_DUP3): Likewise.
35553         (__ASSUME_UTIMES): Undefine.
35555         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35556         feclearexcept.  Remove symbol versioning code.
35557         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35558         symbol versioning code.
35559         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35560         symbol versioning code.
35561         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35562         feupdateenv.  Remove symbol versioning code.
35563         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35564         fegetexceptflag.  Remove symbol versioning code.
35565         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35566         fesetexceptflag.  Remove symbol versioning code.
35567         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35568         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35569         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35570         (__posix_fadvise64_l32): Remove prototype.
35571         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35572         code.
35574 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35576         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35577         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35578         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35579         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35581 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35583         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35584         current working directory
35586 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35588         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35589         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35590         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35591         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35592         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35593         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35594         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35595         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35596         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35597         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35599         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35600         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35601         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35602         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35603         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35604         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35605         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35606         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35607         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35608         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35609         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35610         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35611         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35612         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35613         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35614         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35615         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35619         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35620         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35621         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35622         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35624         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35625         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35626         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35627         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35628         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35629         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35631         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35632         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35634         * sysdeps/unix/sysv/linux/arm/Makefile
35635         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35636         Add rt-aeabi_unwind_cpp_pr1.
35637         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35638         Add nptl-aeabi_unwind_cpp_pr1.
35639         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35640         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35641         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35642         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35643         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35644         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35646         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35647         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35648         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35649         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35651         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35652         Deconditionalize the code that was previously under [RESET_PID].
35653         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35655         * sysdeps/generic/exit-thread.h: New file.
35656         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35657         * include/unistd.h (__exit_thread): Remove declaration.
35658         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35659         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35660         * csu/libc-start.c: Include <exit-thread.h>.
35661         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35662         * nptl/pthread_create.c: Include <exit-thread.h>.
35663         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35664         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35665         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35666         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35667         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35668         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35669         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35670         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35671         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35672         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35673         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35674         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35675         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35676         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35677         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35678         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35679         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35681 2014-05-13  Andreas Schwab  <schwab@suse.de>
35683         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35685 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35687         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35688         (__ASSUME_UTIMES): Do not condition on kernel version.
35689         (__ASSUME_PSELECT): Define unconditionally.
35690         (__ASSUME_PPOLL): Likewise.
35691         (__ASSUME_ATFCTS): Likewise.
35692         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35693         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35694         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35695         (__ASSUME_UTIMENSAT): Define unconditionally.
35696         (__ASSUME_PRIVATE_FUTEX): Likewise.
35697         (__ASSUME_FALLOCATE): Likewise.
35698         (__ASSUME_O_CLOEXEC): Likewise.
35699         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35700         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35701         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35702         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35703         (__ASSUME_IN_NONBLOCK): Likewise.
35704         (__ASSUME_PIPE2): Likewise.
35705         (__ASSUME_EVENTFD2): Likewise.
35706         (__ASSUME_SIGNALFD4): Likewise.
35707         (__ASSUME_DUP3): Likewise.
35708         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35709         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35710         (__ASSUME_AT_RANDOM): Likewise.
35711         (__ASSUME_PREADV): Likewise.
35712         (__ASSUME_PWRITEV): Likewise.
35713         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35714         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35715         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35716         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35717         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35719         (__ASSUME_O_CLOEXEC): Define unconditionally.
35720         (__ASSUME_PSELECT): Do not undefine conditionally.
35721         (__ASSUME_PPOLL): Likewise.
35722         (__ASSUME_ATFCTS): Likewise.
35723         (__ASSUME_SET_ROBUST_LIST): Likewise.
35724         (__ASSUME_UTIMENSAT): Likewise.
35725         (__ASSUME_FDATASYNC): Define unconditionally.
35726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35727         (__ASSUME_SIGFRAME_V2): Likewise.
35728         )__ASSUME_EVENTFD2): Likewise.
35729         (__ASSUME_SIGNALFD4): Likewise.
35730         (__ASSUME_PSELECT): Do not undefine conditionally.
35731         (__ASSUME_PPOLL): Likewise.
35732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35733         (__ASSUME_PSELECT): Define unconditionally.
35734         (__ASSUME_PPOLL): Likewise.
35735         (__ASSUME_O_CLOEXEC): Likewise.
35736         (__ASSUME_SOCK_CLOEXEC): Likewise.
35737         (__ASSUME_IN_NONBLOCK): Likewise.
35738         (__ASSUME_PIPE2): Likewise.
35739         (__ASSUME_EVENTFD2): Likewise.
35740         (__ASSUME_SIGNALFD4): Likewise.
35741         (__ASSUME_DUP3): Likewise.
35742         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35743         (__ASSUME_O_CLOEXEC): Likewise.
35744         (__ASSUME_SOCK_CLOEXEC): Likewise.
35745         (__ASSUME_IN_NONBLOCK): Likewise.
35746         (__ASSUME_PIPE2): Likewise.
35747         (__ASSUME_EVENTFD2): Likewise.
35748         (__ASSUME_SIGNALFD4): Likewise.
35749         (__ASSUME_DUP3): Likewise.
35750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35751         (__ASSUME_EVENTFD2): Likewise.
35752         (__ASSUME_SIGNALFD4): Likewise.
35753         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35755 2014-05-12  Andreas Schwab  <schwab@suse.de>
35757         [BZ #16932]
35758         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35759         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35760         than maximum RPC packet size.
35761         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35762         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35763         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35764         (_nss_nis_getservbyport_r): Likewise.
35766 2014-05-12  Will Newton  <will.newton@linaro.org>
35768         * malloc/Makefile (tests): Add tst-mallopt.
35769         * malloc/tst-mallopt.c: New file.
35771 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35773         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35774         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35776 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35778         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35779         (tst-tlsmod6.so): Likewise.
35781 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35783         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35785 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35787         [BZ #16064]
35788         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35789         and <dl-procinfo.h>.
35790         (__fegetenv): Save SSE state in envp->__eip if supported.
35791         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35792         envp->__eip if supported.
35793         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35794         and <dl-procinfo.h>.
35795         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35796         __data_offset and __data_selector in environment to 0.  Set SSE
35797         state if supported.
35798         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35799         test-fenv-sse.
35800         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35801         -mfpmath=sse.
35802         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35804 2014-05-09  Will Newton  <will.newton@linaro.org>
35806         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35807         and libc_relro_required for ARM.
35808         * sysdeps/arm/preconfigure: Regenerate.
35810 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35811             Stefan Liebler  <stli@linux.vnet.ibm.com>
35813         * config.make.in (enable-lock-elision): New Makefile variable.
35814         * configure.ac: Likewise.
35815         * configure: Regenerate.
35816         * sysdeps/s390/configure.ac:
35817         Add check for gcc transactions support.
35818         * sysdeps/s390/configure: Regenerate.
35819         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35820         Build elision files if enabled.
35821         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35822         Add lock elision support for s390.
35823         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35824         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35825         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35826         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35827         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35828         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35829         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35830         Likewise.
35831         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35832         Likewise.
35833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35834         Likewise.
35835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35836         Likewise.
35837         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35838         (__lll_timedlock_elision, __lll_lock_elision)
35839         (__lll_unlock_elision, __lll_trylock_elision)
35840         (lll_timedlock_elision, lll_lock_elision)
35841         (lll_unlock_elision, lll_trylock_elision): Add.
35842         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35843         (pthread_mutex_t): Add lock elision support for s390.
35845 2014-05-14  Wilco  <wdijkstr@arm.com>
35847         * sysdeps/arm/fclrexcpt.c: Cleanup.
35848         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35849         * sysdeps/arm/feenablxcpt.c: Cleanup.
35850         * sysdeps/arm/fegetenv.c: Cleanup.
35851         * sysdeps/arm/fegetexcept.c: Cleanup.
35852         * sysdeps/arm/fegetround.c: Cleanup.
35853         * sysdeps/arm/feholdexcpt.c: Cleanup.
35854         * sysdeps/arm/fesetenv.c: Cleanup.
35855         * sysdeps/arm/fesetround.c: Cleanup.
35856         * sysdeps/arm/feupdateenv.c: Cleanup.
35857         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35858         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35859         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35860         * sysdeps/arm/ftestexcept.c: Cleanup.
35861         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35862         * sysdeps/arm/setfpucw.c: Cleanup.
35864 2014-05-09  Will Newton  <will.newton@linaro.org>
35866         * sysdeps/arm/armv7/strcmp.S: New file.
35867         * NEWS: Mention addition of ARMv7 optimized strcmp.
35869 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35871         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35872         look for %.ac rather than %.in.
35874         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35875         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35876         * sysdeps/mach/hurd/configure: Regenerated.
35877         * sysdeps/unix/sysv/linux/configure: Regenerated.
35879         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35881 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35883         [BZ# 16922]
35884         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35885         (LONG_SUB): Ditto.
35886         (PTR_SUB): Ditto.
35888 2014-05-07  Andreas Schwab  <schwab@suse.de>
35890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35891         when skipping over non-matching result from nscd.
35893 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35895         [BZ #16876]
35896         * nptl/sockperf.c (client): Check socket return value.
35898         [BZ #16877]
35899         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35900         nscd security class.
35902 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35904         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35905         * sysdeps/arm/unwind.h: ... here.
35907 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35909         [BZ# 16916]
35910         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35911         Define.
35913 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35915         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35916         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35917         multiarch strncpy for PPC64.
35918         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35919         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35921         multiarch optimizations.
35922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35923         (__libc_ifunc_impl_list): Likewise.
35924         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35926         multiarch stpncpy for PPC64.
35927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35930 2014-05-06  Andreas Schwab  <schwab@suse.de>
35932         [BZ #16912]
35933         * gmon/mcount.c (_MCOUNT_DECL): Use
35934         atomic_compare_and_exchange_bool_acq instead of
35935         catomic_compare_and_exchange_bool_acq.
35937 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35939         * elf/Makefile (others, install-bin): Remove pldd.
35940         (pldd-modules): Variable removed.
35941         ($(objpfx)pldd): Target removed.
35942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35943         (others, install-bin): Append pldd here.
35944         ($(objpfx)pldd): New target.
35946         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35947         to 0, so the first #if test emitted later doesn't see it undefined.
35948         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35949         * sysdeps/gnu/errlist.c: Regenerated.
35951 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35954         [libc_hidden_builtin_def]: Define to empty value.
35955         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35956         [libc_hidden_builtin_def]: Likewise.
35957         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35958         [libc_hidden_builtin_def]: Likewise.
35959         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35960         [libc_hidden_builtin_def]: Likewise.
35961         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35962         __redirect_memcpy and define ifunc as default hidden symbol.
35963         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35964         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35966 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35968         * locale/iso-4217.def: Reintroduce XDR currency.
35970 2014-05-04  Allan McRae  <allan@archlinux.org>
35972         * po/eo.po: Update Esperanto translation from translation project.
35974 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35976         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35977         and FEATURE_INDEX_MAX to 1.
35978         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35980 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35982         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35983         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35984         * iconvdata/big5.c (ONE_DIRECTION): Define.
35985         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35986         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35987         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35988         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35989         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35990         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35991         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35992         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35993         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35994         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35995         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35996         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35997         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35998         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35999         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36000         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36001         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36002         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36003         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36004         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36005         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36006         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36007         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36008         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36009         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36010         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36011         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36012         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36013         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36014         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36015         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36016         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36017         * iconvdata/johab.c (ONE_DIRECTION): Define.
36018         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36019         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36020         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36021         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36022         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36023         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36024         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36025         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36026         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36027         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36029 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36031         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36032         (_IO_JUMPS_OFFSET): Define to 0.
36034         * nptl/sysdeps/pthread/bits/libc-lock.h
36035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36036         (__libc_lock_define_initialized_recursive): Always define using
36037         initializer.  Modern compilers treat uninitialized (implicit zero) and
36038         explicit zero initializers the same (i.e. put the datum in bss).
36040 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36042         * nscd/nscd-client.h: Include <string.h>.
36044 2014-05-01  David S. Miller  <davem@davemloft.net>
36046         [BZ #16885]
36047         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36048         multiple zero bytes exist at the end of a string.
36049         Reported by Aurelien Jarno <aurelien@aurel32.net>
36051         * string/test-strcmp.c (check): Add explicit test for situations where
36052         there are multiple zero bytes after the first.
36054 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36056         [BZ #16890]
36057         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36058         when compiling wprintf.
36059         * stdio-common/tstdiomisc.c (t3): New function.
36060         (main): Call it.
36062 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36064         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36065         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36066         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36067         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36069 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36071         * stdlib/longlong.h: Updated from GCC.
36073 2014-05-01  Will Newton  <will.newton@linaro.org>
36074             Bernard Ogden  <bernie.ogden@linaro.org>
36076         * NEWS: Update fixed bug list.
36078         [BZ #15119]
36079         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36081 2014-04-30  David S. Miller  <davem@davemloft.net>
36083         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36084         (libc_feholdexcept_setround_sparc_ctx): New function.
36085         (libc_fesetenv_sparc_ctx): Likewise.
36086         (libc_feupdateenv_sparc_ctx): Likewise.
36087         (libc_feholdsetround_sparc_ctx): Likewise.
36088         (libc_feholdexcept_setround_ctx): Define.
36089         (libc_feholdexcept_setroundf_ctx): Likewise.
36090         (libc_feholdexcept_setroundl_ctx): Likewise.
36091         (libc_fesetenv_ctx): Likewise.
36092         (libc_fesetenvf_ctx): Likewise.
36093         (libc_fesetenvl_ctx): Likewise.
36094         (libc_feupdateenv_ctx): Likewise.
36095         (libc_feupdateenvf_ctx): Likewise.
36096         (libc_feupdateenvl_ctx): Likewise.
36097         (libc_feresetround_ctx): Likewise.
36098         (libc_feresetroundf_ctx): Likewise.
36099         (libc_feresetroundl_ctx): Likewise.
36100         (libc_feholdsetround_ctx): Likewise.
36101         (libc_feholdsetroundf_ctx): Likewise.
36102         (libc_feholdsetroundl_ctx): Likewise.
36104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36105         with __USE_GNU instead of XOPEN cpp guards.
36107         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36108         0.
36110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36111         with XOPEN cpp guards.
36113 2014-04-30  Julian Brown  <julian@codesourcery.com>
36115         [BZ #16888]
36116         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36117         handling.
36119 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36121         [BZ #9894]
36122         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36123         Change to 2.6.32.
36124         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36125         * sysdeps/unix/sysv/linux/configure: Regenerated.
36126         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36127         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36128         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36129         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36130         * README: Update reference to required Linux kernel version.
36131         * manual/install.texi (Linux): Update reference to required Linux
36132         kernel headers version.
36133         * INSTALL: Regenerated.
36135         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36136         header inclusion.
36137         [POSIX] (limits.h): Likewise.
36138         [POSIX] (math.h): Likewise.
36139         [POSIX] (sys/wait.h): Likewise.
36140         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36141         function.
36142         [POSIX] (stddef.h): Do not allow header inclusion.
36144 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36146         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36148 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36150         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36151         Return immediately after lll_futex_wake.
36153 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36155         [BZ #16791]
36156         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36157         structure.
36158         (datahead_init_pos): Call datahead_init_common early.
36159         (datahead_init_neg): Likewise.
36161         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36162         datahead_init_neg): New functions.
36163         * nscd/aicache.c (addhstaiX): Use them.
36164         * nscd/grpcache.c (cache_addgr): Likewise.
36165         * nscd/hstcache.c (cache_addhst): Likewise.
36166         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36167         * nscd/netgroupcache.c (do_notfound): Likewise.
36168         (addgetnetgrentX): Likewise.
36169         (addinnetgrX): Likewise.
36170         * nscd/pwdcache.c (cache_addpw): Likewise.
36171         * nscd/servicescache.c (cache_addserv): Likewise.
36173 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36174             Atsushi Onoe  <atsushi@onoe.org>
36176         [BZ #14308]
36177         [BZ #12994]
36178         [BZ #13651]
36179         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36180         one response is valid.
36181         * resolv/res_send.c (send_dg): Check for validity of other
36182         response if the current response is a referral.
36184 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36186         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36188 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36190         [BZ #16823]
36191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36192         Always divide by positive zero when computing -Inf result.
36193         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36194         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36196 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36198         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36199         FPSCR if value do not change.
36200         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36201         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36202         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36203         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36204         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36205         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36206         function.
36208 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36210         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36211         * sysdeps/unix/sysv/linux/hppa: Move directory from
36212         ports/systeps/unix/sysv/linux/hppa.
36213         * README: Update listing for hppa-*-linux-gnu.
36215 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36217         [BZ #16754]
36218         * manual/stdio.texi (Hook functions): Fix types of stream hook
36219         functions.
36220         [BZ #16854]
36221         * socket/sys/socket.h: Fix typo in comment.
36223 2014-04-28  Wilco  <wdijkstr@arm.com>
36225         * sysdeps/arm/fenv_private.h: New file.
36226         * sysdeps/arm/math_private.h: New file.
36227         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36229 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36231         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36232         with __int128_t.
36233         (La_x86_64_retval): Likewise.
36235 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36237         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36238         fpsr if value didn't change.
36239         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36240         to fpcr if value didn't change.
36241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36242         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36243         fpsr or fpcr if value didn't change.
36244         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36245         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36246         fpcr if value didn't change.
36247         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36248         to fpsr if value didn't change.
36250 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36252         * nptl/tst-sem3.c: Use test-skeleton.c
36253         (main): Rename to do_test.  Use return instead of
36254         exit.
36255         * nptl/tst-sem4.c: Use test-skeleton.c
36256         (main): Rename to do_test.
36258 2014-04-22  David S. Miller  <davem@davemloft.net>
36260         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36261         (struct sigaction): New struct member __glibc_reserved0, change
36262         type of sa_flags to int.
36264 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36266         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36267         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36269 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36271         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36272         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36274 2014-04-22  Will Newton  <will.newton@linaro.org>
36275             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36277         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36278         (__longjmp): Add longjmp and longjmp_target SystemTap
36279         probes.
36280         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36281         (__sigsetjmp): Add setjmp SystemTap probe.
36283 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36285         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36286         match manual order.
36288 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36290         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36292         * sysdeps/powerpc/fpu/fenv_private.h
36293         (libc_feholdexcept_setroundl_ctx): Define to
36294         libc_feholdexcept_setround_ppc_ctx.
36295         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36296         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36297         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36298         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36300 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36302         * sysdeps/aarch64/math-tests.h: New file.
36304 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36306         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36307         New.
36308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36309         Check and set bit_AVX2_Usable.
36310         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36311         macro.
36312         (bit_AVX2): Likewise.
36313         (index_AVX2_Usable): Likewise.
36314         (CPUID_AVX2): Likewise.
36315         (HAS_AVX2): Likewise.
36317 2014-04-17  Will Newton  <will.newton@linaro.org>
36319         * manual/setjmp.texi (System V contexts): Add note that
36320         calling setcontext on a context created by a call to a
36321         signal handler is undefined.  Update text to note that
36322         setcontext from a signal handler is possible but not
36323         recommended.
36325         [BZ #16629]
36326         * stdlib/tst-setcontext.c: Include signal.h.
36327         (main): Check that the signal stack before and
36328         after swapcontext is the same.
36330         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36331         Re-implement to restore registers in user code and avoid
36332         rt_sigreturn system call.
36334 2014-04-17  Wilco  <wdijkstr@arm.com>
36336         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36337         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36338         * math/test-fenv.c: Skip exception trap tests on targets which only
36339         support non-stop mode.
36341 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36342             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36344         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36345         (libc_feholdsetround_aarch64_ctx)
36346         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36347         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36348         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36349         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36350         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36351         (libc_feresetround_noexl_ctx): Define.
36353 2014-04-16  Richard Henderson  <rth@redhat.com>
36355         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36357         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36358         unwind tables.
36360         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36361         const from the non-libc, non-ldso copy.
36363         * sysdeps/alpha/libm-test-ulps: Regenerate.
36365 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36366             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36368         * sysdeps/aarch64/fpu/math_private.h: New file.
36370 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36372         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36374 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36376         [BZ #16275]
36377         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36378         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36380         Intel MPX bound registers before _dl_profile_fixup.
36381         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36382         registers after _dl_profile_fixup.  Save and restore bound
36383         registers bnd0/bnd1 when calling _dl_call_pltexit.
36384         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36385         (LR_BND_OFFSET): Likewise.
36386         (LRV_BND0_OFFSET): Likewise.
36387         (LRV_BND1_OFFSET): Likewise.
36389 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36391         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36392         to...
36393         * sysdeps/mach/hurd/i386/tls.h: ... here.
36394         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36395         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36396         fields.
36398 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36400         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36402 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36404         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36406 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36408         [BZ #14770]
36409         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36410         * sysdeps/s390/configure: Regenerate.
36412         [BZ #16824]
36413         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36414         Set round-to-nearest internally to reduce error accumulation.
36416 2014-04-16  Alan Modra  <amodra@gmail.com>
36418         [BZ #16740]
36419         [BZ #16619]
36420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36421         * math/libm-test.inc (frexp_test_data): Add tests.
36422         * NEWS: Update fixed bug list.
36424 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36426         * benchtests/Makefile: Depend on libraries in build directory.
36427         (bench-math): Separate out math tests.
36428         (bench-pthread): Separate out pthread tests.
36429         (bench): Include math and pthread tests.
36431 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36433         [BZ #16831]
36434         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36435         _dl_debug_initialize.
36437         * configure.ac: Remove SELinux header check.
36438         * configure: Regenerate.
36439         * nscd/selinux.c (perms): Array of const char* to permission names.
36440         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36441         default policy. Call string_to_security_class and string_to_av_perm to
36442         translate strings. Enforce default policy and call avs_has_perm with
36443         results of translated strings.
36445 2014-04-13  David S. Miller  <davem@davemloft.net>
36447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36449 2014-04-12  Allan McRae  <allan@archlinux.org>
36451         [BZ #16838]
36452         * manual/string.texi (Collation Functions): Fix qsort argument
36453         order in example.
36454         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36456 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36458         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36459         Make the test a no-op if there are no exceptions defined.
36461 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36463         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36464         enable-hardcoded-path-in-tests
36466 2014-04-11  Will Newton  <will.newton@linaro.org>
36468         * benchtests/Makefile (extra-objs): Add json-lib.o.
36469         (bench-func): Tidy up JSON output.
36470         * benchtests/bench-skeleton.c: Include json-lib.h.
36471         (main): Use JSON library functions to do output of
36472         benchmark results.
36473         * benchtests/bench-timing-type.c (main): Output the
36474         timing type simply, leaving formatting to the user.
36475         * benchtests/json-lib.c: New file.
36476         * benchtests/json-lib.h: Likewise.
36478 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36480         [BZ #15215]
36481         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36482         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36483         memory barriers.  Add comments.
36484         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36485         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36486         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36487         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36488         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36489         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36491 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36493         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36494         * sysdeps/s390/s390-64/configure.ac: ... this ...
36495         * sysdeps/s390/configure.ac: ... to here.
36496         * sysdeps/s390/s390-32/configure: Delete file.
36497         * sysdeps/s390/s390-64/configure: Delete file.
36498         * sysdeps/s390/configure: Regenerate.
36500 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36502         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36504 2014-04-11  Will Newton  <will.newton@linaro.org>
36506         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36507         to zero if it is not defined elsewhere.  (mtrim): Test
36508         the value of MALLOC_DEBUG with #if rather than #ifdef.
36510 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36512         * benchtests/pthread_once-inputs: New file.
36513         * benchtests/pthread_once-source.c: New file.
36514         * benchtests/README: Update documentation.
36516 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36517             H.J. Lu  <hongjiu.lu@intel.com>
36519         [BZ #16275]
36520         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36521         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36522         * sysdeps/x86_64/configure: Regenerated.
36523         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36524         macro.
36525         (REGISTER_SAVE_RAX): Likewise.
36526         (REGISTER_SAVE_RCX): Likewise.
36527         (REGISTER_SAVE_RDX): Likewise.
36528         (REGISTER_SAVE_RSI): Likewise.
36529         (REGISTER_SAVE_RDI): Likewise.
36530         (REGISTER_SAVE_R8): Likewise.
36531         (REGISTER_SAVE_R9): Likewise.
36532         (REGISTER_SAVE_BND0): Likewise.
36533         (REGISTER_SAVE_BND1): Likewise.
36534         (REGISTER_SAVE_BND2): Likewise.
36535         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36536         bound registers when calling _dl_fixup.
36538 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36540         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36541         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36542         of its definition.
36543         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36544         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36545         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36546         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36547         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36548         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36549         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36551 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36553         [BZ #15514]
36554         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36555         pathconf(_PC_NAME_MAX).
36557 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36559         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36560         Remove macro usage.
36561         (__PTHREAD_SPINS): Move definition to ...
36562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36563         (__PTHREAD_SPINS): ... here.
36564         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36565         (__PTHREAD_SPIN): Likewise.
36566         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36567         (__PTHREAD_SPIN): Likewise.
36568         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36569         (__PTHREAD_SPIN): Likewise.
36570         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36571         (__PTHREAD_SPIN): Likewise.
36572         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36573         (__PTHREAD_SPIN): Likewise.
36574         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36575         (__PTHREAD_SPIN): Likewise.
36576         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36577         (__PTHREAD_SPIN): Likewise.
36578         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36579         (__PTHREAD_SPIN): Likewise.
36580         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36581         (__PTHREAD_SPIN): Likewise.
36582         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36583         (__PTHREAD_SPIN): Likewise.
36584         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36585         (__PTHREAD_SPIN): Likewise.
36586         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36587         (__PTHREAD_SPIN): Likewise.
36589         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36590         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36591         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36592         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36593         imply folder.
36594         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36595         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36596         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36597         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36598         correct imply path.
36599         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36600         strlen symbol for non multi-arch builds.
36601         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36602         missing hidden_def and weak_alias.
36604 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36606         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36608 2014-04-07  Will Newton  <will.newton@linaro.org>
36610         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36611         and contents.  [!_LIBC] Remove #ifndef and contents.
36612         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36613         * string/memccpy.c (__memccpy): Use ANSI prototype.
36614         * string/memfrob.c (memfrob): Likewise.
36615         * string/strcoll.c (STRCOLL): Likewise.
36616         * string/strlen.c (strlen): Likewise.
36617         * string/strtok.c (STRTOK): Likewise.
36618         * string/strcat.c: Remove unused #include of memcopy.h.
36619         (strcat): Use ANSI prototype.
36620         * string/strchr.c: Remove unused #include of memcopy.h.
36621         (strchr): Use ANSI prototype.
36622         * string/strcmp.c: Remove unused #include of memcopy.h.
36623         (strcmp): Use ANSI prototype.
36624         * string/strcpy.c: Remove unused #include of memcopy.h.
36625         (strcpy): Use ANSI prototype.
36627 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36629         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36630         * config.make.in (config-extra-cppflags): Set it from
36631         libc_extra_cppflags.
36632         * configure.ac (libc_extra_cflags): Make it accumulate over
36633         configure fragments.
36634         (libc_extra_cppflags): New flag.
36635         * configure. Regenerate.
36636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36637         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36638         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36641         [BZ #16815]
36642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36643         result for FE_DOWNWARD rounding mode.
36644         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36645         Likewise.
36646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36648 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36650         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36651         in function argument name.
36653 2014-04-03  David Svoboda  <svoboda@cert.org>
36655         [BZ #5666]
36656         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36657         explicitly.
36659 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36661         * elf/dl-unmap-segments.h: New file.
36662         * sysdeps/generic/ldsodefs.h
36663         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36664         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36665         * elf/dl-fptr.c: Likewise.
36666         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36667         * sysdeps/aarch64/tlsdesc.c: Likewise.
36668         * sysdeps/arm/tlsdesc.c: Likewise.
36669         * sysdeps/i386/tlsdesc.c: Likewise.
36670         * sysdeps/tile/dl-runtime.c: Likewise.
36671         * sysdeps/x86_64/tlsdesc.c: Likewise.
36672         * elf/dl-load.h: New file.
36673         * elf/dl-load.c: Include it.
36674         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36675         Macros moved to dl-load.h.
36676         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36677         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36678         Use _dl_unmap_segments in place of __munmap.
36679         Break out segment-mapping loop into ...
36680         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36682 2014-04-03  Will Newton  <will.newton@linaro.org>
36684         * elf/dl-lookup.c (do_lookup_x): Remove comment
36685         referring to nested function and move variable
36686         declarations down to before first use.
36688 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36690         [BZ #16799]
36691         [BZ #16800]
36692         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36693         with 0 numerator.
36694         * math/s_catanf.c (__catanf): Likewise.
36695         * math/s_catanh.c (__catanh): Likewise.
36696         * math/s_catanhf.c (__catanhf): Likewise.
36697         * math/s_catanhl.c (__catanhl): Likewise.
36698         * math/s_catanl.c (__catanl): Likewise.
36699         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36700         by positive zero when computing -Inf result.
36701         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36702         (catanh_test): Likewise.
36703         * sysdeps/i386/fpu/libm-test-ulps: Update.
36704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36706         [BZ #16789]
36707         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36708         instead of using underflowing value in computing result.
36709         * math/s_clog10.c (__clog10): Likewise.
36710         * math/s_clog10f.c (__clog10f): Likewise.
36711         * math/s_clog10l.c (__clog10l): Likewise.
36712         * math/s_clogf.c (__clogf): Likewise.
36713         * math/s_clogl.c (__clogl): Likewise.
36714         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36715         (clog10_test): Likewise.
36716         * sysdeps/i386/fpu/libm-test-ulps: Update.
36717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36719 2014-04-02  Alan Modra  <amodra@gmail.com>
36721         [BZ #16739]
36722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36723         output when value is near a power of two.  Use int64_t for lx and
36724         remove casts.  Use decimal rather than hex exponent constants.
36725         Don't use long double multiplication when double will suffice.
36726         * math/libm-test.inc (nextafter_test_data): Add tests.
36727         * NEWS: Add 16739 and 16786 to bug list.
36729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36731         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36733 2014-04-01  Will Newton  <will.newton@linaro.org>
36735         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36736         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36738 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36740         [BZ #13347]
36741         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36742         * nptl/tst-setuid2.c: New file.
36743         * nptl/Makefile (xtests): Add tst-setuid2.
36745 2014-04-01  Alan Modra  <amodra@gmail.com>
36747         [BZ #16786]
36748         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36750 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36752         [BZ #6803]
36753         [BZ #6804]
36754         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36755         set errno as appropriate.
36756         * math/w_scalbf.c (__scalbf): Likewise.
36757         * math/w_scalbl.c (__scalbl): Likewise.
36758         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36759         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36760         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36761         Add more NaN tests.
36763         [BZ #16349]
36764         * math/w_atan2.c: Include <errno.h>.
36765         (__atan2): Set errno for result underflowing to zero.
36766         * math/w_atan2f.c: Include <errno.h>.
36767         (__atan2f): Set errno for result underflowing to zero.
36768         * math/w_atan2l.c: Include <errno.h>.
36769         (__atan2l): Set errno for result underflowing to zero.
36770         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36771         tests.
36772         * math/auto-libm-test-out: Regenerated.
36774 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36776         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36777         Encode instruction correctly in little endian.
36778         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36779         Likewise.
36780         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36781         Likewise.
36782         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36783         Likewise.
36784         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36785         Likewise.
36787 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36789         [BZ #9894]
36790         * sysdeps/unix/sysv/linux/kernel-features.h
36791         [__sparc__ && !__arch64__ && !__sparc_v9__]
36792         (__ASSUME_SET_ROBUST_LIST): Do not define.
36793         [__sparc__ && !__arch64__ && !__sparc_v9__]
36794         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36795         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36796         Likewise.
36797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36798         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36799         (__ASSUME_REQUEUE_PI): Likewise.
36800         (__ASSUME_SET_ROBUST_LIST): Likewise.
36801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36802         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36803         Undefine.
36804         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36805         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36806         Likewise.
36807         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36808         Likewise.
36809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36810         Likewise.
36811         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36812         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36813         Undefine.
36814         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36815         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36816         Likewise.
36818         [BZ #16648]
36819         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36820         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36821         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36823 2014-03-31  Will Newton  <will.newton@linaro.org>
36825         * benchtests/Makefile (bench): Add ffs and ffsll to list
36826         of tests.
36827         * benchtests/ffs-inputs: New file.
36828         * benchtests/ffsll-inputs: Likewise.
36830 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36832         [BZ #16770]
36833         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36834         too large before casting to int.
36835         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36836         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36837         * math/libm-test.inc (scalb_test_data): Add more tests.
36839 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36841         * benchtests/Makefile (DETAILED_OPT): New make option.
36842         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36843         set.
36844         * benchtests/bench-skeleton.c: Include stdbool.h.
36845         (main): Store and print timings per input.
36846         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36847         member to each argument value.
36848         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36849         (_print_arg_data): Initialize per-input timing to 0.
36851         * benchtests/Makefile (timing-type): New binary.
36852         (bench-clean): Also remove bench-timing-type.
36853         (bench): New target for timing-type.
36854         (bench-func): Print output in JSON format.
36855         * benchtests/bench-skeleton.c (main): Print output in JSON
36856         format.
36857         * benchtests/bench-timing-type.c: New file.
36858         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36859         (TIMING_PRINT_STATS): Remove.
36860         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36861         name separately.
36863         * benchtests/bench-modf.c: Remove.
36864         * benchtests/modf-inputs: New inputs file.
36866 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36868         [BZ #16362]
36869         * math/s_clog10.c (M_PI_LOG10E): New macro.
36870         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36871         imaginary parts are 0.
36872         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36873         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36874         imaginary parts are 0.
36875         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36876         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36877         imaginary parts are 0.
36878         * math/libm-test.inc (clog10_test_data): Update expected results
36879         for when real and imaginary parts are 0.
36881 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36883         * elf/dl-load.c: Finish conversion of __builtin_expect into
36884         __glibc_{un}likely.
36886 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36888         [BZ #16348]
36889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36890         1+x for argument with exponent below -67.
36891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36892         Likewise.
36893         * math/auto-libm-test-in: Add more tests of exp.
36894         * math/auto-libm-test-out: Regenerated.
36896 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36898         [BZ #16759]
36899         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36900         (nscd_getnetgrent): Use it.
36902         [BZ #16760]
36903         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36904         of stpcpy.
36906 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36908         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36909         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36910         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36911         (lll_robust_unlock): Remove out of line section. Use cfi
36912         intrinsics.
36913         (LLL_STUB_UNWIND_INFO*): Remove.
36914         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36915         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36916         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36917         (lll_robust_unlock): Remove out of line section. Use cfi
36918         intrinsics.
36919         (LLL_STUB_UNWIND_INFO*): Remove.
36921 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36923         [BZ #16758]
36924         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36925         blank values.
36927 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36929         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36931 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36933         [BZ #16198]
36934         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36935         fnstenv.
36936         * math/test-fenv-preserve.c: New file.
36937         * math/Makefile (tests): Add test-fenv-preserve.
36939 2014-03-26  Will Newton <will.newton@linaro.org>
36941         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36943 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36945         * scripts/versionlist.awk: Partition the version sets and emit all
36946         GLIBC_* (sorted) before all others (sorted).
36948 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36950         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36951         GLIBC_2.2.5 version.
36953 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36955         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36956         calls.
36958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36959         previous change.
36961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36963 2014-03-25  Andreas Schwab  <schwab@suse.de>
36965         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36966         label to be used after in6ailist is initialized.
36968 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36971         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36973 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36975         [BZ #16357]
36976         [BZ #16599]
36977         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36978         min_plus_half.
36979         (fp_formats): Update initializers.
36980         (init_fp_formats): Initialize new field.
36981         (output_for_one_input_case): Allow underflow for results up to
36982         min_plus_half.
36983         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36984         * math/auto-libm-test-in: Don't mark some underflows from asin and
36985         atanh as spurious.
36986         * math/auto-libm-test-out: Regenerated.
36987         * sysdeps/i386/fpu/libm-test-ulps: Update.
36988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36990 2014-03-25  Andreas Schwab  <schwab@suse.de>
36992         * libio/Makefile (tst-ftell-partial-wide-ENV)
36993         (tst-ftell-active-handler-ENV): Define.
36995 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36997         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36999 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37001         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37003 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37005         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37006         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37007         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37009 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37011         [BZ #16634]
37012         * elf/dl-load.c (open_verify): Add mode parameter.
37013         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37014         (open_path): Change from boolean 'secure' to complete flag 'mode'
37015         (_dl_map_object): Adjust.
37016         * elf/Makefile (tests): Add tst-dlopen-aout.
37017         * elf/tst-dlopen-aout.c: New test.
37019 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37021         [BZ #16714]
37022         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37023         (struct stat): Rename member pad0 to __glibc_reserved0.
37025         [BZ #16712]
37026         * sysdeps/s390/s390-32/bits/wordsize.h
37027         (__WORDSIZE32_SIZE_ULONG): New define.
37028         * sysdeps/s390/s390-64/bits/wordsize.h
37029         (__WORDSIZE32_SIZE_ULONG): Likewise.
37030         * sysdeps/generic/stdint.h (SIZE_MAX):
37031         Define as UL if __WORDSIZE32_SIZE_ULONG.
37033         [BZ #16713]
37034         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37035         (__glibc_reserved0): New variable.
37036         (sa_flags): Change type to int.
37038         * posix/Makefile (before-compile): Use += before-compile instead
37039         of a :=.
37041         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37042         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37044 2014-03-20  Andreas Schwab  <schwab@suse.de>
37046         [BZ #16743]
37047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37048         non-matching result from nscd.
37050 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37052         * scripts/bench.py: Moved to ...
37053         * benchtests/scripts/bench.py: ... here.
37054         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37056 2014-03-24  Andreas Schwab  <schwab@suse.de>
37058         [BZ #16002]
37059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37060         alloca_account and account alloca use for struct in6ailist.
37062 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37064         [BZ #16284]
37065         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37066         rounding mode to recompute results that overflow to infinity or
37067         underflow to zero.
37068         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37069         bug 16284.
37070         * math/auto-libm-test-out: Regenerated.
37071         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37072         (ccosh_test): Likewise.
37073         (csin_test_data): Use plus_oflow.
37074         (csin_test): Use ALL_RM_TEST.
37075         (csinh_test_data): Use plus_oflow.
37076         (csinh_test): Use ALL_RM_TEST.
37077         * sysdeps/i386/fpu/libm-test-ulps: Update.
37078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37080 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37082         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37083         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37084         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37086         [BZ #16731]
37087         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37088         when x - 1 is zero.
37089         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37090         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37091         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37093         argument is 1.
37094         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37095         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37096         zero.
37097         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37098         * sysdeps/i386/fpu/libm-test-ulps: Update.
37099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37101 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37103         * scripts/bench.pl: Remove file.
37104         * scripts/bench.py: New benchmark script.
37105         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37106         * benchtests/README: Mention python dependency.
37107         * scripts/pylintrc: New file.
37108         * scripts/pylint: New file.
37110         * bits/mathdef.h: Use #ifdef instead of #if.
37111         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37112         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37113         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37114         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37115         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37116         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37118 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37119             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37121         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37123         and strpbrk-ppc64 objects.
37124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37125         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37126         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37127         multiarch strpbrk for POWER7.
37128         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37129         multiarch strpbrk for PPC64.
37130         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37131         ifunc selector.
37132         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37133         strpbrk for POWER7.
37135 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37137         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37138         (atan_test): Likewise.
37139         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37140         (atanh_test): Use ALL_RM_TEST.
37141         (atan2_test_data): Likewise.
37142         (cabs_test): Likewise.
37143         (cacosh_test): Likewise.
37144         (carg_test): Likewise.
37145         (casin_test): Likewise.
37146         (casinh_test): Likewise.
37147         (cbrt_test): Likewise.
37148         (csqrt_test): Likewise.
37149         (erf_test): Likewise.
37150         (erfc_test): Likewise.
37151         (pow10_test): Likewise.
37152         (exp2_test): Likewise.
37153         (hypot_test): Likewise.
37154         (j0_test): Likewise.
37155         (j1_test): Likewise.
37156         (lgamma_test): Likewise.
37157         (gamma_test): Likewise.
37158         (sincos_test): Likewise.
37159         (tanh_test): Likewise.
37160         (y0_test): Likewise.
37161         (y1_test): Likewise.
37162         * sysdeps/i386/fpu/libm-test-ulps: Update.
37163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37165 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37167         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37169         and strcspn-ppc64 objects.
37170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37171         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37172         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37173         multiarch strcspn for POWER7.
37174         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37175         multiarch strcspn for PPC64.
37176         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37177         ifunc selector.
37178         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37179         strcspn for POWER7.
37181 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37183         * math/gen-libm-test.pl (generate_testfile): Expect only function
37184         name as argument to AUTO_TESTS_* and pass results for all rounding
37185         modes to parse_args.
37186         (parse_auto_input): Separate inputs of automatic tests from
37187         outputs before storing in %auto_tests.
37188         * math/libm-test.inc (acos_test_data): Update call to
37189         AUTO_TESTS_f_f.
37190         (acos_test): Use ALL_RM_TEST.
37191         (acos_tonearest_test_data): Remove.
37192         (acos_test_tonearest): Likewise.
37193         (acos_towardzero_test_data): Likewise.
37194         (acos_test_towardzero): Likewise.
37195         (acos_downward_test_data): Likewise.
37196         (acos_test_downward): Likewise.
37197         (acos_upward_test_data): Likewise.
37198         (acos_test_upward): Likewise.
37199         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37200         (asin_test_data): Likewise.
37201         (asin_test): Use ALL_RM_TEST.
37202         (asin_tonearest_test_data): Remove.
37203         (asin_test_tonearest): Likewise.
37204         (asin_towardzero_test_data): Likewise.
37205         (asin_test_towardzero): Likewise.
37206         (asin_downward_test_data): Likewise.
37207         (asin_test_downward): Likewise.
37208         (asin_upward_test_data): Likewise.
37209         (asin_test_upward): Likewise.
37210         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37211         (atan_test_data): Likewise.
37212         (atanh_test_data): Likewise.
37213         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37214         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37215         (carg_test_data): Likewise.
37216         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37217         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37218         (ccosh_test_data): Likewise.
37219         (cexp_test_data): Likewise.
37220         (clog_test_data): Likewise.
37221         (clog10_test_data): Likewise.
37222         (cos_test_data): Update call to AUTO_TESTS_f_f.
37223         (cos_test): Use ALL_RM_TEST.
37224         (cos_tonearest_test_data): Remove.
37225         (cos_test_tonearest): Likewise.
37226         (cos_towardzero_test_data): Likewise.
37227         (cos_test_towardzero): Likewise.
37228         (cos_downward_test_data): Likewise.
37229         (cos_test_downward): Likewise.
37230         (cos_upward_test_data): Likewise.
37231         (cos_test_upward): Likewise.
37232         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37233         (cosh_test): Use ALL_RM_TEST.
37234         (cosh_tonearest_test_data): Remove.
37235         (cosh_test_tonearest): Likewise.
37236         (cosh_towardzero_test_data): Likewise.
37237         (cosh_test_towardzero): Likewise.
37238         (cosh_downward_test_data): Likewise.
37239         (cosh_test_downward): Likewise.
37240         (cosh_upward_test_data): Likewise.
37241         (cosh_test_upward): Likewise.
37242         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37243         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37244         (ctan_test_data): Likewise.
37245         (ctan_test): Use ALL_RM_TEST.
37246         (ctan_tonearest_test_data): Remove.
37247         (ctan_test_tonearest): Likewise.
37248         (ctan_towardzero_test_data): Likewise.
37249         (ctan_test_towardzero): Likewise.
37250         (ctan_downward_test_data): Likewise.
37251         (ctan_test_downward): Likewise.
37252         (ctan_upward_test_data): Likewise.
37253         (ctan_test_upward): Likewise.
37254         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37255         (ctanh_test): Use ALL_RM_TEST.
37256         (ctanh_tonearest_test_data): Remove.
37257         (ctanh_test_tonearest): Likewise.
37258         (ctanh_towardzero_test_data): Likewise.
37259         (ctanh_test_towardzero): Likewise.
37260         (ctanh_downward_test_data): Likewise.
37261         (ctanh_test_downward): Likewise.
37262         (ctanh_upward_test_data): Likewise.
37263         (ctanh_test_upward): Likewise.
37264         (erf_test_data): Update call to AUTO_TESTS_f_f.
37265         (erfc_test_data): Likewise.
37266         (exp_test_data): Likewise.
37267         (exp_test): Use ALL_RM_TEST.
37268         (exp_tonearest_test_data): Remove.
37269         (exp_test_tonearest): Likewise.
37270         (exp_towardzero_test_data): Likewise.
37271         (exp_test_towardzero): Likewise.
37272         (exp_downward_test_data): Likewise.
37273         (exp_test_downward): Likewise.
37274         (exp_upward_test_data): Likewise.
37275         (exp_test_upward): Likewise.
37276         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37277         (exp10_test): Use ALL_RM_TEST.
37278         (exp10_tonearest_test_data): Remove.
37279         (exp10_test_tonearest): Likewise.
37280         (exp10_towardzero_test_data): Likewise.
37281         (exp10_test_towardzero): Likewise.
37282         (exp10_downward_test_data): Likewise.
37283         (exp10_test_downward): Likewise.
37284         (exp10_upward_test_data): Likewise.
37285         (exp10_test_upward): Likewise.
37286         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37287         (expm1_test_data): Likewise.
37288         (expm1_test): Use ALL_RM_TEST.
37289         (expm1_tonearest_test_data): Remove.
37290         (expm1_test_tonearest): Likewise.
37291         (expm1_towardzero_test_data): Likewise.
37292         (expm1_test_towardzero): Likewise.
37293         (expm1_downward_test_data): Likewise.
37294         (expm1_test_downward): Likewise.
37295         (expm1_upward_test_data): Likewise.
37296         (expm1_test_upward): Likewise.
37297         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37298         (fma_test): Use ALL_RM_TEST.
37299         (fma_towardzero_test_data): Remove.
37300         (fma_test_towardzero): Likewise.
37301         (fma_downward_test_data): Likewise.
37302         (fma_test_downward): Likewise.
37303         (fma_upward_test_data): Likewise.
37304         (fma_test_upward): Likewise.
37305         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37306         (j0_test_data): Update call to AUTO_TESTS_f_f.
37307         (j1_test_data): Likewise.
37308         (jn_test_data): Update call to AUTO_TESTS_if_f.
37309         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37310         (log_test_data): Update call to AUTO_TESTS_f_f.
37311         (log10_test_data): Likewise.
37312         (log1p_test_data): Likewise.
37313         (log2_test_data): Likewise.
37314         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37315         (pow_tonearest_test_data): Likewise.
37316         (sin_test_data): Update call to AUTO_TESTS_f_f.
37317         (sin_test): Use ALL_RM_TEST.
37318         (sin_tonearest_test_data): Remove.
37319         (sin_test_tonearest): Likewise.
37320         (sin_towardzero_test_data): Likewise.
37321         (sin_test_towardzero): Likewise.
37322         (sin_downward_test_data): Likewise.
37323         (sin_test_downward): Likewise.
37324         (sin_upward_test_data): Likewise.
37325         (sin_test_upward): Likewise.
37326         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37327         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37328         (sinh_test): Use ALL_RM_TEST.
37329         (sinh_tonearest_test_data): Remove.
37330         (sinh_test_tonearest): Likewise.
37331         (sinh_towardzero_test_data): Likewise.
37332         (sinh_test_towardzero): Likewise.
37333         (sinh_downward_test_data): Likewise.
37334         (sinh_test_downward): Likewise.
37335         (sinh_upward_test_data): Likewise.
37336         (sinh_test_upward): Likewise.
37337         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37338         (sqrt_test): Use ALL_RM_TEST.
37339         (sqrt_tonearest_test_data): Remove.
37340         (sqrt_test_tonearest): Likewise.
37341         (sqrt_towardzero_test_data): Likewise.
37342         (sqrt_test_towardzero): Likewise.
37343         (sqrt_downward_test_data): Likewise.
37344         (sqrt_test_downward): Likewise.
37345         (sqrt_upward_test_data): Likewise.
37346         (sqrt_test_upward): Likewise.
37347         (tan_test_data): Update call to AUTO_TESTS_f_f.
37348         (tan_test): Use ALL_RM_TEST.
37349         (tan_tonearest_test_data): Remove.
37350         (tan_test_tonearest): Likewise.
37351         (tan_towardzero_test_data): Likewise.
37352         (tan_test_towardzero): Likewise.
37353         (tan_downward_test_data): Likewise.
37354         (tan_test_downward): Likewise.
37355         (tan_upward_test_data): Likewise.
37356         (tan_test_upward): Likewise.
37357         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37358         (tgamma_test_data): Likewise.
37359         (y0_test_data): Likewise.
37360         (y1_test_data): Likewise.
37361         (yn_test_data): Update call to AUTO_TESTS_if_f.
37362         (main): Do not call removed functions.
37364 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37366         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37367         (ldexp_test_data): Remove.
37368         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37369         scalbn_test_data.
37370         (scalb_test): Use ALL_RM_TEST.
37372 2014-03-19  Andreas Schwab  <schwab@suse.de>
37374         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37376 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37378         [BZ #16649]
37379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37380         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37383         (__ASSUME_PREADV): Undefine.
37384         (__ASSUME_PWRITEV): Likewise.
37386 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37388         * bits/mman-linux.h: Add comment about non-Linux use.
37389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37390         bits/mman-linux.h resting place.
37392         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37393         * bits/mman-linux.h: ... here.
37395 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37397         * conform/conformtest.pl: Add standard definition when calling C
37398         preprocessor on data files.
37399         (checknamespace): Remove unused variable.
37401 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37403         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37404         minus_oflow, plus_uflow and minus_uflow in expected results.
37405         * math/libm-test.inc (scalbn_test_data): Add more tests of
37406         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37407         minus_uflow.
37408         (scalbn_test): Use ALL_RM_TEST.
37409         (scalbln_test_data): Add more tests of negative arguments.  Use
37410         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37411         (scalbln_test): Use ALL_RM_TEST.
37413 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37415         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37417 2014-03-18  Will Newton  <will.newton@linaro.org>
37419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37420         inaccurate comment.
37422 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37424         * Makerules [!subdir] (check-abi): Exit with error status if a
37425         test failed.
37427 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37429         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37430         for rint.  Include results for all rounding modes.
37431         (nearbyint_test): Use ALL_RM_TEST.
37432         (rint_test_data): Include all tests used for nearbyint.
37434 2014-03-17  Will Newton  <will.newton@linaro.org>
37436         * nptl/sysdeps/pthread/pthread.h: Revert previous
37437         change.
37439         * sysdeps/generic/ldsodefs.h: Revert previous
37440         change.
37442         * libio/genops.c: Revert previous change.
37443         * libio/libioP.h: Likewise.
37444         * stdio-common/vfprintf.c: Likewise.
37446         * sysdeps/generic/math_private.h: Revert previous
37447         change.
37449         * sysdeps/generic/math_private.h: Check whether
37450         HAVE_RM_CTX is defined with #ifdef rather
37451         than #if.
37453         * argp/argp-fmtstream.h: Check whether
37454         __STRICT_ANSI__ is defined with #ifdef rather
37455         than #if.
37456         * argp/argp.h: Likewise.
37458         * libio/genops.c: Check whether
37459         _IO_JUMPS_OFFSET is defined with #ifdef rather
37460         than #if.
37461         * libio/libioP.h: Likewise.
37462         * stdio-common/vfprintf.c: Likewise.
37464         * sysdeps/generic/ldsodefs.h: Check whether
37465         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37466         than #if.
37468         * nptl/sysdeps/pthread/pthread.h: Check
37469         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37470         its value.
37472 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37474         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37475         setting O_APPEND.
37476         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37477         test case.
37479         [BZ #16680]
37480         * libio/fileops.c (_IO_file_open): Seek to end of file but
37481         don't cache the offset.
37482         (get_file_offset): Remove function.
37483         (do_ftell): Use cached offset when available.
37484         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37485         don't cache the offset.
37486         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37487         case.
37488         (do_one_test): Call it.
37489         (do_ftell_test): Fix up expected old offset for a+ mode.
37490         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37491         available.
37493         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37494         up test status with function return status.
37495         (do_write_test): Likewise.
37496         (do_append_test): Likewise.
37498         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37499         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37500         Remove.
37502 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37504         * math/gen-libm-test.pl (parse_args): Handle results specified for
37505         each rounding mode separately.
37506         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37507         tests and results from lrint_tonearest_test_data,
37508         lrint_towardzero_test_data, lrint_downward_test_data and
37509         lrint_upward_test_data.
37510         (lrint_test): Use ALL_RM_TEST.
37511         (lrint_tonearest_test_data): Remove.
37512         (lrint_test_tonearest): Likewise.
37513         (lrint_towardzero_test_data): Likewise.
37514         (lrint_test_towardzero): Likewise.
37515         (lrint_downward_test_data): Likewise.
37516         (lrint_test_downward): Likewise.
37517         (lrint_upward_test_data): Likewise.
37518         (lrint_test_upward): Likewise.
37519         (llrint_test_data): Merge in per-rounding-mode tests and results
37520         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37521         llrint_downward_test_data and llrint_upward_test_data.
37522         (llrint_test): Use ALL_RM_TEST.
37523         (llrint_tonearest_test_data): Remove.
37524         (llrint_test_tonearest): Likewise.
37525         (llrint_towardzero_test_data): Likewise.
37526         (llrint_test_towardzero): Likewise.
37527         (llrint_downward_test_data): Likewise.
37528         (llrint_test_downward): Likewise.
37529         (llrint_upward_test_data): Likewise.
37530         (llrint_test_upward): Likewise.
37531         (rint_test_data): Merge in per-rounding-mode tests and results
37532         from rint_tonearest_test_data, rint_towardzero_test_data,
37533         rint_downward_test_data and rint_upward_test_data.  Add
37534         per-rounding-mode results for tests not in those arrays.
37535         (rint_test): Use ALL_RM_TEST.
37536         (rint_tonearest_test_data): Remove.
37537         (rint_test_tonearest): Likewise.
37538         (rint_towardzero_test_data): Likewise.
37539         (rint_test_towardzero): Likewise.
37540         (rint_downward_test_data): Likewise.
37541         (rint_test_downward): Likewise.
37542         (rint_upward_test_data): Likewise.
37543         (rint_test_upward): Likewise.
37544         (main): Don't call removed functions.
37546 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37548         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37549         "Compiled on ..." crapola.  It is anti-useful.
37551 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37553         * scripts/evaluate-test.sh: Handle fourth argument to determine
37554         whether test run should stop on failure.
37555         * Makeconfig (stop-on-test-failure): New variable.
37556         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37557         $(stop-on-test-failure).
37558         * Makefile (tests): Give a summary of results from testing and
37559         exit with failure status if they include an ERROR or FAIL.
37560         (xtests): Likewise.
37561         * manual/install.texi (Configuring and compiling): Mention
37562         stop-on-test-failure=y.
37563         * INSTALL: Regenerated.
37565 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37567         * scripts/versionlist.awk: New file.
37568         * Makerules [$(build-shared) = yes]
37569         (postclean-generated): Add Versions.def, not Versions.def.v and
37570         Versions.def.v.i.
37571         ($(common-objpfx)Versions.def.v.i): Target removed.
37572         ($(common-objpfx)Versions.def): New target.
37573         ($(common-objpfx)Versions.all): Depend on that rather that
37574         $(common-objpfx)Versions.def.v.
37575         * Versions.def: File removed.
37577         * Makeconfig (+gccwarn): Add -Wundef.
37578         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37579         a dl-sysdep.h breaking its contract.
37580         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37581         * include/stackinfo.h: New file.
37582         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37583         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37584         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37585         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37586         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37587         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37588         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37589         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37590         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37591         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37592         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37593         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37594         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37595         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37596         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37598 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37600         [BZ #16707]
37601         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37602         implementation.
37603         * math/libm-test.inc (round_test_data): Add more tests.
37605         [BZ #16706]
37606         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37607         implementation.
37608         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37610         [BZ #16701]
37611         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37612         implementation.
37613         * math/libm-test.inc (ceil_test_data): Add more tests.
37615         * math/libm-test.inc (trunc_test_data): Add more tests related to
37616         BZ#16414.
37618 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37620         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37621         with #if rather than #ifdef.
37622         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37624 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37626         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37627         first.  Disable AVX-512 GCC support if assembler doesn't support
37628         it.
37629         * sysdeps/x86_64/configure: Regenerated.
37631 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37633         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37634         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37635         (__old_pthread_attr_setstack): Likewise.
37636         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37637         [!_STACK_GROWS_DOWN]: Likewise.
37639 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37641         * config.make.in (have-bash2): Delete.
37642         * configure.ac (libc_cv_have_bash2): Delete.
37643         * configure: Regenerate.
37644         * elf/Makefile (common-ldd-rewrite): Rename to ...
37645         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37646         (sh-ldd-rewrite): Delete.
37647         (bash-ldd-rewrite): Delete.
37648         (have-bash2): Delete checks.
37649         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37650         ldd-rewrite.
37652         * config.make.in (have-ksh): Delete.
37653         (KSH): Delete.
37654         * configure.ac (libc_cv_have_ksh): Delete.
37655         * configure: Regenerate.
37657         * elf/Makefile: Delete $(have-ksh) check.
37658         ($(objpfx)sotruss): Change KSH to BASH.
37659         * elf/sotruss.ksh: Rename to ...
37660         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37661         function style to match POSIX.  Drop ksh vim mode setting.
37663         * manual/time.texi (Specifying the Time Zone with TZ): Change
37664         Tuesday to Thursday.
37666         * debug/tst-longjmp_chk2.c: Update header comment.
37667         (stackoverflow_handler): Add comment.  Call assert on pass value.
37669 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37671         [BZ #16194]
37672         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37673         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37674         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37675         (La_x86_64_vector): Add zmm.
37676         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37677         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37678         ($(objpfx)tst-audit10): New target.
37679         ($(objpfx)tst-audit10.out): Likewise.
37680         (tst-audit10-ENV): New.
37681         (AVX512-CFLAGS): Likewise.
37682         (CFLAGS-tst-audit10.c): Likewise.
37683         (CFLAGS-tst-auditmod10a.c): Likewise.
37684         (CFLAGS-tst-auditmod10b.c): Likewise.
37685         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37686         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37687         * sysdeps/x86_64/configure: Regenerated.
37688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37689         AVX-512 zmm register support.
37690         (_dl_x86_64_save_sse): Likewise.
37691         (_dl_x86_64_restore_sse): Likewise.
37692         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37693         size vector registers.
37694         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37695         (ZMM_SIZE): Likewise.
37696         * sysdeps/x86_64/tst-audit10.c: New file.
37697         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37698         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37700 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37702         * configure.ac (HAVE_EHDR_START): New check.
37703         * configure: Regenerated.
37704         * config.h.in (HAVE_EHDR_START): New #undef.
37705         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37706         assuming the lowest-addressed segment maps the start of the file.
37708 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37710         * INSTALL: Regenerated.
37712 2014-03-13  Will Newton  <will.newton@linaro.org>
37714         * manual/setjmp.texi (System V contexts): Improve
37715         clarity and grammar of documentation.
37717 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37719         [BZ #16381]
37720         * elf/Makefile (tests): Add tst-pie2.
37721         (tests-pie): Add tst-pie2.
37722         * elf/tst-pie2.c: New file.
37723         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37724         for ET_EXEC.
37725         * elf/rtld.c (map_doit): Load executable as lt_executable.
37726         (dl_main): Likewise.
37728 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37730         [BZ #16642]
37731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37732         (__ASSUME_PSELECT): Undefine.
37734 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37736         [BZ #16689]
37737         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37738         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37739         static build.
37740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37741         selector for static builds.
37743 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37745         [BZ #16695]
37746         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37747         key in the buffer.
37749 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37751         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37752         IFUNC selector for static builds.
37754 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37756         * sysdeps/mips/math_private.h [__mips_hard_float]
37757         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37758         libc_feresetround_mips_ctx.
37759         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37760         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37761         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37763         [BZ #16677]
37764         * math/s_nextafter.c (__nextafter): Do not return value from
37765         overflowing computation.
37766         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37767         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37768         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37769         Likewise.
37770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37771         Likewise.
37772         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37773         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37775 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37777         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37778         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37779         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37780         the new mov targetting sp.
37782 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37784         [BZ #16683]
37785         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37786         Define it for static builds as well.
37787         (NO_BZERO_IMPL): Likewise.
37789 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37791         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37792         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37793         multiarch strspn for PPC64.
37794         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37795         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37797         (__libc_ifunc_impl_list): Likewise.
37798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37799         multiarch optimizations
37800         * string/strspn.c (strspn): Using macro to redefine symbol name.
37802 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37805         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37806         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37807         multiarch strncat for PPC64.
37808         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37809         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37811         (__libc_ifunc_impl_list): Likewise.
37812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37813         multiarch optimizations
37815 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37817         [BZ #16639]
37818         * nscd/nscd.service: Make service type forking.
37820 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37822         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37823         sign in non default rounding modes.
37824         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37826 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37828         * math/libm-test.inc (ALL_RM_TEST): New macro.
37829         (ceil_test): Use ALL_RM_TEST.
37830         (cimag_test): Likewise.
37831         (conj_test): Likewise.
37832         (copysign_test): Likewise.
37833         (cproj_test): Likewise.
37834         (creal_test): Likewise.
37835         (fabs_test): Likewise.
37836         (floor_test): Likewise.
37837         (fmax_test): Likewise.
37838         (fmin_test): Likewise.
37839         (fmod_test): Likewise.
37840         (fpclassify_test): Likewise.
37841         (frexp_test): Likewise.
37842         (ilogb_test): Likewise.
37843         (isfinite_test): Likewise.
37844         (finite_test): Likewise.
37845         (isgreater_test): Likewise.
37846         (isgreaterequal_test): Likewise.
37847         (isinf_test): Likewise.
37848         (isless_test): Likewise.
37849         (islessequal_test): Likewise.
37850         (islessgreater_test): Likewise.
37851         (isnan_test): Likewise.
37852         (isnormal_test): Likewise.
37853         (issignaling_test): Likewise.
37854         (isunordered_test): Likewise.
37855         (logb_test): Likewise.
37856         (logb_downward_test_data): Remove.
37857         (logb_test_downward): Likewise.
37858         (lround_test): Use ALL_RM_TEST.
37859         (llround_test): Likewise.
37860         (modf_test): Likewise.
37861         (nexttoward_test): Likewise.
37862         (remainder_test): Likewise.
37863         (drem_test): Likewise.
37864         (remainder_tonearest_test_data): Likewise.
37865         (remainder_test_tonearest): Likewise.
37866         (drem_test_tonearest): Likewise.
37867         (remainder_towardzero_test_data): Likewise.
37868         (remainder_test_towardzero): Likewise.
37869         (drem_test_towardzero): Likewise.
37870         (remainder_downward_test_data): Likewise.
37871         (remainder_test_downward): Likewise.
37872         (drem_test_downward): Likewise.
37873         (remainder_upward_test_data): Likewise.
37874         (remainder_test_upward): Likewise.
37875         (drem_test_upward): Likewise.
37876         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37877         (round_test): Use ALL_RM_TEST.
37878         (signbit_test): Likewise.
37879         (trunc_test): Likewise.
37880         (significand_test): Likewise.
37881         (main): Don't call removed functions.
37883 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37885         [BZ #16674]
37886         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37887         || __USE_XOPEN2K8].
37888         (ILL_ILLOPN): Likewise.
37889         (ILL_ILLADR): Likewise.
37890         (ILL_ILLTRP): Likewise.
37891         (ILL_PRVOPC): Likewise.
37892         (ILL_PRVREG): Likewise.
37893         (ILL_COPROC): Likewise.
37894         (ILL_BADSTK): Likewise.
37895         (FPE_INTDIV): Likewise.
37896         (FPE_INTOVF): Likewise.
37897         (FPE_FLTDIV): Likewise.
37898         (FPE_FLTOVF): Likewise.
37899         (FPE_FLTUND): Likewise.
37900         (FPE_FLTRES): Likewise.
37901         (FPE_FLTINV): Likewise.
37902         (FPE_FLTSUB): Likewise.
37903         (SEGV_MAPERR): Likewise.
37904         (SEGV_ACCERR): Likewise.
37905         (BUS_ADRALN): Likewise.
37906         (BUS_ADRERR): Likewise.
37907         (BUS_OBJERR): Likewise.
37908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37909         (TRAP_TRACE): Likewise.
37910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37911         __USE_XOPEN2K8].
37912         (CLD_KILLED): Likewise.
37913         (CLD_DUMPED): Likewise.
37914         (CLD_TRAPPED): Likewise.
37915         (CLD_STOPPED): Likewise.
37916         (CLD_CONTINUED): Likewise.
37917         (POLL_IN): Likewise.
37918         (POLL_OUT): Likewise.
37919         (POLL_MSG): Likewise.
37920         (POLL_ERR): Likewise.
37921         (POLL_PRI): Likewise.
37922         (POLL_HUP): Likewise.
37923         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37924         Likewise.
37925         (ILL_ILLOPN): Likewise.
37926         (ILL_ILLADR): Likewise.
37927         (ILL_ILLTRP): Likewise.
37928         (ILL_PRVOPC): Likewise.
37929         (ILL_PRVREG): Likewise.
37930         (ILL_COPROC): Likewise.
37931         (ILL_BADSTK): Likewise.
37932         (FPE_INTDIV): Likewise.
37933         (FPE_INTOVF): Likewise.
37934         (FPE_FLTDIV): Likewise.
37935         (FPE_FLTOVF): Likewise.
37936         (FPE_FLTUND): Likewise.
37937         (FPE_FLTRES): Likewise.
37938         (FPE_FLTINV): Likewise.
37939         (FPE_FLTSUB): Likewise.
37940         (SEGV_MAPERR): Likewise.
37941         (SEGV_ACCERR): Likewise.
37942         (BUS_ADRALN): Likewise.
37943         (BUS_ADRERR): Likewise.
37944         (BUS_OBJERR): Likewise.
37945         (BUS_MCEERR_AR): Likewise.
37946         (BUS_MCEERR_AO): Likewise.
37947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37948         (TRAP_TRACE): Likewise.
37949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37950         __USE_XOPEN2K8].
37951         (CLD_KILLED): Likewise.
37952         (CLD_DUMPED): Likewise.
37953         (CLD_TRAPPED): Likewise.
37954         (CLD_STOPPED): Likewise.
37955         (CLD_CONTINUED): Likewise.
37956         (POLL_IN): Likewise.
37957         (POLL_OUT): Likewise.
37958         (POLL_MSG): Likewise.
37959         (POLL_ERR): Likewise.
37960         (POLL_PRI): Likewise.
37961         (POLL_HUP): Likewise.
37962         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37963         (ILL_ILLOPN): Likewise.
37964         (ILL_ILLADR): Likewise.
37965         (ILL_ILLTRP): Likewise.
37966         (ILL_PRVOPC): Likewise.
37967         (ILL_PRVREG): Likewise.
37968         (ILL_COPROC): Likewise.
37969         (ILL_BADSTK): Likewise.
37970         (FPE_INTDIV): Likewise.
37971         (FPE_INTOVF): Likewise.
37972         (FPE_FLTDIV): Likewise.
37973         (FPE_FLTOVF): Likewise.
37974         (FPE_FLTUND): Likewise.
37975         (FPE_FLTRES): Likewise.
37976         (FPE_FLTINV): Likewise.
37977         (FPE_FLTSUB): Likewise.
37978         (SEGV_MAPERR): Likewise.
37979         (SEGV_ACCERR): Likewise.
37980         (BUS_ADRALN): Likewise.
37981         (BUS_ADRERR): Likewise.
37982         (BUS_OBJERR): Likewise.
37983         (BUS_MCEERR_AR): Likewise.
37984         (BUS_MCEERR_AO): Likewise.
37985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37986         (TRAP_TRACE): Likewise.
37987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37988         __USE_XOPEN2K8].
37989         (CLD_KILLED): Likewise.
37990         (CLD_DUMPED): Likewise.
37991         (CLD_TRAPPED): Likewise.
37992         (CLD_STOPPED): Likewise.
37993         (CLD_CONTINUED): Likewise.
37994         (POLL_IN): Likewise.
37995         (POLL_OUT): Likewise.
37996         (POLL_MSG): Likewise.
37997         (POLL_ERR): Likewise.
37998         (POLL_PRI): Likewise.
37999         (POLL_HUP): Likewise.
38000         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38001         Likewise.
38002         (ILL_ILLOPN): Likewise.
38003         (ILL_ILLADR): Likewise.
38004         (ILL_ILLTRP): Likewise.
38005         (ILL_PRVOPC): Likewise.
38006         (ILL_PRVREG): Likewise.
38007         (ILL_COPROC): Likewise.
38008         (ILL_BADSTK): Likewise.
38009         (ILL_BADIADDR): Likewise.
38010         (ILL_BREAK): Likewise.
38011         (FPE_INTDIV): Likewise.
38012         (FPE_INTOVF): Likewise.
38013         (FPE_FLTDIV): Likewise.
38014         (FPE_FLTOVF): Likewise.
38015         (FPE_FLTUND): Likewise.
38016         (FPE_FLTRES): Likewise.
38017         (FPE_FLTINV): Likewise.
38018         (FPE_FLTSUB): Likewise.
38019         (FPE_DECOVF): Likewise.
38020         (FPE_DECDIV): Likewise.
38021         (FPE_DECERR): Likewise.
38022         (FPE_INVASC): Likewise.
38023         (FPE_INVDEC): Likewise.
38024         (SEGV_MAPERR): Likewise.
38025         (SEGV_ACCERR): Likewise.
38026         (SEGV_PSTKOVF): Likewise.
38027         (BUS_ADRALN): Likewise.
38028         (BUS_ADRERR): Likewise.
38029         (BUS_OBJERR): Likewise.
38030         (BUS_MCEERR_AR): Likewise.
38031         (BUS_MCEERR_AO): Likewise.
38032         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38033         (TRAP_TRACE): Likewise.
38034         (TRAP_BRANCH): Likewise.
38035         (TRAP_HWBKPT): Likewise.
38036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38037         __USE_XOPEN2K8].
38038         (CLD_KILLED): Likewise.
38039         (CLD_DUMPED): Likewise.
38040         (CLD_TRAPPED): Likewise.
38041         (CLD_STOPPED): Likewise.
38042         (CLD_CONTINUED): Likewise.
38043         (POLL_IN): Likewise.
38044         (POLL_OUT): Likewise.
38045         (POLL_MSG): Likewise.
38046         (POLL_ERR): Likewise.
38047         (POLL_PRI): Likewise.
38048         (POLL_HUP): Likewise.
38049         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38050         (ILL_ILLOPN): Likewise.
38051         (ILL_ILLADR): Likewise.
38052         (ILL_ILLTRP): Likewise.
38053         (ILL_PRVOPC): Likewise.
38054         (ILL_PRVREG): Likewise.
38055         (ILL_COPROC): Likewise.
38056         (ILL_BADSTK): Likewise.
38057         (FPE_INTDIV): Likewise.
38058         (FPE_INTOVF): Likewise.
38059         (FPE_FLTDIV): Likewise.
38060         (FPE_FLTOVF): Likewise.
38061         (FPE_FLTUND): Likewise.
38062         (FPE_FLTRES): Likewise.
38063         (FPE_FLTINV): Likewise.
38064         (FPE_FLTSUB): Likewise.
38065         (SEGV_MAPERR): Likewise.
38066         (SEGV_ACCERR): Likewise.
38067         (BUS_ADRALN): Likewise.
38068         (BUS_ADRERR): Likewise.
38069         (BUS_OBJERR): Likewise.
38070         (BUS_MCEERR_AR): Likewise.
38071         (BUS_MCEERR_AO): Likewise.
38072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38073         (TRAP_TRACE): Likewise.
38074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38075         __USE_XOPEN2K8].
38076         (CLD_KILLED): Likewise.
38077         (CLD_DUMPED): Likewise.
38078         (CLD_TRAPPED): Likewise.
38079         (CLD_STOPPED): Likewise.
38080         (CLD_CONTINUED): Likewise.
38081         (POLL_IN): Likewise.
38082         (POLL_OUT): Likewise.
38083         (POLL_MSG): Likewise.
38084         (POLL_ERR): Likewise.
38085         (POLL_PRI): Likewise.
38086         (POLL_HUP): Likewise.
38087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38088         (ILL_ILLOPN): Likewise.
38089         (ILL_ILLADR): Likewise.
38090         (ILL_ILLTRP): Likewise.
38091         (ILL_PRVOPC): Likewise.
38092         (ILL_PRVREG): Likewise.
38093         (ILL_COPROC): Likewise.
38094         (ILL_BADSTK): Likewise.
38095         (FPE_INTDIV): Likewise.
38096         (FPE_INTOVF): Likewise.
38097         (FPE_FLTDIV): Likewise.
38098         (FPE_FLTOVF): Likewise.
38099         (FPE_FLTUND): Likewise.
38100         (FPE_FLTRES): Likewise.
38101         (FPE_FLTINV): Likewise.
38102         (FPE_FLTSUB): Likewise.
38103         (SEGV_MAPERR): Likewise.
38104         (SEGV_ACCERR): Likewise.
38105         (BUS_ADRALN): Likewise.
38106         (BUS_ADRERR): Likewise.
38107         (BUS_OBJERR): Likewise.
38108         (BUS_MCEERR_AR): Likewise.
38109         (BUS_MCEERR_AO): Likewise.
38110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38111         (TRAP_TRACE): Likewise.
38112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38113         __USE_XOPEN2K8].
38114         (CLD_KILLED): Likewise.
38115         (CLD_DUMPED): Likewise.
38116         (CLD_TRAPPED): Likewise.
38117         (CLD_STOPPED): Likewise.
38118         (CLD_CONTINUED): Likewise.
38119         (POLL_IN): Likewise.
38120         (POLL_OUT): Likewise.
38121         (POLL_MSG): Likewise.
38122         (POLL_ERR): Likewise.
38123         (POLL_PRI): Likewise.
38124         (POLL_HUP): Likewise.
38125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38126         (ILL_ILLOPN): Likewise.
38127         (ILL_ILLADR): Likewise.
38128         (ILL_ILLTRP): Likewise.
38129         (ILL_PRVOPC): Likewise.
38130         (ILL_PRVREG): Likewise.
38131         (ILL_COPROC): Likewise.
38132         (ILL_BADSTK): Likewise.
38133         (FPE_INTDIV): Likewise.
38134         (FPE_INTOVF): Likewise.
38135         (FPE_FLTDIV): Likewise.
38136         (FPE_FLTOVF): Likewise.
38137         (FPE_FLTUND): Likewise.
38138         (FPE_FLTRES): Likewise.
38139         (FPE_FLTINV): Likewise.
38140         (FPE_FLTSUB): Likewise.
38141         (SEGV_MAPERR): Likewise.
38142         (SEGV_ACCERR): Likewise.
38143         (BUS_ADRALN): Likewise.
38144         (BUS_ADRERR): Likewise.
38145         (BUS_OBJERR): Likewise.
38146         (BUS_MCEERR_AR): Likewise.
38147         (BUS_MCEERR_AO): Likewise.
38148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38149         (TRAP_TRACE): Likewise.
38150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38151         __USE_XOPEN2K8].
38152         (CLD_KILLED): Likewise.
38153         (CLD_DUMPED): Likewise.
38154         (CLD_TRAPPED): Likewise.
38155         (CLD_STOPPED): Likewise.
38156         (CLD_CONTINUED): Likewise.
38157         (POLL_IN): Likewise.
38158         (POLL_OUT): Likewise.
38159         (POLL_MSG): Likewise.
38160         (POLL_ERR): Likewise.
38161         (POLL_PRI): Likewise.
38162         (POLL_HUP): Likewise.
38163         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38164         (ILL_ILLOPN): Likewise.
38165         (ILL_ILLADR): Likewise.
38166         (ILL_ILLTRP): Likewise.
38167         (ILL_PRVOPC): Likewise.
38168         (ILL_PRVREG): Likewise.
38169         (ILL_COPROC): Likewise.
38170         (ILL_BADSTK): Likewise.
38171         (ILL_DBLFLT): Likewise.
38172         (ILL_HARDWALL): Likewise.
38173         (FPE_INTDIV): Likewise.
38174         (FPE_INTOVF): Likewise.
38175         (FPE_FLTDIV): Likewise.
38176         (FPE_FLTOVF): Likewise.
38177         (FPE_FLTUND): Likewise.
38178         (FPE_FLTRES): Likewise.
38179         (FPE_FLTINV): Likewise.
38180         (FPE_FLTSUB): Likewise.
38181         (SEGV_MAPERR): Likewise.
38182         (SEGV_ACCERR): Likewise.
38183         (BUS_ADRALN): Likewise.
38184         (BUS_ADRERR): Likewise.
38185         (BUS_OBJERR): Likewise.
38186         (BUS_MCEERR_AR): Likewise.
38187         (BUS_MCEERR_AO): Likewise.
38188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38189         (TRAP_TRACE): Likewise.
38190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38191         __USE_XOPEN2K8].
38192         (CLD_KILLED): Likewise.
38193         (CLD_DUMPED): Likewise.
38194         (CLD_TRAPPED): Likewise.
38195         (CLD_STOPPED): Likewise.
38196         (CLD_CONTINUED): Likewise.
38197         (POLL_IN): Likewise.
38198         (POLL_OUT): Likewise.
38199         (POLL_MSG): Likewise.
38200         (POLL_ERR): Likewise.
38201         (POLL_PRI): Likewise.
38202         (POLL_HUP): Likewise.
38203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38204         (ILL_ILLOPN): Likewise.
38205         (ILL_ILLADR): Likewise.
38206         (ILL_ILLTRP): Likewise.
38207         (ILL_PRVOPC): Likewise.
38208         (ILL_PRVREG): Likewise.
38209         (ILL_COPROC): Likewise.
38210         (ILL_BADSTK): Likewise.
38211         (FPE_INTDIV): Likewise.
38212         (FPE_INTOVF): Likewise.
38213         (FPE_FLTDIV): Likewise.
38214         (FPE_FLTOVF): Likewise.
38215         (FPE_FLTUND): Likewise.
38216         (FPE_FLTRES): Likewise.
38217         (FPE_FLTINV): Likewise.
38218         (FPE_FLTSUB): Likewise.
38219         (SEGV_MAPERR): Likewise.
38220         (SEGV_ACCERR): Likewise.
38221         (BUS_ADRALN): Likewise.
38222         (BUS_ADRERR): Likewise.
38223         (BUS_OBJERR): Likewise.
38224         (BUS_MCEERR_AR): Likewise.
38225         (BUS_MCEERR_AO): Likewise.
38226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38227         (TRAP_TRACE): Likewise.
38228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38229         __USE_XOPEN2K8].
38230         (CLD_KILLED): Likewise.
38231         (CLD_DUMPED): Likewise.
38232         (CLD_TRAPPED): Likewise.
38233         (CLD_STOPPED): Likewise.
38234         (CLD_CONTINUED): Likewise.
38235         (POLL_IN): Likewise.
38236         (POLL_OUT): Likewise.
38237         (POLL_MSG): Likewise.
38238         (POLL_ERR): Likewise.
38239         (POLL_PRI): Likewise.
38240         (POLL_HUP): Likewise.
38241         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38242         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38244         [BZ #16670]
38245         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38246         before #include of <time.h>.
38247         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38248         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38249         (test-xfail-UNIX98/sched.h/conform): Likewise.
38251 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38253         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38254         error absence of trapping exception support.
38255         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38257 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38259         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38260         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38261         * timezone/Makefile (testdata): Move definition above include of
38262         Rules.
38263         (test-zones): New variable.
38264         (tests-special): Add zone files.
38265         (build-testdata): Use $(evaluate-test).
38267         * elf/Makefile (tests-special): Rename tests to end with .out.
38268         ($(objpfx)noload-mem): Likewise.
38269         ($(objpfx)tst-leaks1-mem): Likewise.
38270         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38271         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38272         $(objpfx)test-iconvconfig.out.
38273         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38274         set -e inside subshell and redirect output to file.
38275         * iconvdata/Makefile (generated): Rename tests to end with .out.
38276         Correct type.
38277         (tests-special): Rename tests to end with .out.
38278         ($(objpfx)mtrace-tst-loading): Likewise.
38279         * intl/Makefile (generated): Likewise.
38280         (tests-special): Likewise.
38281         ($(objpfx)mtrace-tst-gettext): Likewise.
38282         * misc/Makefile (generated): Likewise.
38283         (tests-special): Likewise.
38284         ($(objpfx)tst-error1-mem): Likewise.
38285         * nptl/Makefile (tests-special): Likewise.
38286         ($(objpfx)tst-stack3-mem): Likewise.
38287         (generated): Likewise.
38288         * posix/Makefile (generated): Likewise.
38289         (tests-special): Likewise.
38290         (xtests-special): Likewise.
38291         ($(objpfx)tst-fnmatch-mem): Likewise.
38292         ($(objpfx)bug-regex2-mem): Likewise.
38293         ($(objpfx)bug-regex14-mem): Likewise.
38294         ($(objpfx)bug-regex21-mem): Likewise.
38295         ($(objpfx)bug-regex31-mem): Likewise.
38296         ($(objpfx)tst-vfork3-mem): Likewise.
38297         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38298         ($(objpfx)tst-pcre-mem): Likewise.
38299         ($(objpfx)tst-boost-mem): Likewise.
38300         ($(objpfx)bug-ga2-mem): Likewise.
38301         ($(objpfx)bug-glob2-mem): Likewise.
38302         * resolv/Makefile (generate): Likewise.
38303         (tests-special): Likewise.
38304         (xtests-special): Likewise.
38305         (generated): Likewise.
38306         ($(objpfx)mtrace-tst-leaks): Likewise.
38307         ($(objpfx)mtrace-tst-leaks2): Likewise.
38309         * scripts/merge-test-results.sh: New file.
38310         * Makefile (tests-special-notdir): New variable.
38311         (tests): Run merge-test-results.sh.
38312         (xtests): Likewise.
38313         * Rules (tests-special-notdir): New variable.
38314         (xtests-special-notdir): Likewise.
38315         (tests): Run merge-test-results.sh
38316         (xtests): Likewise.
38318         * Makeconfig (test-xfail-name): New variable.
38319         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38320         compute variable name for expected failures.
38321         * conform/Makefile (conformtest-headers-data): New variable.
38322         (conformtest-standards): Likewise.
38323         (conformtest-headers-ISO): Likewise.
38324         (conformtest-headers-ISO99): Likewise.
38325         (conformtest-headers-ISO11): Likewise.
38326         (conformtest-headers-POSIX): Likewise.
38327         (conformtest-headers-XPG3): Likewise.
38328         (conformtest-headers-XPG4): Likewise.
38329         (conformtest-headers-UNIX98): Likewise.
38330         (conformtest-headers-XOPEN2K): Likewise.
38331         (conformtest-headers-POSIX2008): Likewise.
38332         (conformtest-headers-XOPEN2K8): Likewise.
38333         (conformtest-header-list-base): Likewise.
38334         (conformtest-header-list-tests): Likewise.
38335         (conformtest-header-base): Likewise.
38336         (conformtest-header-tests): Likewise.
38337         (tests-special): Add $(conformtest-header-list-tests).  If
38338         [$(fast-check) && !$(cross-compiling)], add
38339         $(conformtest-header-tests) instead of
38340         $(objpfx)run-conformtest.out.
38341         (generated): Add $(conformtest-header-list-base).  If
38342         [$(fast-check) && !$(cross-compiling)], add
38343         $(conformtest-header-base).  Remove previous setting.
38344         ($(conformtest-header-list-tests)): New target.
38345         (test-xfail-run-conformtest): Remove variable.
38346         ($(objpfx)run-conformtest.out): Remove target.
38347         (test-xfail-ISO11/complex.h/conform): New variable.
38348         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38349         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38350         (test-xfail-XPG3/varargs.h/conform): Likewise.
38351         (test-xfail-XPG4/varargs.h/conform): Likewise.
38352         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38353         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38354         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38355         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38356         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38357         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38358         (test-xfail-XPG3/ftw.h/conform): Likewise.
38359         (test-xfail-XPG3/grp.h/conform): Likewise.
38360         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38361         (test-xfail-XPG3/limits.h/conform): Likewise.
38362         (test-xfail-XPG3/pwd.h/conform): Likewise.
38363         (test-xfail-XPG3/search.h/conform): Likewise.
38364         (test-xfail-XPG3/signal.h/conform): Likewise.
38365         (test-xfail-XPG3/stdio.h/conform): Likewise.
38366         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38367         (test-xfail-XPG3/string.h/conform): Likewise.
38368         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38369         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38370         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38371         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38372         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38373         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38374         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38375         (test-xfail-XPG3/termios.h/conform): Likewise.
38376         (test-xfail-XPG3/time.h/conform): Likewise.
38377         (test-xfail-XPG3/unistd.h/conform): Likewise.
38378         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38379         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38380         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38381         (test-xfail-XPG4/netdb.h/conform): Likewise.
38382         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38383         (test-xfail-XPG4/signal.h/conform): Likewise.
38384         (test-xfail-XPG4/stdio.h/conform): Likewise.
38385         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38386         (test-xfail-XPG4/stropts.h/conform): Likewise.
38387         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38388         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38389         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38390         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38391         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38392         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38393         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38394         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38395         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38396         (test-xfail-XPG4/termios.h/conform): Likewise.
38397         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38398         (test-xfail-XPG4/unistd.h/conform): Likewise.
38399         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38400         (test-xfail-POSIX/sched.h/conform): Likewise.
38401         (test-xfail-POSIX/signal.h/conform): Likewise.
38402         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38403         (test-xfail-POSIX/tar.h/conform): Likewise.
38404         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38405         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38406         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38407         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38408         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38409         (test-xfail-UNIX98/sched.h/conform): Likewise.
38410         (test-xfail-UNIX98/signal.h/conform): Likewise.
38411         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38412         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38413         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38414         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38415         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38416         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38417         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38418         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38419         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38420         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38421         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38422         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38423         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38424         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38425         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38426         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38427         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38428         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38429         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38430         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38431         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38432         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38433         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38434         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38435         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38436         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38437         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38438         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38439         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38440         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38441         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38442         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38443         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38444         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38445         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38446         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38447         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38448         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38449         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38450         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38451         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38452         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38453         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38454         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38455         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38456         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38457         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38458         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38459         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38460         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38461         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38462         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38463         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38464         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38465         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38466         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38467         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38468         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38469         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38470         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38471         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38472         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38473         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38474         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38475         (conformtest-cc-flags): Likewise.
38476         ($(conformtest-header-tests): New target.
38477         * conform/check-header-lists.sh: New file.
38478         * conform/run-conformtest.sh: Remove.
38480         * conform/conformtest.pl: Allow ' and \ in values given for
38481         constants.
38482         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38483         inclusion.
38484         [POSIX] (sys/types.h): Likewise.
38485         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38486         inclusion.
38487         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38488         inclusion.
38489         * conform/data/signal.h-data (SIGIO): Remove expectation.
38490         [XPG3] (SIGBUS): Do not expect.
38491         [POSIX || XPG3] (SIGPOLL): Likewise.
38492         [POSIX || XPG3] (SIGPROF): Likewise.
38493         [POSIX || XPG3] (SIGSYS): Likewise.
38494         [XPG3] (SIGTRAP): Likewise.
38495         [POSIX || XPG3] (SIGURG): Likewise.
38496         [POSIX || XPG3] (SIGVTALRM): Likewise.
38497         [POSIX || XPG3] (SIGXCPU): Likewise.
38498         [POSIX || XPG3] (SIGXFSZ): Likewise.
38499         [POSIX] (SA_SIGINFO): Expect.
38500         [XPG3] (siginfo_t): Do not expect type or contents.
38501         [POSIX] (si_pid): Do not expect element.
38502         [POSIX] (si_uid): Likewise.
38503         [POSIX] (si_addr): Likewise.
38504         [POSIX] (si_status): Likewise.
38505         [POSIX] (si_band): Likewise.
38506         [XPG4] (si_value): Likewise.
38507         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38508         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38509         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38510         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38511         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38512         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38513         [POSIX || XPG3] (ILL_COPROC): Likewise.
38514         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38515         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38516         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38517         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38518         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38519         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38520         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38521         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38522         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38523         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38524         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38525         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38526         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38527         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38528         [POSIX || XPG3] (CLD_EXITED): Likewise.
38529         [POSIX || XPG3] (CLD_KILLED): Likewise.
38530         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38531         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38532         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38533         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38534         [POSIX || XPG3] (POLL_IN): Likewise.
38535         [POSIX || XPG3] (POLL_OUT): Likewise.
38536         [POSIX || XPG3] (POLL_MSG): Likewise.
38537         [POSIX || XPG3] (POLL_ERR): Likewise.
38538         [POSIX || XPG3] (POLL_PRI): Likewise.
38539         [POSIX || XPG3] (POLL_HUP): Likewise.
38540         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38541         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38542         (SIG*): Do not allow.
38543         [XPG3] (si_*): Likewise.
38544         [XPG3] (SI_*): Likewise.
38545         [XPG3 || XPG4] (sigev_*): Likewise.
38546         [XPG3 || XPG4] (SIGEV_*): Likewise.
38547         [XPG3 || XPG4] (sival_*): Likewise.
38548         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38549         [POSIX || XPG3] (BUS_*): Likewise.
38550         [POSIX || XPG3] (CLD_*): Likewise.
38551         [POSIX || XPG3] (FPE_*): Likewise.
38552         [POSIX || XPG3] (ILL_*): Likewise.
38553         [POSIX || XPG3] (POLL_*): Likewise.
38554         [POSIX || XPG3] (SEGV_*): Likewise.
38555         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38556         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38557         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38558         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38559         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38560         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38561         Specify type and value.
38562         (TVERSLEN): Likewise.
38563         (REGTYPE): Likewise.
38564         (AREGTYPE): Likewise.
38565         (LNKTYPE): Likewise.
38566         (SYMTYPE): Likewise.
38567         (CHRTYPE): Likewise.
38568         (BLKTYPE): Likewise.
38569         (DIRTYPE): Likewise.
38570         (FIFOTYPE): Likewise.
38571         (CONTTYPE): Likewise.
38572         (TSUID): Likewise.
38573         (TSGID): Likewise.
38574         (TSVTX): Likewise.
38575         (TUREAD): Likewise.
38576         (TUWRITE): Likewise.
38577         (TUEXEC): Likewise.
38578         (TGREAD): Likewise.
38579         (TGWRITE): Likewise.
38580         (TGEXEC): Likewise.
38581         (TOREAD): Likewise.
38582         (TOWRITE): Likewise.
38583         (TOEXEC): Likewise.
38584         [POSIX] (TSVTX): Expect constant.
38586 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38588         * Makefile (tests): Change dependencies to ....
38589         (tests-special): ... additions to this variable.
38590         (tests): Depend on $(tests-special).
38591         * Makerules (check-abi-list): New variable.
38592         (check-abi): Depend on $(check-abi-list).
38593         [$(subdir) = elf] (tests-special): Add
38594         $(objpfx)check-abi-libc.out.
38595         [$(build-shared) = yes && subdir] (tests-special): Add
38596         $(check-abi-list).
38597         [$(build-shared) = yes && subdir] (tests): Do not depend on
38598         check-abi.
38599         * Rules (tests): Depend on $(tests-special).
38600         (xtests): Depend on $(xtests-special).
38601         * catgets/Makefile (tests): Change dependencies to ....
38602         (tests-special): ... additions to this variable.
38603         * conform/Makefile (tests): Change dependencies to ....
38604         (tests-special): ... additions to this variable.
38605         * elf/Makefile (tests): Change dependencies to ....
38606         (tests-special): ... additions to this variable.
38607         * grp/Makefile (tests): Change dependencies to ....
38608         (tests-special): ... additions to this variable.
38609         * iconv/Makefile (xtests): Change dependencies to ....
38610         (xtests-special): ... additions to this variable.
38611         * iconvdata/Makefile (tests): Change dependencies to ....
38612         (tests-special): ... additions to this variable.
38613         * intl/Makefile (tests): Change dependencies to ....
38614         (tests-special): ... additions to this variable.  Also add
38615         $(objpfx)tst-gettext.out.
38616         * io/Makefile (tests): Change dependencies to ....
38617         (tests-special): ... additions to this variable.
38618         * libio/Makefile (tests): Change dependencies to ....
38619         (tests-special): ... additions to this variable.
38620         * malloc/Makefile (tests): Change dependencies to ....
38621         (tests-special): ... additions to this variable.
38622         * misc/Makefile (tests): Change dependencies to ....
38623         (tests-special): ... additions to this variable.
38624         * nptl/Makefile (tests): Change dependencies to ....
38625         (tests-special): ... additions to this variable.
38626         * nptl_db/Makefile (tests): Change dependencies to ....
38627         (tests-special): ... additions to this variable.
38628         * posix/Makefile (tests): Change dependencies to ....
38629         (tests-special): ... additions to this variable.
38630         (xtests): Change dependencies to ....
38631         (xtests-special): ... additions to this variable.
38632         * resolv/Makefile (tests): Change dependencies to ....
38633         (tests-special): ... additions to this variable.
38634         (xtests): Change dependencies to ....
38635         (xtests-special): ... additions to this variable.
38636         * stdio-common/Makefile (tests): Change dependencies to ....
38637         (tests-special): ... additions to this variable.
38638         (do-tst-unbputc): Remove target.
38639         (do-tst-printf): Likewise.
38640         * stdlib/Makefile (tests): Change dependencies to ....
38641         (tests-special): ... additions to this variable.
38642         * string/Makefile (tests): Change dependencies to ....
38643         (tests-special): ... additions to this variable.
38644         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38645         (tests-special): ... additions to this variable.
38647         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38648         whole file.
38649         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38650         whole file.
38651         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38652         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38654         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38655         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38656         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38657         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38658         * conform/data/libgen.h-data [XPG3]: Likewise.
38659         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38660         * conform/data/ndbm.h-data [XPG3]: Likewise.
38661         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38662         * conform/data/netdb.h-data [XPG3]: Likewise.
38663         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38664         * conform/data/poll.h-data [XPG3]: Likewise.
38665         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38666         * conform/data/strings.h-data [XPG3]: Likewise.
38667         * conform/data/stropts.h-data [XPG3]: Likewise.
38668         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38669         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38670         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38671         Likewise.
38672         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38673         * conform/data/sys/time.h-data [XPG3]: Likewise.
38674         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38675         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38676         * conform/data/sys/un.h-data [XPG3]: Likewise.
38677         * conform/data/syslog.h-data [XPG3]: Likewise.
38678         * conform/data/ucontext.h-data [XPG3]: Likewise.
38679         * conform/data/utmpx.h-data [XPG3]: Likewise.
38680         * conform/data/varargs.h-data [UNIX98]: Enable file.
38682         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38684         * math/libm-test.inc (struct test_f_f_data): Move expected results
38685         into structure for each rounding mode.
38686         (struct test_ff_f_data): Likewise.
38687         (struct test_ff_f_data_nexttoward): Likewise.
38688         (struct test_fi_f_data): Likewise.
38689         (struct test_fl_f_data): Likewise.
38690         (struct test_if_f_data): Likewise.
38691         (struct test_fff_f_data): Likewise.
38692         (struct test_c_f_data): Likewise.
38693         (struct test_f_f1_data): Likewise.
38694         (struct test_fF_f1_data): Likewise.
38695         (struct test_ffI_f1_data): Likewise.
38696         (struct test_c_c_data): Likewise.
38697         (struct test_cc_c_data): Likewise.
38698         (struct test_f_i_data): Likewise.
38699         (struct test_ff_i_data): Likewise.
38700         (struct test_f_l_data): Likewise.
38701         (struct test_f_L_data): Likewise.
38702         (struct test_fFF_11_data): Likewise.
38703         (RM_): New macro.
38704         (RM_FE_DOWNWARD): Likewise.
38705         (RM_FE_TONEAREST): Likewise.
38706         (RM_FE_TOWARDZERO): Likewise.
38707         (RM_FE_UPWARD): Likewise.
38708         (RUN_TEST_LOOP_f_f): Update references to expected results.
38709         (RUN_TEST_LOOP_2_f): Likewise.
38710         (RUN_TEST_LOOP_fff_f): Likewise.
38711         (RUN_TEST_LOOP_c_f): Likewise.
38712         (RUN_TEST_LOOP_f_f1): Likewise.
38713         (RUN_TEST_LOOP_fF_f1): Likewise.
38714         (RUN_TEST_LOOP_fI_f1): Likewise.
38715         (RUN_TEST_LOOP_ffI_f1): Likewise.
38716         (RUN_TEST_LOOP_c_c): Likewise.
38717         (RUN_TEST_LOOP_cc_c): Likewise.
38718         (RUN_TEST_LOOP_f_i): Likewise.
38719         (RUN_TEST_LOOP_f_i_tg): Likewise.
38720         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38721         (RUN_TEST_LOOP_f_b): Likewise.
38722         (RUN_TEST_LOOP_f_b_tg): Likewise.
38723         (RUN_TEST_LOOP_f_l): Likewise.
38724         (RUN_TEST_LOOP_f_L): Likewise.
38725         (RUN_TEST_LOOP_fFF_11): Likewise.
38726         * math/gen-libm-test.pl (parse_args): Output four copies of
38727         expected results for each test.
38729         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38730         (__ASSUME_UTIMES): Remove.
38731         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38732         (__ASSUME_UTIMES): Likewise.
38734         * math/gen-auto-libm-tests.c: Update comment on output format.
38735         (output_for_one_input_case): Generate before-rounding and
38736         after-rounding information as conditions on output flags not
38737         floating-point format.
38738         * math/auto-libm-test-out: Regenerated.
38739         * math/gen-libm-test.pl (cond_value): New function.
38740         (or_cond_value): Use cond_value.
38741         (generate_testfile): Handle conditional exceptions.
38743 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38745         * math/libm-test.inc (max_valid_error): New variable.
38746         (init_max_error): Take new argument specifying whether function
38747         results are exactly determined.  Set max_valid_error and bound
38748         other variables for errors based on this argument.
38749         (set_max_error): Do not record results above max_valid_error.
38750         (check_float_internal): Only accept errors of up to 0.5ulps if
38751         also at most max_valid_error.
38752         (START): Take new argument EXACT and pass it to init_max_error.
38753         (acos_test): Update call to START.
38754         (acos_test_tonearest): Likewise.
38755         (acos_test_towardzero): Likewise.
38756         (acos_test_downward): Likewise.
38757         (acos_test_upward): Likewise.
38758         (acosh_test): Likewise.
38759         (asin_test): Likewise.
38760         (asin_test_tonearest): Likewise.
38761         (asin_test_towardzero): Likewise.
38762         (asin_test_downward): Likewise.
38763         (asin_test_upward): Likewise.
38764         (asinh_test): Likewise.
38765         (atan_test): Likewise.
38766         (atanh_test): Likewise.
38767         (atan2_test): Likewise.
38768         (cabs_test): Likewise.
38769         (cacos_test): Likewise.
38770         (cacosh_test): Likewise.
38771         (carg_test): Likewise.
38772         (casin_test): Likewise.
38773         (casinh_test): Likewise.
38774         (catan_test): Likewise.
38775         (catanh_test): Likewise.
38776         (cbrt_test): Likewise.
38777         (ccos_test): Likewise.
38778         (ccosh_test): Likewise.
38779         (ceil_test): Likewise.
38780         (cexp_test): Likewise.
38781         (cimag_test): Likewise.
38782         (clog_test): Likewise.
38783         (clog10_test): Likewise.
38784         (conj_test): Likewise.
38785         (copysign_test): Likewise.
38786         (cos_test): Likewise.
38787         (cos_test_tonearest): Likewise.
38788         (cos_test_towardzero): Likewise.
38789         (cos_test_downward): Likewise.
38790         (cos_test_upward): Likewise.
38791         (cosh_test): Likewise.
38792         (cosh_test_tonearest): Likewise.
38793         (cosh_test_towardzero): Likewise.
38794         (cosh_test_downward): Likewise.
38795         (cosh_test_upward): Likewise.
38796         (cpow_test): Likewise.
38797         (cproj_test): Likewise.
38798         (creal_test): Likewise.
38799         (csin_test): Likewise.
38800         (csinh_test): Likewise.
38801         (csqrt_test): Likewise.
38802         (ctan_test): Likewise.
38803         (ctan_test_tonearest): Likewise.
38804         (ctan_test_towardzero): Likewise.
38805         (ctan_test_downward): Likewise.
38806         (ctan_test_upward): Likewise.
38807         (ctanh_test): Likewise.
38808         (ctanh_test_tonearest): Likewise.
38809         (ctanh_test_towardzero): Likewise.
38810         (ctanh_test_downward): Likewise.
38811         (ctanh_test_upward): Likewise.
38812         (erf_test): Likewise.
38813         (erfc_test): Likewise.
38814         (exp_test): Likewise.
38815         (exp_test_tonearest): Likewise.
38816         (exp_test_towardzero): Likewise.
38817         (exp_test_downward): Likewise.
38818         (exp_test_upward): Likewise.
38819         (exp10_test): Likewise.
38820         (exp10_test_tonearest): Likewise.
38821         (exp10_test_towardzero): Likewise.
38822         (exp10_test_downward): Likewise.
38823         (exp10_test_upward): Likewise.
38824         (pow10_test): Likewise.
38825         (exp2_test): Likewise.
38826         (expm1_test): Likewise.
38827         (expm1_test_tonearest): Likewise.
38828         (expm1_test_towardzero): Likewise.
38829         (expm1_test_downward): Likewise.
38830         (expm1_test_upward): Likewise.
38831         (fabs_test): Likewise.
38832         (fdim_test): Likewise.
38833         (floor_test): Likewise.
38834         (fma_test): Likewise.
38835         (fma_test_towardzero): Likewise.
38836         (fma_test_downward): Likewise.
38837         (fma_test_upward): Likewise.
38838         (fmax_test): Likewise.
38839         (fmin_test): Likewise.
38840         (fmod_test): Likewise.
38841         (fpclassify_test): Likewise.
38842         (frexp_test): Likewise.
38843         (hypot_test): Likewise.
38844         (ilogb_test): Likewise.
38845         (isfinite_test): Likewise.
38846         (finite_test): Likewise.
38847         (isgreater_test): Likewise.
38848         (isgreaterequal_test): Likewise.
38849         (isinf_test): Likewise.
38850         (isless_test): Likewise.
38851         (islessequal_test): Likewise.
38852         (islessgreater_test): Likewise.
38853         (isnan_test): Likewise.
38854         (isnormal_test): Likewise.
38855         (issignaling_test): Likewise.
38856         (isunordered_test): Likewise.
38857         (j0_test): Likewise.
38858         (j1_test): Likewise.
38859         (jn_test): Likewise.
38860         (ldexp_test): Likewise.
38861         (lgamma_test): Likewise.
38862         (gamma_test): Likewise.
38863         (lrint_test): Likewise.
38864         (lrint_test_tonearest): Likewise.
38865         (lrint_test_towardzero): Likewise.
38866         (lrint_test_downward): Likewise.
38867         (lrint_test_upward): Likewise.
38868         (llrint_test): Likewise.
38869         (llrint_test_tonearest): Likewise.
38870         (llrint_test_towardzero): Likewise.
38871         (llrint_test_downward): Likewise.
38872         (llrint_test_upward): Likewise.
38873         (log_test): Likewise.
38874         (log10_test): Likewise.
38875         (log1p_test): Likewise.
38876         (log2_test): Likewise.
38877         (logb_test): Likewise.
38878         (logb_test_downward): Likewise.
38879         (lround_test): Likewise.
38880         (llround_test): Likewise.
38881         (modf_test): Likewise.
38882         (nearbyint_test): Likewise.
38883         (nextafter_test): Likewise.
38884         (nexttoward_test): Likewise.
38885         (pow_test): Likewise.
38886         (pow_test_tonearest): Likewise.
38887         (pow_test_towardzero): Likewise.
38888         (pow_test_downward): Likewise.
38889         (pow_test_upward): Likewise.
38890         (remainder_test): Likewise.
38891         (drem_test): Likewise.
38892         (remainder_test_tonearest): Likewise.
38893         (drem_test_tonearest): Likewise.
38894         (remainder_test_towardzero): Likewise.
38895         (drem_test_towardzero): Likewise.
38896         (remainder_test_downward): Likewise.
38897         (drem_test_downward): Likewise.
38898         (remainder_test_upward): Likewise.
38899         (drem_test_upward): Likewise.
38900         (remquo_test): Likewise.
38901         (rint_test): Likewise.
38902         (rint_test_tonearest): Likewise.
38903         (rint_test_towardzero): Likewise.
38904         (rint_test_downward): Likewise.
38905         (rint_test_upward): Likewise.
38906         (round_test): Likewise.
38907         (scalb_test): Likewise.
38908         (scalbn_test): Likewise.
38909         (scalbln_test): Likewise.
38910         (signbit_test): Likewise.
38911         (sin_test): Likewise.
38912         (sin_test_tonearest): Likewise.
38913         (sin_test_towardzero): Likewise.
38914         (sin_test_downward): Likewise.
38915         (sin_test_upward): Likewise.
38916         (sincos_test): Likewise.
38917         (sinh_test): Likewise.
38918         (sinh_test_tonearest): Likewise.
38919         (sinh_test_towardzero): Likewise.
38920         (sinh_test_downward): Likewise.
38921         (sinh_test_upward): Likewise.
38922         (sqrt_test): Likewise.
38923         (sqrt_test_tonearest): Likewise.
38924         (sqrt_test_towardzero): Likewise.
38925         (sqrt_test_downward): Likewise.
38926         (sqrt_test_upward): Likewise.
38927         (tan_test): Likewise.
38928         (tan_test_tonearest): Likewise.
38929         (tan_test_towardzero): Likewise.
38930         (tan_test_downward): Likewise.
38931         (tan_test_upward): Likewise.
38932         (tanh_test): Likewise.
38933         (tgamma_test): Likewise.
38934         (trunc_test): Likewise.
38935         (y0_test): Likewise.
38936         (y1_test): Likewise.
38937         (yn_test): Likewise.
38938         (significand_test): Likewise.
38940         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38941         individual tests in comment.
38942         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38943         (prev_max_error): New variable.
38944         (prev_real_max_error): Likewise.
38945         (prev_imag_max_error): Likewise.
38946         (compare_ulp_data): Don't refer to test names in comment.
38947         (find_test_ulps): Remove function.
38948         (find_function_ulps): Likewise.
38949         (find_complex_function_ulps): Likewise.
38950         (init_max_error): Take function name as argument.  Look up ulps
38951         for that function.
38952         (print_ulps): Remove function.
38953         (print_max_error): Use prev_max_error instead of calling
38954         find_function_ulps.
38955         (print_complex_max_error): Use prev_real_max_error and
38956         prev_imag_max_error instead of calling find_complex_function_ulps.
38957         (check_float_internal): Take max_ulp parameter instead of calling
38958         find_test_ulps.  Don't call print_ulps.
38959         (check_float): Update call to check_float_internal.
38960         (check_complex): Update calls to check_float_internal.
38961         (START): Pass argument to init_max_error.
38962         * math/gen-libm-test.pl (%results): Don't include "kind"
38963         information.
38964         (parse_ulps): Don't handle ulps of individual tests.
38965         (print_ulps_file): Likewise.
38966         (output_ulps): Likewise.
38967         * math/README.libm-test: Update.
38968         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38969         individual tests.
38970         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38971         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38972         * sysdeps/arm/libm-test-ulps: Likewise.
38973         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38974         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38975         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38976         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38977         * sysdeps/microblaze/libm-test-ulps: Likewise.
38978         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38979         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38981         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38983         * sysdeps/sh/libm-test-ulps: Likewise.
38984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38985         * sysdeps/tile/libm-test-ulps: Likewise.
38986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38988 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38990         * math/libm-test.inc (print_complex_max_error): Check separately
38991         whether real and imaginary errors are within allowed range and
38992         pass 0 to print_complex_function_ulps instead of value within
38993         allowed range.
38995 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38997         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38998         formatting.
38999         (get_handles_fopen): Likewise.
39000         (do_write_test): Likewise.
39002         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39004         * libio/fileops.c (do_ftell): Use cached offset when
39005         available.
39006         * libio/iofwide.c (do_ftell_wide): Likewise.
39007         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39008         _IO_file_attach.
39009         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39011         [BZ #16532]
39012         * libio/libioP.h (get_file_offset): New function.
39013         * libio/fileops.c (get_file_offset): Likewise.
39014         (do_ftell): Likewise.
39015         (_IO_new_file_seekoff): Split out ftell logic.
39016         * libio/wfileops.c (do_ftell_wide): Likewise.
39017         (_IO_wfile_seekoff): Split out ftell logic.
39018         * libio/tst-ftell-active-handler.c: New test case.
39019         * libio/Makefile (tests): Add it.
39021 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39023         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39024         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39026 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         [BZ #16639]
39029         * nscd/connections.c (nscd_init): Call do_exit.
39030         (start_threads): Call do_exit and notify_parent.
39031         (begin_drop_privileges): Call do_exit.
39032         (finish_drop_privileges): Likewise.
39033         * nscd/selinux.c (preserve_capabilities): Likewise.
39034         (install_real_capabilities): Likewise.
39035         (nscd_selinux_enabled): Likewise.
39036         (avc_create_thread): Likewise.
39037         (avc_alloc_lock): Likewise.
39038         (nscd_avc_init): Likewise.
39039         * nscd/nscd.c (parent_fd): New static variable.
39040         (main): Create a pipe between parent and child processes.
39041         Skip closing parent_fd.
39042         (monitor_child): New function.
39043         (do_exit): Likewise.
39044         (notify_parent): Likewise.
39045         * nscd/nscd.h (notify_parent): Likewise.
39046         (do_exit): Likewise.
39048 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39050         * malloc/malloc.c (__libc_calloc): Revert last change.
39052 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39056 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39058         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39060         implementation.
39061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39062         (__libc_ifunc_impl_list): Likewise.
39063         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39064         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39065         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39066         * string/strrchr.c: Define STRRCHR.
39068 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39070         * benchtest/bench-strtok.c (simple_strtok): Delete.
39071         (strtok_string): Use as benchmark.
39072         * string/strtok (STRTOK): New macro.
39074 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39076         * manual/threads.texi: Add header and standard comments to all
39077         functions.
39079         * elf/dl-lookup.c (check_match): New function.
39080         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39081         (do_lookup_x): Remove nested function check_match. Use non-nested
39082         function check_match.
39084 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39086         * csu/Makefile (generated, before-compile): Use += rather than =.
39087         * catgets/Makefile (generated, generated-dirs): Likewise.
39088         * debug/Makefile (generated): Likewise.
39089         * dlfcn/Makefile (generated): Likewise.
39090         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39091         * iconvdata/Makefile (before-compile, generated): Likewise.
39092         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39093         * libio/Makefile (generated): Likewise.
39094         * malloc/Makefile (generated): Likewise.
39095         * manual/Makefile (generated, generated-dirs): Likewise.
39096         * misc/Makefile (generated): Likewise.
39097         * posix/Makefile (generated): Likewise.
39098         * resolv/Makefile (generated): Likewise.
39099         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39100         * timezone/Makefile (generated, generated-dirs): Likewise.
39102         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39104 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39107         power8 implementation.
39108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39109         file: POWER8 llround ifunc implementation.
39110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39111         (__lllround): Add POWER8 implementation.
39112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39113         POWER8 llround implementation.
39115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39116         power8 implementation.
39117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39118         file: POWER8 llrint ifunc implementation.
39119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39120         Add POWER8 implementation.
39121         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39122         POWER8 llrint implementation.
39124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39125         power8 implementation.
39126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39127         file: POWER8 finite ifunc implementation.
39128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39129         Add POWER8 implementation.
39130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39131         Likewise.
39132         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39133         POWER8 finite implementation.
39134         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39137         power8 implementation.
39138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39139         file: POWER8 isinf ifunc implementation.
39140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39141         POWER8 implementation.
39142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39143         Likewise.
39144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39145         isinf implementation.
39146         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39148         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39149         (INIT_ARCH): Add hwcap2 initialization.
39150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39151         power8 implementation.
39152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39153         file: POWER8 isnan ifunc implementation.
39154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39155         POWER8 implementation.
39156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39157         Likewise.
39158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39159         isnan implementation.
39160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39162 2014-02-27  Joey Ye  <joey.ye@arm.com>
39164         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39165         (_FP_NANFRAC_Q): Set to zero.
39167 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39169         [BZ #16623]
39170         * math/auto-libm-test-in: New test inputs.
39171         * math/auto-libm-test-out: Regenerate.
39172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39173         and DA.
39174         (__cos): Likewise.
39175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39177 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39179         * scripts/evaluate-test.sh: Take new argument indicating whether
39180         failure is expected.
39181         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39182         indicating whether failure is expected.
39183         * conform/Makefile (test-xfail-run-conformtest): New variable.
39184         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39185         level.
39186         * posix/Makefile (test-xfail-annexc): New variable.
39187         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39189 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39191         * argp/Makefile: Include Makeconfig immediately after defining
39192         subdir.
39193         * assert/Makefile: Likewise.
39194         * benchtests/Makefile: Likewise.
39195         * catgets/Makefile: Likewise.
39196         * conform/Makefile: Likewise.
39197         * crypt/Makefile: Likewise.
39198         * csu/Makefile: Likewise.
39199         (all): Remove target.
39200         * ctype/Makefile: Include Makeconfig immediately after defining
39201         subdir.
39202         * debug/Makefile: Likewise.
39203         * dirent/Makefile: Likewise.
39204         * dlfcn/Makefile: Likewise.
39205         * gmon/Makefile: Likewise.
39206         * gnulib/Makefile: Likewise.
39207         * grp/Makefile: Likewise.
39208         * gshadow/Makefile: Likewise.
39209         * hesiod/Makefile: Likewise.
39210         * hurd/Makefile: Likewise.
39211         (all): Remove target.
39212         * iconvdata/Makefile: Include Makeconfig immediately after
39213         defining subdir.
39214         * inet/Makefile: Likewise.
39215         * intl/Makefile: Likewise.
39216         * io/Makefile: Likewise.
39217         * libio/Makefile: Likewise.
39218         (all): Remove target.
39219         * locale/Makefile: Include Makeconfig immediately after defining
39220         subdir.
39221         * login/Makefile: Likewise.
39222         * mach/Makefile: Likewise.
39223         (all): Remove target.
39224         * malloc/Makefile: Include Makeconfig immediately after defining
39225         subdir.
39226         (all): Remove target.
39227         * manual/Makefile: Include Makeconfig immediately after defining
39228         subdir.
39229         * math/Makefile: Likewise.
39230         * misc/Makefile: Likewise.
39231         * nis/Makefile: Likewise.
39232         * nss/Makefile: Likewise.
39233         * po/Makefile: Likewise.
39234         (all): Remove target.
39235         * posix/Makefile: Include Makeconfig immediately after defining
39236         subdir.
39237         * pwd/Makefile: Likewise.
39238         * resolv/Makefile: Likewise.
39239         * resource/Makefile: Likewise.
39240         * rt/Makefile: Likewise.
39241         * setjmp/Makefile: Likewise.
39242         * shadow/Makefile: Likewise.
39243         * signal/Makefile: Likewise.
39244         * socket/Makefile: Likewise.
39245         * soft-fp/Makefile: Likewise.
39246         * stdio-common/Makefile: Likewise.
39247         * stdlib/Makefile: Likewise.
39248         * streams/Makefile: Likewise.
39249         * string/Makefile: Likewise.
39250         * sunrpc/Makefile: Likewise.
39251         (all): Remove target.
39252         * sysvipc/Makefile: Include Makeconfig immediately after defining
39253         subdir.
39254         * termios/Makefile: Likewise.
39255         * time/Makefile: Likewise.
39256         * timezone/Makefile: Likewise.
39257         (all): Remove target.
39258         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39259         subdir.
39260         * wctype/Makefile: Likewise.
39262 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39264         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39265         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39266         (libc_feholdexcept_setround_mips): Ditto.
39267         (libc_feholdsetround): New.
39268         (libc_feholdsetroundf): New.
39269         (libc_feholdsetroundl): New.
39270         (libc_feupdateenv_test_mips): New.
39271         (libc_feupdateenv_test): New.
39272         (libc_feupdateenv_testf): New.
39273         (libc_feupdateenv_testl): New.
39274         (libc_feresetround): New.
39275         (libc_feresetroundf): New.
39276         (libc_feresetroundl): New.
39277         (libc_fetestexcept_mips): New.
39278         (libc_fetestexcept): New.
39279         (libc_fetestexceptf): New.
39280         (libc_fetestexceptl): New.
39281         (HAVE_RM_CTX): New.
39282         (libc_feholdexcept_setround_mips_ctx): New.
39283         (libc_feholdexcept_setround_ctx): New.
39284         (libc_feholdexcept_setroundf_ctx): New.
39285         (libc_feholdexcept_setroundl_ctx): New.
39286         (libc_fesetenv_mips_ctx): New.
39287         (libc_fesetenv_ctx): New.
39288         (libc_fesetenv_ctxf): New.
39289         (libc_fesetenv_ctxl): New.
39290         (libc_feupdateenv_mips_ctx): New.
39291         (libc_feupdateenv_ctx): New.
39292         (libc_feupdateenvf_ctx): New.
39293         (libc_feupdateenvl_ctx): New.
39294         (libc_feholdsetround_mips_ctx): New.
39295         (libc_feholdsetround_ctx): New.
39296         (libc_feholdsetroundf_ctx): New.
39297         (libc_feholdsetroundl_ctx): New.
39298         (libc_feresetround_mips_ctx): New.
39299         (libc_feresetround_ctx): New.
39300         (libc_feresetroundf_ctx): New.
39301         (libc_feresetroundl_ctx): New.
39303 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39305         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39307         * manual/ipc.texi: New file.
39308         * manual/Makefile (chapters): Add ipc.
39309         * manual/job.texi: Add "Inter-Process Communication" to next.
39310         * manual/process.texi: Add "Inter-Process Communication" to prev.
39312 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39316 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39318         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39320         * manual/arith.texi: Fix spaces after sentences.
39321         * manual/charset.texi: Likewise.
39322         * manual/errno.texi: Likewise.
39323         * manual/install.texi: Likewise.
39324         * manual/llio.texi: Likewise.
39325         * manual/locale.texi: Likewise.
39326         * manual/maint.texi: Likewise.
39327         * manual/math.texi: Likewise.
39328         * manual/memory.texi: Likewise.
39329         * manual/message.texi: Likewise.
39330         * manual/probes.texi: Likewise.
39331         * manual/resource.texi: Likewise.
39332         * manual/signal.texi: Likewise.
39333         * manual/socket.texi: Likewise.
39334         * manual/stdio.texi: Likewise.
39335         * manual/string.texi: Likewise.
39336         * manual/time.texi: Likewise.
39337         * manual/users.texi: Likewise.
39339 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39341         [BZ #16632]
39342         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39343         _DEFAULT_SOURCE is defined.
39345 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39346             Carlos O'Donell  <carlos@redhat.com>
39348         [BZ #16613]
39349         * elf/dl-tls.c (_dl_count_modids): New function.
39350         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39351         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39352         audit library and increment generation counter.
39353         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39354         * elf/tst-audit9.c: New file.
39355         * elf/tst-auditmod9a.c: New file.
39356         * elf/tst-auditmod9b.c: New file.
39357         * elf/Makefile: Add rules to build and run tst-audit9.
39359 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39361         [BZ #15347]
39362         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39364 2014-02-25  Will Newton  <will.newton@linaro.org>
39366         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39367         (__longjmp): Restore sp and lr before restoring callee
39368         saved registers.  Add longjmp and longjmp_target
39369         SystemTap probe point.
39370         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39371         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39372         Define to zero to match jmpbuf layout.
39373         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39374         (__sigsetjmp): Save sp and lr before saving callee
39375         saved registers.  Add setjmp SystemTap probe point.
39377 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39381 2014-02-24  Andreas Schwab  <schwab@suse.de>
39383         [BZ #15804]
39384         * elf/pldd.c (wait_for_ptrace_stop): New function.
39385         (main): Call it after attaching.
39387 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39389         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39390         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39391         Versions files is now verboten.
39392         * hurd/Versions (libc: GLIBC_2.0):
39393         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39394         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39395         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39396         * mach/Versions: Likewise.
39398         * csu/Versions: Remove unused %include.
39399         * resolv/Versions: Likewise.
39401 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39403         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39404         ($(objpfx)check-local-headers.out): Likewise.
39405         ($(objpfx)begin-end-check.out): Likewise.
39406         * Makerules (check-abi-%.out): Likewise.
39407         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39408         ($(objpfx)test2.cat): Likewise.
39409         ($(objpfx)de/libc.cat): Likewise.
39410         ($(objpfx)test-gencat.out): Likewise.
39411         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39412         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39413         ($(objpfx)noload-mem): Likewise.
39414         ($(objpfx)tst-pathopt.out): Likewise.
39415         ($(objpfx)tst-rtld-load-self.out): Likewise.
39416         ($(objpfx)tst-array1-cmp.out): Likewise.
39417         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39418         ($(objpfx)tst-array2-cmp.out): Likewise.
39419         ($(objpfx)tst-array3-cmp.out): Likewise.
39420         ($(objpfx)tst-array4-cmp.out): Likewise.
39421         ($(objpfx)tst-array5-cmp.out): Likewise.
39422         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39423         ($(objpfx)check-textrel.out): Likewise.
39424         ($(objpfx)check-execstack.out): Likewise.
39425         ($(objpfx)check-localplt.out): Likewise.
39426         ($(objpfx)order2-cmp.out): Likewise.
39427         ($(objpfx)tst-leaks1-mem): Likewise.
39428         ($(objpfx)tst-leaks1-static-mem): Likewise.
39429         ($(objpfx)tst-initorder-cmp.out): Likewise.
39430         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39431         ($(objpfx)tst-unused-dep.out): Likewise.
39432         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39433         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39434         * iconv/Makefile (test-iconvconfig): Likewise.
39435         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39436         ($(objpfx)iconv-test.out): Likewise.
39437         ($(objpfx)tst-tables.out): Likewise.
39438         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39439         ($(objpfx)tst-gettext.out): Likewise.
39440         ($(objpfx)tst-translit.out): Likewise.
39441         ($(objpfx)tst-gettext2.out): Likewise.
39442         ($(objpfx)tst-gettext4.out): Likewise.
39443         ($(objpfx)tst-gettext6.out): Likewise.
39444         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39445         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39446         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39447         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39448         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39449         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39450         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39451         ($(objpfx)wordexp-tst.out): Likewise.
39452         ($(objpfx)annexc.out): Likewise.
39453         ($(objpfx)tst-fnmatch-mem): Likewise.
39454         ($(objpfx)bug-regex2-mem): Likewise.
39455         ($(objpfx)bug-regex14-mem): Likewise.
39456         ($(objpfx)bug-regex21-mem): Likewise.
39457         ($(objpfx)bug-regex31-mem): Likewise.
39458         ($(objpfx)tst-vfork3-mem): Likewise.
39459         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39460         ($(objpfx)tst-pcre-mem): Likewise.
39461         ($(objpfx)tst-boost-mem): Likewise.
39462         ($(objpfx)tst-getconf.out): Likewise.
39463         ($(objpfx)bug-ga2-mem): Likewise.
39464         ($(objpfx)bug-glob2-mem): Likewise.
39465         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39466         ($(objpfx)mtrace-tst-leaks2): Likewise.
39467         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39468         ($(objpfx)tst-printf.out): Likewise.
39469         ($(objpfx)tst-setvbuf1.out): Likewise.
39470         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39471         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39472         ($(objpfx)tst-fmtmsg.out): Likewise.
39473         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39474         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39476         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39477         * bits/sigaction.h [__USE_MISC]: Likewise.
39478         * bits/waitstatus.h: Update #endif comments.
39479         * ctype/ctype.h: Likewise.
39480         * dirent/dirent.h: Likewise.
39481         [__USE_MISC]: Remove redundant conditionals.
39482         * grp/grp.h: Update #endif comments.
39483         [__USE_GNU]: Remove redundant conditionals.
39484         [__USE_MISC]: Likewise.
39485         * inet/netinet/in.h [__USE_GNU]: Likewise.
39486         * io/sys/stat.h [__USE_MISC]: Likewise.
39487         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39488         * libio/bits/stdio.h: Update #endif comments.
39489         [__USE_MISC]: Remove redundant conditionals.
39490         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39491         * libio/stdio.h: Update #endif comments.
39492         [__USE_MISC]: Remove redundant conditionals.
39493         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39494         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39495         * math/math.h: Update #else and #endif comments.
39496         [__USE_MISC]: Remove redundant conditionals.
39497         * misc/sys/uio.h: Update #endif comments.
39498         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39499         * posix/glob.h [__USE_MISC]: Likewise.
39500         * posix/sys/types.h: Update #endif comments.
39501         [__USE_MISC]: Remove redundant conditionals.
39502         * posix/sys/wait.h: Update #endif comments.
39503         [__USE_MISC]: Remove redundant conditionals.
39504         * posix/unistd.h: Update #endif comments.
39505         [__USE_MISC]: Remove redundant conditionals.
39506         * pwd/pwd.h [__USE_GNU]: Likewise.
39507         [__USE_MISC]: Likewise.
39508         * resolv/netdb.h [__USE_GNU]: Likewise.
39509         * signal/signal.h: Update #endif comments.
39510         [__USE_MISC]: Remove redundant conditionals.
39511         * stdlib/stdlib.h: Update #else and #endif comments.
39512         [__USE_MISC]: Remove redundant conditionals.
39513         [__USE_GNU]: Likewise.
39514         * string/bits/string2.h [__USE_MISC]: Likewise.
39515         * string/string.h: Update #endif comments.
39516         [__USE_MISC]: Remove redundant conditionals.
39517         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39518         Likewise.
39519         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39520         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39521         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39522         Likewise.
39523         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39524         Likewise.
39525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39526         comments.
39527         [__USE_MISC]: Remove redundant conditionals.
39528         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39529         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39530         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39531         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39532         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39533         Likewise.
39534         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39535         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39536         Likewise.
39537         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39538         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39539         Likewise.
39540         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39541         Likewise.
39542         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39543         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39544         Likewise.
39545         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39546         Likewise.
39547         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39548         * sysdeps/x86/bits/string.h: Update #endif comments.
39549         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39550         conditionals.
39551         * time/sys/time.h: Update #endif comments.
39552         * time/time.h: Likewise.
39553         [__USE_MISC]: Remove redundant conditionals.
39555 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39557         [BZ #16600]
39558         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39560 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39562         * Versions.def (librt): Add GLIBC_2.17.
39564 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39566         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39567         synonym for _SYS_AUXV_H to allow direct inclusion.
39568         * sysdeps/sparc/bits/hwcap.h: Likewise.
39569         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39570         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39571         * sysdeps/sparc/sysdep.h: Likewise.
39573 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39575         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39577 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39579         * benchtests/bench-strrchr.c: Print length instead of position.
39581 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39583         [BZ #16611]
39584         * sysdeps/unix/sysv/linux/kernel-features.h
39585         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39586         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39587         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39588         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39589         Likewise.
39590         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39591         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39592         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39593         (__ASSUME_SENDMMSG): Define instead of using previous
39594         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39596         (__ASSUME_SENDMMSG_SYSCALL): Define.
39597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39598         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39599         Likewise.
39600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39601         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39602         Likewise.
39603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39604         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39605         Likewise.
39606         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39607         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39608         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39609         [__ASSUME_SENDMMSG]: Change conditionals to
39610         [__ASSUME_SENDMMSG_SOCKETCALL].
39611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39612         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39613         Define.
39614         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39615         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39616         Likewise.
39617         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39618         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39619         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39620         [!__ASSUME_SENDMMSG]: Change conditional to
39621         [!__ASSUME_SENDMMSG_SOCKETCALL].
39622         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39624         Define.
39626         [BZ #16610]
39627         * sysdeps/unix/sysv/linux/kernel-features.h
39628         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39629         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39630         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39631         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39632         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39633         [__i386__ || __sparc__]
39634         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39635         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39636         (__ASSUME_RECVMMSG): Define instead of using previous
39637         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39639         (__ASSUME_RECVMMSG_SYSCALL): Define.
39640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39642         Likewise.
39643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39645         Likewise.
39646         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39648         Likewise.
39649         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39650         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39651         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39652         [__ASSUME_RECVMMSG]: Change condition to
39653         [__ASSUME_RECVMMSG_SOCKETCALL].
39654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39655         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39656         Define.
39657         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39659         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39660         Likewise.
39661         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39662         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39663         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39664         [!__ASSUME_RECVMMSG]: Change condition to
39665         [!__ASSUME_RECVMMSG_SOCKETCALL].
39666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39667         (__ASSUME_RECVMMSG_SYSCALL): Define.
39669         [BZ #16609]
39670         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39671         __powerpc__ || __s390__ || __sh__ || __sparc__]
39672         (__ASSUME_SOCKETCALL): Define.
39673         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39674         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39675         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39676         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39677         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39678         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39679         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39680         (__ASSUME_ACCEPT4): Define instead of using previous
39681         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39682         __powerpc__ || __sparc__ || __s390__)] condition.
39683         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39684         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39685         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39686         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39687         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39688         [!__ASSUME_ACCEPT4]: Change condition to
39689         [!__ASSUME_ACCEPT4_SOCKETCALL].
39690         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39691         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39692         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39693         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39694         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39695         __ASSUME_ACCEPT4_SYSCALL.
39696         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39697         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39698         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39699         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39700         __ASSUME_ACCEPT4_SYSCALL.
39701         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39702         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39703         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39704         [__ASSUME_ACCEPT4]: Change condition to
39705         [__ASSUME_ACCEPT4_SOCKETCALL].
39706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39707         (__ASSUME_SOCKETCALL): Define.
39708         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39710         (__ASSUME_SOCKETCALL): Define.
39711         (__ASSUME_ACCEPT4): Remove.
39712         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39713         Define.
39714         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39715         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39716         Likewise.
39717         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39718         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39720         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39721         macro.
39722         (HWCAP_ARM_LPAE): Likewise.
39723         (HWCAP_ARM_EVTSTRM): Likewise.
39724         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39725         Add vpfd32, lpae and evtstrm.
39726         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39727         Increase to 22.
39729 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39731         * math/auto-libm-test-in: Add tests of clog10.
39732         * math/auto-libm-test-out: Regenerated.
39733         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39734         * sysdeps/i386/fpu/libm-test-ulps: Update.
39735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39737 2014-02-18  Andreas Schwab  <schwab@suse.de>
39739         [BZ #16574]
39740         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39741         Store non-zero if the second buffer was newly allocated.
39742         (send_dg): Likewise.
39743         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39744         to send_vc and send_dg.
39745         (res_nsend): Pass NULL for ansp2_malloced.
39746         * resolv/res_query.c (__libc_res_nquery): Add parameter
39747         answerp2_malloced and pass it down to __libc_res_nsend.
39748         (res_nquery): Pass additional NULL to __libc_res_nquery.
39749         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39750         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39751         second answer buffer if answerp2_malloced was set.
39752         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39753         (__libc_res_nquerydomain): Add parameter
39754         answerp2_malloced and pass it down to __libc_res_nquery.
39755         (res_nquerydomain): Pass additional NULL to
39756         __libc_res_nquerydomain.
39757         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39758         additional NULL to __libc_res_nsend and __libc_res_nquery.
39759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39760         additional NULL to __libc_res_nsearch.
39761         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39762         parameter of __libc_res_nsearch to check for separately allocated
39763         second buffer.
39764         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39765         __libc_res_nquery.
39766         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39767         additional NULL to __libc_res_nquery.
39768         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39769         __libc_res_nsearch.
39770         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39771         * include/resolv.h: Update prototypes of __libc_res_nquery,
39772         __libc_res_nsearch, __libc_res_nsend.
39774 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39776         * math/auto-libm-test-in: Add tests of fma.
39777         * math/auto-libm-test-out: Regenerated.
39778         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39779         (fma_towardzero_test_data): Likewise.
39780         (fma_downward_test_data): Likewise.
39781         (fma_upward_test_data): Likewise.
39782         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39783         mpc_mode.
39784         (rounding_modes): Add values for new field.
39785         (func_calc_method): Add value mpfr_fff_f.
39786         (func_calc_desc): Add mpfr_fff_f union field.
39787         (test_function): Add field exact_args.
39788         (FUNC): Add macro argument EXACT_ARGS.
39789         (FUNC_mpfr_f_f): Update call to FUNC.
39790         (FUNC_mpfr_f_f): Likewise.
39791         (FUNC_mpfr_ff_f): Likewise.
39792         (FUNC_mpfr_if_f): Likewise.
39793         (FUNC_mpc_c_f): Likewise.
39794         (FUNC_mpc_c_c): Likewise.
39795         (test_functions): Add fma.  Update calls to FUNC.
39796         (handle_input_arg): Add argument exact_args.
39797         (add_test): Update call to handle_input_arg.
39798         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39799         (output_for_one_input_case): Update call to calc_generic_results.
39800         Recalculate exact zero results in each rounding mode.
39802         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39803         non-negative before setting low bit.
39804         * math/auto-libm-test-in: Mark one asin test possibly having
39805         spurious underflow.
39806         * math/auto-libm-test-out: Regenerated.
39807         * sysdeps/i386/fpu/libm-test-ulps: Update.
39808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39810 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39812         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39813         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39814         ports/sysdeps/unix/sysv/linux/microblaze.
39815         * README: Add missing listing for microblaze*-*-linux-gnu.
39817 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39820         duplicate code
39822 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39824         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39825         * sysdeps/unix/sysv/linux/ia64: Move directory from
39826         ports/sysdeps/unix/sysv/linux/ia64.
39827         * README: Update listing for ia64-*-linux-gnu.
39829 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39830             Joseph Myers  <joseph@codesourcery.com>
39832         * Makeconfig (test-name): New variable.
39833         (evaluate-test): Likewise.
39834         * Makerules (do-test-clean): Remove .test-result files.
39835         (common-mostlyclean): Likewise.
39836         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39837         * scripts/evaluate-test.sh: New file.
39839 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39841         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39842         separate $(objpfx)tst-fopenloc-cmp.out and
39843         $(objpfx)tst-fopenloc-mem.out targets.
39844         (tests): Update dependencies.
39845         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39846         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39847         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39848         (tst-rxspencer-no-utf8-ARGS): New variable.
39849         (tst-rxspencer-no-utf8-ENV): Likewise.
39850         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39851         instead of $(objpfx)tst-rxspencer-mem.
39852         ($(objpfx)tst-rxspencer-mem): Change target to
39853         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39854         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39855         * posix/tst-rxspencer-no-utf8.c: New file.
39857         * elf/Makefile ($(objpfx)order.out): Remove rule.
39858         [$(run-built-tests) = yes] (tests): Depend on
39859         $(objpfx)order-cmp.out.
39860         ($(objpfx)order-cmp.out): New rule.
39861         [$(run-built-tests) = yes] (tests): Depend on
39862         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39863         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39864         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39865         $(objpfx)tst-array5-static-cmp.out.
39866         ($(objpfx)tst-array1.out): Remove rule.
39867         ($(objpfx)tst-array1-cmp.out): New rule.
39868         ($(objpfx)tst-array1-static.out): Remove rule.
39869         ($(objpfx)tst-array1-static-cmp.out): New rule.
39870         ($(objpfx)tst-array2.out): Remove rule.
39871         ($(objpfx)tst-array2-cmp.out): New rule.
39872         ($(objpfx)tst-array3.out): Remove rule.
39873         ($(objpfx)tst-array3-cmp.out): New rule.
39874         ($(objpfx)tst-array4.out): Remove rule.
39875         ($(objpfx)tst-array4-cmp.out): New rule.
39876         ($(objpfx)tst-array5.out): Remove rule.
39877         ($(objpfx)tst-array5-cmp.out): New rule.
39878         ($(objpfx)tst-array5-static.out): Remove rule.
39879         ($(objpfx)tst-array5-static-cmp.out): New rule.
39880         [$(run-built-tests) = yes] (tests): Depend on
39881         $(objpfx)order2-cmp.out.
39882         ($(objpfx)order2.out): Remove rule.
39883         ($(objpfx)order2-cmp.out): New rule.
39884         ($(objpfx)tst-initorder.out): Remove rule.
39885         [$(run-built-tests) = yes] (tests): Depend on
39886         $(objpfx)tst-initorder-cmp.out.
39887         ($(objpfx)tst-initorder-cmp.out): New rule.
39888         ($(objpfx)tst-initorder2.out): Remove rule.
39889         [$(run-built-tests) = yes] (tests): Depend on
39890         $(objpfx)tst-initorder2-cmp.out.
39891         ($(objpfx)tst-initorder2-cmp.out): New rule.
39892         [$(run-built-tests) = yes] (tests): Depend on
39893         $(objpfx)tst-unused-dep-cmp.out.
39894         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39895         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39896         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39897         on $(objpfx)tst-setvbuf1-cmp.out.
39898         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39899         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39900         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39901         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39902         ($(objpfx)tst-svc.out): Remove rule.
39903         ($(objpfx)tst-svc-cmp.out): New rule.
39905 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39907         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39908         * ctype/ctype.h [__USE_MISC]: Likewise.
39909         * dirent/dirent.h [__USE_MISC]: Likewise.
39910         * grp/grp.h [__USE_MISC]: Likewise.
39911         * io/fcntl.h [__USE_MISC]: Likewise.
39912         * io/sys/stat.h [__USE_MISC]: Likewise.
39913         * libio/stdio.h [__USE_MISC]: Likewise.
39914         * posix/unistd.h [__USE_MISC]: Likewise.
39915         * pwd/pwd.h [__USE_MISC]: Likewise.
39916         * stdlib.h [__USE_MISC]: Likewise.
39917         * string/bits/string2.h [__USE_MISC]: Likewise.
39918         * string/string.h [__USE_MISC]: Likewise.
39919         * time/time.h [__USE_MISC]: Likewise.
39921 2014-02-13  Andreas Schwab  <schwab@suse.de>
39923         [BZ #16574]
39924         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39925         second answer buffer if it was separately allocated.
39927 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39929         * sysdeps/mips/math-tests.h: Include <features.h>.
39930         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39931         (ROUNDING_TESTS_long_double): Do not define.
39932         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39933         (EXCEPTION_TESTS_long_double): Likewise.
39934         * sysdeps/mips/mips64/libm-test-ulps: Update.
39936         * include/features.h (__USE_BSD): Remove macro definitions.
39937         (__USE_SVID): Likewise.
39938         (_BSD_SOURCE): Likewise.
39939         (_SVID_SOURCE): Likewise.
39940         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39941         from definition of _DEFAULT_SOURCE.
39942         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39943         [_DEFAULT_SOURCE].
39944         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39945         * bits/mman.h [__USE_BSD]: Likewise.
39946         * bits/termios.h [__USE_BSD]: Likewise.
39947         * bits/waitstatus.h [__USE_BSD]: Likewise.
39948         * ctype/ctype.h [__USE_SVID]: Likewise.
39949         * dirent/dirent.h [__USE_BSD]: Likewise.
39950         * grp/grp.h [__USE_SVID]: Likewise.
39951         [__USE_BSD]: Likewise.
39952         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39953         * io/fcntl.h [__USE_BSD]: Likewise.
39954         * io/ftw.h [__USE_BSD]: Likewise.
39955         * io/sys/stat.h [__USE_BSD]: Likewise.
39956         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39957         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39958         * libio/stdio.h [__USE_SVID]: Likewise.
39959         [__USE_BSD]: Likewise.
39960         * math/math.h [__USE_SVID]: Likewise.
39961         [__USE_BSD]: Likewise.
39962         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39963         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39964         * misc/search.h [__USE_SVID]: Likewise.
39965         * misc/sys/mman.h [__USE_BSD]: Likewise.
39966         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39967         * misc/sys/uio.h [__USE_BSD]: Likewise.
39968         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39969         * posix/glob.h [__USE_BSD]: Likewise.
39970         * posix/regex.h [__USE_BSD]: Likewise.
39971         * posix/sys/types.h [__USE_BSD]: Likewise.
39972         [__USE_SVID]: Likewise.
39973         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39974         * posix/sys/wait.h [__USE_BSD]: Likewise.
39975         [__USE_SVID]: Likewise.
39976         * posix/unistd.h [__USE_BSD]: Likewise.
39977         [__USE_SVID]: Likewise.
39978         * pwd/pwd.h [__USE_SVID]: Likewise.
39979         * resolv/netdb.h [__USE_BSD]: Likewise.
39980         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39981         * signal/signal.h [__USE_BSD]: Likewise.
39982         [__USE_SVID]: Likewise.
39983         * socket/sys/socket.h [__USE_BSD]: Likewise.
39984         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39985         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39986         [__USE_SVID]: Likewise.
39987         * string/bits/string2.h [__USE_BSD]: Likewise.
39988         [__USE_SVID]: Likewise.
39989         * string/bits/string3.h [__USE_BSD]: Likewise.
39990         * string/endian.h [__USE_BSD]: Likewise.
39991         * string/string.h [__USE_SVID]: Likewise.
39992         [__USE_BSD]: Likewise.
39993         * string/strings.h [__USE_BSD]: Likewise.
39994         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39995         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39996         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39997         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39998         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39999         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40000         Likewise.
40001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40002         Likewise.
40003         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40004         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40005         Likewise.
40006         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40007         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40008         Likewise.
40009         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40010         Likewise.
40011         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40012         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40013         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40014         Likewise.
40015         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40016         Likewise.
40017         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40018         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40019         * termios/termios.h [__USE_BSD]: Likewise.
40020         * time/sys/time.h [__USE_BSD]: Likewise.
40021         * time/time.h [__USE_BSD]: Likewise.
40022         [__USE_SVID]: Likewise.
40024         * Makefile (subdir_targets): Remove subdir_lint.out.
40026         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40027         (do-tst-printf): Likewise.
40028         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40029         $(objpfx)tst-printf.out.
40031         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40033         * Makerules (check-abi-%): Change target to
40034         $(objpfx)check-abi-%.out.
40035         (check-abi target): Update dependencies.
40036         (check-abi-pattern variable): Redirect output of diff to $@.
40037         (check-abi variable): Likewise.
40038         * elf/Makefile (check-abi): Update dependencies.
40040         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40041         unused.
40042         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40043         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40044         subnormal range.
40045         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40046         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40047         value has largest subnormal exponent.
40048         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40049         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40050         * sysdeps/aarch64/soft-fp/sfp-machine.h
40051         (_FP_TININESS_AFTER_ROUNDING): New macro.
40052         * sysdeps/alpha/soft-fp/sfp-machine.h
40053         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40054         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40055         Likewise.
40056         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40057         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40058         * sysdeps/mips/soft-fp/sfp-machine.h
40059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40060         * sysdeps/powerpc/soft-fp/sfp-machine.h
40061         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40062         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40063         Likewise.
40064         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40066         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40067         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40068         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40069         Likewise.
40071 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40073         [BZ #16545]
40074         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40075         model 1.
40077 2014-02-12  Richard Henderson  <rth@redhat.com>
40079         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40080         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40081         * sysdeps/unix/sysv/linux/alpha: Move directory from
40082         ports/sysdeps/unix/sysv/linux/alpha.
40083         * README: Update listing for alpha-*-linux-gnu.
40085 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40087         * include/features.h: Update comment documenting feature test
40088         macros.
40089         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40090         _DEFAULT_SOURCE.
40091         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40092         (_SVID_SOURCE): Likewise.
40093         (_DEFAULT_SOURCE): Update description of default features.
40094         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40095         with _GNU_SOURCE.
40096         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40097         (S_ISVTX): Likewise.
40098         * manual/math.texi (Mathematical Constants): Likewise.
40099         * manual/signal.texi (Interrupted Primitives): Likewise.
40100         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40101         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40102         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40103         Don't refer to _SVID_SOURCE in warning text.
40105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40107         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40108         already defined.
40109         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40110         * sysdeps/mips/dl-lookup.c: Remove.
40111         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40113 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40115         [BZ #16447]
40116         * math/auto-libm-test-in: Add testcase for expl.
40117         * math/auto-libm-test-out: Regenerate.
40118         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40119         calculation of unsafe.
40120         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40122 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40124         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40125         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40126         ports/sysdeps/unix/sysv/linux/aarch64.
40127         * README: Update listing for aarch64*-*-linux-gnu.
40129 2014-02-11  Will Newton  <will.newton@linaro.org>
40131         * manual/probes.texi (Mathematical Function Probes): Use
40132         "triggered" instead of "hit".
40134         * manual/probes.texi (Internal Probes): Add documentation
40135         of setjmp, longjmp and longjmp_target probes.
40137         * include/stap-probe.h: Add comment about probe argument
40138         format.
40140         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40141         definition.  (tr_where, tr_freehook, tr_mallochook,
40142         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40144 2014-02-11  David S. Miller  <davem@davemloft.net>
40146         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40147         processing int_tests.
40149 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40151         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40152         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40153         * sysdeps/unix/sysv/linux/mips: Move directory from
40154         ports/sysdeps/unix/sysv/linux/mips.
40155         * README: Update listing for mips-*-linux-gnu and
40156         mips64-*-linux-gnu.
40158 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40160         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40161         * sysdeps/unix/sysv/linux/m68k: Move directory from
40162         ports/sysdeps/unix/sysv/linux/m68k.
40163         * README: Update listing for m68k-*-linux-gnu.
40165 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40167         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40168         * sysdeps/unix/sysv/linux/generic: Move directory from
40169         ports/sysdeps/unix/sysv/linux/generic.
40170         * sysdeps/unix/sysv/linux/tile: Move directory from
40171         ports/sysdeps/unix/sysv/linux/tile.
40172         * README: Update listing for tile*-*-linux-gnu.
40174 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40176         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40177         __builtin_expect.
40178         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40179         * catgets/open_catalog.c (__open_catalog): Likewise.
40180         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40181         * debug/confstr_chk.c: Likewise.
40182         * debug/fread_chk.c (__fread_chk): Likewise.
40183         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40184         * debug/getgroups_chk.c: Likewise.
40185         * debug/mbsnrtowcs_chk.c: Likewise.
40186         * debug/mbsrtowcs_chk.c: Likewise.
40187         * debug/mbstowcs_chk.c: Likewise.
40188         * debug/memcpy_chk.c: Likewise.
40189         * debug/memmove_chk.c: Likewise.
40190         * debug/mempcpy_chk.c: Likewise.
40191         * debug/memset_chk.c: Likewise.
40192         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40193         * debug/strcat_chk.c (__strcat_chk): Likewise.
40194         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40195         * debug/strncat_chk.c (__strncat_chk): Likewise.
40196         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40197         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40198         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40199         * debug/wcpncpy_chk.c: Likewise.
40200         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40201         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40202         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40203         * debug/wcsncpy_chk.c: Likewise.
40204         * debug/wcsnrtombs_chk.c: Likewise.
40205         * debug/wcsrtombs_chk.c: Likewise.
40206         * debug/wcstombs_chk.c: Likewise.
40207         * debug/wmemcpy_chk.c: Likewise.
40208         * debug/wmemmove_chk.c: Likewise.
40209         * debug/wmempcpy_chk.c: Likewise.
40210         * debug/wmemset_chk.c: Likewise.
40211         * dirent/scandirat.c (SCANDIRAT): Likewise.
40212         * dlfcn/dladdr1.c (dladdr1): Likewise.
40213         * dlfcn/dladdr.c (dladdr): Likewise.
40214         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40215         * dlfcn/dlerror.c (__dlerror): Likewise.
40216         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40217         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40218         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40219         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40220         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40221         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40222         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40223         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40224         Likewise.
40225         * elf/dl-conflict.c: Likewise.
40226         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40227         * elf/dl-dst.h: Likewise.
40228         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40229         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40230         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40231         * elf/dl-init.c (call_init, _dl_init): Likewise.
40232         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40233         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40234         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40235         Likewise.
40236         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40237         Likewise.
40238         * elf/dl-minimal.c (__libc_memalign): Likewise.
40239         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40240         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40241         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40242         * elf/dl-sym.c (do_sym): Likewise.
40243         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40244         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40245         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40246         * elf/dl-writev.h (_dl_writev): Likewise.
40247         * elf/ldconfig.c (search_dir): Likewise.
40248         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40249         (dl_main): Likewise.
40250         * elf/setup-vdso.h (setup_vdso): Likewise.
40251         * grp/compat-initgroups.c (compat_call): Likewise.
40252         * grp/fgetgrent.c (fgetgrent): Likewise.
40253         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40254         * grp/putgrent.c (putgrent): Likewise.
40255         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40256         Likewise.
40257         * hurd/hurdinit.c: Likewise.
40258         * iconvdata/8bit-gap.c (struct): Likewise.
40259         * iconvdata/ansi_x3.110.c : Likewise.
40260         * iconvdata/big5.c : Likewise.
40261         * iconvdata/big5hkscs.c : Likewise.
40262         * iconvdata/cp1255.c: Likewise.
40263         * iconvdata/cp1258.c : Likewise.
40264         * iconvdata/cp932.c : Likewise.
40265         * iconvdata/euc-cn.c: Likewise.
40266         * iconvdata/euc-jisx0213.c : Likewise.
40267         * iconvdata/euc-jp.c: Likewise.
40268         * iconvdata/euc-jp-ms.c : Likewise.
40269         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40270         * iconvdata/gb18030.c : Likewise.
40271         * iconvdata/gbbig5.c (const): Likewise.
40272         * iconvdata/gbgbk.c: Likewise.
40273         * iconvdata/gbk.c : Likewise.
40274         * iconvdata/ibm1364.c : Likewise.
40275         * iconvdata/ibm930.c : Likewise.
40276         * iconvdata/ibm932.c: Likewise.
40277         * iconvdata/ibm933.c : Likewise.
40278         * iconvdata/ibm935.c : Likewise.
40279         * iconvdata/ibm937.c : Likewise.
40280         * iconvdata/ibm939.c : Likewise.
40281         * iconvdata/ibm943.c: Likewise.
40282         * iconvdata/iso_11548-1.c: Likewise.
40283         * iconvdata/iso-2022-cn.c : Likewise.
40284         * iconvdata/iso-2022-cn-ext.c : Likewise.
40285         * iconvdata/iso-2022-jp-3.c: Likewise.
40286         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40287         * iconvdata/iso-2022-kr.c : Likewise.
40288         * iconvdata/iso646.c (gconv_end): Likewise.
40289         * iconvdata/iso_6937-2.c : Likewise.
40290         * iconvdata/iso_6937.c : Likewise.
40291         * iconvdata/iso8859-1.c: Likewise.
40292         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40293         * iconvdata/shift_jisx0213.c : Likewise.
40294         * iconvdata/sjis.c : Likewise.
40295         * iconvdata/t.61.c : Likewise.
40296         * iconvdata/tcvn5712-1.c : Likewise.
40297         * iconvdata/tscii.c: Likewise.
40298         * iconvdata/uhc.c : Likewise.
40299         * iconvdata/unicode.c (gconv_end): Likewise.
40300         * iconvdata/utf-16.c (gconv_end): Likewise.
40301         * iconvdata/utf-32.c (gconv_end): Likewise.
40302         * iconvdata/utf-7.c (base64): Likewise.
40303         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40304         * iconv/gconv_close.c (__gconv_close): Likewise.
40305         * iconv/gconv_open.c (__gconv_open): Likewise.
40306         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40307         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40308         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40309         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40310         (ucs4le_internal_loop_single): Likewise.
40311         * iconv/iconv.c (iconv): Likewise.
40312         * iconv/iconv_close.c: Likewise.
40313         * iconv/loop.c (SINGLE): Likewise.
40314         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40315         * include/atomic.h: Likewise.
40316         * inet/inet6_option.c (option_alloc): Likewise.
40317         * intl/bindtextdom.c (set_binding_values): Likewise.
40318         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40319         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40320         * intl/localealias.c (read_alias_file): Likewise.
40321         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40322         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40323         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40324         * libio/fmemopen.c (fmemopen): Likewise.
40325         * libio/iofgets.c (_IO_fgets): Likewise.
40326         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40327         * libio/iofgetws.c (fgetws): Likewise.
40328         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40329         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40330         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40331         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40332         * locale/findlocale.c (_nl_find_locale): Likewise.
40333         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40334         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40335         Likewise.
40336         * locale/setlocale.c (setlocale): Likewise.
40337         * login/programs/pt_chown.c (main): Likewise.
40338         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40339         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40340         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40341         (mmap, mmap64, mremap, munmap): Likewise.
40342         * math/e_exp2l.c: Likewise.
40343         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40344         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40345         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40346         * math/s_catan.c (__catan): Likewise.
40347         * math/s_catanf.c (__catanf): Likewise.
40348         * math/s_catanh.c (__catanh): Likewise.
40349         * math/s_catanhf.c (__catanhf): Likewise.
40350         * math/s_catanhl.c (__catanhl): Likewise.
40351         * math/s_catanl.c (__catanl): Likewise.
40352         * math/s_ccosh.c (__ccosh): Likewise.
40353         * math/s_ccoshf.c (__ccoshf): Likewise.
40354         * math/s_ccoshl.c (__ccoshl): Likewise.
40355         * math/s_cexp.c (__cexp): Likewise.
40356         * math/s_cexpf.c (__cexpf): Likewise.
40357         * math/s_cexpl.c (__cexpl): Likewise.
40358         * math/s_clog10.c (__clog10): Likewise.
40359         * math/s_clog10f.c (__clog10f): Likewise.
40360         * math/s_clog10l.c (__clog10l): Likewise.
40361         * math/s_clog.c (__clog): Likewise.
40362         * math/s_clogf.c (__clogf): Likewise.
40363         * math/s_clogl.c (__clogl): Likewise.
40364         * math/s_csin.c (__csin): Likewise.
40365         * math/s_csinf.c (__csinf): Likewise.
40366         * math/s_csinh.c (__csinh): Likewise.
40367         * math/s_csinhf.c (__csinhf): Likewise.
40368         * math/s_csinhl.c (__csinhl): Likewise.
40369         * math/s_csinl.c (__csinl): Likewise.
40370         * math/s_csqrt.c (__csqrt): Likewise.
40371         * math/s_csqrtf.c (__csqrtf): Likewise.
40372         * math/s_csqrtl.c (__csqrtl): Likewise.
40373         * math/s_ctan.c (__ctan): Likewise.
40374         * math/s_ctanf.c (__ctanf): Likewise.
40375         * math/s_ctanh.c (__ctanh): Likewise.
40376         * math/s_ctanhf.c (__ctanhf): Likewise.
40377         * math/s_ctanhl.c (__ctanhl): Likewise.
40378         * math/s_ctanl.c (__ctanl): Likewise.
40379         * math/w_pow.c: Likewise.
40380         * math/w_powf.c: Likewise.
40381         * math/w_powl.c: Likewise.
40382         * math/w_scalb.c (sysv_scalb): Likewise.
40383         * math/w_scalbf.c (sysv_scalbf): Likewise.
40384         * math/w_scalbl.c (sysv_scalbl): Likewise.
40385         * misc/error.c (error_tail): Likewise.
40386         * misc/pselect.c (__pselect): Likewise.
40387         * nis/nis_callback.c (__nis_create_callback): Likewise.
40388         * nis/nis_call.c (__nisfind_server): Likewise.
40389         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40390         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40391         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40392         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40393         * nis/nis_lookup.c (nis_lookup): Likewise.
40394         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40395         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40396         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40397         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40398         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40399         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40400         * nis/nss_compat/compat-initgroups.c (add_group)
40401         (internal_getgrent_r): Likewise.
40402         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40403         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40404         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40405         (internal_getspnam_r): Likewise.
40406         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40407         (_nss_nis_getaliasbyname_r): Likewise.
40408         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40409         (_nss_nis_getntohost_r): Likewise.
40410         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40411         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40412         (_nss_nis_getgrgid_r): Likewise.
40413         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40414         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40415         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40416         (_nss_nis_gethostbyname4_r): Likewise.
40417         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40418         (initgroups_netid): Likewise.
40419         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40420         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40421         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40422         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40423         (_nss_nis_getprotobynumber_r): Likewise.
40424         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40425         (_nss_nis_getsecretkey): Likewise.
40426         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40427         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40428         (_nss_nis_getpwuid_r): Likewise.
40429         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40430         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40431         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40432         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40433         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40434         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40435         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40436         Likewise.
40437         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40438         (_nss_nisplus_getntohost_r): Likewise.
40439         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40440         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40441         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40442         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40443         Likewise.
40444         * nis/nss_nisplus/nisplus-initgroups.c
40445         (_nss_nisplus_initgroups_dyn): Likewise.
40446         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40447         (_nss_nisplus_getnetbyaddr_r): Likewise.
40448         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40449         (_nss_nisplus_getprotobynumber_r): Likewise.
40450         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40451         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40452         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40453         Likewise.
40454         * nis/nss_nisplus/nisplus-service.c
40455         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40456         (_nss_nisplus_getservbyport_r): Likewise.
40457         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40458         (_nss_nisplus_getspnam_r): Likewise.
40459         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40460         Likewise.
40461         * nscd/aicache.c (addhstaiX): Likewise.
40462         * nscd/cache.c (cache_search, prune_cache): Likewise.
40463         * nscd/connections.c (register_traced_file, send_ro_fd)
40464         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40465         (main_loop_epoll): Likewise.
40466         * nscd/grpcache.c (addgrbyX): Likewise.
40467         * nscd/hstcache.c (addhstbyX): Likewise.
40468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40469         * nscd/mem.c (gc, mempool_alloc): Likewise.
40470         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40471         (addinnetgrX): Likewise.
40472         * nscd/nscd-client.h (__nscd_acquire_maplock)
40473         (__nscd_drop_map_ref): Likewise.
40474         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40475         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40476         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40477         Likewise.
40478         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40479         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40480         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40481         (__nscd_get_map_ref): Likewise.
40482         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40483         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40484         Likewise.
40485         * nscd/pwdcache.c (addpwbyX): Likewise.
40486         * nscd/selinux.c (preserve_capabilities): Likewise.
40487         * nscd/servicescache.c (addservbyX): Likewise.
40488         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40489         * posix/fnmatch.c (fnmatch): Likewise.
40490         * posix/getopt.c (_getopt_internal_r): Likewise.
40491         * posix/glob.c (glob, glob_in_dir): Likewise.
40492         * posix/wordexp.c (exec_comm_child): Likewise.
40493         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40494         (getanswer_r, gaih_getanswer_slice): Likewise.
40495         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40496         * resolv/res_init.c: Likewise.
40497         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40498         * resolv/res_query.c (__libc_res_nquery): Likewise.
40499         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40500         Likewise.
40501         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40502         * stdio-common/perror.c (perror): Likewise.
40503         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40504         * stdio-common/tmpnam.c (tmpnam): Likewise.
40505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40506         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40507         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40508         Likewise.
40509         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40510         * stdlib/putenv.c (putenv): Likewise.
40511         * stdlib/setenv.c (__add_to_environ): Likewise.
40512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40513         * stdlib/strtol_l.c (INTERNAL): Likewise.
40514         * string/memmem.c (memmem): Likewise.
40515         * string/strerror.c (strerror): Likewise.
40516         * string/strnlen.c (__strnlen): Likewise.
40517         * string/test-memmem.c (simple_memmem): Likewise.
40518         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40519         * sunrpc/pm_getport.c (__get_socket): Likewise.
40520         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40521         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40522         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40523         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40524         Likewise.
40525         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40526         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40527         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40528         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40529         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40530         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40531         Likewise.
40532         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40533         Likewise.
40534         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40535         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40537         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40538         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40540         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40541         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40542         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40543         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40544         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40545         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40546         Likewise.
40547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40548         Likewise.
40549         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40550         Likewise.
40551         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40553         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40554         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40555         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40556         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40557         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40560         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40561         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40563         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40564         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40566         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40567         Likewise.
40568         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40569         Likewise.
40570         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40571         Likewise.
40572         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40573         Likewise.
40574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40576         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40577         Likewise.
40578         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40579         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40580         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40581         * sysdeps/posix/sleep.c: Likewise.
40582         * sysdeps/posix/tempname.c: Likewise.
40583         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40584         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40585         Likewise.
40586         * sysdeps/powerpc/powerpc32/dl-machine.h
40587         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40588         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40590         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40591         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40592         Likewise.
40593         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40594         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40595         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40596         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40597         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40598         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40599         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40600         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40601         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40602         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40603         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40604         (elf_machine_lazy_rel): Likewise.
40605         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40606         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40607         (elf_machine_lazy_rel): Likewise.
40608         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40609         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40610         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40611         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40612         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40613         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40614         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40616         Likewise.
40617         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40618         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40619         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40620         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40621         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40622         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40623         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40624         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40625         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40627         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40628         Likewise.
40629         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40630         (__posix_fallocate64_l64): Likewise.
40631         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40632         (posix_fallocate): Likewise.
40633         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40634         Likewise.
40635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40636         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40637         (getifaddrs_internal): Likewise.
40638         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40639         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40640         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40641         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40642         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40643         (__posix_fallocate64_l64): Likewise.
40644         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40645         Likewise.
40646         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40647         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40648         (__get_clockfreq): Likewise.
40649         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40650         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40651         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40654         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40655         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40656         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40657         Likewise.
40658         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40659         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40660         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40661         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40662         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40663         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40664         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40665         Likewise.
40666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40667         (posix_fallocate): Likewise.
40668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40669         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40670         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40671         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40672         (elf_machine_rela, elf_machine_rela_relative)
40673         (elf_machine_lazy_rel): Likewise.
40674         * time/asctime.c (asctime_internal): Likewise.
40675         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40676         * time/tzset.c (__tzset_parse_tz): Likewise.
40677         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40678         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40679         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40680         * wcsmbs/wcsmbsload.h: Likewise.
40682         [BZ #15894]
40683         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40685         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40686         (arena_get2): Remove THREAD_STATS conditionals.
40687         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40688         (__malloc_stats, int): Likewise.
40690 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40692         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40693         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40695         * manual/setjmp.texi: Fix typos/grammar errors.
40697         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40698         Only return early when n is <= 0.  Delete unused return statement.
40700         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40701         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40702         * debug/tst-longjmp_chk3.c: New file.
40704         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40705         (test_main): Replace code with set_fortify_handler call.
40706         * debug/test-strcpy_chk.c: Likewise.
40707         * debug/tst-chk1.c: Likewise.
40708         * debug/tst-longjmp_chk.c: Likewise.
40709         * test-skeleton.c: Include fcntl.h & paths.h
40710         (set_fortify_handler): Define.
40712         * debug/tst-longjmp_chk.c: Add header comment and include
40713         ../test-skeleton.c.
40714         (do_test): Mark static.
40715         (TEST_FUNCTION): Define.
40717         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40718         (IP_PMTUDISC_INTERFACE): Likewise.
40719         (IP_MULTICAST_IF): Likewise.
40720         (IP_MULTICAST_TTL): Likewise.
40721         (IP_MULTICAST_LOOP): Likewise.
40722         (IP_ADD_MEMBERSHIP): Likewise.
40723         (IP_DROP_MEMBERSHIP): Likewise.
40724         (IP_UNBLOCK_SOURCE): Likewise.
40725         (IP_BLOCK_SOURCE): Likewise.
40726         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40727         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40728         (IP_MSFILTER): Likewise.
40729         (MCAST_JOIN_GROUP): Likewise.
40730         (MCAST_BLOCK_SOURCE): Likewise.
40731         (MCAST_UNBLOCK_SOURCE): Likewise.
40732         (MCAST_LEAVE_GROUP): Likewise.
40733         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40734         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40735         (MCAST_MSFILTER): Likewise.
40736         (IP_MULTICAST_ALL): Likewise.
40737         (IP_UNICAST_IF): Likewise.
40739         * timezone/Makefile: Delete $(have-ksh) check.
40740         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40741         * timezone/tzselect.ksh: Add +x mode bits.
40743         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40744         (ANON_INODE_FS_MAGIC): Likewise.
40745         (BDEVFS_MAGIC): Likewise.
40746         (BINFMTFS_MAGIC): Likewise.
40747         (BTRFS_TEST_MAGIC): Likewise.
40748         (CRAMFS_MAGIC_WEND): Likewise.
40749         (DEBUGFS_MAGIC): Likewise.
40750         (ECRYPTFS_SUPER_MAGIC): Likewise.
40751         (EXT3_SUPER_MAGIC): Likewise.
40752         (EXT4_SUPER_MAGIC): Likewise.
40753         (FUTEXFS_SUPER_MAGIC): Likewise.
40754         (HOSTFS_SUPER_MAGIC): Likewise.
40755         (HUGETLBFS_MAGIC): Likewise.
40756         (MINIX3_SUPER_MAGIC): Likewise.
40757         (MTD_INODE_FS_MAGIC): Likewise.
40758         (NILFS_SUPER_MAGIC): Likewise.
40759         (OPENPROM_SUPER_MAGIC): Likewise.
40760         (PIPEFS_MAGIC): Likewise.
40761         (PSTOREFS_MAGIC): Likewise.
40762         (QNX6_SUPER_MAGIC): Likewise.
40763         (RAMFS_MAGIC): Likewise.
40764         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40765         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40766         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40767         (SECURITYFS_MAGIC): Likewise.
40768         (SELINUX_MAGIC): Likewise.
40769         (SMACK_MAGIC): Likewise.
40770         (SOCKFS_MAGIC): Likewise.
40771         (SQUASHFS_MAGIC): Likewise.
40772         (STACK_END_MAGIC): Likewise.
40773         (TMPFS_MAGIC): Likewise.
40774         (USBDEVICE_SUPER_MAGIC): Likewise.
40775         (V9FS_MAGIC): Likewise.
40776         (XENFS_SUPER_MAGIC): Likewise.
40777         (CRAMFS_MAGIC): Fix typo in comment.
40778         (EXT2_SUPER_MAGIC): Update comment.
40779         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40781 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40783         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40784         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40785         * sysdeps/unix/sysv/linux/arm: Move directory from
40786         ports/sysdeps/unix/sysv/linux/arm.
40787         * README: Update listing for arm-*-linux-gnueabi.
40789         * README: Remove mention of am33.
40791 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40793         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40794         than the comma operator, to avoid "rhs of comma has no effect"
40795         compiler warnings.
40796         (__sigfillset, __sigandset, __sigorset): Likewise.
40797         * include/signal.h (__sigemptyset): Likewise.
40798         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40800 2014-02-07  Allan McRae  <allan@archlinux.org>
40802         * version.h (RELEASE): Set to "development".
40803         (VERSION): Set to "2.19.90"
40804         * NEWS: Add 2.20 section.
40806 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40808         [BZ #16529]
40809         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40811 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40813         * manual/contrib.texi: Update entry for Carlos O'Donell,
40814         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40816 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40818         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40820         * sysdeps/unix/sysv/linux/kernel-features.h
40821         [__LINUX_KERNEL_VERSION >= 0x020621]
40822         (__ASSUME_PROC_PID_TASK_COMM): Define.
40824 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40826         [BZ #16398]
40827         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40828         conversion when destination buffer does not have enough space.
40829         * libio/tst-ftell-partial-wide.c: New test case.
40830         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40832         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40833         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40834         Leonard and Allan McRae.
40836 2014-02-04  David S. Miller  <davem@davemloft.net>
40838         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40839         32-bit.
40841 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40844         New file
40845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40846         New file
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40848         New file.
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40850         New file.
40851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40852         New file.
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40854         New file.
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40856         New file.
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40858         New file.
40859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40860         New file.
40861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40862         New file.
40863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40864         New file.
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40866         New file.
40867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40868         New file.
40870 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40872         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40873         * shlib-versions: Likewise.
40875 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40876             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40878         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40879         (abilist-pattern): New variable, set to %-le.abilist.
40881         * Makerules (abilist-pattern): New variable.
40882         (vpath): Use $(abilist-pattern) in place of %.abilist.
40883         (check-abi-% pattern rule): Likewise.
40884         (check-abi, update-abi): Likewise.
40886 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40890 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40892         * manual/startup.texi: Add next, previous, and top entries for
40893         the `Program Arguments' and `Environment Variables' nodes.
40895 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40897         * manual/macros.texi: Add comments before MTASC-safety macros.
40899         * manual/users.texi: Document MTASC-safety properties.
40901         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40902         (pthread_getspecific, pthread_setspecific): Format with
40903         @deftypefun, and add @safety note.
40904         * manual/signal.texi: Move comments that analyze the above
40905         functions to their home place.
40907 2014-02-03  Allan McRae  <allan@archlinux.org>
40909         * po/sl.po: Update Slovenian translation from translation project.
40911 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40913         * manual/time.texi (timegm): Add missing blank after @c.
40914         Reported by Joseph Myers <joseph@codesourcery.com>.
40916 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40918         * manual/check-safety.sh: New.
40919         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40921         * manual/terminal.texi: Document MTASC-safety properties.
40923         * manual/filesys.texi: Document MTASC-safety properties.
40925         * manual/errno.texi: Document MTASC-safety properties.
40927         * manual/intro.texi: Document safety identifiers and
40928         conditionals.
40930         * manual/string.texi (wcstok): Fix prototype.
40931         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40933         * manual/time.texi: Document MTASC-safety properties.
40935         * manual/string.texi: Document MTASC-safety properties.
40937         * manual/threads.texi: Document MTASC-safety properties.
40939         * manual/stdio.texi: Document MTASC-safety properties.
40941         * manual/syslog.texi: Document MTASC-safety properties.
40943         * manual/sysinfo.texi: Document MTASC-safety properties.
40945         * manual/startup.texi: Document MTASC-safety properties.
40947         * manual/socket.texi: Document MTASC-safety properties.
40949         * manual/signal.texi: Document MTASC-safety properties.
40951 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40953         * manual/setjmp.texi: Document MTASC-safety properties.
40955         * manual/search.texi: Document MTASC-safety properties.
40957         * manual/resource.texi: Document MTASC-safety properties.
40959         * manual/process.texi: Document MTASC-safety properties.
40961         * manual/platform.texi: Document MTASC-safety properties.
40963         * manual/pipe.texi: Document MTASC-safety properties.
40965         * manual/pattern.texi: Document MTASC-safety properties.
40967         * manual/message.texi: Document MTASC-safety properties.
40969         [BZ #12751]
40970         * manual/memory.texi: Document MTASC-safety properties.
40972         * manual/math.texi: Document MTASC-safety properties.
40974         * manual/locale.texi: Document MTASC-safety properties.
40976         * manual/llio.texi: Document MTASC-safety properties.
40978         * manual/libdl.texi: New.
40980         * manual/lang.texi: Document MTASC-safety properties.
40982         * manual/job.texi: Document MTASC-safety properties.
40984         * manual/getopt.texi: Document MTASC-safety properties.
40986         * manual/ctype.texi: Document MTASC-safety properties.
40988 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40990         [BZ #16046]
40991         * csu/libc-tls.c (static_map): Remove variable.
40992         (__libc_setup_tls): Use main executable's link map for TLS data.
40993         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40994         casing for LM_ID_BASE and GL(dl_nns).
40995         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40996         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40997         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40998         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40999         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41000         member.
41001         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41002         l_phnum members.
41004 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41006         * manual/debug.texi: Document MTASC-safety properties.
41008 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41010         [BZ #16510]
41011         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41012         of __x86_64__ when disabling x87 inline functions.
41014 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41016         * manual/charset.texi: Document MTASC-safety properties.
41018         * manual/crypt.texi: Document MTASC-safety properties.
41020         * manual/conf.texi: Document MTASC-safety properties.
41022         * manual/arith.texi: Document MTASC-safety properties.
41024         * manual/argp.texi: Document MTASC-safety properties.
41026         * manual/macros.texi: Introduce macros to document multi
41027         thread, asynchronous signal and asynchronous cancellation
41028         safety properties.
41029         * manual/intro.texi: Introduce the properties themselves.
41031 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41033         * sysdeps/sh/sh4/Makefile: New file.
41035 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41037         * math/gen-libm-test.pl ($srcdir): New variable.
41038         ($auto_input): Use it.
41040 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41042         [BZ #16506]
41043         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41044         access beyond array bounds when parsing netgroups file.
41046         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41047         the old buffer before realloc.
41049 2014-01-27  Allan McRae  <allan@archlinux.org>
41051         * po/fr.po: Update French translation from translation project.
41053 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41055         * sysdeps/sh/libm-test-ulps: Regenerate.
41057 2014-01-24  David S. Miller  <davem@davemloft.net>
41059         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41061 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41063         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41064         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41066 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41068         [BZ #16474]
41069         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41070         string pointers after reallocation.
41072 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41074         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41075         __SH4A__ instead of __SH_FPU_ANY__.
41077 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41079         * sysdeps/sh/fpu_control.h: New file.
41080         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41081         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41082         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41083         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41084         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41085         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41086         * sysdeps/sh/sys/ucontext.h: Remove.
41087         * sysdeps/sh/sys: Remove directory.
41089 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41091         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41092         s390/sys/ucontext.h.
41093         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41094         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41096 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41098         [BZ #15605]
41099         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41101 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41103         [BZ#16431]
41104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41105         Adjust the vDSO correctly for internal calls.
41106         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41108 2014-01-20  Allan McRae  <allan@archlinux.org>
41110         * po/ca.po: Update Catalan translation from translation project.
41112 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41114         * sysdeps/s390/sotruss-lib.c: New file.
41116 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41118         [BZ#16430]
41119         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41120         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41121         local calls issues by not having a PLT stub required for IFUNC calls.
41122         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41124 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41126         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41127         * math/test-fpucw-static.c: Likewise.
41129 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41131         [BZ #16453]
41132         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41134 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41136         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41137         implementation for powerpc.
41139 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41141         [BZ #14782]
41142         * sysdeps/posix/system.c (__libc_system): Do not enable
41143         asynchronous cancellation.
41145 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41147         [BZ #16427]
41148         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41149         handling only for numbers special also in the IEEE case.
41151 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41153         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41155 2014-01-11  Allan McRae  <allan@archlinux.org>
41157         * po/bg.po: Update Bulgarian translation from translation project.
41159         * po/de.po: Update German translation from translation project.
41161 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41163         * sysdeps/generic/gcc-compat.h: New file.
41165 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41167         * benchtests/asin-inputs: Correct slow inputs.
41168         * benchtests/acos-inputs: Likewise.
41170 2014-01-10  Allan McRae  <allan@archlinux.org>
41172         * po:sv.po: Update Swedish translation from translation project.
41174         * po/vi.po: Update Vietnamese translation from translation project.
41176         * po/eo.po: Update Esperanto translation from translation project.
41178         * po/cs.po: Update Czech translation from translation project.
41180         * po/nl.po: Update Dutch translation from translation project.
41182         * po/pl.po: Update Polish translation from translation project.
41184         * po/ru.po: Update Russian translation from translation project.
41186         * po/uk.po: Update Ukrainian translation from translation project.
41188 2014-01-08  Brooks Moses  <bmoses@google.com>
41190         * elf/dl-load.c: Fix comment typo.
41192 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41194         * po/header.pot: Rename to...
41195         * po/pot.header: ... this.
41196         * po/Makefile: Use pot.header.
41198 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41199             Maxim Kuvyrkov  <maxim@kugelworks.com>
41201         [BZ #16394]
41202         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41203         SRC and DEST against LEN.
41205 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41207         [BZ #16414]
41208         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41209         implementation.
41210         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41212 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41216 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41218         [BZ #16408]
41219         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41220         for large positive arguments.
41222 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41224         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41226         * math/auto-libm-test-in: Mark various tests with
41227         xfail-rounding:ldbl-128ibm.
41228         * math/auto-libm-test-out: Regenerated.
41230         [BZ #16407]
41231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41232         Increase overflow threshold.
41234 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41236         [BZ #14286]
41237         * stdio-common/vfprintf.c: Check for integer overflow.
41239 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41241         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41242         the first argument and return value of __tls_get_addr_internal.
41244 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41246         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41247         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41249 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41251         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41252         * sysdeps/s390/rtld-global-offsets.sym: New file.
41253         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41254         GLIBC_2.19 symbol.
41255         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41256         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41257         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41258         ... this.
41259         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41260         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41261         ... this.
41262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41263         Regenerate.
41264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41265         Regenerate.
41266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41267         halfs of GPRs for high_gprs contexts.
41268         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41269         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41270         field.
41271         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41272         uc_flags field.
41273         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41274         64 bit versions:
41275         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41276         for high GPRs (uc_high_gprs) and for future extensions
41277         (__reserved).
41278         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41279         for future extensions (__reserved).
41280         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41281         64 bit versions:
41282         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41283         SC_HIGHGPRS offset definition.
41284         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41285         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41287         * Versions.def: Add GLIBC_2.19 for libpthread.
41288         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41289         siglongjmp for libpthread with GLIBC_2.19 symver.
41290         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41291         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41292         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41293         * sysdeps/s390/__longjmp.c: New file.
41294         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41295         * sysdeps/s390/longjmp.c: New file.
41296         * sysdeps/s390/setjmp.S: New file.
41297         * sysdeps/s390/sigjmp.S: New file.
41298         * sysdeps/s390/v1-longjmp.c: New file.
41299         * sysdeps/s390/v1-setjmp.h: New file.
41300         * sysdeps/s390/v1-sigjmp.c: New file.
41301         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41302         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41303         GLIBC_2.19 version.
41304         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41305         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41306         versioned symbols for ____longjmp_chk.
41307         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41308         Likewise.
41309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41310         Regenerate.
41311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41312         Regenerate.
41313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41314         Regenerate.
41315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41316         Regenerate.
41317         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41318         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41319         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41320         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41321         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41322         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41323         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41324         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41325         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41326         * sysdeps/s390/rtld-__longjmp.c: New file.
41327         * sysdeps/s390/rtld-setjmp.S: New file.
41329 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41331         [BZ #16400]
41332         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41333         Return -__logl (x) for small positive arguments without evaluating
41334         a polynomial.
41336 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41338         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41339         Rename to ...
41340         (__ptrace_peeksiginfo_args): ... this.
41341         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41342         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41345 2014-01-06  Allan McRae  <allan@archlinux.org>
41347         * inet/netinet/in.h: Fix typo in comment.
41349 2014-01-05  Andreas Jaeger  <aj@suse.de>
41351         * sysdeps/i386/fpu/libm-test-ulps: Update.
41353 2014-01-05  Allan McRae  <allan@archlinux.org>
41355         * po/libc.pot: Regenerated.
41357         * malloc/memusagestat.c: Fix gettext call formatting.
41359 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41361         * nscd/nscd.c: Improve usage() output.
41363 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41365         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41366         * sysdeps/unix/sysv/linux/configure: Regenerated.
41367         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41368         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41370 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41372         [BZ #16390]
41373         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41374         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41376 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41379         extra tokens at end of #undef directive.
41380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41381         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41382         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41384 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41386         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41388         * math/auto-libm-test-in: Mark various tests with
41389         xfail-rounding:ldbl-128ibm.
41390         * math/auto-libm-test-out: Regenerated.
41392 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41394         [BZ #16386]
41395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41396         numbers with subnormal high part when calculating exponent.
41398         [BZ #16385]
41399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41400         fabs.
41402         [BZ #16384]
41403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41404         M_LN2l.
41405         (__ieee754_acoshl): Use __log1pl not __log1p.
41407 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41409         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41410         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41411         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41412         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41413         (reused_arena, arena_get2): Convert to GNU style.
41414         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41415         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41416         (memalign_check, __malloc_set_state): Likewise.
41417         * malloc/mallocbug.c (main): Likewise.
41418         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41419         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41420         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41421         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41422         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41423         (__posix_memalign, malloc_info): Likewise.
41424         * malloc/malloc.h: Likewise.
41425         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41426         (mallochook, memalignhook, reallochook, mabort): Likewise.
41427         * malloc/mcheck.h: Likewise.
41428         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41429         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41430         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41431         * malloc/morecore.c (__default_morecore): Likewise.
41432         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41433         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41434         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41435         (print_and_abort): Likewise.
41436         * malloc/obstack.h: Likewise.
41437         * malloc/set-freeres.c (__libc_freeres): Likewise.
41438         * malloc/tst-mallocstate.c (main): Likewise.
41439         * malloc/tst-mtrace.c (main): Likewise.
41440         * malloc/tst-realloc.c (do_test): Likewise.
41442 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41444         [BZ #16366]
41445         * nscd/netgroupcache.c (do_notfound): New function.
41446         (addgetnetgrentX): Use it.
41448         [BZ # 16365]
41449         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41450         NSS_STATUS_NOTFOUND.
41452 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41454         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41457 2014-01-01  Allan McRae  <allan@archlinux.org>
41459         * scripts/update-copyrights: Update configure input file suffix.
41461         * NEWS: Update copyright year.
41462         * catgets/gencat.c: Likewise.
41463         * csu/version.c: Likewise.
41464         * debug/catchsegv.sh: Likewise.
41465         * debug/pcprofiledump.c: Likewise.
41466         * debug/xtrace.sh: Likewise.
41467         * elf/ldconfig.c: Likewise.
41468         * elf/ldd.bash.in: Likewise.
41469         * elf/pldd.c: Likewise.
41470         * elf/sotruss.ksh: Likewise.
41471         * elf/sprof.c: Likewise.
41472         * iconv/iconv_prog.c: Likewise.
41473         * iconv/iconvconfig.c: Likewise.
41474         * locale/programs/locale.c: Likewise.
41475         * locale/programs/localedef.c: Likewise.
41476         * login/programs/pt_chown.c: Likewise.
41477         * malloc/memusage.sh: Likewise.
41478         * malloc/memusagestat.c: Likewise.
41479         * malloc/mtrace.pl: Likewise.
41480         * manual/libc.texinfo: Likewise.
41481         * nscd/nscd.c: Likewise.
41482         * nss/getent.c: Likewise.
41483         * nss/makedb.c: Likewise.
41484         * posix/getconf.c: Likewise.
41485         * scripts/test-installation.pl: Likewise.
41487         * All files with FSF copyright notices: Update copyright dates
41488         using scripts/update-copyrights.
41489         * intl/plural.c: Regenerated.
41490         * locale/programs/charmap-kw.h: Likewise.
41491         * locale/programs/locfile-kw.h: Likewise.
41493 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41495         * sysdeps/unix/sysv/linux/configure: Regenerated.
41496         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41497         the linux/fanotify.h header.
41498         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41499         HAVE_LINUX_FANOTIFY_H is defined.
41501 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41503         * benchtests/cos-inputs: New inputs.
41504         * benchtests/sin-inputs: Likewise.
41506         * benchtests/atan-inputs: New inputs. Fix name of multiple
41507         precision fallback inputs.
41509         * benchtests/atanh-inputs: New inputs.
41510         * benchtests/tanh-inputs: Likewise.
41512         * benchtests/acosh-inputs: New inputs.
41513         * benchtests/asinh-inputs: Likewise.
41515         * benchtests/cosh-inputs: New inputs.
41516         * benchtests/sinh-inputs: Likewise.
41518         * benchtests/acos-inputs: Add more inputs.
41519         * benchtests/asin-inputs: Likewise.
41521 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41523         [BZ #16375]
41524         * manual/arith.texi: Fix spelling.
41525         * manual/charset.texi: Likewise.
41526         * manual/errno.texi: Likewise.
41527         * manual/filesys.texi: Likewise.
41528         * manual/lang.texi: Likewise.
41529         * manual/llio.texi: Likewise.
41530         * manual/locale.texi: Likewise.
41531         * manual/message.texi: Likewise.
41532         * manual/resource.texi: Likewise.
41533         * manual/search.texi: Likewise.
41534         * manual/setjmp.texi: Likewise.
41535         * manual/stdio.texi: Likewise.
41536         * manual/string.texi: Likewise.
41537         * manual/sysinfo.texi: Likewise.
41538         * manual/time.texi: Likewise.
41540 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41542         * po/sl.po: New file.
41544 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41546         * .gitignore: Add core/.gdbinit/.gdb_history.
41548 2013-12-27  Allan McRae  <allan@archlinux.org>
41550         [BZ #16369]
41551         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41552         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41554 2013-12-24  Brooks Moses  <bmoses@google.com>
41556         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41557         all compilers that claim C++98 compliance, not just GCC.
41558         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41559         Likewise.
41561 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41563         * NEWS: Restore accidentally deleted bug-fix entries.
41565 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41566             Ondřej Bílka  <neleai@seznam.cz>
41568         [BZ #15073]
41569         * malloc/malloc.c (_int_free): Perform sanity check only if we
41570         have_lock.
41572 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41574         [BZ #12986]
41575         * manual/stdio.texi (String Input Conversions): Clarify that character
41576         classes are not supported.
41578 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41582 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41584         [BZ #16337]
41585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41586         Calculate results for small negative arguments directly rather
41587         than using reflection formula with special underflow handling.
41589         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41590         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41591         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41592         (fchflags): Likewise.
41593         (revoke): Likewise.
41594         (setlogin): Likewise.
41595         (sigaltstack): Likewise.
41596         (wait4): Likewise.
41597         (sigblock): Remove.
41598         (sigsetmask): Likewise.
41599         (wait3): Likewise.
41600         (waitpid): Likewise.
41601         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41602         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41603         file.
41604         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41605         * sysdeps/unix/bsd/Makefile: ... here.
41606         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41607         * sysdeps/unix/bsd/Versions: ... here.
41608         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41609         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41610         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41611         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41612         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41613         * sysdeps/unix/bsd/sigblock.c: ... here.
41614         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41615         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41616         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41617         * sysdeps/unix/bsd/sigvec.c: ... here.
41618         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41619         * sysdeps/unix/bsd/tcdrain.c: ... here.
41620         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41621         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41622         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41623         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41624         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41625         * sysdeps/unix/bsd/wait.c: ... here.
41626         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41627         * sysdeps/unix/bsd/wait3.c: ... here.
41628         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41629         * sysdeps/unix/bsd/waitpid.c: ... here.
41631 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41633         [BZ #16356]
41634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41635         round-to-nearest for [!USE_AS_EXPM1L].
41636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41637         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41638         more tests of exp and exp10.  Expect some exp10 tests to miss
41639         exceptions or fail in directed rounding modes.
41640         * math/auto-libm-test-out: Regenerated.
41641         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41642         (exp10_test_tonearest): New function.
41643         (exp10_towardzero_test_data): New array.
41644         (exp10_test_towardzero): New function.
41645         (exp10_downward_test_data): New array.
41646         (exp10_test_downward): New function.
41647         (exp10_upward_test_data): New array.
41648         (exp10_test_upward): New function.
41649         (main): Call the new functions.
41650         * sysdeps/i386/fpu/libm-test-ulps: Update.
41651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41653 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41655         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41656         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41657         * math/auto-libm-test-out: Regenerated.
41658         * math/libm-test.inc (acosh_test_data): Add more tests.
41659         (atanh_test_data): Likewise.
41660         (ceil_test_data): Likewise.
41661         (copysign_test_data): Likewise.
41662         * sysdeps/i386/fpu/libm-test-ulps: Update.
41663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41665         * timezone/checktab.awk: Update from tzcode 2013i.
41666         * timezone/private.h: Likewise.
41667         * timezone/scheck.c: Likewise.
41668         * timezone/tzfile.h: Likewise.
41669         * timezone/tzselect.ksh: Likewise.
41670         * timezone/zdump.c: Likewise.
41671         * timezone/zic.c: Likewise.
41673         * math/auto-libm-test-in: Add tests of cpow.
41674         * math/auto-libm-test-out: Regenerated.
41675         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41677         mpc_cc_c.
41678         (func_calc_desc): Add mpc_cc_c union field.
41679         (test_functions): Add cpow.
41680         (special_fill_2pi): New function.
41681         (special_real_inputs): Add 2pi.
41682         (calc_generic_results): Handle mpc_cc_c.
41683         * sysdeps/i386/fpu/libm-test-ulps: Update.
41684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41686         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41687         csqrt, ctan and ctanh.
41688         * math/auto-libm-test-out: Regenerated.
41689         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41690         (TEST_COND_x86): Likewise.
41691         (ccos_test_data): Use AUTO_TESTS_c_c.
41692         (ccosh_test_data): Likewise.
41693         (cexp_test_data): Likewise.
41694         (clog_test_data): Likewise.
41695         (csqrt_test_data): Likewise.
41696         (ctan_test_data): Likewise.
41697         (ctan_tonearest_test_data): Likewise.
41698         (ctan_towardzero_test_data): Likewise.
41699         (ctan_downward_test_data): Likewise.
41700         (ctan_upward_test_data): Likewise.
41701         (ctanh_test_data): Likewise.
41702         (ctanh_tonearest_test_data): Likewise.
41703         (ctanh_towardzero_test_data): Likewise.
41704         (ctanh_downward_test_data): Likewise.
41705         (ctanh_upward_test_data): Likewise.
41706         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41707         mpc_c_c.
41708         (func_calc_desc): Add mpc_c_c union field.
41709         (FUNC_mpc_c_c): New macro.
41710         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41711         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41712         ctanh.
41713         (special_fill_min_subnorm_p120): New function.
41714         (special_real_inputs): Add min_subnorm_p120.
41715         (calc_generic_results): Handle mpc_c_c.
41716         * sysdeps/i386/fpu/libm-test-ulps: Update.
41717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41719 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41721         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41722         (do_sin_slow): New functions.
41723         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41724         (cslow2, csloww1, csloww2): Use the new functions.
41726         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41727         Use M to change sign of result instead of X.  Assume X is
41728         positive.
41729         (csloww1): Likewise.
41730         (__sin): Adjust.
41731         (__cos): Adjust.
41733         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41734         arguments A and DA.
41735         (__sin): Adjust.
41736         (__cos): Likewise.
41738         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41739         (__cos): Likewise.
41740         (sloww1): Don't adjust sign of DX.
41741         (csloww1): Likewise.
41742         (sloww2): Use X directly and don't adjust sign of DX.
41743         (csloww2): Likewise.
41745 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41747         * math/auto-libm-test-in: Add tests of cabs and carg.
41748         * math/auto-libm-test-out: Regenerated.
41749         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41750         (carg_test_data): Likewise.
41751         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41752         mpc_c_f.
41753         (func_calc_desc): Add mpc_c_f union field.
41754         (test_functions): Add cabs and carg.
41755         (calc_generic_results): Handle mpc_c_f.
41757         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41758         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41759         as a macro and a compat symbol.
41760         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41761         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41762         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41763         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41764         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41766         not use .hidden.
41767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41768         Likewise.
41769         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41770         Likewise.
41771         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41772         Likewise.
41773         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41774         Likewise.
41775         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41776         Likewise.
41777         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41778         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41779         from GLIBC_2.3.2.
41781 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41785 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41787         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41788         trailing whitespace removed.
41789         * scripts/config.guess: Update to version 2013-11-29.
41790         * scripts/config.sub: Update to version 2013-10-01.
41792         * math/auto-libm-test-in: Add tests of sincos.
41793         * math/auto-libm-test-out: Regenerated.
41794         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41796         mpfr_f_11.
41797         (func_calc_desc): Add mpfr_f_11 union field.
41798         (test_functions): Add sincos.
41799         (calc_generic_results): Handle mpfr_f_11.
41800         * sysdeps/i386/fpu/libm-test-ulps: Update.
41801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41803 2013-12-19  Andreas Schwab  <schwab@suse.de>
41805         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41806         CALL_MCOUNT.
41807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41808         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41809         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41811 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41813         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41814         * sysdeps/i386/fpu/libm-test-ulps: Update.
41815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817         [BZ #16293]
41818         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41819         round-to-nearest mode when using frndint.
41820         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41821         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41822         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41823         Likewise.
41824         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41825         sinh test to fail.
41826         * math/auto-libm-test-out: Regenerated.
41827         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41828         (TEST_COND_x86): Likewise.
41829         (expm1_tonearest_test_data): New array.
41830         (expm1_test_tonearest): New function.
41831         (expm1_towardzero_test_data): New array.
41832         (expm1_test_towardzero): New function.
41833         (expm1_downward_test_data): New array.
41834         (expm1_test_downward): New function.
41835         (expm1_upward_test_data): New array.
41836         (expm1_test_upward): New function.
41837         (main): Run the new test functions.
41838         * sysdeps/i386/fpu/libm-test-ulps: Update.
41839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41841         * include/features.h: Update comment documenting feature test
41842         macros.  Mention _DEFAULT_SOURCE in comment.
41843         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41844         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41845         _BSD_SOURCE and _SVID_SOURCE.
41846         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41847         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41848         !_SVID_SOURCE]: Likewise.
41849         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41850         (__USE_POSIX_IMPLICITLY): Define.
41851         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41852         (_POSIX_SOURCE): Undefine and redefine.
41853         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41854         (_POSIX_C_SOURCE): Likewise.
41855         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41856         (Feature Test Macros): Update documentation of default features.
41858 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41860         * benchtests/Makefile: Add bench-strtok.
41861         * benchtests/bench-strtok.c: New file: strtok benchtest.
41863 2013-12-19  Allan McRae  <allan@archlinux.org>
41865         * manual/install.texi: Suppress menu for plain text output.
41866         * INSTALL: Regenerated.
41868 2013-12-18  Brooks Moses  <bmoses@google.com>
41870         [BZ #15846]
41871         * misc/getauxval.c: Include errno.h.
41872         (__getauxval): Set errno to ENOENT if the requested type is not
41873         found.
41874         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41875         don't declare with __attribute_const__.
41876         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41877         * manual/startup.texi: Document that getauxval sets errno.
41879 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41881         * math/auto-libm-test-in: Add tests of jn and yn.
41882         * math/auto-libm-test-out: Regenerated.
41883         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41884         (yn_test_data): Likewise.
41885         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41886         mpfr_if_f.
41887         (func_calc_desc): Add mpfr_if_f union field.
41888         (FUNC_mpfr_if_f): New macro.
41889         (test_functions): Add jn and yn.
41890         (calc_generic_results): Assert type of second input for
41891         mpfr_ff_f.  Handle mpfr_if_f.
41892         (output_for_one_input_case): Disable all checking for arguments
41893         fitting floating-point types in case of an integer argument.
41894         * sysdeps/i386/fpu/libm-test-ulps: Update.
41895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41898         Don't expect fegetround reference in libm.so.
41900 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41902         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41903         $(config-cflags-nofma).
41905 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41907         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41908         * math/auto-libm-test-out: Regenerated.
41910         [BZ #16338]
41911         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41912         to determine exponent and adjust argument to have exponent of -1.
41913         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41914         log2.
41915         * math/auto-libm-test-out: Regenerated.
41916         * sysdeps/i386/fpu/libm-test-ulps: Update.
41917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41919 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41921         * manual/probes.texi: Remove cases when per-thread arenas are
41922         disabled.
41924 2013-12-18  Andreas Schwab  <schwab@suse.de>
41926         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41927         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41928         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41929         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41930         * sysdeps/i386/i686/multiarch/Makefile: Update.
41931         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41933 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41935         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41936         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41938 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41940         [BZ #15968]
41941         Support TZ transition times < 00:00:00.
41942         This is needed for version-3 tz-format files; it supports time
41943         stamps past 2037 for America/Godthab (the only entry in the tz
41944         database for which this change is relevant).
41945         * manual/time.texi (TZ Variable): Document transition times
41946         from -167:59:59 through -00:00:01.
41947         * time/tzset.c (tz_rule): Time of day is now signed.
41948         (__tzset_parse_tz): Parse negative time of day.
41950         Document TZ transition times >= 25:00:00.
41951         * manual/time.texi (TZ Variable): Document transition times from
41952         25:00:00 through 167:59:59.  These are already supported, and this
41953         support will help with version-3 tz-format files.
41955         * manual/time.texi (TZ Variable): Modernize North America example
41956         to reflect current (i.e., 2007-and-later) daylight saving rules.
41958         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41960 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41962         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41963         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41966         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41967         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41968         * sysdeps/unix/bsd/clock.c: Likewise.
41969         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41970         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41971         * sysdeps/unix/bsd/init-posix.c: Likewise.
41972         * sysdeps/unix/bsd/poll.c: Likewise.
41973         * sysdeps/unix/bsd/ptsname.c: Likewise.
41974         * sysdeps/unix/bsd/seekdir.c: Likewise.
41975         * sysdeps/unix/bsd/setegid.c: Likewise.
41976         * sysdeps/unix/bsd/seteuid.c: Likewise.
41977         * sysdeps/unix/bsd/setgid.c: Likewise.
41978         * sysdeps/unix/bsd/setrgid.c: Likewise.
41979         * sysdeps/unix/bsd/setruid.c: Likewise.
41980         * sysdeps/unix/bsd/setsid.c: Likewise.
41981         * sysdeps/unix/bsd/setuid.c: Likewise.
41982         * sysdeps/unix/bsd/sigaction.c: Likewise.
41983         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41984         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41985         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41986         * sysdeps/unix/bsd/telldir.c: Likewise.
41987         * sysdeps/unix/bsd/times.c: Likewise.
41988         * sysdeps/unix/bsd/usleep.c: Likewise.
41990         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41991         ($(objpfx)libbsd-compat.a): Remove rule.
41993         * include/features.h (__FAVOR_BSD): Do not define.
41994         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41995         features conflicting with POSIX.
41996         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41997         (_BSD_SOURCE): Remove description of not being a subset of other
41998         feature test macros.
41999         * manual/job.texi (getpgrp): Do not document BSD version.
42000         (getpgid): Do not document by reference to BSD getpgrp.
42001         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42002         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42003         * signal/signal.h [__FAVOR_BSD]: Likewise.
42004         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42005         instead of making contents conditional on [__FAVOR_BSD].
42006         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42008 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42012 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42014         [BZ #16314]
42015         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42016         values below 2**-450, not 2**-500.
42017         * math/auto-libm-test-in: Don't allow spurious underflow from
42018         hypot.
42019         * math/auto-libm-test-out: Regenerated.
42021         [BZ #16316]
42022         [BZ #16330]
42023         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42024         values of ha and hb and sort them after adjusting subnormal
42025         arguments.
42026         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42027         Likewise.
42028         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42029         values of ea and eb and sort them after adjusting subnormal
42030         arguments.
42031         * math/auto-libm-test-in: Do not expect some hypot tests of
42032         subnormals to fail.  Add more hypot tests.
42033         * math/auto-libm-test-out: Regenerated.
42035 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42037         [BZ #13304]
42038         * sysdeps/sh/s_fma.c: New file.
42039         * sysdeps/sh/s_fmaf.c: New file.
42040         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42041         version.
42042         * sysdeps/sh/Implies: Add sh/soft-fp.
42044 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42046         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42047         level of indirection to members `objname', `errstring', `malloced'.
42048         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42049         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42050         it as the __longjmp argument (just pass 1 instead).
42051         (_dl_catch_error): Initialize C with argument pointers and address of
42052         volatile local ERRCODE rather than copying values out of C at return.
42054 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42056         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42057         * math/auto-libm-test-out: Regenerated.
42058         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42059         (hypot_test_data): Likewise.
42060         (pow_test_data): Likewise.
42061         (pow_tonearest_test_data): Likewise.
42062         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42063         mpfr_ff_f.
42064         (func_calc_desc): Add mpfr_ff_f union field.
42065         (FUNC_mpfr_ff_f): New macro.
42066         (test_functions): Add atan2, hypot and pow.
42067         (special_fill_min): New function.
42068         (special_fill_minus_min): Likewise.
42069         (special_fill_min_subnorm): Likewise.
42070         (special_fill_minus_min_subnorm): Likewise.
42071         (special_real_inputs): Add min, -min, min_subnorm and
42072         -min_subnorm.
42073         (calc_generic_results): Handle mpfr_ff_f.
42074         * sysdeps/i386/fpu/libm-test-ulps: Update.
42075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42077 2013-12-16  Will Newton  <will.newton@linaro.org>
42079         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42080         (Aligned Memory Blocks): Add documentation for aligned_alloc
42081         and suggest it as an alternative to posix_memalign.
42082         (Hooks for Malloc): Document __memalign_hook is also called
42083         for aligned_alloc.  (Summary of Malloc): Add summary for
42084         aligned alloc.  Document __memalign_hook is also called
42085         for aligned_alloc.
42087 2013-12-16  Will Newton  <will.newton@linaro.org>
42089         * manual/memory.texi (Malloc Examples): Clarify default
42090         alignment documentation.  Suggest posix_memalign rather
42091         than memalign or valloc.
42092         (Aligned Memory Blocks): Remove suggestion to use memalign
42093         or valloc.  Remove obsolete comment about BSD.
42094         Document memalign errno values and mark the function obsolete.
42095         Document posix_memalign returned error codes.  Mark valloc
42096         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42097         called for posix_memalign and valloc.
42098         (Summary of Malloc): Add posix_memalign to function summary.
42099         __memalign_hook is also called for posix_memalign and valloc.
42101 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42103         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42104         TAYLOR_SIN.
42105         (__sin): Adjust.
42106         (__cos): Likewise.
42107         (sloww): Use mynumber union.  Expand ternary operator into
42108         if-else statements.
42109         (cslow): use mynumber union.
42111 2013-12-16  Allan McRae  <allan@archlinux.org>
42113         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42114         * configure: Regenerated.
42116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42118         [BZ #14120]
42119         * configure.ac: Added --enable-maintainer-mode. Check for
42120         autoconf when enabled.
42121         * configure: Regenerated.
42123         * nscd/nscd.service: New file.
42124         * nscd/nscd.tmpfiles: New file.
42126 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42128         [BZ #12100]
42129         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42130         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42131         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42132         (strstr): Add __strstr_sse2_unaligned ifunc.
42133         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42134         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42135         (strcasestr): Remove __strcasestr_sse42 ifunc.
42136         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42140 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42142         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42143         * sysdeps/sh/bits/fenv.h: ... here.
42144         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42146 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42148         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42151         hypotf multiarch implementations.
42152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42155         multiarch hypot for PPC64.
42156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42157         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42159         multiarch hypotf for PPC64.
42161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42162         modff multiarch implementations.
42163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42166         multiarch modf for PPC64.
42167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42170         multiarch modff for PPC64.
42172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42173         and logl multiarch implementations.
42174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42177         multiarch logb for PPC64.
42178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42181         multiarch logb for PPC64.
42182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42185         multiarch logb for PPC64.
42187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42188         isinff multiarch implementation.
42189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42190         file.
42191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42193         multiarch isinf for PPC64.
42194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42195         file.
42196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42197         multiarch isinff for PPC64.
42199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42200         finitef multiarch implementation.
42201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42202         file.
42203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42205         multiarch finite for PPC64.
42206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42207         file.
42208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42209         multiarch finitef for PPC64.
42211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42212         lrint multiarch implementation.
42213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42214         file.
42215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42217         multiarch llrint for PPC64.
42218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42219         multiarch lrint for PPC64.
42221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42222         copysignf multiarch implementation.
42223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42224         file.
42225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42226         file.
42227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42228         multiarch copysign for PPC64.
42229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42230         multiarch copysignf for PPC64.
42232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42233         multiarch implementation.
42234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42235         file.
42236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42237         file.
42238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42239         file.
42240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42241         file.
42242         multiarch llround for PPC64.
42243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42244         multiarch trunc for PPC64.
42245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42246         multiarch truncf for PPC64.
42248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42249         multiarch implementation.
42250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42251         file.
42252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42253         file.
42254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42255         file.
42256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42257         file.
42258         multiarch llround for PPC64.
42259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42260         multiarch round for PPC64.
42261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42262         multiarch roundf for PPC64.
42264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42265         multiarch implementation.
42266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42267         file.
42268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42269         file.
42270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42271         file.
42272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42273         file.
42274         multiarch llround for PPC64.
42275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42276         multiarch floor for PPC64.
42277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42278         multiarch floorf for PPC64.
42280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42281         multiarch implementation.
42282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42283         file.
42284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42285         file.
42286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42287         file.
42288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42289         file.
42290         multiarch llround for PPC64.
42291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42292         multiarch ceil for PPC64.
42293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42294         multiarch ceilf for PPC64.
42296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42297         multiarch implementation.
42298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42299         file.
42300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42301         file.
42302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42303         file.
42304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42305         multiarch llround for PPC64.
42306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42307         multiarch lround for PPC64.
42309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42310         multiarch implementation.
42311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42314         file.
42315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42318         multiarch isnan for PPC64.
42319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42320         multiarch isnanf for PPC64.
42322         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42323         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42324         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42325         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42326         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42329         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42330         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42332         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42335         multiarch implementations.
42336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42337         (__libc_ifunc_impl_list): Likewise.
42338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42341         multiarch stpcpy for PPC64.
42343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42344         multiarch implementations.
42345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42346         (__libc_ifunc_impl_list): Likewise.
42347         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42349         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42350         multiarch strcpy for PPC64.
42352         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42353         redefine function name.
42354         (_wordcopy_fwd_dest_aligned): Likewise.
42355         (_wordcopy_bwd_aligned): Likewise.
42356         (_wordcopy_bwd_dest_aligned): Likewise.
42357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42358         multiarch implementations.
42359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42360         (__libc_ifunc_impl_list): Likewise.
42361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42365         multiarch wcscpy for PPC64.
42367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42368         multiarch implementations.
42369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42370         (__libc_ifunc_impl_list): Likewise.
42371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42372         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42373         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42374         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42375         multiarch wcscpy for PPC64.
42377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42378         multiarch implementations.
42379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42380         (__libc_ifunc_impl_list): Likewise.
42381         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42382         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42383         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42384         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42385         multiarch wcsrchr for PPC64.
42387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42388         multiarch implementations.
42389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42390         (__libc_ifunc_impl_list): Likewise.
42391         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42392         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42393         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42394         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42395         multiarch wcschr for PPC64.
42397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42398         multiarch implementations.
42399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42400         (__libc_ifunc_impl_list): Likewise.
42401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42402         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42403         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42404         multiarch strchrnul for PPC64.
42406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42407         implementations.
42408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42409         (__libc_ifunc_impl_list): Likewise.
42410         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42411         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42412         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42413         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42414         strchr for PPC64.
42416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42417         implementations.
42418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42419         (__libc_ifunc_impl_list): Likewise.
42420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42421         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42423         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42424         strncmp for PPC64.
42426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42427         multiarch implementations.
42428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42429         (__libc_ifunc_impl_list): Likewise.
42430         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42431         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42432         strncasecmp for PPC64.
42433         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42434         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42435         multiarch strncasecmp_l for PPC64.
42437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42438         multiarch implementations.
42439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42440         (__libc_ifunc_impl_list): Likewise.
42441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42443         multiarch strcasecmp for PPC64.
42444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42445         file.
42446         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42447         multiarch strcasecmp_l for PPC64.
42449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42450         implementations.
42451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42452         (__libc_ifunc_impl_list): Likewise.
42453         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42454         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42455         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42456         strnlen for PPC64.
42458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42459         implementations.
42460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42461         (__libc_ifunc_impl_list): Likewise.
42462         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42463         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42464         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42465         strlen for PPC64.
42467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42468         implementations.
42469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42470         (__libc_ifunc_impl_list): Likewise.
42471         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42472         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42473         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42474         rawmemrchr for PPC64.
42476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42477         implementation.
42478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42479         (__libc_ifunc_impl_list): Likewise.
42480         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42481         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42482         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42483         memrchr for PPC64.
42485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42486         implementation.
42487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42488         (__libc_ifunc_impl_list): Likewise.
42489         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42490         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42491         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42492         memchr for PPC64.
42494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42495         implementation.
42496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42497         (__libc_ifunc_impl_list): Likewise.
42498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42499         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42500         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42501         mempcpy for PPC64.
42503         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42504         avoid cretion of __bzero symbol.
42505         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42506         Likewise.
42507         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42508         Likewise.
42509         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42510         Likewise.
42511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42512         multiarch implementations.
42513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42514         (__libc_ifunc_impl_list): Likewise.
42515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42518         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42519         bzero for PPC32.
42520         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42521         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42522         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42523         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42524         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42525         memset for PPC64.
42526         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42528         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42530         implementations.
42531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42532         (__libc_ifunc_impl_list): Likewise.
42533         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42534         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42535         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42536         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42537         memcmp for PPC64.
42539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42540         multiarch for POWER/PPC64.
42541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42542         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42548         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42549         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42550         memcpy for PPC64.
42552         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42553         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42554         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42555         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42556         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42557         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42558         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42559         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42560         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42561         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42562         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42563         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42564         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42565         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42566         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42575 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42579 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42581         * benchtests/Makefile (bench): Add exp2 and log2.
42582         (LDLIBS-bench-exp2): Add -lm.
42583         (LDLIBS-bench-log2): Likewise.
42584         * benchtests/exp2-inputs: New inputs file.
42585         * benchtests/log2-inputs: New inputs file.
42586         * benchtests/log-inputs: Add new inputs.
42587         * benchtests/tan-inputs: Likewise.
42589 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42591         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42592         definition...
42593         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42594         (csloww2): ... from here.
42596         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42597         instead of structures.
42598         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42599         (POLYNOMIAL): Likewise.
42600         (TAYLOR_SLOW): Likewise.
42601         (__sin): Likewise.
42602         (__cos): Likewise.
42603         (slow1): Likewise.
42604         (slow2): Likewise.
42605         (sloww): Likewise.
42606         (sloww1); Likewise.
42607         (sloww2): Likewise.
42608         (bsloww1): Likewise.
42609         (bsloww2): Likewise.
42610         (cslow2): Likewise.
42611         (csloww): Likewise.
42612         (csloww1): Likewise.
42613         (csloww2): Likewise.
42615 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42617         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42618         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42619         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42620         * malloc/hooks.c (realloc_check): Likewise.
42622         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42623         * malloc/arena.c: Remove PER_THREAD conditional.
42624         [!PER_THREAD]: Remove code.
42625         (ptmalloc_unlock_all2): Likewise.
42626         (ptmalloc_init): Likewise.
42627         (_int_new_arena): Likewise.
42628         (arena_get2): Likewise.
42629         * malloc/hooks.c (__malloc_get_state): Likewise.
42630         (__malloc_set_state): Likewise.
42631         * malloc/malloc.c: Likewise.
42632         (struct malloc_state): Likewise.
42633         (struct malloc_par): Likewise.
42634         (__libc_realloc): Likewise.
42635         (__libc_mallopt): Likewise.
42637 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42639         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42641 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42643         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42644         macro to a function.  Check for zero perturb_byte.
42645         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42647         * malloc/malloc.c: (force_reg): Remove.
42648         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42649         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42650         force_reg by atomic_forced_read.
42651         * malloc/arena.c (ptmalloc_init): Likewise.
42652         * malloc/hooks.c (top_check): Likewise.
42654 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42658 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42662 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42664         * math/auto-libm-test-in: Add tests of lgamma.
42665         * math/auto-libm-test-out: Regenerated.
42666         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42667         (M_LOG_2_SQRT_PIl): Likewise.
42668         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42669         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42670         mpfr_f_f1.
42671         (func_calc_desc): Add mpfr_f_f1 union field.
42672         (ARGS1): New macro.
42673         (ARGS2): Likewise.
42674         (ARGS3): Likewise.
42675         (ARGS4): Likewise.
42676         (RET1): Likewise.
42677         (RET2): Likewise.
42678         (CALC): Likewise.
42679         (FUNC): Likewise.
42680         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42681         (test_functions): Add lgamma.
42682         (calc_generic_results): Handle mpfr_f_f1.
42683         * sysdeps/i386/fpu/libm-test-ulps: Update.
42684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42686 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42688         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42689         __mpn_add_n for PowerPC64/POWER7.
42690         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42691         __mpn_sub_n for PowerPC64/POWER7.
42693         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42694         __mpn_addmul_1 for PowerPC64.
42695         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42696         __mpn_submul_1 for PowerPC64.
42697         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42698         for PowerPC64.
42699         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42700         for PowerPC64.
42702 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42704         [BZ #15089]
42705         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42707 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42709         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42711         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42712         add multiarch folders.
42713         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42714         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42715         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42716         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42717         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42718         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42719         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42720         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42721         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42722         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42723         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42732         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42734         New file.
42735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42736         New file.
42737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42738         multiarch __ieee754_hypot for PowerPC32.
42739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42740         New file.
42741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42742         New file.
42743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42744         multiarch __ieee754_hypotf for PowerPC32.
42746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42747         long_double_symbol only if __logbl is defined.
42748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42749         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42751         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42753         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42755         path for implementation.
42756         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42757         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42759         logb, and logbl multiarch implementations for PowerPC32.
42760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42761         file.
42762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42763         file.
42764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42765         multiarch logb for PowerPC32.
42766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42767         file.
42768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42769         file.
42770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42771         multiarch logbf for PowerPC32.
42772         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42774         file.
42775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42776         multiarch logbl implementation for PowerPC32.
42778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42779         and modff multiarch implementations.
42780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42781         New file.
42782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42783         New file.
42784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42785         multiarch modf for PowerPC32.
42786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42787         New file.
42788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42789         New file.
42790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42791         multiarch modff for PowerPC32.
42793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42794         and lrintf multiarch implementations.
42795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42796         New file.
42797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42798         New file.
42799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42800         multiarch lrint for PowerPC32.
42801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42802         file: multiarch lrintf for PowerPC32.
42804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42805         and lroundf multiarch implementations.
42806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42807         New file.
42808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42809         New file.
42810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42811         New file.
42812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42813         multiarch lround for PowerPC32.
42814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42815         file: multiarch lroundf for PowerPC32.
42817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42818         copysign and copysignf multiarch implementations.
42819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42820         New file.
42821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42822         New file.
42823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42824         file: multiarch copysign for PowerPC32.
42825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42826         file: multiarch copysignf for PowerPC32.
42828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42829         and truncf multiarch implementations.
42830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42831         New file.
42832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42833         file.
42834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42835         multiarch trunc for PowerPC32.
42836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42837         New file.
42838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42839         New file.
42840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42841         multiarch truncf for PowerPC32.
42843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42844         and roundf multiarch implementations.
42845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42846         New file.
42847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42848         file.
42849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42850         multiarch round for PowerPC32.
42851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42852         New file.
42853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42854         New file.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42856         multiarch roundf for PowerPC32.
42858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42859         and floorf multiarch implementations.
42860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42861         New file.
42862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42863         file.
42864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42865         multiarch floor for PowerPC32.
42866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42867         New file.
42868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42869         New file.
42870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42871         multiarch floorf for PowerPC32.
42873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42874         and ceilf multiarch implementations.
42875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42876         New file.
42877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42878         file.
42879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42880         multiarch ceil for PowerPC32.
42881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42882         New file.
42883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42884         file.
42885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42886         multiarch ceilf for PowerPC32.
42888         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42889         is defined.
42890         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42891         FINITEF is defined.
42892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42893         and finitef multiarch implementations.
42894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42895         New file.
42896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42897         file.
42898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42899         multiarch finite for PowerPC32.
42900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42901         New file.
42902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42903         file: multiarch finitef for PowerPC32.
42905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42906         and isinff multiarch implementations.
42907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42908         file.
42909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42910         file.
42911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42912         multiarch isinf for PowerPC32.
42913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42914         New file.
42915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42916         multiarch isinff for PowerPC32.
42918         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42919         alias when __isnan is defined.
42920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42921         and isnanf multiarch implementations.
42922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42923         file.
42924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42925         file.
42926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42927         file.
42928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42929         file.
42930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42931         multiarch isnan for PowerPC32.
42932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42933         New file.
42934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42935         New file.
42936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42937         multiarch isnanf for PowerPC32.
42939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42940         and sqrtf multiarch implementations.
42941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42942         file.
42943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42944         file.
42945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42946         multiarch sqrt for PowerPC32.
42947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42948         file.
42949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42950         file.
42951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42952         multiarch sqrtf for PowerPC32.
42954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42955         and llroundf multiarch implementations.
42956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42957         New file.
42958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42959         New file.
42960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42961         New file.
42962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42963         file: multiarch llround for PowerPC32.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42965         file: multiarch llroundf for PowerPC32.
42967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42968         multiarch PowerPC32 fpu implementations.
42969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42970         New file.
42971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42972         New file.
42973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42974         multiarch llrint for PowerPC32.
42975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42976         New file.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42978         New file.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42980         file.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42985         file.
42986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42987         file.
42988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42989         file.
42990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42991         multiarch wordcopy for PPC32.
42992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42993         wordcopy objects.
42994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42995         (__libc_ifunc_impl_list): Likewise.
42996         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42997         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42998         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42999         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43001         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43003         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43005         file.
43006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43007         file.
43008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43009         file.
43010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43011         multiarch wcscpy for PPC32.
43012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43013         multiarch objects.
43014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43015         (__libc_ifunc_impl_list): Likewise.
43016         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43017         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43018         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43019         sysdeps/powerpc/power6/wcscpy.c.
43021         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43023         file.
43024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43027         file.
43028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43029         multiarch wcsrchr for PPC32.
43030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43031         multiarch objects.
43032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43033         (__libc_ifunc_impl_list): Likewise.
43034         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43035         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43036         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43037         sysdeps/powerpc/power6/wcsrchr.c.
43039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43040         file.
43041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43042         file.
43043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43045         multiarch wcschr for PPc32.
43046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43047         multiarch objects.
43048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43049         (__libc_ifunc_impl_list): Likewise.
43050         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43051         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43052         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43053         sysdeps/powerpc/power6/wcschr.c.
43055         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43057         file.
43058         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43059         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43060         file: multiarch strchr for PPC32.
43061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43062         multiarch objects.
43063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43064         (__libc_ifunc_impl_list): Likewise.
43066         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43067         name.
43068         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43071         file.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43073         multiarch strchrnul for PPC32.
43074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43075         multiarch objects.
43076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43077         (__libc_ifunc_impl_list): Likewise.
43079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43080         file.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43082         multiarch strncasecmp for PPC32.
43083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43084         file.
43085         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43086         multiarch strncasecmp_l for PPC32.
43087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43088         strncasecmp multiarch objects.
43089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43090         (__libc_ifunc_impl_list): Likewise.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43093         file.
43094         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43095         multiarch strncasecmp for PPC32.
43096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43097         New file.
43098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43099         multiarch strcasecmp_l for PPC32.
43100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43101         multiarch objects.
43102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43103         (__libc_ifunc_impl_list): Likewise.
43105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43106         file.
43107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43108         file.
43109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43110         multiarch strncmp for PPC32.
43111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43112         multiarch objects.
43113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43114         (__libc_ifunc_impl_list): Likewise.
43116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43117         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43118         file.
43119         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43120         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43122         multiarch objects.
43123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43124         (__libc_ifunc_impl_list): Likewise.
43126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43127         file.
43128         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43129         file.
43130         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43132         multiarch objects.
43133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43134         (__libc_ifunc_impl_list): Likewise.
43136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43137         file.
43138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43139         file.
43140         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43141         multiarch rawmemchr for PPC32.
43142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43143         multiarch objects.
43144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43145         (__libc_ifunc_impl_list): Likewise.
43147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43148         file.
43149         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43150         file.
43151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43152         file: memrchr multiarch for PPC32.
43153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43154         multiarch objects.
43155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43156         (__libc_ifunc_impl_list): Likewise.
43158         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43159         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43160         file.
43161         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43163         multiarch memchr for PPC32.
43164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43165         multiarch objects.
43166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43167         (__libc_ifunc_impl_list): Likewise.
43169         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43170         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43171         file.
43172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43173         file.
43174         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43175         file: multiarch mempcpy for PPC32.
43176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43177         multiarch objects.
43178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43179         (__libc_ifunc_impl_list): Likewise.
43181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43183         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43184         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43185         multiarch bzero for PPC32.
43186         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43187         file.
43188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43189         file.
43190         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43191         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43192         file: multiarch memset for PPC32.
43193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43195         memset multiarch objects.
43196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43197         (__libc_ifunc_impl_list): Likewise.
43199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43200         file.
43201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43203         memcmp for PPC32.
43204         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43206         multiarch objects.
43207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43208         (__libc_ifunc_impl_list): Likewise.
43210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43213         file.
43214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43215         file.
43216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43217         file.
43218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43219         multiarch memcpy for PPC32.
43220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43221         multiarch objects.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43223         (__libc_ifunc_impl_list): Likewise.
43225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43226         support multiarch for POWER/PPC32.
43227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43228         Likewise.
43229         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43231         Implies file to make multiarch folder appers before the fpu and
43232         default folder for power4 configuration.
43234 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43236         * scripts/bench.pl: Append volatile keyword to type.
43238 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43240         * sysdeps/sh/sotruss-lib.c: New file.
43241         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43243 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43247 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43249         [BZ #6810]
43250         * math/w_tgamma.c: Include <errno.h>.
43251         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43252         * math/w_tgammaf.c: Include <errno.h>.
43253         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43254         * math/w_tgammal.c: Include <errno.h>.
43255         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43256         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43257         underflow.  Add more tgamma tests.
43258         * math/auto-libm-test-out: Regenerated.
43259         * sysdeps/i386/fpu/libm-test-ulps: Update.
43260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43262         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43263         sin, sinh, tan, tanh, tgamma, y0 and y1.
43264         * math/auto-libm-test-out: Regenerated.
43265         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43266         (TEST_COND_x86): Likewise.
43267         (M_E2l): Remove macro.
43268         (M_E3l): Likewise.
43269         (M_2_SQRT_PIl): Likewise.
43270         (M_SQRT_PIl): Likewise.
43271         (M_1_DIV_El): Likewise.
43272         (log_test_data): Use AUTO_TESTS_f_f.
43273         (log10_test_data): Likewise.
43274         (log1p_test_data): Likewise.
43275         (log2_test_data): Likewise.
43276         (sin_test_data): Likewise.
43277         (sin_tonearest_test_data): Likewise.
43278         (sin_towardzero_test_data): Likewise.
43279         (sin_downward_test_data): Likewise.
43280         (sin_upward_test_data): Likewise.
43281         (sinh_test_data): Likewise.
43282         (sinh_tonearest_test_data): Likewise.
43283         (sinh_towardzero_test_data): Likewise.
43284         (sinh_downward_test_data): Likewise.
43285         (sinh_upward_test_data): Likewise.
43286         (tan_test_data): Likewise.
43287         (tan_tonearest_test_data): Likewise.
43288         (tan_towardzero_test_data): Likewise.
43289         (tan_downward_test_data): Likewise.
43290         (tan_upward_test_data): Likewise.
43291         (tanh_test_data): Likewise.
43292         (tgamma_test_data): Likewise.
43293         (y0_test_data): Likewise.
43294         (y1_test_data): Likewise.
43295         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43296         (special_real_inputs): Add pi/4.
43297         * sysdeps/i386/fpu/libm-test-ulps: Update.
43298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43300 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43302         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43303         "longjmp_target" static probes.
43304         (__longjmp): Rename to __longjmp_symbol.
43305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43306         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43307         on which longjmp to generate.
43308         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43309         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43310         probe.
43311         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43312         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43313         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43314         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43315         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43316         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43318         __longjmp_symbol based on which __longjmp to generate.
43319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43320         probe.
43321         (setjmp): Rename to setjmp_symbol.
43322         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43323         (_setjmp): Rename to _setjmp_symbol.
43324         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43325         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43326         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43327         which setjmp to generate.
43328         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43329         "longjmp_target" static probes.
43331 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43333         * benchtests/README: Add note about output arguments.
43334         * benchtests/bench-sincos.c: Remove file.
43335         * benchtests/sincos-inputs: New file.
43336         * scripts/bench.pl: Identify output arguments and define
43337         static variables for them.
43339         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43341         [BZ #15941]
43342         * Makefile (INSTALL): Add install-plain.texi as the primary
43343         dependency.
43344         * manual/install-plain.texi: New file.
43345         * manual/install.texi: Include node directive only for
43346         non-plaintext output.
43348 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43350         * stdlib/longlong.h: Update from GCC.
43352         [BZ #6807]
43353         [BZ #15901]
43354         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43355         * math/w_j0f.c (y0f): Likewise.
43356         * math/w_j0l.c (__y0l): Likewise.
43357         * math/w_j1.c (y1): Likewise.
43358         * math/w_j1f.c (y1f): Likewise.
43359         * math/w_j1l.c (__y1l): Likewise.
43360         * math/w_jn.c (yn): Likewise.
43361         * math/w_jnf.c (ynf): Likewise.
43362         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43363         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43364         value for Bessel function domain errors outside _SVID_ mode.
43365         Adjust sign of return value for yn (negative integer, 0).
43366         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43367         by zero in return for negative x and set sign appropriately for
43368         negative n.
43369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43371         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43372         expectations in error cases.
43373         (y1_test_data): Likewise.
43374         (yn_test_data): Likewise.
43375         * sysdeps/i386/fpu/libm-test-ulps: Update.
43376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43378 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43380         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43381         "64" to "64-v1".  Add "64-v2".
43382         (abi-64-options): Rename to ...
43383         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43384         (abi-64-condition): Rename to ...
43385         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43386         (abi-64-ld-soname): Rename to ...
43387         (abi-64-v1-ld-soname): ... this.
43388         (abi-64-v2-options): Define.
43389         (abi-64-v2-condition): Likewise.
43390         (abi-64-v2-ld-soname): Likewise.
43391         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43392         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43397 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43398             Alan Modra  <amodra@gmail.com>
43400         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43401         New versions for use with the ELFv2 ABI.
43402         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43403         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43404         declaration.
43405         (struct La_ppc64v2_retval): Likewise.
43406         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43407         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43408         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43409         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43410         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43411         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43412         Do not save or restore CR.
43413         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43414         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43415         return values for ELFv2 ABI.  Fix location of FPR return registers.
43416         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43417         updated values for _CALL_ELF == 2.
43418         (La_regs, La_retval, int_retval): Likewise.
43420 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43422         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43423         (FRAME_MIN_SIZE_PARM): Likewise.
43424         (FRAME_BACKCHAIN): Likewise.
43425         (FRAME_CR_SAVE): Likewise.
43426         (FRAME_LR_SAVE): Likewise.
43427         (FRAME_TOC_SAVE): Likewise.
43428         (FRAME_PARM_SAVE): Likewise.
43429         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43430         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43431         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43432         (call_mcount_parm_offset): New macro.
43433         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43434         (PROF): Use symbolic stack frame offsets.
43435         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43436         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43437         Redefine in terms of FRAME_MIN_SIZE.
43438         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43439         (_dl_profile_resolve): Likewise.  Update comment.
43440         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43441         symbols stack frame offsets.
43442         (__sigsetjmp): Likewise.
43443         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43444         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43445         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43446         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43449         (FRAME_BACKCHAIN): Remove.
43450         (FRAME_CR_SAVE): Likewise.
43451         (FRAME_LR_SAVE): Likewise.
43452         (FRAME_COMPILER_DW): Likewise.
43453         (FRAME_LINKER_DW): Likewise.
43454         (FRAME_TOC_SAVE): Likewise.
43455         (FRAME_PARM_SAVE): Likewise.
43456         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43457         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43458         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43460         (CHECK_SP): Use symbolic stack frame offsets.
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43462         zone" instead of caller's parameter save area for temp storage.
43463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43464         Likewise.  Also, use symbolic stack frame offsets.
43465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43466         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43467         our own stack frame instead of the caller's.
43468         (__socket): Use symbolic stack frame offsets.
43470 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43471             Alan Modra  <amodra@gmail.com>
43473         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43474         Define.
43475         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43476         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43477         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43478         New function.
43479         (elf_machine_fixup_plt): Call it.
43480         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43481         reloc arguments.
43482         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43483         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43484         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43485         r2 before calling target.
43487 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43488             Alan Modra  <amodra@gmail.com>
43490         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43491         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43492         versions of macros to support ELFv2 ABI.
43493         (LOCALENTRY): New macro.
43494         (ENTRY, EALIGN): Use it.
43495         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43496         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43497         fall through into ENTRY entry point.
43498         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43499         Only define if _CALL_ELF != 2.
43501         (elf_machine_matches_host): Verify ABI version matches.
43502         (RTLD_START): Use LOCALENTRY.
43503         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43504         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43505         (PLT_ENTRY_WORDS): New macro.
43506         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43507         (elf_machine_runtime_setup): Support ELFv2 ABI.
43508         (elf_machine_fixup_plt): Likewise.
43509         (elf_machine_plt_conflict): Likewise.
43510         (resolve_ifunc): Likewise.
43511         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43513         Likewise.
43514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43515         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43517         (makecontext): Support ELFv2 ABI.
43518         * elf/elf.h (EF_PPC64_ABI): Define.
43520 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43522         * sysdeps/powerpc/powerpc64/sysdep.h
43523         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43524         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43525         (ENTRY) [ASSEMBLER]: ... but instead here ...
43526         (EALIGN) [ASSEMBLER]: ... and here.
43527         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43528         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43529         (ENTRY_2) [!ASSEMBLER]: Use it.
43530         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43531         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43533         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43534         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43536         Use PPC64_LOAD_FUNCPTR.
43538         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43540 2013-12-04  Alan Modra  <amodra@gmail.com>
43542         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43543         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43544         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43545         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43548         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43549         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43550         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43551         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43552         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43554 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43557         (__makecontext): Fix incorrect CFI when backtracing out of
43558         context created via makecontext.
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43560         (__setcontext): Fix incorrect CFI during switch to new context.
43561         (__novec_setcontext): Likewise.
43563 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43565         [BZ #4772]
43566         * time/strptime_l.c (__strptime_internal): Allow modifiers
43567         in strptime.
43568         * time/tst-strptime.c (day_tests): Add testcase.
43570 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43572         * scripts/bench.pl: Skip over blank lines.
43574 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43576         [BZ #926]
43577         * manual/time.texi (Calendar Time): Clarify what timezone functions
43578         use.
43580 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43584 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43586         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43587         implementation.
43588         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43589         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43590         * debug/memset_chk.c (__memset_chk): Likewise.
43591         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43592         * debug/strncpy_chk.c: Likewise.
43594 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43596         [BZ #15268]
43597         [BZ #15425]
43598         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43599         (__ieee754_exp): For possibly underflowing results, check size of
43600         result and force underflow exception if required.
43601         * math/auto-libm-test-in: Add more tests of exp.
43602         * math/auto-libm-test-out: Regenerated.
43603         * sysdeps/i386/fpu/libm-test-ulps: Update.
43604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43606         [BZ #16283]
43607         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43608         * math/w_exp2f.c (__exp2f): Likewise.
43609         * math/w_exp2l.c (__exp2l): Likewise.
43610         * math/auto-libm-test-in: Do not allow missing errno on exp2
43611         underflow.
43612         * math/auto-libm-test-out: Regenerated.
43614 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43616         [BZ #16274]
43617         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43618         handle filename validation.
43619         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43620         (do_open): Delete.
43622 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43624         [BZ #6786]
43625         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43626         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43627         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43628         <float.h>.
43629         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43630         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43631         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43633         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43634         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43635         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43636         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43637         Add more erfc tests.
43638         * math/auto-libm-test-out: Regenerated.
43639         * sysdeps/i386/fpu/libm-test-ulps: Update.
43640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43642         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43643         exp2, expm1, j0 and j1.
43644         * math/auto-libm-test-out: Regenerated.
43645         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43646         (erfc_test_data): Likewise.
43647         (exp_test_data): Likewise.
43648         (exp_tonearest_test_data): Likewise.
43649         (exp_towardzero_test_data): Likewise.
43650         (exp_downward_test_data): Likewise.
43651         (exp_upward_test_data): Likewise.
43652         (exp10_test_data): Likewise.
43653         (exp2_test_data): Likewise.
43654         (expm1_test_data): Likewise.
43655         (j0_test_data): Likewise.
43656         (j1_test_data): Likewise.
43657         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43658         (input_flag_type): Add flag_xfail_rounding.
43659         (input_flags): Add xfail-rounding.
43660         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43661         (output_for_one_input_case): Handle flag_xfail_rounding.
43662         * sysdeps/i386/fpu/libm-test-ulps: Update.
43663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43665 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43667         [BZ #16289]
43668         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43669         division by 0.
43671 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43673         [BZ #16195]
43674         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43675         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43676         (STAP_PROBE0): New macro.
43677         (STAP_PROBE1): Likewise.
43678         (STAP_PROBE2): Likewise.
43679         (STAP_PROBE3): Likewise.
43680         (STAP_PROBE4): Likewise.
43682 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43684         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43686 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43688         * benchtests/Makefile (bench): Add sqrt.
43689         (LDLIBS-bench-sqrt): New.
43690         * benchtests/sqrt-input: New.
43692 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43694         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43695         (GAIH_EAI): Likewise.
43696         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43697         (gaih_inet): Likewise.
43698         (getaddrinfo): Don't use GAIH_EAI.
43700         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43701         (struct gaih): Remove definition.
43703 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43705         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43706         Use HERRNOP directly.
43708 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43712 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43714         * math/gen-auto-libm-tests.c (test_functions): Add more
43715         single-argument functions.
43716         (special_fill_pi_2): New function.
43717         (special_fill_minus_pi_2): Likewise.
43718         (special_fill_pi_6): Likewise.
43719         (special_fill_minus_pi_6): Likewise.
43720         (special_fill_pi_3): Likewise.
43721         (special_fill_2pi_3): Likewise.
43722         (special_fill_e): Likewise.
43723         (special_fill_1_e): Likewise.
43724         (special_fill_e_minus_1): Likewise.
43725         (special_real_inputs): Add more special inputs.
43726         (output_for_one_input_case): Do not require ERANGE on underflow to
43727         zero if round-to-nearest result does not underflow to zero, unless
43728         exact results required.
43729         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43730         atan, atanh, cbrt, cos and cosh.
43731         * math/auto-libm-test-out: Regenerated.
43732         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43733         (acos_tonearest_test_data): Likewise.
43734         (acos_towardzero_test_data): Likewise.
43735         (acos_downward_test_data): Likewise.
43736         (acos_upward_test_data): Likewise.
43737         (acosh_test_data): Likewise.
43738         (asin_test_data): Likewise.
43739         (asin_tonearest_test_data): Likewise.
43740         (asin_towardzero_test_data): Likewise.
43741         (asin_upward_test_data): Likewise.
43742         (asinh_test_data): Likewise.
43743         (atan_test_data): Likewise.
43744         (atanh_test_data): Likewise.
43745         (cbrt_test_data): Likewise.
43746         (cos_test_data): Likewise.
43747         (cos_tonearest_test_data): Likewise.
43748         (cos_towardzero_test_data): Likewise.
43749         (cos_downward_test_data): Likewise.
43750         (cos_upward_test_data): Likewise.
43751         (cosh_test_data): Likewise.
43752         (cosh_tonearest_test_data): Likewise.
43753         (cosh_towardzero_test_data): Likewise.
43754         (cosh_downward_test_data): Likewise.
43755         (cosh_upward_test_data): Likewise.
43756         * sysdeps/i386/fpu/libm-test-ulps: Update.
43757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43759 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43761         [BZ #6787]
43762         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43763         * math/w_exp10f.c (__exp10f): Likewise.
43764         * math/w_exp10l.c (__exp10l): Likewise.
43765         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43766         errno settings in existing tests.
43768         [BZ #14032]
43769         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43770         precision control set to double precision.
43771         * sysdeps/i386/fpu/w_sqrt.c: New file.
43772         * math/auto-libm-test-in: Add more tests.
43773         * math/auto-libm-test-out: Update.
43775         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43776         (sqrt_test_tonearest): New function.
43777         (sqrt_towardzero_test_data): New variable.
43778         (sqrt_test_towardzero): New function.
43779         (sqrt_downward_test_data): New variable.
43780         (sqrt_test_downward): New function.
43781         (sqrt_upward_test_data): New variable.
43782         (sqrt_test_upward): New function.
43783         (main): Call the new functions.
43785         * math/gen-auto-libm-tests.c: New file.
43786         * math/auto-libm-test-in: Likewise.
43787         * math/auto-libm-test-out: New generated file.
43788         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43789         variables.
43790         (%beautify): Add generated representations of zero.
43791         (top level): Set $auto_input and call parse_auto_input.
43792         (beautify): Remove trailing "f" from hex float constants.
43793         (parse_args): Handle XFAIL_TEST.
43794         (convert_condition): New function.
43795         (or_value): Likewise.
43796         (or_cond_value): Likewise.
43797         (generate_testfile): Handle AUTO_TESTS_* lines.
43798         (parse_auto_input): New function.
43799         * math/libm-test.inc (XFAIL_TEST): New macro.
43800         (ERRNO_UNCHANGED): Update value.
43801         (ERRNO_EDOM): Likewise.
43802         (ERRNO_ERANGE): Likewise.
43803         (IGNORE_RESULT): Likewise.
43804         (TEST_COND_flt_32): New macro.
43805         (TEST_COND_dbl_64): Likewise.
43806         (TEST_COND_ldbl_96_intel): Likewise.
43807         (TEST_COND_ldbl_96_m68k): Likewise.
43808         (TEST_COND_ldbl_128): Likewise.
43809         (TEST_COND_ldbl_128ibm): Likewise.
43810         (TEST_COND_long32): Likewise.
43811         (TEST_COND_long64): Likewise.
43812         (TEST_COND_before_rounding): Likewise.
43813         (TEST_COND_after_rounding): Likewise.
43814         (enable_test): Handle XFAIL_TEST flag.
43815         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43816         with finite results.
43817         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43818         auto-libm-test-out.
43820 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43821             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43823         [BZ #16214]
43824         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43825         __tls_get_addr_internal instead of __tls_get_offset in order to
43826         avoid GOT pointer dependency.  Make rtld export
43827         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43828         __tls_get_addr since we are a __tls_get_offset platform.
43829         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43830         GOT pointer being set up before.
43831         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43833 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43835         * manual/math.texi (Errors in Math Functions): Document accuracy
43836         goals.
43838         [BZ #15004]
43839         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43840         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43842         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43843         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43845         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43856         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43857         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43858         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43859         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43860         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43861         Likewise.
43862         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43863         Likewise.
43864         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43865         Likewise.
43866         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43867         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43868         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43869         atomic-feupdateenv and flt-rounds.
43870         * sysdeps/powerpc/nofpu/Versions (libc): Add
43871         __atomic_feholdexcept, __atomic_feclearexcept,
43872         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43874         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43875         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43876         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43877         here.
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43879         Update.
43881         * manual/arith.texi (FP Exceptions): Document that exceptions may
43882         not be raised when matherr is used.
43883         (Math Error Reporting): Document overflow in directed rounding
43884         modes.  Document that errno may not be set when finite values are
43885         returned on overflow.  Document intent to set errno on underflow
43886         only for underflow to zero.
43888         [BZ #16271]
43889         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43890         round-to-nearest then adjust result for other rounding modes.
43891         * include/fenv.h (fegetround): Use libm_hidden_proto.
43892         * math/fegetround.c (fegetround): Use libm_hidden_def.
43893         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43894         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43895         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43896         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43897         Likewise.
43898         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43899         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43900         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43901         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43903 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43905         [BZ #16077]
43906         * nss/Versions (libnss_files): Add
43907         _nss_files_gethostbyname3_r.
43908         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43909         New function.
43910         (HOST_DB_LOOKUP): Remove macro.
43911         (_nss_files_gethostbyname_r): Implement function without the
43912         HOST_DB_LOOKUP macro.
43913         (_nss_files_gethostbyname2_r): Likewise.
43915 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43917         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43919 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43921         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43922         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43923         warning.
43925 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43927         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43928         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43929         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43930         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43931         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43932         __fe_nomask_env_priv and attribute_hidden.
43933         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43934         (libc_feupdateenv_test_ppc): Likewise.
43935         (libc_feresetround_ppc): Likewise.
43936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43937         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43938         compat_symbol macro.
43939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43940         (__fe_nomask_env): Likewise.
43941         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43943 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43945         * string/Makefile: Remove ifunc tests.
43946         * string/test-string.h: Define TEST_IFUNC.
43947         * string/test-bcopy-ifunc.c: Remove.
43948         * string/test-bzero-ifunc.c: Likewise.
43949         * string/test-memccpy-ifunc.c: Likewise.
43950         * string/test-memchr-ifunc.c: Likewise.
43951         * string/test-memcmp-ifunc.c: Likewise.
43952         * string/test-memcpy-ifunc.c: Likewise.
43953         * string/test-memmem-ifunc.c: Likewise.
43954         * string/test-memmove-ifunc.c: Likewise.
43955         * string/test-mempcpy-ifunc.c: Likewise.
43956         * string/test-memrchr-ifunc.c: Likewise.
43957         * string/test-memset-ifunc.c: Likewise.
43958         * string/test-rawmemchr-ifunc.c: Likewise.
43959         * string/test-stpcpy-ifunc.c: Likewise.
43960         * string/test-stpncpy-ifunc.c: Likewise.
43961         * string/test-strcasecmp-ifunc.c: Likewise.
43962         * string/test-strcasestr-ifunc.c: Likewise.
43963         * string/test-strcat-ifunc.c: Likewise.
43964         * string/test-strchr-ifunc.c: Likewise.
43965         * string/test-strchrnul-ifunc.c: Likewise.
43966         * string/test-strcmp-ifunc.c: Likewise.
43967         * string/test-strcpy-ifunc.c: Likewise.
43968         * string/test-strcspn-ifunc.c: Likewise.
43969         * string/test-strlen-ifunc.c: Likewise.
43970         * string/test-strncasecmp-ifunc.c: Likewise.
43971         * string/test-strncat-ifunc.c: Likewise.
43972         * string/test-strncmp-ifunc.c: Likewise.
43973         * string/test-strncpy-ifunc.c: Likewise.
43974         * string/test-strnlen-ifunc.c: Likewise.
43975         * string/test-strpbrk-ifunc.c: Likewise.
43976         * string/test-strrchr-ifunc.c: Likewise.
43977         * string/test-strspn-ifunc.c: Likewise.
43978         * string/test-strstr-ifunc.c: Likewise.
43980 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43982         * benchtests/Makefile: Remove ifunc tests.
43983         * benchtests/bench-string.h: Define TEST_IFUNC.
43984         * benchtests/bench-bcopy-ifunc.c: Remove.
43985         * benchtests/bench-bzero-ifunc.c: Likewise.
43986         * benchtests/bench-memccpy-ifunc.c: Likewise.
43987         * benchtests/bench-memchr-ifunc.c: Likewise.
43988         * benchtests/bench-memcmp-ifunc.c: Likewise.
43989         * benchtests/bench-memcpy-ifunc.c: Likewise.
43990         * benchtests/bench-memmem-ifunc.c: Likewise.
43991         * benchtests/bench-memmove-ifunc.c: Likewise.
43992         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43993         * benchtests/bench-memrchr-ifunc.c: Likewise.
43994         * benchtests/bench-memset-ifunc.c: Likewise.
43995         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43996         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43997         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43998         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43999         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44000         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44001         * benchtests/bench-strcat-ifunc.c: Likewise.
44002         * benchtests/bench-strchr-ifunc.c: Likewise.
44003         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44004         * benchtests/bench-strcmp-ifunc.c: Likewise.
44005         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44006         * benchtests/bench-strcpy-ifunc.c: Likewise.
44007         * benchtests/bench-strcspn-ifunc.c: Likewise.
44008         * benchtests/bench-strlen-ifunc.c: Likewise.
44009         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44010         * benchtests/bench-strncat-ifunc.c: Likewise.
44011         * benchtests/bench-strncmp-ifunc.c: Likewise.
44012         * benchtests/bench-strncpy-ifunc.c: Likewise.
44013         * benchtests/bench-strnlen-ifunc.c: Likewise.
44014         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44015         * benchtests/bench-strrchr-ifunc.c: Likewise.
44016         * benchtests/bench-strsep-ifunc.c: Likewise.
44017         * benchtests/bench-strspn-ifunc.c: Likewise.
44018         * benchtests/bench-strstr-ifunc.c: Likewise.
44020 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44022         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44024 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44026         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44027         * rt/aio.h: Likewise.
44028         * sysdeps/gnu/bits/utmp.h: Likewise.
44029         * sysdeps/gnu/bits/utmpx.h: Likewise.
44030         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44031         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44032         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44033         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44034         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44035         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44036         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44037         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44038         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44039         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44040         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44041         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44042         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44044         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44045         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44046         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44047         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44048         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44049         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44050         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44051         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44052         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44053         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44054         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44056         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44057         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44058         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44059         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44060         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44061         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44062         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44063         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44064         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44065         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44066         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44067         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44068         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44069         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44070         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44073 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44075         [BZ #16245]
44076         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44077         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44079 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44081         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44082         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44083         Likewise.
44085 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44087         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44088         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44089         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44090         (__fesetround): Remove define.
44091         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44092         rounding and exceptions handling.
44093         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44094         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44095         (__fe_nomask_env): Likewise.
44096         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44097         __fegetround instead of fegetround.
44098         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44099         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44101 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44103         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44104         it's there.
44106         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44108 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44110         [BZ #11157]
44111         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44112         (encrypt_r): Likewise.
44113         * malloc/obstack.h (obstack_free): Likewise.
44114         * posix/unistd.h (encrypt): Likewise.
44116 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44118         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44119         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44120         DL_CALL_DT_FINI() that call the functions directly.
44121         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44122         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44123         * elf/dl-fini.c: Likewise.
44125 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44127         * malloc/hooks.c (memalign_check): Add alignment rounding.
44128         * malloc/malloc.c (_mid_memalign): New function.
44129         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44130         Implement by calling _mid_memalign.
44131         * manual/probes.texi (Memory Allocation Probes): Remove
44132         memory_valloc_retry and memory_pvalloc_retry.
44134 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44136         * locale/programs/locarchive.c (open_archive): Add const
44137         qualifier to ARCHIVEFNAME and copy default fname to
44138         DEFAULT_FNAME.
44140         [BZ #15601]
44141         * libio/tst-widetext.input: Rename Oriya to Odia.
44142         * locale/iso-639.def: Likewise.
44144         * manual/probes.texi (Mathematical Function Probes): Add
44145         documentation for sin, cos, asin and acos probes.
44146         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44147         (__sin32): Add slowasin probe.
44148         (__cos32): Add slowacos probe.
44149         (__mpsin): Add slowsin probe.
44150         (__mpcos): Add slowcos probe.
44152 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44154         [BZ #15483]
44155         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44156         thread-local __sim_exceptions_thread and global
44157         __sim_exceptions_global.
44158         (__sim_disabled_exceptions): Change to thread-local
44159         __sim_disabled_exceptions_thread and global
44160         __sim_disabled_exceptions_global.
44161         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44162         and global __sim_round_mode_global.
44163         (__simulate_exceptions): Use thread-local floating-point state and
44164         set global state from it as needed.
44165         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44166         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44167         __sim_round_mode_thread.
44168         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44169         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44170         and global __sim_exceptions_global.
44171         (__sim_disabled_exceptions): Change to thread-local
44172         __sim_disabled_exceptions_thread and global
44173         __sim_disabled_exceptions_global.
44174         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44175         and global __sim_round_mode_global.
44176         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44177         (SIM_SET_GLOBAL): Likewise.
44178         * sysdeps/powerpc/soft-fp/sfp-machine.h
44179         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44180         __sim_round_mode_thread.
44181         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44182         __sim_disabled_exceptions_thread.
44183         (__sim_exceptions): Change to __sim_exceptions_thread.
44184         (__sim_disabled_exceptions): Change to
44185         __sim_disabled_exceptions_thread.
44186         (__sim_round_mode): Change to __sim_round_mode_thread.
44187         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44188         thread-local floating-point state and set global state from it as
44189         needed.
44190         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44191         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44192         (__sim_disabled_exceptions): Remove extern declaration.
44193         (feenableexcept): Use thread-local floating-point state and set
44194         global state from it as needed.
44195         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44196         extern declaration.
44197         (__sim_disabled_exceptions): Likewise.
44198         (__sim_round_mode): Likewise.
44199         (__fegetenv): Use thread-local floating-point state.
44200         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44201         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44202         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44203         floating-point state and set global state from it as needed.
44204         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44205         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44206         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44207         Likewise.
44208         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44209         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44210         Likewise.
44211         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44212         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44213         Use __sim_round_mode_thread.
44214         * math/test-fenv-tls.c: New file.
44215         * math/Makefile (tests): Add test-fenv-tls.
44216         ($(objpfx)test-fenv-tls): Depend on
44217         $(common-objpfx)nptl/libpthread.so.
44219 2013-11-19  Andreas Schwab  <schwab@suse.de>
44221         * locale/programs/locale.c (show_info): Decode wordarray elements.
44222         * locale/categories.def (LC_MONETARY): Add element for
44223         _NL_MONETARY_CRNCYSTR.
44224         * locale/C-monetary.c (conversion_rate): New variable.
44225         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44226         element.
44228 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44230         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44231         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44233 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44235         * elf/Makefile (tst-auxv): New test.
44236         * elf/tst-auxv.c: New
44237         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44239 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44241         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44242         (hidden_proto): Caller changed.
44243         (hidden_tls_proto): New macro.
44244         (libc_hidden_tls_proto): Likewise.
44245         (rtld_hidden_tls_proto): Likewise.
44246         (libm_hidden_tls_proto): Likewise.
44247         (libresolv_hidden_tls_proto): Likewise.
44248         (librt_hidden_tls_proto): Likewise.
44249         (libdl_hidden_tls_proto): Likewise.
44250         (libnss_files_hidden_tls_proto): Likewise.
44251         (libnsl_hidden_tls_proto): Likewise.
44252         (libnss_nisplus_hidden_tls_proto): Likewise.
44253         (libutil_hidden_tls_proto): Likewise.
44255 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44257         [BZ #10253]
44258         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44259         (decompose_rpath): Defer expansion to fillin_rpath.
44260         (_dl_init_paths): Pass linkmap to fillin_rpath.
44262 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44264         * benchtests/Makefile: Add strsep.
44265         * benchtests/bench-strsep.c: New file: strsep benchtest.
44266         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44268 2013-11-18  Andreas Schwab  <schwab@suse.de>
44270         * locale/programs/locale.c (show_info) [case byte]: Check for
44271         '\377' instead of '\177'.
44272         * locale/C-monetary.c (not_available): Always use "\377".
44273         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44274         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44275         detect unavailable sign_posn locale elements.
44276         * locale/localeconv.c (__localeconv): For grouping and
44277         mon_grouping handle "\177" and "\377" like no grouping.
44278         (INT_ELEM): New macro.  Use it to set all numeric members.
44279         * locale/programs/ld-monetary.c (monetary_read)
44280         <tok_mon_grouping>: Normalize single -1 to the empty string.
44281         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44282         Likewise.
44284 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44286         [BZ #16055]
44287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44288         when we match (nil).
44289         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44291 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44293         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44294         (NO_TEST_INLINE): Update value.
44295         (ERRNO_UNCHANGED): Likewise.
44296         (ERRNO_EDOM): Likewise.
44297         (ERRNO_ERANGE): Likewise.
44298         (IGNORE_RESULT): Likewise.
44299         (check_float_internal): Check signs of NaN results if
44300         TEST_NAN_SIGN used.
44301         (check_complex): Pass TEST_NAN_SIGN flag through to second
44302         check_float_internal call.
44303         (copysign_test_data): Add tests with quiet NaNs as second
44304         argument.  Use TEST_NAN_SIGN.
44305         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44306         TEST_NAN_SIGN.
44307         (signbit_test_data): Add tests of quiet NaN argument.
44308         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44310         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44311         $ignore_result.
44312         (parse_args): Handle function results specified as IGNORE.
44313         * math/libm-test.inc (IGNORE_RESULT): New macro.
44314         (check_float_internal): Do not check numerical result if flag
44315         IGNORE_RESULT set.
44316         (check_complex): Pass through IGNORE_RESULT to second
44317         check_float_internal call.
44318         (check_int): Do not check numerical result if flag IGNORE_RESULT
44319         set.
44320         (check_long): Likewise.
44321         (check_bool): Likewise.
44322         (check_longlong): Likewise.
44323         (lrint_test_data): Add tests of infinite and NaN arguments.
44324         (lrint_tonearest_test_data): Likewise.
44325         (lrint_towardzero_test_data): Likewise.
44326         (lrint_downward_test_data): Likewise.
44327         (lrint_upward_test_data): Likewise.
44328         (llrint_test_data): Likewise.
44329         (llrint_tonearest_test_data): Likewise.
44330         (llrint_towardzero_test_data): Likewise.
44331         (llrint_downward_test_data): Likewise.
44332         (llrint_upward_test_data): Likewise.
44333         (lround_test_data): Likewise.
44334         (llround_test_data): Likewise.
44336         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44337         (ERRNO_UNCHANGED): Update value.
44338         (ERRNO_EDOM): Likewise.
44339         (ERRNO_ERANGE): Likewise.
44340         (NO_TEST_INLINE_FLOAT): New macro.
44341         (NO_TEST_INLINE_DOUBLE): Likewise.
44342         (enable_test): New function.
44343         (RUN_TEST_f_f): Check enable_test before running test.
44344         (RUN_TEST_2_f): Likewise.
44345         (RUN_TEST_fff_f): Likewise.
44346         (RUN_TEST_c_f): Likewise.
44347         (RUN_TEST_f_f1): Likewise.
44348         (RUN_TEST_fF_f1): Likewise.
44349         (RUN_TEST_fI_f1): Likewise.
44350         (RUN_TEST_ffI_f1): Likewise.
44351         (RUN_TEST_c_c): Likewise.
44352         (RUN_TEST_cc_c): Likewise.
44353         (RUN_TEST_f_i): Likewise.
44354         (RUN_TEST_f_i_tg): Likewise.
44355         (RUN_TEST_ff_i_tg): Likewise.
44356         (RUN_TEST_f_b): Likewise.
44357         (RUN_TEST_f_b_tg): Likewise.
44358         (RUN_TEST_f_l): Likewise.
44359         (RUN_TEST_f_L): Likewise.
44360         (RUN_TEST_fFF_11): Likewise.
44361         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44362         conditionals.
44363         (cosh_test_data): Likewise.
44364         (exp_test_data): Likewise.
44365         (expm1_test_data): Likewise.
44366         (hypot_test_data): Likewise.
44367         (pow_test_data): Likewise.
44368         (sinh_test_data): Likewise.
44369         (tanh_test_data): Likewise.
44370         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44371         flags argument.
44373         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44374         tests with quiet NaN input and output.
44375         (acosh_test_data): Likewise.
44376         (asin_test_data): Likewise.
44377         (asinh_test_data): Likewise.
44378         (atan_test_data): Likewise.
44379         (atanh_test_data): Likewise.
44380         (atan2_test_data): Likewise.
44381         (cbrt_test_data): Likewise.
44382         (cos_test_data): Likewise.
44383         (cosh_test_data): Likewise.
44384         (erf_test_data): Likewise.
44385         (erfc_test_data): Likewise.
44386         (exp_test_data): Likewise.
44387         (exp10_test_data): Likewise.
44388         (exp2_test_data): Likewise.
44389         (expm1_test_data): Likewise.
44390         (hypot_test_data): Likewise.
44391         (j0_test_data): Likewise.
44392         (j1_test_data): Likewise.
44393         (jn_test_data): Likewise.
44394         (lgamma_test_data): Likewise.
44395         (log_test_data): Likewise.
44396         (log10_test_data): Likewise.
44397         (log1p_test_data): Likewise.
44398         (log2_test_data): Likewise.
44399         (pow_test_data): Likewise.
44400         (scalb_test_data): Likewise.
44401         (sin_test_data): Likewise.
44402         (sincos_test_data): Likewise.
44403         (sinh_test_data): Likewise.
44404         (tan_test_data): Likewise.
44405         (tanh_test_data): Likewise.
44406         (tgamma_test_data): Likewise.
44407         (y0_test_data): Likewise.
44408         (y1_test_data): Likewise.
44409         (yn_test_data): Likewise.
44411         [BZ #16167]
44412         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44413         argument being NaN and avoid computations with second argument in
44414         that case.
44415         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44416         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44417         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44419 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44421         * locale/iso-639.def: Add Chitwani Tharu (the).
44423 2013-11-14  Andreas Schwab  <schwab@suse.de>
44425         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44426         word instead of empty string.
44428 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44431         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44433         (__fe_nomask_env): Likewise.
44435 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44437         * benchtests/bench-timing.h: Include time.h.
44439 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44441         [BZ #15997]
44442         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44443         to 3.4.0 for x32.
44444         * sysdeps/unix/sysv/linux/configure: Regenerated.
44446 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44448         [BZ #16151]
44449         * stdlib/strtod_l.c (round_and_return): Do not consider
44450         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44451         exponent one less than half the least subnormal exponent.
44452         * stdlib/test-strtod-round-data: Add more tests.
44453         * stdlib/tst-strtod-round.c (tests): Regenerated.
44455 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44457         [BZ #14143]
44458         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44459         (__fe_mask_env): Likewise.
44460         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44461         libm_hidden_proto and add function prototype.
44462         (__fe_mask_env): Add function prototype.
44463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44464         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44466         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44468         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44470 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44472         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44473         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44475 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44477         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44478         of htab_find_slot().
44480 2013-11-11  David S. Miller  <davem@davemloft.net>
44482         [BZ #16150]
44483         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44484         symbol in the non-vis3 case in static builds.
44485         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44486         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44487         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44488         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44490 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44492         [BZ #387]
44493         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44494         it is empty.
44496 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44498         * benchtests/Makefile: Add bench-strtod.
44499         * benchtests/bench-strtod.c: New file: strtod benchtest
44501 2013-11-11  Andreas Schwab  <schwab@suse.de>
44503         [BZ #16153]
44504         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44505         terminating NUL in key length.
44507 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44510         Add artificial ODP entry for vDSO symbol for PPC64.
44511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44512         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44514 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44516         [BZ #15374]
44517         * nss/getent.c (services_keys): Recognize services starting with digit.
44519 2013-11-06  David S. Miller  <davem@davemloft.net>
44521         [BZ #15985]
44522         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44523         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44525 2013-11-06  Will Newton  <will.newton@linaro.org>
44527         * manual/memory.texi (Malloc Examples): Remove register
44528         keyword from examples.
44530 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44532         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44534 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44536         [BZ #6981]
44537         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44538         depending on [__GCC_IEC_559 > 0].
44539         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44540         depending on [__GCC_IEC_559_COMPLEX > 0].
44542 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44544         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44545         to iso-639.def.
44547 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44549         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44551 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44553         [BZ #16112]
44554         * malloc/malloc (malloc_info): Do not handle first bin as
44555         special case.
44557 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44559         * locale/iso-639.def: Add Central Nahuatl (nhn).
44561 2013-11-01  Bruno Haible  <bruno@clisp.org>
44563         [BZ #7003]
44564         * manual/math.texi (BSD Random): Specify range upper bound as
44565         in POSIX.
44567 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44569         * locale/iso-639.def: Add Meadow Mari (mhr).
44571 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44573         [BZ #14752], [BZ #15763]
44574         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44575         Validate name.
44576         * rt/tst_shm.c: Add test for escaping directory.
44578 2013-10-31  Andreas Schwab  <schwab@suse.de>
44580         [BZ #15917]
44581         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44582         followed by 'x' as part of digit sequence.
44583         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44585 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44587         [BZ #16037]
44588         * configure.ac: allow GNU Make 4.0 and greater.
44589         * configure: Regenerated.
44591 2013-10-30  Will Newton  <will.newton@linaro.org>
44593         [BZ #16038]
44594         * malloc/hooks.c (memalign_check): Limit alignment to the
44595         maximum representable power of two.
44596         * malloc/malloc.c (__libc_memalign): Likewise.
44597         * malloc/tst-memalign.c (do_test): Add test for very
44598         large alignment values.
44599         * malloc/tst-posix_memalign.c (do_test): Likewise.
44601 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44603         [BZ #11087]
44604         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44605         (munmap_chunk): Likewise.
44606         (mremap_chunk): Likewise.
44608 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44610         [BZ #15799]
44611         * stdlib/div.c (div): Remove obsolete code.
44612         * stdlib/ldiv.c (ldiv): Likewise.
44613         * stdlib/lldiv.c (lldiv): Likewise.
44615 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44617         [BZ #16071]
44618         * nss/nss_files/files-XXX.c (get_contents_ret): New
44619         enumerator.
44620         (get_contents): New function.
44621         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44623 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44625         * configure.in: Moved to ...
44626         * configure.ac: ... here. Change reference to configure.in
44627         to configure.ac.
44628         * sysdeps/arm/preconfigure.ac: ... here.
44629         configure.in to configure.ac.
44630         * sysdeps/gnu/configure.in: Moved to ...
44631         * sysdeps/gnu/configure.ac: ... here.
44632         * sysdeps/i386/configure.in: Moved to ...
44633         * sysdeps/i386/configure.ac: ... here.
44634         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44635         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44636         * sysdeps/mach/configure.in: Moved to ...
44637         * sysdeps/mach/configure.ac: ... here.
44638         * sysdeps/mach/hurd/configure.in: Moved to ...
44639         * sysdeps/mach/hurd/configure.ac: ... here.
44640         * sysdeps/powerpc/configure.in: Moved to ...
44641         * sysdeps/powerpc/configure.ac: ... here.
44642         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44643         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44644         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44645         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44646         * sysdeps/s390/s390-32/configure.in: Moved to ...
44647         * sysdeps/s390/s390-32/configure.ac: ... here.
44648         * sysdeps/s390/s390-64/configure.in: Moved to ...
44649         * sysdeps/s390/s390-64/configure.ac: ... here.
44650         * sysdeps/sh/configure.in: Moved to ...
44651         * sysdeps/sh/configure.ac: ... here.
44652         * sysdeps/sparc/configure.in: Moved to ...
44653         * sysdeps/sparc/configure.ac: ... here.
44654         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44655         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44656         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44657         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44658         * sysdeps/x86_64/configure.in: Moved to ...
44659         * sysdeps/x86_64/configure.ac: ... here.
44660         * sysdeps/x86_64/preconfigure.in: Moved to ...
44661         * sysdeps/x86_64/preconfigure.ac: ... here.
44662         * aclocal.m4: Change reference to configure.in to configure.ac.
44663         * config.h.in: Likewise.
44664         * manual/install.texi: Likewise.
44665         * manual/maint.texi: Likewise.
44666         * Makefile: Likewise.
44667         * malloc/Makefile: Likewise.
44668         * nscd/Makefile: Likewise.
44669         * Makeconfig: Change reference to configure.in and
44670         preconfigure.in to configure.ac and preconfigure.ac
44671         respectively.
44672         * INSTALL: Regenerated.
44673         * configure: Likewise.
44674         * sysdeps/gnu/configure: Likewise.
44675         * sysdeps/i386/configure: Likewise.
44676         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44677         * sysdeps/mach/configure: Likewise.
44678         * sysdeps/mach/hurd/configure: Likewise.
44679         * sysdeps/powerpc/configure: Likewise.
44680         * sysdeps/powerpc/powerpc32/configure: Likewise.
44681         * sysdeps/powerpc/powerpc64/configure: Likewise.
44682         * sysdeps/s390/s390-32/configure: Likewise.
44683         * sysdeps/s390/s390-64/configure: Likewise.
44684         * sysdeps/sh/configure: Likewise.
44685         * sysdeps/sparc/configure: Likewise.
44686         * sysdeps/unix/sysv/linux/configure: Likewise.
44687         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44688         * sysdeps/x86_64/configure: Likewise.
44689         * sysdeps/x86_64/preconfigure: Likewise.
44691 2013-10-29  Andreas Schwab  <schwab@suse.de>
44693         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44695 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44697         * benchtests/pow-inputs: Add new inputs.
44699         * benchtests/exp-inputs: Add new inputs.
44701         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44702         conditional check for return value.
44703         (__cos32): Likewise.
44705 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44707         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44708         to provide a boost for large inputs with word alignment.
44709         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44710         implementation based on optimized PPC64 strcpy.
44711         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44712         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44713         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44714         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44716 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44718         [BZ #2801]
44719         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44721 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44723         [BZ #14876]
44724         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44725         * time/tst-strptime.c (day_tests): Add testcase.
44727 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44729         [BZ #14029]
44730         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44732 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44734         [BZ #16074]
44735         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44736         MAP_FAILED on error.
44738 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44740         [BZ #16072]
44741         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44742         heap for large requests.
44744 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44746         [BZ #9954]
44747         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44748         result if the result has no associated interface.
44749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44750         interface for all 127.X.Y.Z addresses.
44752 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44754         * locale/iso-639.def: Add Ligurian (lij)
44756 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44758         [BZ #15825]
44759         * sunrpc/rpc_main.c: Document rpcgen -5.
44761 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44763         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44765 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44767         [BZ #10278]
44768         * posix/glob.c: Match only directories when trailing slash is present.
44769         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44770         (main): Add testcase.
44772 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44774         [BZ #15670]
44775         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44777 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44779         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44780         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44781         AUTH_DES and cindex for FIPS 140-2.
44782         (DES Encryption): Add cindex FIPS 46-3.
44784         * locale/locarchive.h (struct locarhandle): Add fname.
44785         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44786         if an optional argument was specified to --list-archive,
44787         otherwise NULL.
44788         * locale/programs/locarchive.c (show_archive_content): Take new
44789         argument fname and pass it via ah.fname to open_archive.
44790         * locale/programs/localedef.h: Update decl.
44791         (open_archive): If AH->fname is non-null, open that file
44792         rather than the default file name, and don't ignore ENOENT.
44793         (create_archive): Set AH.fname to NULL.
44794         (delete_locales_from_archive): Likewise.
44795         (add_locales_to_archive): Likewise.
44796         * locale/programs/locfile.c (write_all_categories): Likewise.
44798 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44799             Aldy Hernandez  <aldyh@redhat.com>
44801         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44802         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44803         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44804         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44805         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44806         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44807         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44808         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44809         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44810         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44811         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44812         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44813         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44814         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44815         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44816         Likewise.
44817         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44818         Likewise.
44819         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44820         Likewise.
44821         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44822         Likewise.
44823         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44824         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44825         Likewise.
44826         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44827         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44828         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44829         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44830         Likewise.
44831         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44832         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44833         * sysdeps/powerpc/preconfigure: Likewise.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44835         Likewise.
44836         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44837         Replace contents of file by #include of <fenv_libc.h>.
44838         * sysdeps/powerpc/soft-fp/sfp-machine.h
44839         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44840         and <sys/prctl.h>.
44841         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44854         Allow copysignl PLT reference to be missing.
44856 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44857             Joseph Myers  <joseph@codesourcery.com
44859         [BZ #15948]
44860         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44861         single character.
44862         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44864 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44866         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44867         * elf/tst-tls1.c: Likewise.
44868         * elf/tst-tls10.h: Likewise.
44869         * elf/tst-tls14.c: Likewise.
44870         * elf/tst-tls2.c: Likewise.
44871         * elf/tst-tls3.c: Likewise.
44872         * elf/tst-tls4.c: Likewise.
44873         * elf/tst-tls5.c: Likewise.
44874         * elf/tst-tls6.c: Likewise.
44875         * elf/tst-tls7.c: Likewise.
44876         * elf/tst-tls8.c: Likewise.
44877         * elf/tst-tls9.c: Likewise.
44878         * elf/tst-tlsmod1.c: Likewise.
44879         * elf/tst-tlsmod13.c: Likewise.
44880         * elf/tst-tlsmod13a.c: Likewise.
44881         * elf/tst-tlsmod14a.c: Likewise.
44882         * elf/tst-tlsmod16a.c: Likewise.
44883         * elf/tst-tlsmod16b.c: Likewise.
44884         * elf/tst-tlsmod2.c: Likewise.
44885         * elf/tst-tlsmod3.c: Likewise.
44886         * elf/tst-tlsmod4.c: Likewise.
44887         * elf/tst-tlsmod5.c: Likewise.
44888         * elf/tst-tlsmod6.c: Likewise.
44890 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44892         [BZ #12486]
44893         * malloc/malloc.c: remove checks for statistics.
44895 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44897         [BZ #15277]
44898         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44899         * inet/tst-network.c: Add testcase.
44901 2013-10-17  Andreas Schwab  <schwab@suse.de>
44903         [BZ #15218]
44904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44905         to determine canonical name.
44907 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44909         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44910         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44912         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44914         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44915         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44916         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44917         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44918         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44919         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44921         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44922         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44923         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44924         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44926         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44927         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44928         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44932         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44933         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44934         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44935         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44936         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44937         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44938         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44939         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44940         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44941         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44946         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44949         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44968 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44970         [BZ #16041]
44971         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44972         make result into a quiet NaN.
44974 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44976         * soft-fp/adddf3.c: Fix horizontal whitespace.
44977         * soft-fp/addsf3.c: Likewise.
44978         * soft-fp/addtf3.c: Likewise.
44979         * soft-fp/divdf3.c: Likewise.
44980         * soft-fp/divsf3.c: Likewise.
44981         * soft-fp/divtf3.c: Likewise.
44982         * soft-fp/double.h: Likewise.
44983         * soft-fp/eqdf2.c: Likewise.
44984         * soft-fp/eqsf2.c: Likewise.
44985         * soft-fp/eqtf2.c: Likewise.
44986         * soft-fp/extenddftf2.c: Likewise.
44987         * soft-fp/extended.h: Likewise.
44988         * soft-fp/extendsfdf2.c: Likewise.
44989         * soft-fp/extendsftf2.c: Likewise.
44990         * soft-fp/extendxftf2.c: Likewise.
44991         * soft-fp/fixdfdi.c: Likewise.
44992         * soft-fp/fixdfsi.c: Likewise.
44993         * soft-fp/fixdfti.c: Likewise.
44994         * soft-fp/fixsfdi.c: Likewise.
44995         * soft-fp/fixsfsi.c: Likewise.
44996         * soft-fp/fixsfti.c: Likewise.
44997         * soft-fp/fixtfdi.c: Likewise.
44998         * soft-fp/fixtfsi.c: Likewise.
44999         * soft-fp/fixtfti.c: Likewise.
45000         * soft-fp/fixunsdfdi.c: Likewise.
45001         * soft-fp/fixunsdfsi.c: Likewise.
45002         * soft-fp/fixunsdfti.c: Likewise.
45003         * soft-fp/fixunssfdi.c: Likewise.
45004         * soft-fp/fixunssfsi.c: Likewise.
45005         * soft-fp/fixunssfti.c: Likewise.
45006         * soft-fp/fixunstfdi.c: Likewise.
45007         * soft-fp/fixunstfsi.c: Likewise.
45008         * soft-fp/fixunstfti.c: Likewise.
45009         * soft-fp/floatdidf.c: Likewise.
45010         * soft-fp/floatdisf.c: Likewise.
45011         * soft-fp/floatditf.c: Likewise.
45012         * soft-fp/floatsidf.c: Likewise.
45013         * soft-fp/floatsisf.c: Likewise.
45014         * soft-fp/floatsitf.c: Likewise.
45015         * soft-fp/floattidf.c: Likewise.
45016         * soft-fp/floattisf.c: Likewise.
45017         * soft-fp/floattitf.c: Likewise.
45018         * soft-fp/floatundidf.c: Likewise.
45019         * soft-fp/floatundisf.c: Likewise.
45020         * soft-fp/floatunditf.c: Likewise.
45021         * soft-fp/floatunsidf.c: Likewise.
45022         * soft-fp/floatunsisf.c: Likewise.
45023         * soft-fp/floatunsitf.c: Likewise.
45024         * soft-fp/floatuntidf.c: Likewise.
45025         * soft-fp/floatuntisf.c: Likewise.
45026         * soft-fp/floatuntitf.c: Likewise.
45027         * soft-fp/fmadf4.c: Likewise.
45028         * soft-fp/fmasf4.c: Likewise.
45029         * soft-fp/fmatf4.c: Likewise.
45030         * soft-fp/gedf2.c: Likewise.
45031         * soft-fp/gesf2.c: Likewise.
45032         * soft-fp/getf2.c: Likewise.
45033         * soft-fp/ledf2.c: Likewise.
45034         * soft-fp/lesf2.c: Likewise.
45035         * soft-fp/letf2.c: Likewise.
45036         * soft-fp/muldf3.c: Likewise.
45037         * soft-fp/mulsf3.c: Likewise.
45038         * soft-fp/multf3.c: Likewise.
45039         * soft-fp/negdf2.c: Likewise.
45040         * soft-fp/negsf2.c: Likewise.
45041         * soft-fp/negtf2.c: Likewise.
45042         * soft-fp/op-1.h: Likewise.
45043         * soft-fp/op-2.h: Likewise.
45044         * soft-fp/op-4.h: Likewise.
45045         * soft-fp/op-8.h: Likewise.
45046         * soft-fp/op-common.h: Likewise.
45047         * soft-fp/quad.h: Likewise.
45048         * soft-fp/single.h: Likewise.
45049         * soft-fp/soft-fp.h: Likewise.
45050         * soft-fp/sqrtdf2.c: Likewise.
45051         * soft-fp/sqrtsf2.c: Likewise.
45052         * soft-fp/sqrttf2.c: Likewise.
45053         * soft-fp/subdf3.c: Likewise.
45054         * soft-fp/subsf3.c: Likewise.
45055         * soft-fp/subtf3.c: Likewise.
45056         * soft-fp/truncdfsf2.c: Likewise.
45057         * soft-fp/trunctfdf2.c: Likewise.
45058         * soft-fp/trunctfsf2.c: Likewise.
45059         * soft-fp/trunctfxf2.c: Likewise.
45060         * soft-fp/unorddf2.c: Likewise.
45061         * soft-fp/unordsf2.c: Likewise.
45062         * soft-fp/unordtf2.c: Likewise.
45064 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45066         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45067         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45069 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45071         * elf/dl-libc.c: Clear initfini list after freeing.
45073 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45075         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45076         * soft-fp/addsf3.c: Likewise.
45077         * soft-fp/addtf3.c: Likewise.
45078         * soft-fp/divdf3.c: Likewise.
45079         * soft-fp/divsf3.c: Likewise.
45080         * soft-fp/divtf3.c: Likewise.
45081         * soft-fp/double.h: Likewise.
45082         * soft-fp/eqdf2.c: Likewise.
45083         * soft-fp/eqsf2.c: Likewise.
45084         * soft-fp/eqtf2.c: Likewise.
45085         * soft-fp/extenddftf2.c: Likewise.
45086         * soft-fp/extended.h: Likewise.
45087         * soft-fp/extendsfdf2.c: Likewise.
45088         * soft-fp/extendsftf2.c: Likewise.
45089         * soft-fp/extendxftf2.c: Likewise.
45090         * soft-fp/fixdfdi.c: Likewise.
45091         * soft-fp/fixdfsi.c: Likewise.
45092         * soft-fp/fixdfti.c: Likewise.
45093         * soft-fp/fixsfdi.c: Likewise.
45094         * soft-fp/fixsfsi.c: Likewise.
45095         * soft-fp/fixsfti.c: Likewise.
45096         * soft-fp/fixtfdi.c: Likewise.
45097         * soft-fp/fixtfsi.c: Likewise.
45098         * soft-fp/fixtfti.c: Likewise.
45099         * soft-fp/fixunsdfdi.c: Likewise.
45100         * soft-fp/fixunsdfsi.c: Likewise.
45101         * soft-fp/fixunsdfti.c: Likewise.
45102         * soft-fp/fixunssfdi.c: Likewise.
45103         * soft-fp/fixunssfsi.c: Likewise.
45104         * soft-fp/fixunssfti.c: Likewise.
45105         * soft-fp/fixunstfdi.c: Likewise.
45106         * soft-fp/fixunstfsi.c: Likewise.
45107         * soft-fp/fixunstfti.c: Likewise.
45108         * soft-fp/floatdidf.c: Likewise.
45109         * soft-fp/floatdisf.c: Likewise.
45110         * soft-fp/floatditf.c: Likewise.
45111         * soft-fp/floatsidf.c: Likewise.
45112         * soft-fp/floatsisf.c: Likewise.
45113         * soft-fp/floatsitf.c: Likewise.
45114         * soft-fp/floattidf.c: Likewise.
45115         * soft-fp/floattisf.c: Likewise.
45116         * soft-fp/floattitf.c: Likewise.
45117         * soft-fp/floatundidf.c: Likewise.
45118         * soft-fp/floatundisf.c: Likewise.
45119         * soft-fp/floatunsidf.c: Likewise.
45120         * soft-fp/floatunsisf.c: Likewise.
45121         * soft-fp/floatuntidf.c: Likewise.
45122         * soft-fp/floatuntisf.c: Likewise.
45123         * soft-fp/floatuntitf.c: Likewise.
45124         * soft-fp/fmadf4.c: Likewise.
45125         * soft-fp/fmasf4.c: Likewise.
45126         * soft-fp/fmatf4.c: Likewise.
45127         * soft-fp/gedf2.c: Likewise.
45128         * soft-fp/gesf2.c: Likewise.
45129         * soft-fp/getf2.c: Likewise.
45130         * soft-fp/ledf2.c: Likewise.
45131         * soft-fp/lesf2.c: Likewise.
45132         * soft-fp/letf2.c: Likewise.
45133         * soft-fp/muldf3.c: Likewise.
45134         * soft-fp/mulsf3.c: Likewise.
45135         * soft-fp/multf3.c: Likewise.
45136         * soft-fp/negdf2.c: Likewise.
45137         * soft-fp/negsf2.c: Likewise.
45138         * soft-fp/negtf2.c: Likewise.
45139         * soft-fp/op-1.h: Likewise.
45140         * soft-fp/op-2.h: Likewise.
45141         * soft-fp/op-4.h: Likewise.
45142         * soft-fp/op-8.h: Likewise.
45143         * soft-fp/op-common.h: Likewise.
45144         * soft-fp/quad.h: Likewise.
45145         * soft-fp/single.h: Likewise.
45146         * soft-fp/soft-fp.h: Likewise.
45147         * soft-fp/sqrtdf2.c: Likewise.
45148         * soft-fp/sqrtsf2.c: Likewise.
45149         * soft-fp/sqrttf2.c: Likewise.
45150         * soft-fp/subdf3.c: Likewise.
45151         * soft-fp/subsf3.c: Likewise.
45152         * soft-fp/subtf3.c: Likewise.
45153         * soft-fp/truncdfsf2.c: Likewise.
45154         * soft-fp/trunctfdf2.c: Likewise.
45155         * soft-fp/trunctfsf2.c: Likewise.
45156         * soft-fp/trunctfxf2.c: Likewise.
45157         * soft-fp/unorddf2.c: Likewise.
45158         * soft-fp/unordsf2.c: Likewise.
45159         * soft-fp/unordtf2.c: Likewise.
45161 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45163         [BZ #15672]
45164         * misc/error.c (error_tail): Fix possible buffer overflow.
45166 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45168         [BZ #13028]
45169         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45170         address.
45172 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45174         [BZ #832]
45175         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45176         testing pipefail option.
45178 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45180         * soft-fp/double.h: Indent preprocessor directives inside #if.
45181         * soft-fp/extended.h: Likewise.
45182         * soft-fp/op-2.h: Likewise.
45183         * soft-fp/op-4.h: Likewise.
45184         * soft-fp/op-common.h: Likewise.
45185         * soft-fp/quad.h: Likewise.
45186         * soft-fp/single.h: Likewise.
45187         * soft-fp/soft-fp.h: Likewise.
45189 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45191         * iconv/iconv_prog.c: Fix typos.
45192         * stdio-common/psiginfo-data.h: Likewise.
45194 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45196         [BZ #15764]
45197         * locale/setlocale.c: Fix typo.
45199 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45201         [BZ #16036]
45202         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45203         signaling NaN arguments.
45204         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45205         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45207         [BZ #14910]
45208         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45209         unordered operands.
45210         * soft-fp/gesf2.c (__gesf2): Likewise.
45211         * soft-fp/getf2.c (__getf2): Likewise.
45212         * soft-fp/ledf2.c (__ledf2): Likewise.
45213         * soft-fp/lesf2.c (__lesf2): Likewise.
45214         * soft-fp/letf2.c (__letf2): Likewise.
45216         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45217         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45218         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45219         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45220         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45221         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45222         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45223         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45224         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45225         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45226         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45227         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45228         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45229         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45230         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45231         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45232         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45233         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45234         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45235         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45236         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45237         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45238         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45239         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45240         * soft-fp/floattidf.c (__floattidf): Likewise.
45241         * soft-fp/floattisf.c (__floattisf): Likewise.
45242         * soft-fp/floattitf.c (__floattitf): Likewise.
45243         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45244         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45245         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45246         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45247         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45248         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45249         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45250         * soft-fp/gesf2.c (__gesf2): Likewise.
45251         * soft-fp/getf2.c (__getf2): Likewise.
45252         * soft-fp/ledf2.c (__ledf2): Likewise.
45253         * soft-fp/lesf2.c (__lesf2): Likewise.
45254         * soft-fp/letf2.c (__letf2): Likewise.
45256         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45257         Undefine and redefine.
45258         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45259         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45260         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45261         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45262         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45263         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45264         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45265         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45266         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45267         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45268         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45269         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45270         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45271         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45272         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45274         [BZ #16032]
45275         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45276         without decrementing exponent if mantissa >= that for the
45277         denominator, not >.
45278         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45279         denominator, not >.  Decrement exponent in < case instead of
45280         incrementing in >= case.
45281         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45282         without decrementing exponent if mantissa >= that for the
45283         denominator, not >.
45285         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45286         computing saturated result for unsigned overflow.
45288 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45289             Jeff Law  <law@redhat.com>
45291         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45292         (atan2Mp): Add systemtap probe marker.
45293         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45294         (__ieee754_log): Add systemtap probe marker.
45295         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45296         (atanMp): Add systemtap probe marker.
45297         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45298         (tanMp): Add systemtap probe marker.
45299         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45300         (__slowexp): Add systemtap probe marker.
45301         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45302         (__slowpow): Add systemtap probe marker.
45303         * manual/probes.texi: Document probes.
45305 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45307         [BZ #15362]
45308         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45309         written.
45310         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45311         written.
45312         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45313         written to buffer but not flushed.
45314         * libio/iofwrite_u.c:  Likewise.
45315         * libio/iopadn.c:  Return bytes returned even if EOF was
45316         encountered.
45317         * libio/iowpadn.c:  Likewise.
45318         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45319         if _IO_padn does not write the whole buffer.
45320         [!COMPILE_WPRINTF] (PAD): Likewise.
45322 2013-10-10  David S. Miller  <davem@davemloft.net>
45324         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45325         directory block.
45327 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45329         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45330         instead of FSF address.
45331         * soft-fp/fixdfti.c: Likewise.
45332         * soft-fp/fixsfti.c: Likewise.
45333         * soft-fp/fixtfti.c: Likewise.
45334         * soft-fp/fixunsdfti.c: Likewise.
45335         * soft-fp/fixunssfti.c: Likewise.
45336         * soft-fp/fixunstfti.c: Likewise.
45337         * soft-fp/floattidf.c: Likewise.
45338         * soft-fp/floattisf.c: Likewise.
45339         * soft-fp/floattitf.c: Likewise.
45340         * soft-fp/floatuntidf.c: Likewise.
45341         * soft-fp/floatuntisf.c: Likewise.
45342         * soft-fp/floatuntitf.c: Likewise.
45343         * soft-fp/trunctfxf2.c: Likewise.
45345         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45346         * soft-fp/fixdfti.c: Likewise.
45347         * soft-fp/fixsfti.c: Likewise.
45348         * soft-fp/fixtfti.c: Likewise.
45349         * soft-fp/fixunsdfti.c: Likewise.
45350         * soft-fp/fixunssfti.c: Likewise.
45351         * soft-fp/fixunstfti.c: Likewise.
45352         * soft-fp/floattidf.c: Likewise.
45353         * soft-fp/floattisf.c: Likewise.
45354         * soft-fp/floattitf.c: Likewise.
45355         * soft-fp/floatuntidf.c: Likewise.
45356         * soft-fp/floatuntisf.c: Likewise.
45357         * soft-fp/floatuntitf.c: Likewise.
45358         * soft-fp/trunctfxf2.c: Likewise.
45360 2013-10-10  David S. Miller  <davem@davemloft.net>
45362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45364 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45366         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45367         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45368         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45369         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45370         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45371         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45372         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45374         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45375         for NaNs before doing comparisons on argument.
45376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45377         Likewise.
45379 2013-10-10  Will Newton  <will.newton@linaro.org>
45381         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45382         passed to _int_memalign does not overflow.
45384 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45386         * scripts/bench.pl: Add include-sources directive.
45387         * benchtests/README: Update documentation.
45389 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45391         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45392         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45393         instead of FP_INIT_ROUNDMODE.
45394         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45395         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45397         [BZ #16034]
45398         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45399         copy class of input value.
45400         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45401         not handle exceptions.
45402         * soft-fp/negsf2.c (__negsf2): Likewise.
45403         * soft-fp/negtf2.c (__negtf2): Likewise.
45404         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45406 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45408         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45409         semicolon.  From Linux kernel.
45411 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45413         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45415 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45417         [BZ #156]
45418         * manual/socket.texi: Added statement about buffer
45419         for gethostbyname2_r.
45421 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45423         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45424         Use .p2align directive instead, throughout.
45425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45426         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45427         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45428         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45429         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45430         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45431         * sysdeps/x86_64/strchr.S: Likewise.
45432         * sysdeps/x86_64/strrchr.S: Likewise.
45434 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45436         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45438         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45440         * sysdeps/generic/math_private.h (__mpsin1): Remove
45441         declaration.
45442         (__mpcos1): Likewise.
45443         (__mpsin): New argument __range_reduce.
45444         (__mpcos): Likewise.
45445         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45446         (slow): Use __mpsin and __mpcos.
45447         (slow1): Likewise.
45448         (slow2): Likewise.
45449         (sloww): Likewise.
45450         (sloww1): Likewise.
45451         (sloww2): Likewise.
45452         (bsloww): Likewise.
45453         (bsloww1): Likewise.
45454         (bsloww2): Likewise.
45455         (cslow2): Likewise.
45456         (csloww): Likewise.
45457         (csloww1): Likewise.
45458         (csloww2): Likewise.
45459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45460         range_reduce.  Merge in __mpsin1.
45461         (__mpcos): Likewise.
45462         (__mpsin1): Remove.
45463         (__mpcos1): Likewise.
45465 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45467         * locale/loadlocale.c (_nl_intern_locale_data): Use
45468         LOCFILE_ALIGNED_P.
45469         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45470         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45471         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45472         obstack data is appropriately aligned.
45473         (obstack_int32_grow_fast): Likewise.
45474         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45475         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45476         (add_locale_uint32_array): Likewise.
45478 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45480         * benchtests/Makefile: Remove ARGLIST and RET variables.
45481         ($(objpfx)bench-%.c): Pass only function name to the script.
45482         * benchtests/README: Update documentation.
45483         * benchtests/acos-inputs: Add new directives.
45484         * benchtests/acosh-inputs: Likewise.
45485         * benchtests/asin-inputs: Likewise.
45486         * benchtests/asinh-inputs: Likewise.
45487         * benchtests/atan-inputs: Likewise.
45488         * benchtests/atanh-inputs: Likewise.
45489         * benchtests/cos-inputs: Likewise.
45490         * benchtests/cosh-inputs: Likewise.
45491         * benchtests/exp-inputs: Likewise.
45492         * benchtests/log-inputs: Likewise.
45493         * benchtests/pow-inputs: Likewise.
45494         * benchtests/rint-inputs: Likewise.
45495         * benchtests/sin-inputs: Likewise.
45496         * benchtests/sinh-inputs: Likewise.
45497         * benchtests/tan-inputs: Likewise.
45498         * benchtests/tanh-inputs: Likewise.
45499         * scripts/bench.pl: Add support for new directives.
45501 2013-10-07  Alan Modra  <amodra@gmail.com>
45503         * README: Fix careless merge.
45505 2013-10-05  Alan Modra  <amodra@gmail.com>
45507         * NEWS: Mention powerpc64le support and bugs fixed.
45508         * README: Both big-endian and little-endian powerpc64 supported.
45510 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45512         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45513         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45514         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45515         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45517 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45519         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45520         match prototype.
45522 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45524         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45525         Move -mhard-float appending from
45526         ports/sysdeps/powerpc/powerpc32/Makefile.
45527         [$(with-fp) = yes] (ASFLAGS): Likewise.
45528         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45529         * sysdeps/powerpc/nofpu: Move directory from
45530         ports/sysdeps/powerpc/nofpu.
45531         * sysdeps/powerpc/soft-fp: Move directory from
45532         ports/sysdeps/powerpc/soft-fp.
45533         * sysdeps/powerpc/powerpc32/405: Move directory from
45534         ports/sysdeps/powerpc/powerpc32/405.
45535         * sysdeps/powerpc/powerpc32/440: Move directory from
45536         ports/sysdeps/powerpc/powerpc32/440.
45537         * sysdeps/powerpc/powerpc32/464: Move directory from
45538         ports/sysdeps/powerpc/powerpc32/464.
45539         * sysdeps/powerpc/powerpc32/476: Move directory from
45540         ports/sysdeps/powerpc/powerpc32/476.
45541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45544         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45546         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45548         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45550         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45551         * README: Update for powerpc-*-linux-gnu software floating point
45552         support in libc.
45554         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45555         case to powerpc/powerpc32*.
45556         * sysdeps/unix/sysv/linux/configure: Regenerated.
45558         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45559         (_FPU_MASK_OM): Define as 0x04.
45560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45562         0x00c10080.
45563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45564         0x0000003c.
45565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45568         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45569         getcontext_e500.
45570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45571         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45572         setcontext_e500.
45573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45574         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45575         and setcontext_e500.
45577 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45579         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45581 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45583         * manual/threads.texi (Default Thread Attributes): Fix typo.
45585 2013-10-04  Will Newton  <will.newton@linaro.org>
45587         * malloc/Makefile: Add tst-memalign.
45588         * malloc/tst-memalign.c: New file.
45590         * malloc/tst-posix_memalign.c: Add comments.
45591         (do_test): Add comments and call free on all potentially
45592         allocated pointers. Add space after cast.
45594         * malloc/tst-pvalloc.c: Add comments.
45595         (do_test): Add comments and call free on all potentially
45596         allocated pointers. Remove duplicate check for NULL pointer.
45597         Add space after cast.
45599         * malloc/tst-valloc.c: Add comments.
45600         (do_test): Add comments and call free on all potentially
45601         allocated pointers. Remove duplicate check for NULL pointer.
45602         Add space after cast.
45604 2013-10-04  Alan Modra  <amodra@gmail.com>
45606         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45607         Use stdint types in rather than __attribute__((mode())).
45608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45610 2013-10-04  Alan Modra  <amodra@gmail.com>
45612         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45613         Correct handling of unaligned relocs for little-endian.
45614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45616 2013-10-04  Alan Modra  <amodra@gmail.com>
45618         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45619         * configure: Regenerate.
45620         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45621         * shlib-versions: Likewise.
45623 2013-10-04  Alan Modra  <amodra@gmail.com>
45625         * string/tester.c (test_memrchr): Increment reported test cycle.
45627 2013-10-04  Alan Modra  <amodra@gmail.com>
45629         * string/test-memcpy.c (do_one_test): When reporting errors, print
45630         string address and don't overrun end of string.
45632 2013-10-04  Alan Modra  <amodra@gmail.com>
45634         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45635         insrdi.  Make better use of reg selection to speed exit slightly.
45636         Schedule entry path a little better.  Remove useless "are we done"
45637         checks on entry to main loop.  Handle wrapping around zero address.
45638         Correct main loop count.  Handle single left-over word from main
45639         loop inline rather than by using loop_small.  Remove extra word
45640         case in loop_small caused by wrong loop count.  Add little-endian
45641         support.
45642         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45644         cache hint.
45645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45646         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45647         support.  Avoid rlwimi.
45648         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45650 2013-10-04  Alan Modra  <amodra@gmail.com>
45652         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45653         insrdi.  Formatting.
45654         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45655         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45656         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45657         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45658         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45659         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45661 2013-10-04  Alan Modra  <amodra@gmail.com>
45663         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45665         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45666         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45667         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45668         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45670         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45671         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45672         use of regs.  Use power7 mtocrf.  Tidy function tails.
45674 2013-10-04  Alan Modra  <amodra@gmail.com>
45676         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45677         Formatting.  Consistently use rXXX register defines or rN defines.
45678         Use early exit labels that avoid restoring unused non-volatile regs.
45679         Make cr field use more consistent with rWORDn compares.  Rename
45680         regs used as shift registers for unaligned loop, using rN defines
45681         for short lifetime/multiple use regs.
45682         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45683         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45684         addi 1,1,64 to pop stack frame.  Simplify return value code.
45685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45687 2013-10-04  Alan Modra  <amodra@gmail.com>
45689         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45690         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45691         rather than rlwimi.
45692         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45693         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45694         little-endian support.  Correct typos.
45695         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45696         rather than rlwimi.
45697         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45698         in loop and entry code to keep "and." results.
45699         (strchr): Add little-endian support.  Comment.  Move cntlzd
45700         earlier in tail.
45701         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45703 2013-10-04  Alan Modra  <amodra@gmail.com>
45705         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45706         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45707         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45710 2013-10-04  Alan Modra  <amodra@gmail.com>
45712         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45713         (rTMP): Define as r11.
45714         (strcmp): Add little-endian support.  Optimise tail.
45715         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45716         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45717         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45718         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45719         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45720         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45723 2013-10-04  Alan Modra  <amodra@gmail.com>
45725         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45726         little-endian support.  Remove unnecessary "are we done" tests.
45727         Handle "s" wrapping around zero and extremely large "size".
45728         Correct main loop count.  Handle single left-over word from main
45729         loop inline rather than by using small_loop.  Correct comments.
45730         Delete "zero" tail, use "end_max" instead.
45731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45733 2013-10-04  Alan Modra  <amodra@gmail.com>
45735         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45736         support.  Don't branch over align.
45737         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45738         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45739         support.  Rearrange tmp reg use to suit.  Comment.
45740         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45742 2013-10-04  Alan Modra  <amodra@gmail.com>
45744         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45746 2013-10-04  Alan Modra  <amodra@gmail.com>
45748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45749         conditional form of branch and link when obtaining pc.
45750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45752 2013-10-04  Alan Modra  <amodra@gmail.com>
45754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45755         HIWORD/LOWORD.
45756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45759 2013-10-04  Alan Modra  <amodra@gmail.com>
45761         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45762         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45763         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45764         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45765         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45766         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45767         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45768         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45769         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45770         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45772 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45773             Alistair Popple <alistair@ozlabs.au.ibm.com>
45774             Alan Modra <amodra@gmail.com>
45776         [BZ #15723]
45777         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45778         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45779         _dl_hwcap access for little-endian.
45780         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45781         destroy vmx regs when saving unaligned.
45782         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45783         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45784         destroy vmx regs when saving unaligned.
45786 2013-10-04  Alan Modra  <amodra@gmail.com>
45788         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45789         Don't use a union to pack hi/low value.
45791 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45793         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45794         for little-endian.
45795         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45797         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45798         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45799         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45801 2013-10-04  Alan Modra  <amodra@gmail.com>
45803         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45804         constants to usual value for .cst8 section, and remove redundant
45805         high address load.
45806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45807         constant for 0x1p52.  Load little-endian words of double from
45808         correct stack offsets.
45810 2013-10-04  Alan Modra  <amodra@gmail.com>
45812         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45813         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45814         words of double from correct stack offsets.
45815         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45816         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45817         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45818         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45819         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45820         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45821         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45822         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45823         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45824         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45825         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45826         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45827         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45828         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45829         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45830         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45831         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45833 2013-10-04  Alan Modra  <amodra@gmail.com>
45835         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45836         64-bit int/double union.
45837         (_FPU_SETCW): Likewise.
45838         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45839         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45841 2013-10-04  Alan Modra  <amodra@gmail.com>
45843         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45844         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45846 2013-10-04  Alan Modra  <amodra@gmail.com>
45848         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45849         use vector int constants.
45850         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45854         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45855         array with long long.
45856         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45857         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45858         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45859         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45860         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45861         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45862         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45863         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45864         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45865         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45866         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45867         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45868         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45872         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45873         (__signbit): Likewise.  Correct for little-endian.
45874         (__signbitl): Call __signbit.
45875         (lrint): Correct for little-endian.
45876         (lrintf): Call lrint.
45878 2013-10-04  Alan Modra  <amodra@gmail.com>
45880         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45881         union 32-bit int array member with 64-bit int array.
45882         (t515, tm256): Double rather than long double.
45883         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45885 2013-10-04  Alan Modra  <amodra@gmail.com>
45887         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45888         Delete.
45889         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45890         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45891         version of math_ldbl.h.
45893 2013-10-04  Alan Modra  <amodra@gmail.com>
45895         [BZ #15734], [BZ #15735]
45896         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45897         all uses of ieee875 long double macros and unions.  Simplify test
45898         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45899         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45900         normalize after ldbl_extract_mantissa, and don't add hidden bit
45901         already handled.  Don't treat low word of ieee854 mantissa like
45902         low word of IBM long double and mask off bit when testing for
45903         zero.
45904         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45905         all uses of ieee875 long double macros and unions.  Simplify tests
45906         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45907         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45908         two1022, instead use their values.  Recognise that tests for large
45909         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45910         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45911         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45912         test for 0.0L and nan.  Correct negation.
45913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45914         ieee875 long double macros and unions.  Correct output for large
45915         magnitude x.  Correct absolute value calculation.
45916         (__erfcl): Likewise.
45917         * math/libm-test.inc: Add tests for errors discovered in IBM long
45918         double versions of fmodl, remainderl, erfl and erfcl.
45920 2013-10-04  Alan Modra  <amodra@gmail.com>
45922         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45923         all uses of ieee854 long double macros and unions.  Simplify tests
45924         for long doubles that are fully specified by the high double.
45925         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45926         Likewise.
45927         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45928         Remove dead code too.
45929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45930         (__ieee754_ynl): Likewise.
45931         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45932         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45933         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45934         Remove dead code too.
45935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45937         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45938         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45939         Simplify.
45940         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45941         Simplify.
45942         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45944         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45945         Comment on variable precision.
45946         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45948         Likewise.
45949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45953         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45955 2013-10-04  Alan Modra  <amodra@gmail.com>
45957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45958         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45959         all uses of ieee854 long double macros and unions.
45960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45962         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45964         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45965         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45966         Likewise.
45967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45968         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45970         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45971         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45972         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45973         Simplify sign and nan test too.
45974         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45975         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45976         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45977         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45978         Likewise.
45979         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45980         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45981         Likewise.
45982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45983         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45984         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45985         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45986         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45989 2013-10-04  Alan Modra  <amodra@gmail.com>
45991         * stdio-common/printf_size.c (__printf_size): Don't use
45992         union ieee854_long_double in fpnum union.
45993         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45994         signbit macro to retrieve sign from long double.
45995         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45996         retrieve sign from long double.
45997         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45998         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45999         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46000         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46001         * math/test-misc.c (main): Don't use union ieee854_long_double.
46003 2013-10-04  Alan Modra  <amodra@gmail.com>
46005         [BZ #15680]
46006         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46007         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46008         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46009         calculation.  Remove unnecessary test for denormal exponent.
46010         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46011         Correct handling of denormals.  Avoid undefined shift behaviour.
46012         Correct normalisation of low mantissa when low double is denormal.
46013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46014         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46015         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46016         Correct normalisation of low mantissa.  Test for overflow of high
46017         mantissa and normalise.
46018         (ldbl_nearbyint): Use more readable constant for two52.
46019         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46020         (__mpn_construct_long_double): Fix test for overflow of high
46021         mantissa and correct normalisation.  Avoid undefined shift.
46023 2013-10-04  Alan Modra  <amodra@gmail.com>
46025         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46026         (union ibm_extended_long_double): Define as an array of ieee754_double.
46027         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46028         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46029         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46030         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46032         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46036         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46037         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46039 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46041         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46042         page size instead of calling getpagesize.
46044         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46045         (LOCFILE_ALIGN_MASK): Likewise.
46046         (LOCFILE_ALIGN_UP): Likewise.
46047         (LOCFILE_ALIGNED_P): Likewise.
46048         * locale/programs/ld-collate.c (collate_output): Use the new
46049         macros instead of __alignof__ (int32_t).
46050         * locale/weight.h (findidx): Likewise.
46052 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46054         [BZ #431]
46055         * manual/string.texi: Fix strncat and wcsncat.
46057 2013-10-03  Brooks Moses  <bmoses@google.com>
46059         [BZ #15915]
46060         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46061         * Makerules: ...here, and adjust associated comments.
46063 2013-10-02  Will Newton  <will.newton@linaro.org>
46065         * malloc/Makefile: Add tst-pvalloc.
46066         * malloc/tst-pvalloc.c: New file.
46068 2013-10-02  Will Newton  <will.newton@linaro.org>
46070         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46071         improve test coverage.
46073 2013-10-02  Will Newton  <will.newton@linaro.org>
46075         * malloc/Makefile: Add tst-posix_memalign.
46076         * malloc/tst-posix_memalign.c: New file.
46078 2013-10-01  Eric Blake  <eblake@redhat.com>
46080         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46081         Use __THROWNL rather than __THROW on static functions.
46083 2013-09-30  Petr Machata  <pmachata@redhat.com>
46085         * elf/elf.h (R_AARCH64_ABS16): New macro.
46086         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46087         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46088         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46089         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46090         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46091         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46092         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46093         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46094         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46095         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46096         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46097         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46098         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46099         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46100         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46101         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46102         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46103         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46104         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46105         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46106         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46107         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46108         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46109         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46110         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46111         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46112         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46113         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46114         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46115         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46116         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46117         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46118         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46119         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46120         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46121         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46122         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46123         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46124         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46125         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46126         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46127         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46128         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46129         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46130         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46131         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46132         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46133         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46134         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46135         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46136         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46137         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46138         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46139         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46140         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46141         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46142         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46143         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46144         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46145         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46146         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46147         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46148         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46149         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46150         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46151         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46152         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46153         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46154         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46155         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46156         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46157         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46158         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46159         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46160         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46161         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46162         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46163         (R_AARCH64_TLSDESC_LDR): Likewise.
46164         (R_AARCH64_TLSDESC_ADD): Likewise.
46165         (R_AARCH64_TLSDESC_CALL): Likewise.
46167 2013-09-30  Andreas Schwab  <schwab@suse.de>
46169         [BZ #15048]
46170         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46171         the nss database lookup.
46172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46175 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46177         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46179 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46181         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46182         ${Bash-specific parameter/pattern/string} parameter expansion.
46183         * sysdeps/unix/make-syscalls.sh: Likewise.
46185 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46187         * sysdeps/sh/stackguard-macros.h: New file.
46189 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46193         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46194         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46195         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46196         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46198 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46200         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46201         Fix thread ID register.
46203 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46205         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46206         [POSIX || UNIX98]: Require rather than permitting all symbols from
46207         <time.h>.
46208         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46209         element of struct sched_param.
46210         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46211         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46212         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46213         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46214         constant.
46216 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46218         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46219         argument calculation.
46221 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46223         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46224         Expect macro.
46225         [POSIX] (pthread_attr_t): Do not require type.
46226         [POSIX] (pthread_cond_t): Likewise.
46227         [POSIX] (pthread_condattr_t): Likewise.
46228         [POSIX] (pthread_key_t): Likewise.
46229         [POSIX] (pthread_mutex_t): Likewise.
46230         [POSIX] (pthread_mutexattr_t): Likewise.
46231         [POSIX] (pthread_once_t): Likewise.
46232         [POSIX] (pthread_t): Likewise.
46233         [POSIX-based standards] (pthread_atfork): Expect function.
46235 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46236             Richard Sandiford  <richard@codesourcery.com>
46238         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46239         (swap_endianness_p): New extern variable.
46240         (set_big_endian): New inline function.
46241         (maybe_swap_uint32): Likewise.
46242         (maybe_swap_uint32_array): Likewise.
46243         (maybe_swap_uint32_obstack): Likewise.
46244         * locale/programs/locfile.c: Include <stdbool.h>.
46245         (swap_endianness_p): New variable.
46246         (add_locale_uint32): Call maybe_swap_uint32.
46247         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46248         (write_locale_data): Call maybe_swap_uint32_array.
46249         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46250         maybe_swap_uint32.
46251         (obstack_int32_grow_fast): Likewise.
46252         (output_weightwc): Call maybe_swap_uint32_obstack.
46253         (collate_output): Likewise.
46254         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46255         (OPT_LITTLE_ENDIAN): Likewise.
46256         (options): Add --little-endian and --big-endian options.
46257         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46258         * locale/programs/locarchive.c: Include "locfile.h".
46259         (GET): New macro.
46260         (SET): Likewise.
46261         (INC): Likewise.
46262         (create_archive): Use the new macros to access fields of
46263         structures directly mapped from or written to locale archives.
46264         (oldlocrecentcmp): Likewise.
46265         (enlarge_archive): Likewise.
46266         (insert_name): Likewise.
46267         (add_alias): Likewise.
46268         (add_locale): Likewise.
46269         (delete_locales_from_archive): Likewise.
46270         (show_archive_content): Likewise.
46271         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46272         locale data.
46274 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46276         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46277         http://www.gnu.org/doc/freemanuals.texi.
46278         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46280 2013-09-24  Will Newton  <will.newton@linaro.org>
46282         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46283         macro.
46285 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46287         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46288         unsigned char.
46290 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46292         * manual/threads.texi (POSIX Threads): Fix a typo.
46294 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46296         [BZ #14547]
46297         * string/tst-strcoll-overflow.c: New test case.
46298         * string/Makefile (xtests): Add tst-strcoll-overflow.
46299         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46300         cache if string sizes may cause integer overflow.
46302         [BZ #14547]
46303         * string/strcoll_l.c (coll_seq): New members rule, idx,
46304         save_idx and back_us.
46305         (get_next_seq_nocache): New function.
46306         (do_compare_nocache): New function.
46307         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46308         when malloc fails.
46310 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46312         [BZ #15754]
46313         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46314         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46315         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46317         [BZ #15754]
46318         * elf/Makefile (tests): Add tst-ptrguard1.
46319         (tests-static): Add tst-ptrguard1-static.
46320         (tst-ptrguard1-ARGS): Define.
46321         (tst-ptrguard1-static-ARGS): Define.
46322         * elf/tst-ptrguard1.c: New file.
46323         * elf/tst-ptrguard1-static.c: New file.
46324         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46325         * sysdeps/i386/stackguard-macros.h: Likewise.
46326         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46327         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46328         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46329         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46330         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46331         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46333 2013-09-23  Hector Marco  <hecmargi@upv.es>
46334             Ismael Ripoll  <iripoll@disca.upv.es>
46335             Carlos O'Donell  <carlos@redhat.com>
46337         [BZ #15754]
46338         * sysdeps/generic/stackguard-macros.h: Define
46339         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46340         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46341         Define __pointer_chk_guard_local.
46342         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46343         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46345 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46347         [BZ #15859]
46348         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46350 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46352         * include/string.h (__ffs): Declare as hidden.
46353         * string/ffs.c (__ffs): Define as hidden.
46354         * sysdeps/i386/ffs.c (__ffs): Likewise.
46355         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46356         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46357         * sysdeps/s390/ffs.c (__ffs): Likewise.
46358         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46360 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46362         * NEWS: Mention malloc probes.
46364         * malloc/arena.c (new_heap): New memory_heap_new probe.
46365         (grow_heap): New memory_heap_more probe.
46366         (shrink_heap): New memory_heap_less probe.
46367         (heap_trim): New memory_heap_free probe.
46368         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46369         (systrim): New memory_sbrk_less probe.
46370         * manual/probes.texi: Document them.
46372         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46373         * manual/probes.texi: Document it.
46375         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46376         (__libc_realloc): Add memory_realloc_retry probe.
46377         (__libc_memalign): Add memory_memalign_retry probe.
46378         (__libc_valloc): Add memory_valloc_retry probe.
46379         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46380         (__libc_calloc): Add memory_calloc_retry probe.
46381         * manual/probes.texi: Document them.
46383         * malloc/arena.c (get_free_list): Add probe
46384         memory_arena_reuse_free_list.
46385         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46386         and memory_arena_reuse.
46387         (arena_get2) [!PER_THREAD]: Likewise.
46388         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46389         memory_arena_reuse_realloc.
46390         * manual/probes.texi: Document them.
46392         * malloc/malloc.c (__libc_free): Add
46393         memory_mallopt_free_dyn_thresholds probe.
46394         (__libc_mallopt): Add multiple memory_mallopt probes.
46395         * manual/probes.texi: Document them.
46397         * malloc/malloc.c: Include stap-probe.h.
46398         (__libc_mallopt): Add memory_mallopt probe.
46399         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46400         * manual/probes.texi: New.
46401         * manual/Makefile (chapters): Add probes.
46402         * manual/threads.texi: Set next node.
46404 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46406         [BZ #15963, #13985]
46407         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46408         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46409         Add `Chinese' to `nan' entry name.
46411 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46413         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46414         (POLYNOMIAL): Likewise.
46415         (TAYLOR_SINCOS): Likewise.
46416         (TAYLOR_SLOW): Likewise.
46417         (__sin): Use TAYLOR_SINCOS.
46418         (__cos): Likewise.
46419         (slow): Use TAYLOR_SLOW.
46420         (sloww): Likewise.
46421         (bsloww): Likewise.
46422         (csloww): Likewise.
46424 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46426         * stdlib/strtod_l.c: Fix buffer overrun.
46428 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46430         * benchtests/Makefile (bench): Add sincos.
46431         * benchtests/bench-sincos.c: New file.
46433         * math/libm-test.inc (cos_test_data): New test inputs.
46434         (sin_test_data): Likewise.
46436         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46437         macro.
46438         (__sin): Use it.
46439         (__cos): Likewise.
46440         (slow1): Likewise.
46441         (slow2): Likewise.
46442         (sloww1): Likewise.
46443         (sloww2): Likewise.
46444         (bsloww1): Likewise.
46445         (bsloww2): Likewise.
46446         (cslow2): Likewise.
46447         (csloww1): Likewise.
46448         (csloww2): Likewise.
46450         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46451         function.
46452         (__sin): Use it.
46453         (__cos): Likewise.
46455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46456         gotos.
46457         (__cos): Likewise.
46459 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46461         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46462         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46463         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46464         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46465         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46466         * elf/cache.c (print_entry): Handle the new cache flags.
46468 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46469             Aldy Hernandez  <aldyh@redhat.com>
46471         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46472         Change condition to [_SOFT_FLOAT].
46473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46485         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46488         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46489         declaration.
46491 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46493         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46494         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46495         (__longjmp): Use LOAD_GP to load saved GPRs.
46496         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46497         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46498         (__sigsetjmp): Use SAVE_GP to save GPRs.
46500         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46501         Do not append -msoft-float.
46502         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46504 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46506         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46508 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46510         [BZ #15966]
46511         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46512         (_FPU_GETCW): Use initial "__" on variable and field names but not
46513         on macro parameter name.
46514         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46515         parentheses around reference to macro parameter.
46517 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46519         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46520         prototype.
46521         (ctype_startup): Use uint32_t in cast and sizeof for
46522         ctype->charnames.
46524 2013-09-11  Jia Liu  <proljc@gmail.com>
46526         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46527         __daddr_t_defined.
46528         [__FreeBSD__]: Likewise.
46530 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46533         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46534         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46535         (strchr): Remove __strchr_sse42 ifunc selection.
46536         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46537         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46539 2013-09-11  Will Newton  <will.newton@linaro.org>
46541         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46542         parameter to RES. Remove hardcoded 1000 value.
46543         * benchtests/bench-skeleton.c (main): Pass RES parameter
46544         to TIMING_INIT and multiply result by 1000.
46546 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46550 2013-09-11  Andreas Schwab  <schwab@suse.de>
46552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46553         if not defined.
46554         (O_TMPFILE) [__USE_GNU]: Define.
46555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46556         Define.
46558 2013-09-11  Will Newton  <will.newton@linaro.org>
46560         [BZ #15857]
46561         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46562         does not overflow.
46564 2013-09-11  Will Newton  <will.newton@linaro.org>
46566         [BZ #15856]
46567         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46568         does not overflow.
46570 2013-09-11  Will Newton  <will.newton@linaro.org>
46572         [BZ #15855]
46573         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46574         does not overflow.
46576 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46578         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46579         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46580         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46581         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46582         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46584 2013-09-10  Allan McRae  <allan@archlinux.org>
46586         [BZ #15748]
46587         * manual/arith.texi (Parsing of Floats): Clarify
46588         cross-reference.
46590         [BZ #15849]
46591         * manual/install.texi (Running make install): Mention
46592         --enable-pt-chown.
46593         * INSTALL: Regenerated.
46595 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46597         * csu/init-first.c (_init): Remove the !SHARED condition around
46598         FPU control word initialization.
46599         * elf/dl-support.c (_dl_fpu_control): New variable.
46600         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46601         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46602         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46603         * math/test-fpucw-static.c: New file.
46604         * math/test-fpucw-ieee.c: New file.
46605         * math/test-fpucw-ieee-static.c: New file.
46606         * math/Makefile (tests): Add `test-fpucw-ieee' and
46607         `$(tests-static)'.
46608         (tests-static): New variable.
46609         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46610         dependency to...
46611         [($(build-shared),yes)]
46612         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46613         ... this.
46614         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46615         New dependency.
46617 2013-09-09  Allan McRae  <allan@archlinux.org>
46619         [BZ #15939]
46620         * manual/string.texi (Collation Functions): Fix typo in
46621         strcoll example.
46622         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46624         [BZ #15893]
46625         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46627         [BZ #15892]
46628         * libio/memstream.c (open_memstream): Fix memory leak.
46629         * libio/wmemstream.c (open_wmemstream): Likewise.
46631         [BZ #15895]
46632         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46634 2013-09-09  Will Newton  <will.newton@linaro.org>
46636         * malloc/Makefile: Add tst-realloc to tests.
46637         * malloc/tst-realloc.c: New file.
46639 2013-09-09  Allan McRae  <allan@archlinux.org>
46641         [BZ #15844]
46642         * COPYING: Update from GNU website to fix FSF address.
46643         * COPYING.LIB: Likewise.
46645 2013-09-06  David S. Miller  <davem@davemloft.net>
46647         * po/zh_TW.po: Update Chinese (traditional) translation from
46648         translation project.
46650 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46651             Joseph Myers  <joseph@codesourcery.com>
46653         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46654         "localeinfo.h".
46655         (obstack_chunk_alloc): New macro.
46656         (obstack_chunk_free): Likewise.
46657         (record_offset): New function.
46658         (init_locale_data): Likewise.
46659         (align_locale_data): Likewise.
46660         (add_locale_empty): Likewise.
46661         (add_locale_raw_data): Likewise.
46662         (add_locale_raw_obstack): Likewise.
46663         (add_locale_string): Likewise.
46664         (add_locale_wstring): Likewise.
46665         (add_locale_uint32): Likewise.
46666         (add_locale_uint32_array): Likewise.
46667         (add_locale_char): Likewise.
46668         (start_locale_structure): Likewise.
46669         (end_locale_structure): Likewise.
46670         (start_locale_prelude): Likewise.
46671         (end_locale_prelude): Likewise.
46672         (write_locale_data): Take locale_file structure rather than an
46673         iovec.
46674         * locale/programs/locfile.h: Include "obstack.h".
46675         (struct locale_file): Change to store locale file contents instead
46676         of header.
46677         (init_locale_data): New prototype.
46678         (align_locale_data): Likewise.
46679         (add_locale_empty): Likewise.
46680         (add_locale_raw_data): Likewise.
46681         (add_locale_raw_obstack): Likewise.
46682         (add_locale_string): Likewise.
46683         (add_locale_wstring): Likewise.
46684         (add_locale_uint32): Likewise.
46685         (add_locale_uint32_array): Likewise.
46686         (add_locale_char): Likewise.
46687         (start_locale_structure): Likewise.
46688         (end_locale_structure): Likewise.
46689         (start_locale_prelude): Likewise.
46690         (end_locale_prelude): Likewise.
46691         (write_locale_data): Update prototype.
46692         * locale/programs/3level.h (struct TABLE): Remove result field.
46693         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46694         Use new locale_file interface.
46695         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46696         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46697         * locale/programs/ld-address.c (address_output): Use new
46698         locale_file interface.
46699         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46700         NO_ADD_LOCALE.
46701         (collate_finish): Don't call collseq_table_finalize.
46702         (collate_output): Use new locale_file interface.
46703         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46704         in file.
46705         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46706         (TABLE): Move defines earlier in file.
46707         (ELEMENT): Likewise.
46708         (DEFAULT): Likewise.
46709         (wctrans_table_add): Move macro and inline function earlier in
46710         file.
46711         (struct wctype_table): Move type earlier in file.
46712         (add_locale_wctype_table): New static prototype.
46713         (struct locale_ctype_t): Use logical types instead of struct iovec
46714         pointers for members.
46715         (ctype_output): Use new locale_file interface.
46716         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46717         new locale_file interface.
46718         (allocate_arrays): Update for use of new locale_file interface.
46719         * locale/programs/ld-identification.c (identification_output): Use
46720         new locale_file interface.
46721         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46722         * locale/programs/ld-messages.c (messages_output): Likewise.
46723         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46724         * locale/programs/ld-name.c (name_output): Likewise.
46725         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46726         * locale/programs/ld-paper.c (paper_output): Likewise.
46727         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46728         * locale/programs/ld-time.c (time_output): Likewise.
46730 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46732         * benchtests/Makefile: Add memrchr benchmark.
46733         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46734         benchmark as memrchr.
46735         * benchtests/bench-memrchr-ifunc.c: New file.
46736         * benchtests/bench-memrchr.c: New file.
46738 2013-09-06   Will Newton  <will.newton@linaro.org>
46740         * benchtests/Makefile (string-bench): Add memcpy.
46742 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46743             Cong Wang  <amwang@redhat.com>
46745         [BZ #15850]
46746         * sysdeps/unix/sysv/linux/bits/in.h
46747         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46748         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46749         before __USE_KERNEL_IPV6_DEFS uses.
46750         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46751         IPPROTO_BEETPH.
46752         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46753         sockaddr_in6, or ipv6_mreq.
46755 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46757         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46758         memory access for final bytes in some large inputs.
46759         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46761 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46763         * string/test-memrchr.c: New file.
46764         * string/test-memrchr-ifunc.c: New file.
46765         * string/Makefile: Add new memrchr testcase.
46767 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46769         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46770         fanotify_init returns EPERM.
46772 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46774         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46775         errors.
46776         (top level): Treat second token from macro or constant entries for
46777         allowed headers as allowed.
46778         * include/complex.h: Condition internal declarations on
46779         [!_ISOMAC].
46780         * include/fenv.h: Condition include of <stdbool.h> and internal
46781         declarations on [!_ISOMAC].
46783 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46785         [BZ #15923]
46786         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46788 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46790         * configure.in (--enable-versioning): Remove configure option.
46791         (libc_cv_asm_symver_directive): Remove configure test.
46792         (libc_cv_ld_version_script_option): Likewise.
46793         (VERSIONING): Remove variable and AC_SUBST.
46794         (DO_VERSIONING): Remove AC_DEFINE.
46795         * configure: Regenerated.
46796         * config.h.in (DO_VERSIONING): Remove macro.
46797         * Makerules [$(versioning) = yes]: Change conditionals to
46798         [$(build-shared) = yes].
46799         * config.make.in (versioning): Remove variable.
46800         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46801         [$(build-shared) = yes].
46802         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46803         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46804         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46805         [$(build-shared) = yes].
46806         * extra-lib.mk [$(versioning) = yes]: Likewise.
46807         * hurd/Makefile [$(versioning) = yes]: Likewise.
46808         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46809         [SHARED].
46810         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46811         [SHARED].
46812         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46813         [SHARED && !NO_HIDDEN].
46814         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46815         [SHARED].
46816         [SHARED && DO_VERSIONING]: Likewise..
46817         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46818         [$(build-shared) = yes].
46819         * manual/install.texi (--disable-versioning): Remove
46820         documentation.
46821         * INSTALL: Regenerated.
46822         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46823         to [SHARED].
46824         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46825         [$(build-shared) = yes].
46826         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46827         * sysdeps/i386/i686/multiarch/strstr-c.c
46828         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46829         [SHARED && !NO_HIDDEN].
46830         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46831         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46832         * sysdeps/powerpc/powerpc32/dl-machine.c
46833         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46834         * sysdeps/powerpc/powerpc32/sysdep.h
46835         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46836         to [SHARED && PIC && !NO_HIDDEN].
46837         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46838         conditional to [SHARED].
46840 2013-09-04   Will Newton  <will.newton@linaro.org>
46842         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46843         * benchtests/bench-string.h: Include bench-timing.h instead
46844         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46845         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46846         call to HP_TIMING_DIFF_INIT.
46847         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46848         instead of hp-timing.h macros.
46849         * benchtests/bench-memchr.c: Likewise.
46850         * benchtests/bench-memcmp.c: Likewise.
46851         * benchtests/bench-memcpy.c: Likewise.
46852         * benchtests/bench-memmem.c: Likewise.
46853         * benchtests/bench-memmove.c: Likewise.
46854         * benchtests/bench-memset.c: Likewise.
46855         * benchtests/bench-rawmemchr.c: Likewise.
46856         * benchtests/bench-strcasecmp.c: Likewise.
46857         * benchtests/bench-strcasestr.c: Likewise.
46858         * benchtests/bench-strcat.c: Likewise.
46859         * benchtests/bench-strchr.c: Likewise.
46860         * benchtests/bench-strcmp.c: Likewise.
46861         * benchtests/bench-strcpy.c: Likewise.
46862         * benchtests/bench-strcpy_chk.c: Likewise.
46863         * benchtests/bench-strlen.c: Likewise.
46864         * benchtests/bench-strncasecmp.c: Likewise.
46865         * benchtests/bench-strncat.c: Likewise.
46866         * benchtests/bench-strncmp.c: Likewise.
46867         * benchtests/bench-strncpy.c: Likewise.
46868         * benchtests/bench-strnlen.c: Likewise.
46869         * benchtests/bench-strpbrk.c: Likewise.
46870         * benchtests/bench-strrchr.c: Likewise.
46871         * benchtests/bench-strspn.c: Likewise.
46872         * benchtests/bench-strstr.c: Likewise.
46874 2013-09-04  Will Newton  <will.newton@linaro.org>
46876         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46878 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46880         [BZ #15427]
46881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46882         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46883         * math/libm-test.inc (lgamma_test_data): Add more tests.
46884         * sysdeps/i386/fpu/libm-test-ulps: Update.
46885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46887 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46889         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46891         Add ifunc.
46892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46893         Add strcmp-sse2-unaligned
46894         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46896 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46898         * Versions.def (libc): Add GLIBC_2.19.
46900 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46902         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46903         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46905 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46907         [BZ #14155]
46908         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46909         intermediate calculations in recurrence.
46910         (__ieee754_ynf): Likewise.
46911         * math/libm-test.inc (jn_test_data): Do not allow spurious
46912         underflow exception.  Add more tests.
46913         (yn_test_data): Add more tests.
46914         * sysdeps/i386/fpu/libm-test-ulps: Update.
46915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46917 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46919         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46921 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46923         * csu/init-first.c: Fix then/than typos.
46924         * locale/programs/ld-collate.c: Likewise.
46925         * locale/programs/linereader.h: Likewise.
46926         * manual/charset.texi: Likewise.
46927         * manual/filesys.texi: Likewise.
46928         * manual/stdio.texi: Likewise.
46929         * manual/string.texi: Likewise.
46930         * stdlib/fmtmsg.c: Likewise.
46931         * sysdeps/i386/stpncpy.S: Likewise.
46932         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46933         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46935         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46937 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46939         * elf/dl-open.c: Fix typos.
46940         * iconvdata/gbbig5.c: Likewise.
46941         * iconvdata/iso-2022-jp.c: Likewise.
46942         * iconv/gconv_int.h: Likewise.
46943         * iconv/loop.c: Likewise.
46944         * nis/rpcsvc/nis.h: Likewise.
46945         * resolv/ns_name.c: Likewise.
46946         * stdio-common/vfscanf.c: Likewise.
46947         * streams/stropts.h: Likewise.
46948         * sunrpc/rpc_thread.c: Likewise.
46949         * sysdeps/i386/strpbrk.S: Likewise.
46950         * sysdeps/ieee754/k_standard.c: Likewise.
46951         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46953         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46954         * sysdeps/mach/hurd/profil.c: Likewise.
46955         * sysdeps/s390/dl-procinfo.h: Likewise.
46956         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46957         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46958         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46959         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46962 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46964         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46967 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46969         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46970         aix specific files.
46971         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46972         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46973         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46974         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46975         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46976         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46977         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46978         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46980 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46981             Roland McGrath  <roland@hack.frob.com>
46983         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46984         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46986 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46988         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46989         __executable_start symbol instead of _start.
46991 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46993         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46994         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46995         Move macros to...
46996         * sysdeps/gnu/ldsodefs.h: ... this new file.
46998         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46999         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47000         instead of ELFOSABI_LINUX.
47002         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47003         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47004         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47005         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47006         Likewise.
47007         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47008         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47009         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47010         Likewise.
47011         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47012         (ibm_extended_long_double): Add ieee_nan member.
47013         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47014         (do_test): New function.
47016         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47017         TEST_TRUNC.
47018         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47019         functions, renamed from truncdfsf_test, trunctfsf_test,
47020         trunctfdf_test.
47021         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47022         functions.
47023         (do_test): Run all these.
47025 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47027         * argp/argp-help.c: Fix typos.
47028         * argp/argp-parse.c: Likewise.
47029         * debug/backtracesyms.c: Likewise.
47030         * elf/elf.h: Likewise.
47031         * malloc/malloc.c: Likewise.
47032         * nis/nis_print.c: Likewise.
47033         * resolv/res_comp.c: Likewise.
47034         * stdlib/stdlib.h: Likewise.
47035         * sunrpc/clnt_tcp.c: Likewise.
47036         * sunrpc/clnt_udp.c: Likewise.
47037         * sunrpc/clnt_unix.c: Likewise.
47038         * sysdeps/unix/bsd/ptsname.c: Likewise.
47039         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47040         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47042         Likewise.
47043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47044         Likewise.
47045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47046         Likewise.
47047         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47049 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47051         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47054 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47056         [BZ #15897]
47057         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47058         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47059         ($(objpfx)bug-dl-leaf): New rule.
47060         ($(objpfx)bug-dl-leaf.so): Likewise.
47061         ($(objpfx)bug-dl-leaf.out): Likewise.
47062         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47063         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47064         * dlfcn/bug-dl-leaf.c: New test.
47065         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47066         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47067         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47068         (dlclose): Likewise.
47069         (dlmopen): Likewise.
47071 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47073         * include/netdb.h [!_ISOMAC]:
47074         Don't include <tls.h>.
47075         (h_errno, __libc_h_errno): Move declaration and macros out of
47076         [_LIBC_REENTRANT].
47078         * include/resolv.h [_RESOLV_H_]:
47079         Don't include <tls.h>.
47080         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47081         * resolv/res_libc.c: Don't include <tls.h>.
47082         (_res): Use __attribute__ ((nocommon)) in place of
47083         __attribute__ ((section (".bss"))).
47085         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47086         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47088         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47090         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47091         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47093         * resolv/res_mkquery.c: Include <sys/time.h>.
47095         * inet/ifreq.c: Moved to ...
47096         * sysdeps/unix/ifreq.c: ... here.
47097         * inet/ifreq.c: New file, true stub version.
47099         * socket/sa_len.c: New file.
47100         * socket/Makefile (aux): Add it.
47101         * sysdeps/unix/sysv/linux/Makefile
47102         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47103         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47104         and #include <socket/sa_len.c>.
47105         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47106         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47108         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47109         * bits/socket.h: ... here.
47111         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47112         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47113         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47115 2013-08-27  Andreas Schwab  <schwab@suse.de>
47117         [BZ #15736]
47118         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47119         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47120         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47121         * string/test-strcasecmp.c (test_main): Run tests in several
47122         locales.
47123         * string/test-strncasecmp.c (test_main): Likewise.
47125         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47126         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47127         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47129         (__strncasecmp_ssse3) [PIC]: Likewise.
47131 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47133         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47135         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47136         instead of explicitly declaring xdecrypt.
47137         * nis/nss_nis/nis-publickey.c: Likewise.
47139 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47141         [BZ #15890]
47142         * nscd/aicache.c: Include res_hconf.h.
47143         (addhstaiX): Initialize res_hconf.
47145 2013-08-26  Andreas Schwab  <schwab@suse.de>
47147         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47148         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47150 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47152         * nscd/aicache.c (addhstaiX): Fix indentation.
47154 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47156         * configure.ac: Quote $build_pt_chown test.
47157         * configure: Regenerated.
47159 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47161         [BZ #15532]
47162         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47163         * math/s_cexpf.c (__cexpf): Likewise.
47164         * math/s_cexpl.c (__cexpl): Likewise.
47165         * math/libm-test.inc (cexp_test_data): Correct expected return
47166         value for NaN + i0.  Add another test.
47168 2013-08-22  David S. Miller  <davem@davemloft.net>
47170         * po/ca.po: Update Catalan translation from translation project.
47171         * po/uk.po: Add Ukrainian translations from translation project.
47173 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47175         [BZ #15797]
47176         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47177         is infinite, not alongside NaN test.
47178         * math/s_fdimf.c (__fdimf): Likewise.
47179         * math/s_fdiml.c (__fdiml): Likewise.
47180         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47181         errno is unchanged.
47183 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47185         * argp/argp-help.c: Fix typos.
47186         * crypt/speeds.c: Likewise.
47187         * csu/check_fds.c: Likewise.
47188         * elf/dl-load.c: Likewise.
47189         * elf/dl-open.c: Likewise.
47190         * elf/reldep3.c: Likewise.
47191         * elf/reldep.c: Likewise.
47192         * elf/sprof.c: Likewise.
47193         * iconv/iconv_charmap.c: Likewise.
47194         * iconv/skeleton.c: Likewise.
47195         * iconv/strtab.c: Likewise.
47196         * io/lockf64.c: Likewise.
47197         * libio/libioP.h: Likewise.
47198         * resolv/gai_notify.c: Likewise.
47199         * resolv/ns_name.c: Likewise.
47200         * resolv/ns_samedomain.c: Likewise.
47201         * resolv/res_send.c: Likewise.
47202         * stdlib/random.c: Likewise.
47203         * sunrpc/rpc/xdr.h: Likewise.
47204         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47205         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47206         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47207         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47208         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47209         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47211         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47212         * sysdeps/mach/hurd/check_fds.c: Likewise.
47213         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47214         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47215         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47216         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47217         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47218         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47219         * sysdeps/pthread/aio_notify.c: Likewise.
47220         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47221         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47222         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47224         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47226 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47228         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47229         version if bit_Slow_SSE4_2 is set.
47230         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47231         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47233 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47235         [BZ #15867]
47236         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47237         trampoline stack frame information.
47238         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47240         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47241         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47242         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47243         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47244         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47245         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47246         sa_flags value.
47247         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47248         interrupting a syscall and set with option SA_SIGINFO.
47250 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47252         [BZ #15531]
47253         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47254         argument is infinite.
47255         * math/s_cprojf.c (__cprojf): Likewise.
47256         * math/s_cprojl.c (__cprojl): Likewise.
47257         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47258         * math/libm-test.inc (cproj_test_data): Add more tests.
47260         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47262         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47263         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47264         size.  Use __ffs to determine corresponding shift.
47266 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47267             Roland McGrath  <roland@hack.frob.com>
47269         * Makefile (INSTALL): Remove trailing blank lines from output of
47270         makeinfo.
47272 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47274         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47275         Align 32 bit compat elf_greg to 8 bytes.
47277 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47279         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47281 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47283         * string/strcoll_l.c (coll_seq): New structure.
47284         (get_next_seq_cached): New function.
47285         (get_next_seq): New function.
47286         (do_compare): New function.
47287         (STRCOLL): Use GNU style definition.  Simplify implementation
47288         by using get_next_seq, get_next_seq_cached and do_compare.
47290 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47292         [BZ #14699]
47293         CVE-2013-4237
47294         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47295         member.
47296         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47297         member.
47298         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47299         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47300         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47301         conditional.
47302         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47303         GETDENTS_64BIT_ALIGNED.
47304         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47305         * manual/filesys.texi (Reading/Closing Directory): Document
47306         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47307         strongly.
47308         * manual/conf.texi (Limits for Files): Add portability note to
47309         NAME_MAX, PATH_MAX.
47310         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47312 2013-08-13  Andreas Schwab  <schwab@suse.de>
47314         [BZ #15749]
47315         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47316         of fabs.
47317         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47318         LDBL_MAX_EXP >= 16384]: Add tests for it.
47320 2013-08-12  David S. Miller  <davem@davemloft.net>
47322         * version.h (RELEASE): Set to "development".
47323         (VERSION): Set to "2.18.90".
47324         * NEWS: Add 2.19 section.
47326 2013-08-03  David S. Miller  <davem@davemloft.net>
47328         * po/ko.po: Update Korean translation from translation project.
47330 2013-08-01  David S. Miller  <davem@davemloft.net>
47332         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47333         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47334         Bilka.
47336 2013-07-30  David S. Miller  <davem@davemloft.net>
47338         * po/fr.po: Update French translation from translation project.
47340 2013-07-28  David S. Miller  <davem@davemloft.net>
47342         * po/cs.po: Update Czech translation from translation project.
47344         * po/sv.po: Update Swedish translation from translation project.
47346 2013-07-27  David S. Miller  <davem@davemloft.net>
47348         * po/eo.po: Update Esperanto translation from translation project.
47350         * po/vi.po: Update Vietnamese translation from translation project.
47352         * po/de.po: Update German translation from translation project.
47354 2013-07-26  David S. Miller  <davem@davemloft.net>
47356         * po/bg.po: Update Bulgarian translation from translation project.
47358         * po/nl.po: Update Dutch translation from translation project.
47359         * po/pl.po: Update Polish translation from translation project.
47360         * po/ru.po: Update Russian translation from translation project.
47362 2013-07-24  David S. Miller  <davem@davemloft.net>
47364         * po/libc.pot: Update.
47366 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47368         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47369         variable page size.
47370         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47371         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47372         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47374 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47376         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47378 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47379             Andreas Schwab  <schwab@suse.de>
47380             Roland McGrath  <roland@hack.frob.com>
47381             Joseph Myers  <joseph@codesourcery.com>
47382             Carlos O'Donell  <carlos@redhat.com>
47384         [BZ #15755]
47385         * config.h.in: Define HAVE_PT_CHOWN.
47386         * config.make.in (build-pt-chown): New variable.
47387         * configure.in (--enable-pt_chown): New configure option.
47388         * configure: Regenerate.
47389         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47390         build-pt-chown is enabled.
47391         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47392         pt_chown to fix pty ownership.
47393         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47394         CLOSE_ALL_FDS.
47395         * manual/install.texi (Configuring and compiling): Mention
47396         --enable-pt_chown. Add @findex for grantpt.
47397         * INSTALL: Regenerate.
47399 2013-07-20  David S. Miller  <davem@davemloft.net>
47401         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47402         difference between 32-bit and 64-bit.
47404 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47406         [BZ #15711]
47407         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47408         Avoid system header dependency with -ffreestanding.
47409         ($(objpfx)bits/syscall%d): Likewise.
47411 2013-07-13  David S. Miller  <davem@davemloft.net>
47413         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47414         underflows from atanl/atan2l due to bug 15319.
47415         (casinh_test_data): Likewise.
47417 2013-07-07  David S. Miller  <davem@davemloft.net>
47419         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47421 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47423         * sysdeps/i386/fpu/libm-test-ulps: Update.
47424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47426 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47428         * configure.in (--enable-lock-elision): Fix message text.
47429         * INSTALL: Regenerate.
47430         * configure: Regenerate.
47432 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47436 2013-07-03  Andreas Jaeger  <aj@suse.de>
47438         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47439         define.
47440         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47441         (ptrace_peeksiginfo_args): Add.
47442         (__ptrace_peeksiginfo_flags): Add.
47443         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47444         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47445         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47447 2013-07-03  Allan McRae  <allan@archlinux.org>
47449         * sysdeps/i386/fpu/libm-test-ulps: Update.
47451 2013-07-02  David S. Miller  <davem@davemloft.net>
47453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47455 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47459 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47461         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47464 2013-07-02  Andi Kleen <ak@linux.intel.com>
47466         * config.h.in (ENABLE_LOCK_ELISION): Add.
47467         * configure.in (--enable-lock-elision): Add option.
47468         * manual/install.texi: Document --enable lock elision.
47469         * configure: Regenerate
47470         * INSTALL: Regenerate.
47472 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47474         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47475         SSE4.2 strcasecmp for libc.a.
47476         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47478 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47480         [BZ #13304]
47481         * soft-fp/op-common.h (_FP_FMA): New macro.
47482         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47483         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47484         (_FP_MUL_MEAT_1_imm): ... here.
47485         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47486         (_FP_MUL_MEAT_1_wide): ... here.
47487         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47488         (_FP_MUL_MEAT_1_hard): ... here.
47489         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47490         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47491         (_FP_MUL_MEAT_2_wide): ... here.
47492         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47493         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47494         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47495         (_FP_MUL_MEAT_2_gmp): ... here.
47496         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47497         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47498         (_FP_MUL_MEAT_4_wide): ... here.
47499         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47500         (_FP_MUL_MEAT_4_gmp): ... here.
47501         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47502         (_FP_WFRACBITS_DW_S): Likewise.
47503         (_FP_WFRACXBITS_DW_S): Likewise.
47504         (_FP_HIGHBIT_DW_S): Likewise.
47505         (FP_FMA_S): Likewise.
47506         (_FP_FRAC_HIGH_DW_S): Likewise.
47507         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47508         (_FP_WFRACBITS_DW_D): Likewise.
47509         (_FP_WFRACXBITS_DW_D): Likewise.
47510         (_FP_HIGHBIT_DW_D): Likewise.
47511         (FP_FMA_D): Likewise.
47512         (_FP_FRAC_HIGH_DW_D): Likewise.
47513         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47514         (_FP_WFRACBITS_DW_E): Likewise.
47515         (_FP_WFRACXBITS_DW_E): Likewise.
47516         (_FP_HIGHBIT_DW_E): Likewise.
47517         (FP_FMA_E): Likewise.
47518         (_FP_FRAC_HIGH_DW_E): Likewise.
47519         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47520         (_FP_WFRACBITS_DW_Q): Likewise.
47521         (_FP_WFRACXBITS_DW_Q): Likewise.
47522         (_FP_HIGHBIT_DW_Q): Likewise.
47523         (FP_FMA_Q): Likewise.
47524         (_FP_FRAC_HIGH_DW_Q): Likewise.
47525         * soft-fp/fmasf4.c: New file.
47526         * soft-fp/fmadf4.c: Likewise.
47527         * soft-fp/fmatf4.c: Likewise.
47529 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47532         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47533         Silvermont.
47534         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47535         macro.
47536         (index_Slow_SSE4_2): Likewise.
47537         (index_Prefer_PMINUB_for_stringop): Likewise.
47538         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47539         bit_Slow_SSE4_2 is set.
47540         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47541         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47543 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47545         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47546         rtld_global._dl_hwcap2.
47547         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47548         POWER8.
47549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47550         POWER8 feature descriptions defined in _dl_hwcap2.
47551         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47552         string handling for POWER8 feature bits.
47553         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47554         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47555         _dl_powerpc_cap_flags.
47556         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47557         * sysdeps/powerpc/rtld-global-offsets.sym
47558         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47559         _dl_hwcap2 in the rtld_global_ro structure.
47561 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47563         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47564         hardware capabilities in support of AT_HWCAP2.
47565         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47566         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47567         GLRO(dl_hwcap2).
47568         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47569         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47570         explicitly the unknown a_type display mechanism is used.
47571         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47572         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47573         struct member.
47574         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47575         to macro prototype for AT_HWCAP2 support.
47576         * sysdeps/i386/dl-procinfo.h: Likewise.
47577         * sysdeps/s390/dl-procinfo.h: Likewise.
47578         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47579         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47580         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47581         return -1 for unknown a_type display fallback.
47582         * sysdeps/sparc/dl-procinfo.h: Likewise.
47583         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47584         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47586 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47588         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47589         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47591 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47593         [BZ #12492]
47594         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47595         mprotect making __stack_prot writable.
47597 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47598             Joseph Myers  <joseph@codesourcery.com>
47600         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47601         as being properly aligned.
47603 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47605         * dlfcn/modstatic5.c: New file.
47606         * dlfcn/tststatic5.c: New file.
47607         * dlfcn/Makefile (tests): Add tststatic5.
47608         (tests-static): Likewise.
47609         (modules-names): Add modstatic5.
47610         (tststatic5-ENV): New variable.
47611         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47613         [BZ #15022]
47614         * elf/dl-support.c (_dl_main_map): New variable.
47615         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47616         (_dl_nns, _dl_load_adds): Set to 1.
47617         (_dl_initial_searchlist): Refer to _dl_main_map.
47618         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47619         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47620         call to _dl_get_origin.
47621         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47622         around call_map.
47623         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47624         * dlfcn/modstatic3.c: New file.
47625         * dlfcn/tststatic3.c: New file.
47626         * dlfcn/tststatic4.c: New file.
47627         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47628         (tests-static): Likewise.
47629         (modules-names): Add modstatic3.
47630         (tststatic3-ENV, tststatic4-ENV): New variables.
47631         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47632         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47634 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47636         * configure.in (CC): Require GCC version 4.4 or later.
47637         * configure: Regenerated.
47638         * manual/install.texi (Tools for Compilation): Update GCC version
47639         requirement.
47640         * INSTALL: Regenerated.
47642 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47644         [BZ #15674]
47645         * string/test-memcmp.c (check2): New.
47646         (main): Call check2.
47648         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47650 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47652         [BZ #15022]
47653         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47654         over to...
47655         (dl_open_worker) [!SHARED]: ... here.
47657 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47659         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47661 2013-06-25  Richard Henderson  <rth@redhat.com>
47663         * locale/programs/locarchive.c: Include <libc-internal.h>
47665 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47667         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47668         trailing whitespace removed.
47670 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47672         [BZ #10283]
47673         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47674         * locale/programs/locarchive.c: Include libc-mmap.h.
47675         (prepare_address_space): Take two new outputs (the mmap base and len).
47676         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47677         values.
47678         (create_archive): Declare new mmap base and len values for
47679         prepare_address_space, and store the result in ah.
47680         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47681         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47682         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47683         Declare new mmap base and len values for
47684         prepare_address_space, and store the result in new_ah.
47685         (open_archive): Declare new mmap base and len values for
47686         prepare_address_space, and store the result in ah.
47687         (close_archive): If ah->mmap_base is not NULL, use that and
47688         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47689         * sysdeps/generic/libc-mmap.h: New file.
47691 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47693         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47694         (ALIGN_UP): Likewise.
47695         (PTR_ALIGN_DOWN): Likewise.
47696         (PTR_ALIGN_UP): Likewise.
47698 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47701         entry mapped to PPC_PLATFORM_POWER8.
47702         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47703         POWER8.
47704         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47705         (_dl_string_platform): Add case for exporting platform position for
47706         POWER8.
47707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47708         search path to sysdeps/powerpc/powerpc32/power8 directory.
47709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47710         search path to sysdeps/powerpc/powerpc64/power8 directory.
47711         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47712         power7 directories.
47713         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47714         power7 directories.
47716 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47718         * INSTALL: Regenerate.
47720         * nscd/connections.c (nscd_init): Fix comment.
47722 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47724         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47726         [BZ #15667]
47727         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47728         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47730 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47732         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47733         DL_DST_REQ_STATIC.
47734         (DL_DST_REQ_STATIC): Remove macro.
47736 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47738         [BZ #7006]
47739         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47740         with a shift of 0 bits.
47742 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47744         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47745         $(tststatic-ENV).
47747 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47749         [BZ #15655]
47750         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47752 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47754         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47755         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47756         accepts -fno-tree-loop-distribute-patterns.
47757         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47758         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47759         recursive call.
47760         * string/memset.c (memset): Likewise.
47761         * string/test-memmove.c (simple_memmove): Disable loop transformation
47762         to library calls.
47763         * string/test-memset.c (simple_memset): Likewise.
47764         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47765         * benchtests/bench-memset.c (simple_memset): Likewise.
47766         * configure: Regenerated.
47768 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47770         * math/test-misc.c (main): Ignore fesetround failure when failures
47771         of subsequent rounding tests would be ignored.
47773         [BZ #15654]
47774         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47775         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47776         * math/fegetenv.c (__fegetenv): Return 0.
47777         * math/fegetexcept.c (fegetexcept): Return 0.
47778         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47779         FE_TONEAREST.
47780         * math/feholdexcpt.c (feholdexcept): Return 0.
47781         * math/fesetenv.c (__fesetenv): Return 0.
47782         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47783         argument FE_TONEAREST.
47784         * math/feupdateenv.c (__feupdateenv): Return 0.
47785         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47787 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47789         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47790         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47791         ($(objpfx)rtld-%.os rules): Use them.
47793 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47795         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47796         fields.
47798 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47800         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47801         length of target pattern, then descending length of dependency pattern.
47802         * configure.in (AWK): Require gawk 3.1.2 or newer.
47803         * manual/install.texi (Tools for Compilation): Say that we do.
47804         * configure: Regenerated.
47806         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47807         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47808         * scripts/sysd-rules.awk: ... this new script.
47809         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47810         than a glob-style pattern.
47812 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47814         * math/test-misc.c (main): Do not treat incorrectly rounded
47815         conversions as failure unless ROUNDING_TESTS passes.
47817 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47819         [BZ #15631]
47820         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47821         restore exception state around main square root computation, then
47822         check for inexactness explicitly.
47824         * math/libm-test.inc (fma_test_data): Add another test.
47826 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47828         * manual/threads.texi (Non-POSIX Extensions): New document
47829         node.  Document pthread_getattr_default_np and
47830         pthread_setattr_default_np.
47832         * Versions.def (libpthread): Add GLIBC_2.18.
47833         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47835         Likewise.
47836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47837         Likewise.
47838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47839         Likewise.
47840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47841         Likewise.
47842         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47843         Likewise.
47844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47845         Likewise.
47846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47847         Likewise.
47848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47849         Likewise.
47850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47851         Likewise.
47853 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47856         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47858 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47859             H.J. Lu  <hjl.tools@gmail.com>
47861         [BZ #15627]
47862         * sysdeps/x86_64/rtld-memset.c: Remove file.
47863         * sysdeps/x86_64/rtld-memset.S: New file.
47865 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47867         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47868         (test_in_one_mode): Take arguments for whether the rounding mode
47869         is supported for each floating-point type.
47870         (do_test): Pass new arguments to test_in_one_mode using
47871         ROUNDING_TESTS.
47873 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47875         * posix/tst-waitid.c (do_test): Distinguish different instances of
47876         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47877         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47878         before entering the kernel for waitpid.
47880 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47882         * NEWS: Fix note on clock function precision.  Text by Roland
47883         McGrath.
47885 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47887         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47888         it into place only when and if the sanity check passes.
47890 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47892         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47893         output for whether conversion result is exact.  Take argument
47894         indicating whether type is IBM long double.
47895         (round_for_all): Change need_exact field to ibm_ld.
47896         * stdlib/tst-strtod-round.c (struct exactness): New type.
47897         (struct test): Change bool ld_ok field to struct exactness exact.
47898         (TEST): Update all definitions for change to field.
47899         (tests): Regenerate array contents.
47900         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47901         field value.  Check for IBM long double here.
47902         (do_test): Update calls to test_in_one_mode.
47904 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47906         [BZ #12515]
47907         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47908         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47910 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47912         [BZ #15605]
47913         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47914         generated by the compiler on loop optimizations.
47915         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47916         general definitions.
47918 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47920         * math/bug-nextafter.c: Include <math-tests.h>.
47921         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47922         the relevant type.
47923         * math/bug-nexttoward.c: Include <math-tests.h>.
47924         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47925         the relevant type.
47926         * math/test-misc.c: Include <math-tests.h>.
47927         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47928         the relevant type.
47930 2013-06-12  Andreas Jaeger  <aj@suse.de>
47932         * po/ia.po: Update Interlingua translation from translation
47933         project.
47935 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47937         * include/fenv.h: Include stdbool.h.
47938         (struct rm_ctx): New structure.
47939         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47940         Define macro.
47941         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47942         (SET_RESTORE_ROUNDF): Likewise.
47943         (SET_RESTORE_ROUNDL): Likewise.
47944         (SET_RESTORE_ROUND_NOEX): Likewise.
47945         (SET_RESTORE_ROUND_NOEXF): Likewise.
47946         (SET_RESTORE_ROUND_NOEXL): Likewise.
47947         (SET_RESTORE_ROUND_53BIT): Likewise.
47948         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47949         (libc_feresetround_noexf_ctx): Likewise.
47950         (libc_feresetround_noexl_ctx): Likewise.
47951         (libc_feholdsetround_53bit_ctx): Likewise.
47952         (libc_feresetround_53bit_ctx): Likewise.
47953         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47954         (libc_feholdexcept_setround_sse_ctx): New function.
47955         (libc_fesetenv_sse_ctx): Likewise.
47956         (libc_feupdateenv_sse_ctx): Likewise.
47957         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47958         (libc_feholdexcept_setround_387_ctx): Likewise.
47959         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47960         (libc_feholdsetround_387_prec_ctx): Likewise.
47961         (libc_feholdsetround_387_ctx): Likewise.
47962         (libc_feholdsetround_387_53bit_ctx): Likewise.
47963         (libc_feholdsetround_sse_ctx): Likewise.
47964         (libc_feresetround_sse_ctx): Likewise.
47965         (libc_feresetround_387_ctx): Likewise.
47966         (libc_feupdateenv_387_ctx): Likewise.
47967         (libc_feholdexcept_setroundf_ctx): Define macro.
47968         (libc_fesetenvf_ctx): Likewise.
47969         (libc_feupdateenvf_ctx): Likewise.
47970         (libc_feholdsetroundf_ctx): Likewise.
47971         (libc_feresetroundf_ctx): Likewise.
47972         (libc_feholdexcept_setround_ctx): Likewise.
47973         (libc_fesetenv_ctx): Likewise.
47974         (libc_feupdateenv_ctx): Likewise.
47975         (libc_feholdsetround_ctx): Likewise.
47976         (libc_feresetround_ctx): Likewise.
47977         (libc_feholdexcept_setroundl_ctx): Likewise.
47978         (libc_feupdateenvl_ctx): Likewise.
47979         (libc_feholdsetroundl_ctx): Likewise.
47980         (libc_feresetroundl_ctx): Likewise.
47981         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47982         (libc_feresetround_53bit_ctx): Likewise.
47984 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47986         * locale/iso-639.def: Convert to UTF-8.
47988 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47990         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47991         (EXCEPTION_TESTS_double): Likewise.
47992         (EXCEPTION_TESTS_long_double): Likewise.
47993         (EXCEPTION_TESTS): Likewise.
47994         * math/libm-test.inc (test_exceptions): Only test exceptions if
47995         EXCEPTION_TESTS (FLOAT).
47997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47999         * benchtests/Makefile (string-bench): Add strcpy_chk and
48000         stpcpy_chk.
48001         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48002         * benchtests/bench-stpcpy_chk.c: New file.
48003         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48004         * benchtests/bench-strcpy_chk.c: New file.
48005         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48006         code.
48007         (do_test): Likewise.
48009 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48011         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48012         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48013         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48014         with tabs where appropriate.
48015         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48016         dl-procinfo.h.
48017         [PPC_PLATFORM_PPC440]: Likewise.
48018         [PPC_PLATFORM_PPC464]: Likewise.
48019         [PPC_PLATFORM_PPC476]: Likewise.
48020         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48021         ppc464, and ppc476 platform strings merging from ports/
48022         dl-procinfo.h.
48024 2013-06-11  Andreas Schwab  <schwab@suse.de>
48026         [BZ #14991]
48027         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48028         (from_ucs4_idx): Regenerate.
48029         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48030         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48031         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48032         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48033         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48034         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48035         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48036         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48037         from FROM_LOOP and TO_LOOP specific macros.
48038         (BODY): Handle combining characters.
48039         * iconvdata/BIG5HKSCS.irreversible: Update.
48040         * iconvdata/BIG5HKSCS.precomposed: New file.
48041         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48042         characters.
48043         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48045 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48047         * include/sys/time.h: Fix indentation and add copyright header.
48049         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48050         (do_test): Likewise.
48051         * string/test-memchr.c (do_one_test): Likewise.
48052         (do_test): Likewise.
48053         * string/test-memcmp.c (do_one_test): Likewise.
48054         (do_test): Likewise.
48055         * string/test-memcpy.c (do_one_test): Likewise.
48056         (do_test): Likewise.
48057         * string/test-memmem.c (do_one_test): Likewise.
48058         (do_test): Likewise.
48059         (do_random_tests): Likewise.
48060         * string/test-memmove.c (do_one_test): Likewise.
48061         (do_test): Likewise.
48062         * string/test-memset.c (do_one_test): Likewise.
48063         (do_test): Likewise.
48064         * string/test-rawmemchr.c (do_one_test): Likewise.
48065         (do_test): Likewise.
48066         * string/test-strcasecmp.c (do_one_test): Likewise.
48067         (do_test): Likewise.
48068         * string/test-strcasestr.c (do_one_test): Likewise.
48069         (do_test): Likewise.
48070         * string/test-strcat.c (do_one_test): Likewise.
48071         (do_test): Likewise.
48072         * string/test-strchr.c (do_one_test): Likewise.
48073         (do_test): Likewise.
48074         * string/test-strcmp.c (do_one_test): Likewise.
48075         (do_test): Likewise.
48076         * string/test-strcpy.c (do_one_test): Likewise.
48077         (do_test): Likewise.
48078         * string/test-string.h: Likewise.
48079         (test_init): Likewise.
48080         * string/test-strlen.c (do_one_test): Likewise.
48081         (do_test): Likewise.
48082         * string/test-strncasecmp.c (do_one_test): Likewise.
48083         (do_test): Likewise.
48084         * string/test-strncat.c (do_one_test): Likewise.
48085         (do_test): Likewise.
48086         * string/test-strncmp.c (do_one_test): Likewise.
48087         (do_test_limit): Likewise.
48088         (do_test): Likewise.
48089         * string/test-strncpy.c (do_one_test): Likewise.
48090         (do_test): Likewise.
48091         * string/test-strnlen.c (do_one_test): Likewise.
48092         (do_test): Likewise.
48093         * string/test-strpbrk.c (do_one_test): Likewise.
48094         (do_test): Likewise.
48095         * string/test-strrchr.c (do_one_test): Likewise.
48096         (do_test): Likewise.
48097         * string/test-strspn.c (do_one_test): Likewise.
48098         (do_test): Likewise.
48099         * string/test-strstr.c (do_one_test): Likewise.
48100         (do_test): Likewise.
48102         * benchtests/Makefile (string-bench): Add string benchmarks.
48103         * benchtests/bench-bcopy-ifunc.c: New file.
48104         * benchtests/bench-bcopy.c: New file.
48105         * benchtests/bench-bzero-ifunc.c: New file.
48106         * benchtests/bench-bzero.c: New file.
48107         * benchtests/bench-memccpy-ifunc.c: New file.
48108         * benchtests/bench-memccpy.c: New file.
48109         * benchtests/bench-memchr-ifunc.c: New file.
48110         * benchtests/bench-memchr.c: New file.
48111         * benchtests/bench-memcmp-ifunc.c: New file.
48112         * benchtests/bench-memcmp.c: New file.
48113         * benchtests/bench-memmem-ifunc.c: New file.
48114         * benchtests/bench-memmem.c: New file.
48115         * benchtests/bench-memmove-ifunc.c: New file.
48116         * benchtests/bench-memmove.c: New file.
48117         * benchtests/bench-mempcpy-ifunc.c: New file.
48118         * benchtests/bench-mempcpy.c: New file.
48119         * benchtests/bench-memset-ifunc.c: New file.
48120         * benchtests/bench-memset.c: New file.
48121         * benchtests/bench-rawmemchr-ifunc.c: New file.
48122         * benchtests/bench-rawmemchr.c: New file.
48123         * benchtests/bench-stpcpy-ifunc.c: New file.
48124         * benchtests/bench-stpcpy.c: New file.
48125         * benchtests/bench-stpncpy-ifunc.c: New file.
48126         * benchtests/bench-stpncpy.c: New file.
48127         * benchtests/bench-strcasecmp-ifunc.c: New file.
48128         * benchtests/bench-strcasecmp.c: New file.
48129         * benchtests/bench-strcasestr-ifunc.c: New file.
48130         * benchtests/bench-strcasestr.c: New file.
48131         * benchtests/bench-strcat-ifunc.c: New file.
48132         * benchtests/bench-strcat.c: New file.
48133         * benchtests/bench-strchr-ifunc.c: New file.
48134         * benchtests/bench-strchr.c: New file.
48135         * benchtests/bench-strchrnul-ifunc.c: New file.
48136         * benchtests/bench-strchrnul.c: New file.
48137         * benchtests/bench-strcmp-ifunc.c: New file.
48138         * benchtests/bench-strcmp.c: New file.
48139         * benchtests/bench-strcpy-ifunc.c: New file.
48140         * benchtests/bench-strcpy.c: New file.
48141         * benchtests/bench-strcspn-ifunc.c: New file.
48142         * benchtests/bench-strcspn.c: New file.
48143         * benchtests/bench-strlen-ifunc.c: New file.
48144         * benchtests/bench-strlen.c: New file.
48145         * benchtests/bench-strncasecmp-ifunc.c: New file.
48146         * benchtests/bench-strncasecmp.c: New file.
48147         * benchtests/bench-strncat-ifunc.c: New file.
48148         * benchtests/bench-strncat.c: New file.
48149         * benchtests/bench-strncmp-ifunc.c: New file.
48150         * benchtests/bench-strncmp.c: New file.
48151         * benchtests/bench-strncpy-ifunc.c: New file.
48152         * benchtests/bench-strncpy.c: New file.
48153         * benchtests/bench-strnlen-ifunc.c: New file.
48154         * benchtests/bench-strnlen.c: New file.
48155         * benchtests/bench-strpbrk-ifunc.c: New file.
48156         * benchtests/bench-strpbrk.c: New file.
48157         * benchtests/bench-strrchr-ifunc.c: New file.
48158         * benchtests/bench-strrchr.c: New file.
48159         * benchtests/bench-strspn-ifunc.c: New file.
48160         * benchtests/bench-strspn.c: New file.
48161         * benchtests/bench-strstr-ifunc.c: New file.
48162         * benchtests/bench-strstr.c: New file.
48164         * benchtests/Makefile: Disable parallel execution of targets.
48165         (string-bench): Add memcpy.
48166         (benchset): New variable to store a list of benchmark sets.
48167         (bench-func): Renamed from bench.
48168         (bench-set): New target.
48169         (bench): Depend on bench-func and bench-set.
48170         * benchtests/README: Add section on benchmark sets.
48171         * benchtests/bench-memcpy-ifunc.c: New file.
48172         * benchtests/bench-memcpy.c: New file.
48173         * benchtests/bench-string.h: New file.
48175 2013-06-11  Andreas Schwab  <schwab@suse.de>
48177         [BZ #15577]
48178         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48179         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48180         values in the triple.
48181         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48182         terminator in the group key.
48184 2013-06-11  Andreas Jaeger  <aj@suse.de>
48186         * po/zh_TW.po: Update Chinese (traditional) translation from
48187         translation project.
48189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48191         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48192         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48193         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48195         (clock_getcpuclockid): Likewise.
48196         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48197         Add weak_alias and libc_hidden_def.
48198         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48199         * rt/clock_gettime.c (clock_gettime): Rename to
48200         __clock_gettime.  Add weak_alias and libc_hidden_def.
48201         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48202         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48203         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48204         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48205         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48206         Likewise.
48207         * rt/clock_settime.c (clock_settime): Rename to
48208         __clock_settime.  Add weak_alias and libc_hidden_def.
48209         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48211 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48213         * mach/err_boot.sub: Remove trailing whitespace.
48214         * mach/err_ipc.sub: Likewise.
48215         * mach/err_mach.sub: Likewise.
48217         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48218         (ROUNDING_TESTS_double): Likewise.
48219         (ROUNDING_TESTS_long_double): Likewise.
48220         (ROUNDING_TESTS): Likewise.
48221         * math/libm-test.inc: Include <math-tests.h>.
48222         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48223         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48224         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48225         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48227 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48229         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48230         of assigning.
48232 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48234         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48235         otherwise empty TRANS lines.
48236         * sysdeps/gnu/errlist.c: Regenerated.
48238         * catgets/gencat.c (error_print): Use (void) in function
48239         definition.
48240         * crypt/crypt_util.c (__init_des): Likewise.
48241         * crypt/speeds.c (Stop): Likewise.
48242         (main): Likewise.
48243         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48244         * inet/ruserpass.c (token): Likewise.
48245         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48246         * intl/localealias.c (extend_alias_table): Likewise.
48247         * intl/plural-exp.c (init_germanic_plural): Likewise.
48248         * libio/fcloseall.c (__fcloseall): Likewise.
48249         * libio/genops.c (_IO_flush_all): Likewise.
48250         (_IO_flush_all_linebuffered): Likewise.
48251         (_IO_cleanup): Likewise.
48252         (_IO_iter_begin): Likewise.
48253         (_IO_iter_end): Likewise.
48254         (_IO_list_lock): Likewise.
48255         (_IO_list_unlock): Likewise.
48256         (_IO_list_resetlock): Likewise.
48257         * libio/getchar.c (getchar): Likewise.
48258         * libio/getchar_u.c (getchar_unlocked): Likewise.
48259         * libio/getwchar.c (getwchar): Likewise.
48260         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48261         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48262         * login/getpt.c (__getpt): Likewise.
48263         * login/tst-utmp.c (main): Likewise.
48264         * malloc/hooks.c (__malloc_check_init): Likewise.
48265         * malloc/malloc.c (__malloc_stats): Likewise.
48266         * malloc/mtrace.c (tr_break): Likewise.
48267         (mtrace): Likewise.
48268         (muntrace): Likewise.
48269         * misc/fstab.c (endfsent): Likewise.
48270         * misc/getclktck.c (__getclktck): Likewise.
48271         * misc/getdtsz.c (__getdtablesize): Likewise.
48272         * misc/gethostid.c (gethostid): Likewise.
48273         * misc/getpagesize.c (__getpagesize): Likewise.
48274         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48275         (__get_nprocs): Likewise.
48276         (__get_phys_pages): Likewise.
48277         (__get_avphys_pages): Likewise.
48278         * misc/getttyent.c (getttyent): Likewise.
48279         (setttyent): Likewise.
48280         (endttyent): Likewise.
48281         * misc/getusershell.c (getusershell): Likewise.
48282         (endusershell): Likewise.
48283         (setusershell): Likewise.
48284         (initshells): Likewise.
48285         * misc/hsearch.c (__hdestroy): Likewise.
48286         * misc/sync.c (sync): Likewise.
48287         * misc/syslog.c (closelog_internal): Likewise.
48288         (closelog): Likewise.
48289         * misc/ttyslot.c (ttyslot): Likewise.
48290         * misc/vhangup.c (vhangup): Likewise.
48291         * posix/fork.c (__fork): Likewise.
48292         * posix/getegid.c (__getegid): Likewise.
48293         * posix/geteuid.c (__geteuid): Likewise.
48294         * posix/getgid.c (__getgid): Likewise.
48295         * posix/getpid.c (__getpid): Likewise.
48296         * posix/getppid.c (__getppid): Likewise.
48297         * posix/getuid.c (__getuid): Likewise.
48298         * posix/pause.c (pause): Likewise.
48299         * posix/setpgrp.c (setpgrp): Likewise.
48300         * posix/setsid.c (__setsid): Likewise.
48301         * posix/test-vfork.c (noop): Likewise.
48302         * resolv/gethnamaddr.c (_endhtent): Likewise.
48303         (_gethtent): Likewise.
48304         (ht_endhostent): Likewise.
48305         (gethostent): Likewise.
48306         (dns_service): Likewise.
48307         * stdlib/drand48.c (drand48): Likewise.
48308         * stdlib/lrand48.c (lrand48): Likewise.
48309         * stdlib/mrand48.c (mrand48): Likewise.
48310         * stdlib/rand.c (rand): Likewise.
48311         * stdlib/random.c (__random): Likewise.
48312         * stdlib/setenv.c (clearenv): Likewise.
48313         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48314         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48315         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48316         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48317         (__get_nprocs): Likewise.
48318         (__get_phys_pages): Likewise.
48319         (__get_avphys_pages): Likewise.
48320         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48321         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48322         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48323         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48324         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48325         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48326         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48327         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48328         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48329         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48330         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48331         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48332         * sysdeps/posix/clock.c (clock): Likewise.
48333         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48334         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48335         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48336         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48337         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48339         (__get_nprocs_conf): Likewise.
48340         (__get_phys_pages): Likewise.
48341         (__get_avphys_pages): Likewise.
48342         * time/clock.c (clock): Likewise.
48343         * time/tzset.c (__tzname_max): Likewise.
48345 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48347         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48348         (__bswap_32): Do not use "register".
48349         * crypt/crypt.c (_ufc_doit_r): Likewise.
48350         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48351         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48352         * gmon/gmon.c (__monstartup): Likewise.
48353         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48354         * hurd/hurdmalloc.c (more_memory): Likewise.
48355         (malloc): Likewise.
48356         (free): Likewise.
48357         (realloc): Likewise.
48358         (malloc_fork_prepare): Likewise.
48359         (malloc_fork_parent): Likewise.
48360         (malloc_fork_child): Likewise.
48361         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48362         (_svcauth_des): Likewise.
48363         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48364         * inet/inet_net.c (inet_network): Likewise.
48365         * inet/inet_netof.c (inet_netof): Likewise.
48366         * inet/rcmd.c (__validuser2_sa): Likewise.
48367         * io/fts.c (fts_open): Likewise.
48368         (fts_load): Likewise.
48369         (fts_close): Likewise.
48370         (fts_read): Likewise.
48371         (fts_children): Likewise.
48372         (fts_build): Likewise.
48373         (fts_stat): Likewise.
48374         (fts_sort): Likewise.
48375         (fts_alloc): Likewise.
48376         (fts_lfree): Likewise.
48377         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48378         (_IO_file_xsgetn): Likewise.
48379         (_IO_file_xsgetn_mmap): Likewise.
48380         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48381         (_IO_cookie_write): Likewise.
48382         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48383         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48384         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48385         * malloc/obstack.c (_obstack_begin): Likewise.
48386         (_obstack_begin_1): Likewise.
48387         (_obstack_newchunk): Likewise.
48388         (_obstack_allocated_p): Likewise.
48389         (obstack_free): Likewise.
48390         (_obstack_memory_used): Likewise.
48391         * misc/getttyent.c (getttynam): Likewise.
48392         (getttyent): Likewise.
48393         (skip): Likewise.
48394         (value): Likewise.
48395         * misc/getusershell.c (initshells): Likewise.
48396         * misc/syslog.c (__vsyslog_chk): Likewise.
48397         * misc/ttyslot.c (ttyslot): Likewise.
48398         * nis/nis_hash.c (__nis_hash): Likewise.
48399         * posix/fnmatch_loop.c (FCT): Likewise.
48400         * posix/getconf.c (print_all): Likewise.
48401         (main): Likewise.
48402         * posix/getopt.c (exchange): Likewise.
48403         * posix/glob.c (globfree): Likewise.
48404         (prefix_array): Likewise.
48405         (__glob_pattern_type): Likewise.
48406         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48407         (NS_GET32): Likewise.
48408         (NS_PUT16): Likewise.
48409         (NS_PUT32): Likewise.
48410         * resolv/gethnamaddr.c (getanswer): Likewise.
48411         (gethostbyname2): Likewise.
48412         (gethostbyaddr): Likewise.
48413         (_gethtent): Likewise.
48414         (_gethtbyname2): Likewise.
48415         (_gethtbyaddr): Likewise.
48416         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48417         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48418         * resolv/res_init.c (__res_vinit): Likewise.
48419         (net_mask): Likewise.
48420         * resolv/res_mkquery.c (outchar): Likewise.
48421         (PRINT): Likewise.
48422         * stdio-common/printf_fp.c (outchar): Likewise.
48423         (PRINT): Likewise.
48424         * stdio-common/printf_fphex.c (outchar): Likewise.
48425         (PRINT): Likewise.
48426         * stdio-common/printf_size.c (outchar): Likewise.
48427         (PRINT): Likewise.
48428         * stdio-common/test_rdwr.c (main): Likewise.
48429         * stdio-common/tfformat.c (matches): Likewise.
48430         * stdio-common/vfprintf.c (outchar): Likewise.
48431         (printf_unknown): Likewise.
48432         (buffered_vfprintf): Likewise.
48433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48434         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48435         (ReadFile): Likewise.
48436         * stdlib/qsort.c (SWAP): Likewise.
48437         (_quicksort): Likewise.
48438         * stdlib/setenv.c (__add_to_environ): Likewise.
48439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48440         * stdlib/strtol_l.c (__strtol_l): Likewise.
48441         * stdlib/tst-strtod.c (main): Likewise.
48442         * stdlib/tst-strtol.c (main): Likewise.
48443         * stdlib/tst-strtoll.c (main): Likewise.
48444         * string/bits/string2.h (__strcmp_cc): Likewise.
48445         (__strcmp_cg): Likewise.
48446         (__strcspn_c1): Likewise.
48447         (__strcspn_c2): Likewise.
48448         (__strcspn_c3): Likewise.
48449         (__strspn_c1): Likewise.
48450         (__strspn_c2): Likewise.
48451         (__strspn_c3): Likewise.
48452         (__strsep_1c): Likewise.
48453         (__strsep_2c): Likewise.
48454         (__strsep_3c): Likewise.
48455         * string/memccpy.c (__memccpy): Likewise.
48456         * string/stpcpy.c (__stpcpy): Likewise.
48457         * string/strcmp.c (strcmp): Likewise.
48458         * string/strrchr.c (strrchr): Likewise.
48459         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48460         Likewise.
48461         * sysdeps/mach/hurd/getcwd.c
48462         (_hurd_canonicalize_directory_name_internal): Likewise.
48463         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48464         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48465         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48466         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48467         Likewise, in both definitions.
48468         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48469         definitions.
48470         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48471         64] (__bswap_64): Likewise.
48472         * time/test_time.c (main): Likewise.
48473         * time/tzfile.c (__tzfile_read): Likewise.
48474         (__tzfile_compute): Likewise.
48475         * time/tzset.c (__tzset_parse_tz): Likewise.
48476         (tzset_internal): Likewise.
48477         (compute_change): Likewise.
48478         * wcsmbs/wcscat.c (__wcscat): Likewise.
48479         * wcsmbs/wcschr.c (wcschr): Likewise.
48480         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48481         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48482         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48483         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48484         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48485         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48486         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48487         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48488         * wcsmbs/wmemset.c (wmemset): Likewise.
48490 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48492         * scripts/config.guess: Update to version 2013-05-16.
48493         * scripts/config.sub: Update to version 2013-04-24.
48494         * scripts/install-sh: Update to version 2011-11-20.07.
48495         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48496         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48498 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48500         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48501         * elf/sln.c: Likewise.
48502         * hurd/hurd/ioctl.h: Likewise.
48503         * hurd/hurdmalloc.c: Likewise.
48504         * hurd/xattr.c: Likewise.
48505         * include/shlib-compat.h: Likewise.
48506         * inet/ruserpass.c: Likewise.
48507         * libio/iofgets_u.c: Likewise.
48508         * libio/iofgetws_u.c: Likewise.
48509         * locale/programs/ld-identification.c: Likewise.
48510         * locale/programs/ld-time.c: Likewise.
48511         * mach/msg-destroy.c: Likewise.
48512         * nss/nss_files/files-netgrp.c: Likewise.
48513         * resolv/res_data.c: Likewise.
48514         * soft-fp/op-1.h: Likewise.
48515         * soft-fp/op-2.h: Likewise.
48516         * soft-fp/op-4.h: Likewise.
48517         * soft-fp/op-common.h: Likewise.
48518         * stdio-common/printf_fphex.c: Likewise.
48519         * stdlib/strtod_l.c: Likewise.
48520         * sunrpc/rpc/clnt.h: Likewise.
48521         * sysdeps/generic/framestate.c: Likewise.
48522         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48523         * sysdeps/i386/bsd-setjmp.S: Likewise.
48524         * sysdeps/i386/__longjmp.S: Likewise.
48525         * sysdeps/i386/setjmp.S: Likewise.
48526         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48527         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48543         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48544         * sysdeps/ieee754/support.c: Likewise.
48545         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48546         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48547         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48548         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48549         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48550         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48551         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48552         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48553         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48554         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48555         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48556         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48557         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48558         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48559         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48560         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48561         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48564 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48566         * posix/transbug.c: Remove executable mode.
48568 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48570         * crypt/speeds.c: Remove trailing whitespace.
48571         * dlfcn/default.c: Likewise.
48572         * elf/ifuncdep2.c: Likewise.
48573         * elf/ifuncmain1.c: Likewise.
48574         * elf/ifuncmain1vis.c: Likewise.
48575         * elf/testobj.h: Likewise.
48576         * elf/tst-stackguard1.c: Likewise.
48577         * gmon/sys/gmon.h: Likewise.
48578         * hurd/hurdmsg.c: Likewise.
48579         * hurd/new-fd.c: Likewise.
48580         * hurd/ports-get.c: Likewise.
48581         * iconvdata/ibm1008_420.c: Likewise.
48582         * inet/tst-getni1.c: Likewise.
48583         * inet/tst-getni2.c: Likewise.
48584         * libio/ioungetc.c: Likewise.
48585         * libio/wfiledoalloc.c: Likewise.
48586         * manual/libm-err-tab.pl: Likewise.
48587         * math/w_dremf.c: Likewise.
48588         * misc/ftruncate.c: Likewise.
48589         * posix/bug-glob2.c: Likewise.
48590         * posix/tst-pcre.c: Likewise.
48591         * posix/wait4.c: Likewise.
48592         * resolv/README: Likewise.
48593         * resolv/res_debug.h: Likewise.
48594         * resolv/tst-inet_ntop.c: Likewise.
48595         * setjmp/bug269-setjmp.c: Likewise.
48596         * soft-fp/extended.h: Likewise.
48597         * soft-fp/op-1.h: Likewise.
48598         * soft-fp/op-2.h: Likewise.
48599         * soft-fp/op-4.h: Likewise.
48600         * soft-fp/op-8.h: Likewise.
48601         * soft-fp/testit.c: Likewise.
48602         * stdio-common/bug16.c: Likewise.
48603         * stdlib/random.c: Likewise.
48604         * sunrpc/rpcsvc/rquota.x: Likewise.
48605         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48606         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48608         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48609         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48610         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48611         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48612         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48613         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48614         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48615         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48634         * sysdeps/ieee754/s_lib_version.c: Likewise.
48635         * sysdeps/mach/hurd/check_fds.c: Likewise.
48636         * sysdeps/mach/hurd/getsockname.c: Likewise.
48637         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48638         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48639         * sysdeps/powerpc/bits/link.h: Likewise.
48640         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48641         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48642         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48643         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48644         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48645         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48646         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48648         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48649         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48650         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48651         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48652         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48653         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48654         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48655         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48657         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48658         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48659         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48660         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48661         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48662         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48663         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48664         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48665         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48666         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48667         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48668         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48669         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48670         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48672         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48674         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48675         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48676         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48677         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48678         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48679         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48680         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48681         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48682         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48683         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48684         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48685         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48686         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48687         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48688         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48689         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48693         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48694         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48695         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48696         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48698         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48699         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48700         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48701         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48702         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48704         * sysdeps/powerpc/sysdep.h: Likewise.
48705         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48706         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48707         * sysdeps/sh/dl-trampoline.S: Likewise.
48708         * sysdeps/sh/memset.S: Likewise.
48709         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48710         * sysdeps/sh/strlen.S: Likewise.
48711         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48712         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48713         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48714         * sysdeps/sparc/sparc32/rem.S: Likewise.
48715         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48716         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48717         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48718         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48719         * sysdeps/sparc/sparc32/urem.S: Likewise.
48720         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48721         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48722         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48723         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48724         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48725         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48726         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48727         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48728         * sysdeps/unix/bsd/times.c: Likewise.
48729         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48730         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48734         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48735         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48736         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48738         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48739         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48740         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48741         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48742         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48743         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48744         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48745         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48746         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48747         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48748         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48749         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48750         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48751         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48752         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48753         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48754         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48755         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48756         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48757         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48758         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48759         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48760         * sysdeps/x86_64/strcspn.S: Likewise.
48762 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48764         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48765         generated file.  Regenerate properly from gen-translit.pl.
48766         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48767         locale/C-translit.h.
48769 2013-06-05  Andreas Schwab  <schwab@suse.de>
48771         [BZ #15100]
48772         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48773         week as 6 instead of -1.
48774         * time/tst-strptime.c (day_tests): Add test case.
48776 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48778         * sysdeps/generic/math_private.h
48779         (libc_feholdexcept_setround_53bit): Replace with
48780         libc_feholdsetround_53bit.
48781         (libc_feupdateenv_53bit): Replace with
48782         libc_feresetround_53bit.
48783         (SET_RESTORE_ROUND_53BIT): Adjust.
48785 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48787         * string/test-strchrnul.c: Add copyright header.
48789         * posix/tst-getaddrinfo4.c: Increase test timeout.
48791 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48793         [BZ #15536]
48794         * math/libm-test.inc (MAX_EXP): Remove
48795         (MIN_EXP): Define.
48796         (ulp): Use MIN_EXP - MANT_DIG.
48797         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48799 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48801         * po/be.po: Revert last change.
48802         * po/zh_CN.po: Likewise.
48803         * po/header.pot: Likewise.
48805 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48807         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48808         link-libc-deps to empty as target-specific variable.
48809         * Makerules (link-libc-args): New variable.
48810         (libc-for-link): Likewise.
48811         (link-libc-deps): Likewise.
48812         (lib%.so): Depend on $(link-libc-deps).  Link with
48813         $(link-libc-args).
48814         (build-module): Link with $(link-libc-args).
48815         (build-module-asneeded): Likewise.
48816         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48817         list of objects.
48818         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48819         target-specific variable.
48820         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48821         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48822         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48823         libc.
48824         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48825         libc and ld.so.
48826         ($(objpfx)libpcprofile.so): Likewise.
48827         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48828         libc_nonshared.a.
48829         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48830         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48831         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48832         $(link-libc-deps).
48833         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48834         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48835         * login/Makefile ($(objpfx)libutil.so): Likewise.
48836         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48837         * math/Makefile ($(objpfx)libm.so): Likewise.
48838         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48839         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48840         variable instead of depending directly on libc.
48841         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48842         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48843         $(link-libc-deps).
48844         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48845         libc.
48846         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48847         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48848         ($(objpfx)libanl.so): Likewise.
48849         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48850         ld.so.
48851         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48852         $(link-libc-deps).
48853         * sysdeps/i386/fpu/Makefile: Remove file.
48854         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48855         ($(objpfx)libm.so): Remove dependency on ld.so.
48857 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48859         [BZ # 15553]
48860         * nis/yp_xdr.c (XDRMAXNAME): Define.
48861         (XDRMAXRECORD): Define.
48862         (xdr_domainname): Use XDRMAXNAME.
48863         (xdr_mapname): Likewise.
48864         (xdr_peername): Likewise.
48865         (xdr_keydat): Use XDRMAXRECORD.
48866         (xdr_valdat): Likewise.
48868 2013-05-30  Jeff Law  <law@redhat.com>
48870         [BZ #14256]
48871         * manual/errno.texi (ESTALE): Update to account for more than
48872         just NFS file systems.
48873         * sysdeps/gnu/errlist.c: Regenerated.
48875 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48877         [BZ #15465]
48878         * elf/Makefile (tests): Add tst-null-argv.
48879         (modules-names):  Add tst-null-argv-lib.
48880         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48881         (tst-null-argv-ENV): Set environment for tst-null-argv.
48882         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48883         (RTLD_PROGNAME): New macro.
48884         * elf/tst-null-argv.c: New test case.
48885         * elf/tst-null-argv-lib.c: Library for test case.
48886         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48887         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48888         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48889         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48890         * elf/dl-init.c (call_init): Likewise.
48891         (_dl_init): Likewise.
48892         * elf/dl-load.c (print_search_path): Likewise.
48893         (_dl_map_object): Likewise.
48894         * elf/dl-lookup.c (do_lookup_x): Likewise.
48895         (add_dependency): Likewise.
48896         (_dl_lookup_symbol_x): Likewise.
48897         (_dl_debug_bindings): Likewise.
48898         * elf/dl-open.c (_dl_show_scope): Likewise.
48899         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48900         * elf/dl-version.c (match_symbol): Likewise.
48901         (_dl_check_map_versions): Likewise.
48902         * elf/rtld.c (dl_main): Likewise.
48903         (print_unresolved): Use RTLD_PROGNAME.
48904         (print_missing_version): Likewise.
48905         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48906         (elf_machine_rela): Likewise.
48907         * sysdeps/powerpc/powerpc32/dl-machine.c
48908         (__process_machine_rela): Likewise.
48909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48910         Likewise.
48911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48912         Likewise.
48913         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48914         Likewise.
48915         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48917         Likewise.
48918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48919         Likewise.
48920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48922 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48924         * po/be.po: Add descriptive title.
48925         * po/zh_CN.po: Likewise.
48926         * po/header.pot: Likewise.
48928 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48930         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48931         error message.
48932         (enlarge_archive): Likewise.
48934 2013-05-28  Ben North  <ben@redfrontdoor.org>
48936         * manual/arith.texi (frexp): It is the magnitude of the return
48937         value which lies in [0.5, 1), not the return value itself.
48939 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48943 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48945         * stdio-common/bug26.c (main): Correct fscanf template.
48947         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48948         declare _dl_skip_args.
48950         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48951         Don't declare.
48953         * manual/platform.texi: Add missing @end deftypefun.
48955 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48957         [BZ #15529]
48958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48959         bit of mantissa of 2^16382.
48960         * math/libm-test.inc (hypot_test_data): Add more tests.
48962         * math/libm-test.inc: Add drem and pow10 to list of tested
48963         functions.
48964         (pow10_test): New function.
48965         (drem_test): Likewise.
48966         (drem_test_tonearest): Likewise.
48967         (drem_test_towardzero): Likewise.
48968         (drem_test_downward): Likewise.
48969         (drem_test_upward): Likewise.
48970         (main): Call the new functions.
48972         * math/libm-test.inc (finite_test_data): Remove.
48973         (finite_test): Run tests from isfinite_test_data.
48974         (gamma_test_data): Remove.
48975         (gamma_test): Run tests from lgamma_test_data.
48976         * sysdeps/i386/fpu/libm-test-ulps: Update.
48977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48979 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48981         * manual/platform.texi: Add PowerPC PPR function set documentation.
48982         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48983         implementation.
48985 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48987         * math/libm-test.inc (MAX_EXP): Define.
48988         (ULPDIFF): Define.
48989         (ulp): New function.
48990         (check_float_internal): Use ULPDIFF.
48991         (cpow_test): Disable failing test.
48992         (check_ulp): Test ulp() implemetnation.
48993         (main): Call check_ulp before starting tests.
48995 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48997         * math/gen-libm-test.pl (generate_testfile): Do not handle
48998         START_DATA and END_DATA.
48999         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49000         END_DATA.
49001         (acos_tonearest_test_data): Likewise.
49002         (acos_towardzero_test_data): Likewise.
49003         (acos_downward_test_data): Likewise.
49004         (acos_upward_test_data): Likewise.
49005         (acosh_test_data): Likewise.
49006         (asin_test_data): Likewise.
49007         (asin_tonearest_test_data): Likewise.
49008         (asin_towardzero_test_data): Likewise.
49009         (asin_downward_test_data): Likewise.
49010         (asin_upward_test_data): Likewise.
49011         (asinh_test_data): Likewise.
49012         (atan_test_data): Likewise.
49013         (atanh_test_data): Likewise.
49014         (atan2_test_data): Likewise.
49015         (cabs_test_data): Likewise.
49016         (cacos_test_data): Likewise.
49017         (cacosh_test_data): Likewise.
49018         (carg_test_data): Likewise.
49019         (casin_test_data): Likewise.
49020         (casinh_test_data): Likewise.
49021         (catan_test_data): Likewise.
49022         (catanh_test_data): Likewise.
49023         (cbrt_test_data): Likewise.
49024         (ccos_test_data): Likewise.
49025         (ccosh_test_data): Likewise.
49026         (ceil_test_data): Likewise.
49027         (cexp_test_data): Likewise.
49028         (cimag_test_data): Likewise.
49029         (clog_test_data): Likewise.
49030         (clog10_test_data): Likewise.
49031         (conj_test_data): Likewise.
49032         (copysign_test_data): Likewise.
49033         (cos_test_data): Likewise.
49034         (cos_tonearest_test_data): Likewise.
49035         (cos_towardzero_test_data): Likewise.
49036         (cos_downward_test_data): Likewise.
49037         (cos_upward_test_data): Likewise.
49038         (cosh_test_data): Likewise.
49039         (cosh_tonearest_test_data): Likewise.
49040         (cosh_towardzero_test_data): Likewise.
49041         (cosh_downward_test_data): Likewise.
49042         (cosh_upward_test_data): Likewise.
49043         (cpow_test_data): Likewise.
49044         (cproj_test_data): Likewise.
49045         (creal_test_data): Likewise.
49046         (csin_test_data): Likewise.
49047         (csinh_test_data): Likewise.
49048         (csqrt_test_data): Likewise.
49049         (ctan_test_data): Likewise.
49050         (ctan_tonearest_test_data): Likewise.
49051         (ctan_towardzero_test_data): Likewise.
49052         (ctan_downward_test_data): Likewise.
49053         (ctan_upward_test_data): Likewise.
49054         (ctanh_test_data): Likewise.
49055         (ctanh_tonearest_test_data): Likewise.
49056         (ctanh_towardzero_test_data): Likewise.
49057         (ctanh_downward_test_data): Likewise.
49058         (ctanh_upward_test_data): Likewise.
49059         (erf_test_data): Likewise.
49060         (erfc_test_data): Likewise.
49061         (exp_test_data): Likewise.
49062         (exp_tonearest_test_data): Likewise.
49063         (exp_towardzero_test_data): Likewise.
49064         (exp_downward_test_data): Likewise.
49065         (exp_upward_test_data): Likewise.
49066         (exp10_test_data): Likewise.
49067         (exp2_test_data): Likewise.
49068         (expm1_test_data): Likewise.
49069         (fabs_test_data): Likewise.
49070         (fdim_test_data): Likewise.
49071         (finite_test_data): Likewise.
49072         (floor_test_data): Likewise.
49073         (fma_test_data): Likewise.
49074         (fma_towardzero_test_data): Likewise.
49075         (fma_downward_test_data): Likewise.
49076         (fma_upward_test_data): Likewise.
49077         (fmax_test_data): Likewise.
49078         (fmin_test_data): Likewise.
49079         (fmod_test_data): Likewise.
49080         (fpclassify_test_data): Likewise.
49081         (frexp_test_data): Likewise.
49082         (gamma_test_data): Likewise.
49083         (hypot_test_data): Likewise.
49084         (ilogb_test_data): Likewise.
49085         (isfinite_test_data): Likewise.
49086         (isgreater_test_data): Likewise.
49087         (isgreaterequal_test_data): Likewise.
49088         (isinf_test_data): Likewise.
49089         (isless_test_data): Likewise.
49090         (islessequal_test_data): Likewise.
49091         (islessgreater_test_data): Likewise.
49092         (isnan_test_data): Likewise.
49093         (isnormal_test_data): Likewise.
49094         (issignaling_test_data): Likewise.
49095         (isunordered_test_data): Likewise.
49096         (j0_test_data): Likewise.
49097         (j1_test_data): Likewise.
49098         (jn_test_data): Likewise.
49099         (ldexp_test_data): Likewise.
49100         (lgamma_test_data): Likewise.
49101         (lrint_test_data): Likewise.
49102         (lrint_tonearest_test_data): Likewise.
49103         (lrint_towardzero_test_data): Likewise.
49104         (lrint_downward_test_data): Likewise.
49105         (lrint_upward_test_data): Likewise.
49106         (llrint_test_data): Likewise.
49107         (llrint_tonearest_test_data): Likewise.
49108         (llrint_towardzero_test_data): Likewise.
49109         (llrint_downward_test_data): Likewise.
49110         (llrint_upward_test_data): Likewise.
49111         (log_test_data): Likewise.
49112         (log10_test_data): Likewise.
49113         (log1p_test_data): Likewise.
49114         (log2_test_data): Likewise.
49115         (logb_test_data): Likewise.
49116         (logb_downward_test_data): Likewise.
49117         (lround_test_data): Likewise.
49118         (llround_test_data): Likewise.
49119         (modf_test_data): Likewise.
49120         (nearbyint_test_data): Likewise.
49121         (nextafter_test_data): Likewise.
49122         (nexttoward_test_data): Likewise.
49123         (pow_test_data): Likewise.
49124         (pow_tonearest_test_data): Likewise.
49125         (pow_towardzero_test_data): Likewise.
49126         (pow_downward_test_data): Likewise.
49127         (pow_upward_test_data): Likewise.
49128         (remainder_test_data): Likewise.
49129         (remainder_tonearest_test_data): Likewise.
49130         (remainder_towardzero_test_data): Likewise.
49131         (remainder_downward_test_data): Likewise.
49132         (remainder_upward_test_data): Likewise.
49133         (remquo_test_data): Likewise.
49134         (rint_test_data): Likewise.
49135         (rint_tonearest_test_data): Likewise.
49136         (rint_towardzero_test_data): Likewise.
49137         (rint_downward_test_data): Likewise.
49138         (rint_upward_test_data): Likewise.
49139         (round_test_data): Likewise.
49140         (scalb_test_data): Likewise.
49141         (scalbn_test_data): Likewise.
49142         (scalbln_test_data): Likewise.
49143         (signbit_test_data): Likewise.
49144         (sin_test_data): Likewise.
49145         (sin_tonearest_test_data): Likewise.
49146         (sin_towardzero_test_data): Likewise.
49147         (sin_downward_test_data): Likewise.
49148         (sin_upward_test_data): Likewise.
49149         (sincos_test_data): Likewise.
49150         (sinh_test_data): Likewise.
49151         (sinh_tonearest_test_data): Likewise.
49152         (sinh_towardzero_test_data): Likewise.
49153         (sinh_downward_test_data): Likewise.
49154         (sinh_upward_test_data): Likewise.
49155         (sqrt_test_data): Likewise.
49156         (tan_test_data): Likewise.
49157         (tan_tonearest_test_data): Likewise.
49158         (tan_towardzero_test_data): Likewise.
49159         (tan_downward_test_data): Likewise.
49160         (tan_upward_test_data): Likewise.
49161         (tanh_test_data): Likewise.
49162         (tgamma_test_data): Likewise.
49163         (trunc_test_data): Likewise.
49164         (y0_test_data): Likewise.
49165         (y1_test_data): Likewise.
49166         (yn_test_data): Likewise.
49167         (significand_test_data): Likewise.
49169         * math/gen-libm-test.pl (@functions): Remove variable.
49170         (generate_testfile): Don't handle START and END lines.
49171         * math/libm-test.inc (START): New macro.
49172         (END): Likewise.
49173         (END_COMPLEX): Likewise.
49174         (acos_test): Use END macro without arguments.
49175         (acos_test_tonearest): Likewise.
49176         (acos_test_towardzero): Likewise.
49177         (acos_test_downward): Likewise.
49178         (acos_test_upward): Likewise.
49179         (acosh_test): Likewise.
49180         (asin_test): Likewise.
49181         (asin_test_tonearest): Likewise.
49182         (asin_test_towardzero): Likewise.
49183         (asin_test_downward): Likewise.
49184         (asin_test_upward): Likewise.
49185         (asinh_test): Likewise.
49186         (atan_test): Likewise.
49187         (atanh_test): Likewise.
49188         (atan2_test): Likewise.
49189         (cabs_test): Likewise.
49190         (cacos_test): Use END_COMPLEX macro without arguments.
49191         (cacosh_test): Likewise.
49192         (carg_test): Use END macro without arguments.
49193         (casin_test): Use END_COMPLEX macro without arguments.
49194         (casinh_test): Likewise.
49195         (catan_test): Likewise.
49196         (catanh_test): Likewise.
49197         (cbrt_test): Use END macro without arguments.
49198         (ccos_test): Use END_COMPLEX macro without arguments.
49199         (ccosh_test): Likewise.
49200         (ceil_test): Use END macro without arguments.
49201         (cexp_test): Use END_COMPLEX macro without arguments.
49202         (cimag_test): Use END macro without arguments.
49203         (clog_test): Use END_COMPLEX macro without arguments.
49204         (clog10_test): Likewise.
49205         (conj_test): Likewise.
49206         (copysign_test): Use END macro without arguments.
49207         (cos_test): Likewise.
49208         (cos_test_tonearest): Likewise.
49209         (cos_test_towardzero): Likewise.
49210         (cos_test_downward): Likewise.
49211         (cos_test_upward): Likewise.
49212         (cosh_test): Likewise.
49213         (cosh_test_tonearest): Likewise.
49214         (cosh_test_towardzero): Likewise.
49215         (cosh_test_downward): Likewise.
49216         (cosh_test_upward): Likewise.
49217         (cpow_test): Use END_COMPLEX macro without arguments.
49218         (cproj_test): Likewise.
49219         (creal_test): Use END macro without arguments.
49220         (csin_test): Use END_COMPLEX macro without arguments.
49221         (csinh_test): Likewise.
49222         (csqrt_test): Likewise.
49223         (ctan_test): Likewise.
49224         (ctan_test_tonearest): Likewise.
49225         (ctan_test_towardzero): Likewise.
49226         (ctan_test_downward): Likewise.
49227         (ctan_test_upward): Likewise.
49228         (ctanh_test): Likewise.
49229         (ctanh_test_tonearest): Likewise.
49230         (ctanh_test_towardzero): Likewise.
49231         (ctanh_test_downward): Likewise.
49232         (ctanh_test_upward): Likewise.
49233         (erf_test): Use END macro without arguments.
49234         (erfc_test): Likewise.
49235         (exp_test): Likewise.
49236         (exp_test_tonearest): Likewise.
49237         (exp_test_towardzero): Likewise.
49238         (exp_test_downward): Likewise.
49239         (exp_test_upward): Likewise.
49240         (exp10_test): Likewise.
49241         (exp2_test): Likewise.
49242         (expm1_test): Likewise.
49243         (fabs_test): Likewise.
49244         (fdim_test): Likewise.
49245         (finite_test): Likewise.
49246         (floor_test): Likewise.
49247         (fma_test): Likewise.
49248         (fma_test_towardzero): Likewise.
49249         (fma_test_downward): Likewise.
49250         (fma_test_upward): Likewise.
49251         (fmax_test): Likewise.
49252         (fmin_test): Likewise.
49253         (fmod_test): Likewise.
49254         (fpclassify_test): Likewise.
49255         (frexp_test): Likewise.
49256         (gamma_test): Likewise.
49257         (hypot_test): Likewise.
49258         (ilogb_test): Likewise.
49259         (isfinite_test): Likewise.
49260         (isgreater_test): Likewise.
49261         (isgreaterequal_test): Likewise.
49262         (isinf_test): Likewise.
49263         (isless_test): Likewise.
49264         (islessequal_test): Likewise.
49265         (islessgreater_test): Likewise.
49266         (isnan_test): Likewise.
49267         (isnormal_test): Likewise.
49268         (issignaling_test): Likewise.
49269         (isunordered_test): Likewise.
49270         (j0_test): Likewise.
49271         (j1_test): Likewise.
49272         (jn_test): Likewise.
49273         (ldexp_test): Likewise.
49274         (lgamma_test): Likewise.
49275         (lrint_test): Likewise.
49276         (lrint_test_tonearest): Likewise.
49277         (lrint_test_towardzero): Likewise.
49278         (lrint_test_downward): Likewise.
49279         (lrint_test_upward): Likewise.
49280         (llrint_test): Likewise.
49281         (llrint_test_tonearest): Likewise.
49282         (llrint_test_towardzero): Likewise.
49283         (llrint_test_downward): Likewise.
49284         (llrint_test_upward): Likewise.
49285         (log_test): Likewise.
49286         (log10_test): Likewise.
49287         (log1p_test): Likewise.
49288         (log2_test): Likewise.
49289         (logb_test): Likewise.
49290         (logb_test_downward): Likewise.
49291         (lround_test): Likewise.
49292         (llround_test): Likewise.
49293         (modf_test): Likewise.
49294         (nearbyint_test): Likewise.
49295         (nextafter_test): Likewise.
49296         (nexttoward_test): Likewise.
49297         (pow_test): Likewise.
49298         (pow_test_tonearest): Likewise.
49299         (pow_test_towardzero): Likewise.
49300         (pow_test_downward): Likewise.
49301         (pow_test_upward): Likewise.
49302         (remainder_test): Likewise.
49303         (remainder_test_tonearest): Likewise.
49304         (remainder_test_towardzero): Likewise.
49305         (remainder_test_downward): Likewise.
49306         (remainder_test_upward): Likewise.
49307         (remquo_test): Likewise.
49308         (rint_test): Likewise.
49309         (rint_test_tonearest): Likewise.
49310         (rint_test_towardzero): Likewise.
49311         (rint_test_downward): Likewise.
49312         (rint_test_upward): Likewise.
49313         (round_test): Likewise.
49314         (scalb_test): Likewise.
49315         (scalbn_test): Likewise.
49316         (scalbln_test): Likewise.
49317         (signbit_test): Likewise.
49318         (sin_test): Likewise.
49319         (sin_test_tonearest): Likewise.
49320         (sin_test_towardzero): Likewise.
49321         (sin_test_downward): Likewise.
49322         (sin_test_upward): Likewise.
49323         (sincos_test): Likewise.
49324         (sinh_test): Likewise.
49325         (sinh_test_tonearest): Likewise.
49326         (sinh_test_towardzero): Likewise.
49327         (sinh_test_downward): Likewise.
49328         (sinh_test_upward): Likewise.
49329         (sqrt_test): Likewise.
49330         (tan_test): Likewise.
49331         (tan_test_tonearest): Likewise.
49332         (tan_test_towardzero): Likewise.
49333         (tan_test_downward): Likewise.
49334         (tan_test_upward): Likewise.
49335         (tanh_test): Likewise.
49336         (tgamma_test): Likewise.
49337         (trunc_test): Likewise.
49338         (y0_test): Likewise.
49339         (y1_test): Likewise.
49340         (yn_test): Likewise.
49341         (significand_test): Likewise.
49343 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49345         [BZ #15381]
49346         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49348 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49350         [BZ #14894]
49351         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49352         __ppc_mdoio and __ppc_mdoom.
49353         * manual/platform.texi: Document new functions __ppc_yield,
49354         __ppc_mdoio and __ppc_mdoom.
49356 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49358         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49359         (main): Mention "tls" pseudo-hwcap is legacy.
49360         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49362 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49364         * math/gen-libm-test.pl (parse_args): Output only string of
49365         arguments as text for test name, not full call or descriptions of
49366         tests for extra outputs.
49367         (generate_testfile): Do not pass function name to parse_args.
49368         Generate this_func variable from START.
49369         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49370         field to arg_str.
49371         (struct test_ff_f_data): Likewise.
49372         (test_ff_f_data_nexttoward): Likewise.
49373         (struct test_fi_f_data): Likewise.
49374         (struct test_fl_f_data): Likewise.
49375         (struct test_if_f_data): Likewise.
49376         (struct test_fff_f_data): Likewise.
49377         (struct test_c_f_data): Likewise.
49378         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49379         (struct test_fF_f1_data): Likewise.
49380         (struct test_ffI_f1_data): Likewise.
49381         (struct test_c_c_data): Rename test_name field to arg_str.
49382         (struct test_cc_c_data): Likewise.
49383         (struct test_f_i_data): Likewise.
49384         (struct test_ff_i_data): Likewise.
49385         (struct test_f_l_data): Likewise.
49386         (struct test_f_L_data): Likewise.
49387         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49388         and extra2_name.
49389         (COMMON_TEST_SETUP): New macro.
49390         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49391         (COMMON_TEST_CLEANUP): Likewise.
49392         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49393         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49394         macros.
49395         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49396         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49397         macros.
49398         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49399         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49400         cleanup macros.
49401         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49402         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49403         macros.
49404         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49405         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49406         macros.
49407         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49408         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49409         cleanup macros.
49410         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49411         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49412         cleanup macros.
49413         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49414         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49415         cleanup macros.
49416         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49417         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49418         macros.
49419         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49420         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49421         macros.
49422         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49423         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49424         macros.
49425         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49426         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49427         cleanup macros.
49428         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49429         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49430         cleanup macros.
49431         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49432         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49433         macros.
49434         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49435         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49436         cleanup macros.
49437         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49438         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49439         macros.
49440         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49441         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49442         macros.
49443         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49444         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49445         cleanup macros.
49446         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49448 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49450         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49451         to _sifields.sigfault.
49452         (si_addr_lsb): Define new macro.
49453         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49455         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49457 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49459         [BZ #15441]
49460         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49461         returns -1.
49462         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49463         null return -1.
49464         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49465         loading the domain.
49467 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49469         * math/gen-libm-test.pl (parse_args): Do not include expected
49470         result in test name.
49471         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49472         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49473         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49474         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49475         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49478 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49480         * benchtests/Makefile: Sort function entries.
49482         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49483         tanh, asinh, acosh, atanh.
49484         * benchtests/acos-inputs: New file.
49485         * benchtests/acosh-inputs: New file.
49486         * benchtests/asin-inputs: New file.
49487         * benchtests/asinh-inputs: New file.
49488         * benchtests/atanh-inputs: New file.
49489         * benchtests/cosh-inputs: New file.
49490         * benchtests/log-inputs: New file.
49491         * benchtests/sinh-inputs: New file.
49492         * benchtests/tanh-inputs: New file.
49494 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49496         [BZ #15339]
49497         * posix/tst-getaddrinfo4.c: New test.
49498         * posix/Makefile (tests): Add it.
49500 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49502         [BZ #15339]
49503         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49504         when no services were used.
49505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49506         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49508 2013-05-21  Andreas Schwab  <schwab@suse.de>
49510         [BZ #15014]
49511         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49512         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49513         successful.
49514         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49515         redundant variable declarations and reallocation of buffer when
49516         parsing as IPv6 address.  Always set NSS status when called from
49517         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49518         buffer too small.  Correct computation of needed size.
49519         * nss/Makefile (tests): Add test-digits-dots.
49520         * nss/test-digits-dots.c: New test.
49522 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49524         * benchtests/Makefile: Remove instructions for adding
49525         benchmark tests.
49526         * benchtests/README: New file to explain how to execute and
49527         enhance the benchmark tests.
49529 2013-05-21  Andreas Schwab  <schwab@suse.de>
49531         [BZ #15493]
49532         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49533         * setjmp/tst-sigsetjmp.c: New test.
49535 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49537         * sysdeps/x86_64/memset.S (memset): New implementation.
49538         (__bzero): Likewise.
49539         (__memset_tail): New function.
49541 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49543         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49544         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49545         __memcpy_sse2_unaligned ifunc selection.
49546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49547         Add memcpy-sse2-unaligned.S.
49548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49549         Add: __memcpy_sse2_unaligned.
49551 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49553         [BZ #15490]
49554         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49555         math_force_eval before restoring floating-point envrionment.
49556         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49557         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49558         Likewise.
49559         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49560         <math_private.h>.
49561         (__nearbyintl): Use math_force_eval before restoring
49562         floating-point environment.
49563         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49565         * math/gen-libm-test.pl (special_functions): Remove.
49566         (parse_args): Don't handle TEST_extra.  Handle functions with no
49567         return value.
49568         * math/libm-test.inc (struct test_sincos_data): Replace with
49569         struct test_fFF_11_data.
49570         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49571         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49572         (sincos_test_data): Change element type to struct
49573         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49574         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49575         RUN_TEST_LOOP_sincos.
49576         * math/README.libm-test: Don't mention special handling of
49577         individual functions.
49578         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49580         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49581         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49585         * math/gen-libm-test.pl (get_variable): Remove function.
49586         (parse_args): Don't show pointer parameters to call in test
49587         names.  Use "extra output N" in test names for extra outputs
49588         rather than naming variables.
49590 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49592         [BZ #15488]
49593         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49594         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49595         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49596         double tests.
49597         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49598         disable.
49599         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49600         check_long_double.
49602         * math/gen-libm-test.pl (@tests): Remove variable.
49603         ($count): Likewise.
49604         (new_test): Remove function.
49605         (show_exceptions): New function.
49606         (special_functions): Use show_exceptions instead of new_test.
49607         (parse_args): Likewise.
49608         (generate_testfile): Pass only function name in generated call to
49609         print_max_error or print_complex_max_error.
49610         (get_ulps): Do not handle complex tests specially.
49611         (output_test): Rename to ...
49612         (get_all_ulps_for_test): ... this.  Return a string rather than
49613         printing to a file.  Require ulps to be present.
49614         (output_ulps): Generate arrays rather than #defines.
49615         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49616         (struct ulp_data): New type.
49617         (BUILD_COMPLEX_ULP): Remove macro.
49618         (compare_ulp_data): New function.
49619         (find_ulps): Likewise.
49620         (find_test_ulps): Likewise.
49621         (find_function_ulps): Likewise.
49622         (find_complex_function_ulps): Likewise.
49623         (print_max_error): Determine allowed ulps using
49624         find_function_ulps.
49625         (print_complex_max_error): Determine allowed ulps using
49626         find_complex_function_ulps.
49627         (check_float_internal): Determine max ulps using find_test_ulps.
49628         (check_float): Do not take max_ulp parameter.  Update call to
49629         check_float_internal.
49630         (check_complex): Likewise.
49631         (check_int): Do not take max_ulp parameter.
49632         (check_long): Likewise.
49633         (check_bool): Likewise.
49634         (check_longlong): Likewise.
49635         (struct test_f_f_data): Remove max_ulp field.
49636         (struct test_ff_f_data): Likewise.
49637         (struct test_ff_f_data_nexttoward): Likewise.
49638         (struct test_fi_f_data): Likewise.
49639         (struct test_fl_f_data): Likewise.
49640         (struct test_if_f_data): Likewise.
49641         (struct test_fff_f_data): Likewise.
49642         (struct test_c_f_data): Likewise.
49643         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49644         (struct test_fF_f1_data): Likewise.
49645         (struct test_ffI_f1_data): Likewise.
49646         (struct test_c_c_data): Remove max_ulp field.
49647         (struct test_cc_c_data): Likewise.
49648         (struct test_f_i_data): Likewise.
49649         (struct test_ff_i_data): Likewise.
49650         (struct test_f_l_data): Likewise.
49651         (struct test_f_L_data): Likewise.
49652         (struct test_sincos_data): Likewise.
49653         (RUN_TEST_f_f): Do not handle ulps.
49654         (RUN_TEST_LOOP_f_f): Likewise.
49655         (RUN_TEST_2_f): Likewise.
49656         (RUN_TEST_LOOP_2_f): Likewise.
49657         (RUN_TEST_fff_f): Likewise.
49658         (RUN_TEST_LOOP_fff_f): Likewise.
49659         (RUN_TEST_c_f): Likewise.
49660         (RUN_TEST_LOOP_c_f): Likewise.
49661         (RUN_TEST_f_f1): Likewise.
49662         (RUN_TEST_LOOP_f_f1): Likewise.
49663         (RUN_TEST_fF_f1): Likewise.
49664         (RUN_TEST_LOOP_fF_f1): Likewise.
49665         (RUN_TEST_fI_f1): Likewise.
49666         (RUN_TEST_LOOP_fI_f1): Likewise.
49667         (RUN_TEST_ffI_f1): Likewise.
49668         (RUN_TEST_LOOP_ffI_f1): Likewise.
49669         (RUN_TEST_c_c): Likewise.
49670         (RUN_TEST_LOOP_c_c): Likewise.
49671         (RUN_TEST_cc_c): Likewise.
49672         (RUN_TEST_LOOP_cc_c): Likewise.
49673         (RUN_TEST_f_i): Likewise.
49674         (RUN_TEST_LOOP_f_i): Likewise.
49675         (RUN_TEST_f_i_tg): Likewise.
49676         (RUN_TEST_LOOP_f_i_tg): Likewise.
49677         (RUN_TEST_ff_i_tg): Likewise.
49678         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49679         (RUN_TEST_f_b): Likewise.
49680         (RUN_TEST_LOOP_f_b): Likewise.
49681         (RUN_TEST_f_b_tg): Likewise.
49682         (RUN_TEST_LOOP_f_b_tg): Likewise.
49683         (RUN_TEST_f_l): Likewise.
49684         (RUN_TEST_LOOP_f_l): Likewise.
49685         (RUN_TEST_f_L): Likewise.
49686         (RUN_TEST_LOOP_f_L): Likewise.
49687         (RUN_TEST_sincos): Likewise.
49688         (RUN_TEST_LOOP_sincos): Likewise.
49690 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49692         [BZ #15480]
49693         [BZ #15485]
49694         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49695         main case of finite arguments, set rounding mode to FE_TONEAREST
49696         and discard exceptions.
49697         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49698         exceptions.
49699         (remainder_tonearest_test_data): New variable.
49700         (remainder_test_tonearest): New function.
49701         (remainder_towardzero_test_data): New variable.
49702         (remainder_test_towardzero): New function.
49703         (remainder_downward_test_data): New variable.
49704         (remainder_test_downward): New function.
49705         (remainder_upward_test_data): New variable.
49706         (remainder_test_upward): New function.
49707         (main): Call the new test functions.
49709         * math/libm-test.inc (struct test_f_f1_data): Remove field
49710         extra_init.
49711         (struct test_fF_f1_data): Likewise.
49712         (struct test_ffI_f1_data): Likewise.
49713         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49714         based on value of EXTRA_EXPECTED.
49715         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49716         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49717         EXTRA_VAR based on value of EXTRA_EXPECTED.
49718         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49719         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49720         EXTRA_VAR based on value of EXTRA_EXPECTED.
49721         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49722         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49723         EXTRA_VAR based on value of EXTRA_EXPECTED.
49724         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49725         * math/gen-libm-test.pl (parse_args): Don't output initializers
49726         for extra output values.
49728         * math/libm-test.inc (check_int): Expect result to be exactly
49729         equal to expected value and do not handle ulps.
49730         (check_long): Likewise.
49731         (check_longlong): Likewise.
49733         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49734         exceptions.
49735         (cimag_test_data): Likewise.
49736         (conj_test_data): Likewise.
49737         (copysign_test_data): Likewise.
49738         (cproj_test_data): Likewise.
49739         (creal_test_data): Likewise.
49740         (fabs_test_data): Likewise.
49741         (fdim_test_data): Likewise.
49742         (finite_test_data): Likewise.
49743         (floor_test_data): Likewise.
49744         (fmax_test_data): Likewise.
49745         (fmin_test_data): Likewise.
49746         (fmod_test_data): Likewise.
49747         (fpclassify_test_data): Likewise.
49748         (frexp_test_data): Likewise.
49749         (ilogb_test_data): Likewise.
49750         (isfinite_test_data): Likewise.
49751         (isgreater_test_data): Likewise.
49752         (isgreaterequal_test_data): Likewise.
49753         (isinf_test_data): Likewise.
49754         (isless_test_data): Likewise.
49755         (islessequal_test_data): Likewise.
49756         (islessgreater_test_data): Likewise.
49757         (isnan_test_data): Likewise.
49758         (isnormal_test_data): Likewise.
49759         (issignaling_test_data): Likewise.
49760         (isunordered_test_data): Likewise.
49761         (ldexp_test_data): Likewise.
49762         (lrint_test_data): Likewise.
49763         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49764         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49765         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49766         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49767         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49768         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49769         test input.
49770         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49771         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49772         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49773         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49774         that test input.
49775         (lrint_downward_test_data): Test for "inexact" exceptions.
49776         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49777         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49778         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49779         test input.
49780         (lrint_upward_test_data): Test for "inexact" exceptions.
49781         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49782         test input.
49783         (llrint_test_data): Test for "inexact" exceptions.
49784         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49785         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49786         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49787         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49788         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49789         (llrint_downward_test_data): Test for "inexact" exceptions.
49790         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49791         (llrint_upward_test_data): Test for "inexact" exceptions.
49792         (logb_test_data): Likewise.
49793         (logb_downward_test_data): Likewise.
49794         (nextafter_test_data): Likewise.
49795         (nexttoward_test_data): Likewise.
49796         (remainder_test_data): Likewise.
49797         (remquo_test_data): Likewise.
49798         (scalbn_test_data): Likewise.
49799         (scalbln_test_data): Likewise.
49800         (signbit_test_data): Likewise.
49801         (sqrt_test_data): Likewise.
49802         (significand_test_data): Likewise.
49804 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49806         [BZ #15424]
49807         * benchtests/bench-modf.c (struct args): Mark arg0 as
49808         volatile.
49809         * scripts/bench.pl: Mark members of struct args as volatile.
49811 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49813         [BZ # 15497]
49814         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49815         negative infinity on POWER6 or lower.
49816         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49818 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49820         [BZ #15442]
49821         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49822         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49823         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49824         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49825         (_FP_SETQNAN): New macro.
49826         (_FP_SETQNAN_SEMIRAW): Likewise.
49827         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49828         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49829         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49830         (FP_EXTEND): Use _FP_FRAC_SNANP.
49831         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49832         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49833         into account.
49834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49835         New macro.
49836         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49837         Likewise.
49839 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49841         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49842         with DIVIDE_BY_ZERO_EXCEPTION.
49843         (gamma_test_data): Likewise.
49844         (lgamma_test_data): Likewise.
49845         (log_test_data): Likewise.
49846         (log10_test_data): Likewise.
49847         (log2_test_data): Likewise.
49848         (tgamma_test_data): Likewise.
49850         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49851         (acos_test_tonearest): Likewise.
49852         (acos_test_towardzero): Likewise.
49853         (acos_test_downward): Likewise.
49854         (acos_test_upward): Likewise.
49855         (acosh_test): Likewise.
49856         (asin_test): Likewise.
49857         (asin_test_tonearest): Likewise.
49858         (asin_test_towardzero): Likewise.
49859         (asin_test_downward): Likewise.
49860         (asin_test_upward): Likewise.
49861         (asinh_test): Likewise.
49862         (atan_test): Likewise.
49863         (atanh_test): Likewise.
49864         (atan2_test): Likewise.
49865         (cabs_test): Likewise.
49866         (cacos_test): Likewise.
49867         (cacosh_test): Likewise.
49868         (casin_test): Likewise.
49869         (casinh_test): Likewise.
49870         (catan_test): Likewise.
49871         (catanh_test): Likewise.
49872         (cbrt_test): Likewise.
49873         (ccos_test): Likewise.
49874         (ccosh_test): Likewise.
49875         (cexp_test): Likewise.
49876         (clog_test): Likewise.
49877         (clog10_test): Likewise.
49878         (cos_test): Likewise.
49879         (cos_test_tonearest): Likewise.
49880         (cos_test_towardzero): Likewise.
49881         (cos_test_downward): Likewise.
49882         (cos_test_upward): Likewise.
49883         (cosh_test): Likewise.
49884         (cosh_test_tonearest): Likewise.
49885         (cosh_test_towardzero): Likewise.
49886         (cosh_test_downward): Likewise.
49887         (cosh_test_upward): Likewise.
49888         (cpow_test): Likewise.
49889         (csin_test): Likewise.
49890         (csinh_test): Likewise.
49891         (csqrt_test): Likewise.
49892         (ctan_test): Likewise.
49893         (ctan_test_tonearest): Likewise.
49894         (ctan_test_towardzero): Likewise.
49895         (ctan_test_downward): Likewise.
49896         (ctan_test_upward): Likewise.
49897         (ctanh_test): Likewise.
49898         (ctanh_test_tonearest): Likewise.
49899         (ctanh_test_towardzero): Likewise.
49900         (ctanh_test_downward): Likewise.
49901         (ctanh_test_upward): Likewise.
49902         (erf_test): Likewise.
49903         (erfc_test): Likewise.
49904         (exp_test): Likewise.
49905         (exp_test_tonearest): Likewise.
49906         (exp_test_towardzero): Likewise.
49907         (exp_test_downward): Likewise.
49908         (exp_test_upward): Likewise.
49909         (exp10_test): Likewise.
49910         (exp2_test): Likewise.
49911         (expm1_test): Likewise.
49912         (fmod_test): Likewise.
49913         (gamma_test): Likewise.
49914         (hypot_test): Likewise.
49915         (j0_test): Likewise.
49916         (j1_test): Likewise.
49917         (jn_test): Likewise.
49918         (lgamma_test): Likewise.
49919         (log_test): Likewise.
49920         (log10_test): Likewise.
49921         (log1p_test): Likewise.
49922         (log2_test): Likewise.
49923         (logb_test_downward): Likewise.
49924         (pow_test): Likewise.
49925         (pow_test_tonearest): Likewise.
49926         (pow_test_towardzero): Likewise.
49927         (pow_test_downward): Likewise.
49928         (pow_test_upward): Likewise.
49929         (remainder_test): Likewise.
49930         (remquo_test): Likewise.
49931         (sin_test): Likewise.
49932         (sin_test_tonearest): Likewise.
49933         (sin_test_towardzero): Likewise.
49934         (sin_test_downward): Likewise.
49935         (sin_test_upward): Likewise.
49936         (sincos_test): Likewise.
49937         (sinh_test): Likewise.
49938         (sinh_test_tonearest): Likewise.
49939         (sinh_test_towardzero): Likewise.
49940         (sinh_test_downward): Likewise.
49941         (sinh_test_upward): Likewise.
49942         (sqrt_test): Likewise.
49943         (tan_test): Likewise.
49944         (tan_test_tonearest): Likewise.
49945         (tan_test_towardzero): Likewise.
49946         (tan_test_downward): Likewise.
49947         (tan_test_upward): Likewise.
49948         (tanh_test): Likewise.
49949         (tgamma_test): Likewise.
49950         (y0_test): Likewise.
49951         (y1_test): Likewise.
49952         (yn_test): Likewise.
49954         * math/gen-libm-test.pl (adjust_arg): Remove function.
49955         (special_function): Remove argument $in_func.  Only handle
49956         generating output for tables of tests, not inside functions.
49957         (parse_args): Likewise.
49958         (generate_testfile): Remove variable $in_func.  Update call to
49959         parse_args.
49960         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49961         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49962         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49963         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49964         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49965         (MAX_VALUE_INIT): Rename macro to max_value.
49966         (MIN_VALUE_INIT): Rename macro to min_value.
49967         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49968         (plus_zero): Remove variable.
49969         (minus_zero): Likewise.
49970         (plus_infty): Likewise.
49971         (minus_infty): Likewise.
49972         (qnan_value): Likewise.
49973         (max_value): Likewise.
49974         (min_value): Likewise.
49975         (min_subnorm_value): Likewise.
49977 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49979         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49980         uint64_t or uint32_t usage.
49981         * crypt/sha256-block.c: Likewise.
49982         * crypt/sha256-crypt.c: Likewise.
49983         * crypt/sha256.c: Likewise.
49984         * crypt/sha512-block.c: Likewise.
49985         * crypt/sha512-crypt.c: Likewise.
49986         * crypt/sha512.c: Likewise.
49987         * debug/backtrace-tst.c: Likewise.
49988         * debug/pcprofiledump.c: Likewise.
49989         * elf/cache.c: Likewise.
49990         * elf/dl-cache.c: Likewise.
49991         * elf/dl-misc.c: Likewise.
49992         * elf/dl-profile.c: Likewise.
49993         * elf/dl-support.c: Likewise.
49994         * elf/ldconfig.c: Likewise.
49995         * elf/sprof.c: Likewise.
49996         * iconv/dummy-repertoire.c: Likewise.
49997         * iconv/iconv_charmap.c: Likewise.
49998         * iconv/skeleton.c: Likewise.
49999         * iconvdata/8bit-generic.c: Likewise.
50000         * iconvdata/cp737.h: Likewise.
50001         * iconvdata/cp775.h: Likewise.
50002         * iconvdata/ibm1008.h: Likewise.
50003         * iconvdata/ibm1025.h: Likewise.
50004         * iconvdata/ibm1046.h: Likewise.
50005         * iconvdata/ibm1097.h: Likewise.
50006         * iconvdata/ibm1112.h: Likewise.
50007         * iconvdata/ibm1122.h: Likewise.
50008         * iconvdata/ibm1123.h: Likewise.
50009         * iconvdata/ibm1124.h: Likewise.
50010         * iconvdata/ibm1129.h: Likewise.
50011         * iconvdata/ibm1130.h: Likewise.
50012         * iconvdata/ibm1132.h: Likewise.
50013         * iconvdata/ibm1133.h: Likewise.
50014         * iconvdata/ibm1137.h: Likewise.
50015         * iconvdata/ibm1140.h: Likewise.
50016         * iconvdata/ibm1141.h: Likewise.
50017         * iconvdata/ibm1142.h: Likewise.
50018         * iconvdata/ibm1143.h: Likewise.
50019         * iconvdata/ibm1144.h: Likewise.
50020         * iconvdata/ibm1145.h: Likewise.
50021         * iconvdata/ibm1146.h: Likewise.
50022         * iconvdata/ibm1147.h: Likewise.
50023         * iconvdata/ibm1148.h: Likewise.
50024         * iconvdata/ibm1149.h: Likewise.
50025         * iconvdata/ibm1153.h: Likewise.
50026         * iconvdata/ibm1154.h: Likewise.
50027         * iconvdata/ibm1155.h: Likewise.
50028         * iconvdata/ibm1156.h: Likewise.
50029         * iconvdata/ibm1157.h: Likewise.
50030         * iconvdata/ibm1158.h: Likewise.
50031         * iconvdata/ibm1160.h: Likewise.
50032         * iconvdata/ibm1161.h: Likewise.
50033         * iconvdata/ibm1162.h: Likewise.
50034         * iconvdata/ibm1163.h: Likewise.
50035         * iconvdata/ibm1164.h: Likewise.
50036         * iconvdata/ibm1166.h: Likewise.
50037         * iconvdata/ibm1167.h: Likewise.
50038         * iconvdata/ibm12712.h: Likewise.
50039         * iconvdata/ibm1390.h: Likewise.
50040         * iconvdata/ibm1399.h: Likewise.
50041         * iconvdata/ibm16804.h: Likewise.
50042         * iconvdata/ibm4517.h: Likewise.
50043         * iconvdata/ibm4899.h: Likewise.
50044         * iconvdata/ibm4909.h: Likewise.
50045         * iconvdata/ibm4971.h: Likewise.
50046         * iconvdata/ibm5347.h: Likewise.
50047         * iconvdata/ibm803.h: Likewise.
50048         * iconvdata/ibm856.h: Likewise.
50049         * iconvdata/ibm901.h: Likewise.
50050         * iconvdata/ibm902.h: Likewise.
50051         * iconvdata/ibm9030.h: Likewise.
50052         * iconvdata/ibm9066.h: Likewise.
50053         * iconvdata/ibm921.h: Likewise.
50054         * iconvdata/ibm922.h: Likewise.
50055         * iconvdata/ibm9448.h: Likewise.
50056         * iconvdata/isiri-3342.h: Likewise.
50057         * iconvdata/jis0201.h: Likewise.
50058         * include/link.h: Likewise.
50059         * include/netdb.h: Likewise.
50060         * inet/check_native.c: Likewise.
50061         * inet/check_pf.c: Likewise.
50062         * inet/getipv4sourcefilter.c: Likewise.
50063         * inet/getnameinfo.c: Likewise.
50064         * inet/getsourcefilter.c: Likewise.
50065         * inet/htonl.c: Likewise.
50066         * inet/setipv4sourcefilter.c: Likewise.
50067         * inet/setsourcefilter.c: Likewise.
50068         * inet/test-inet6_opt.c: Likewise.
50069         * inet/tst-network.c: Likewise.
50070         * locale/C-collate.c: Likewise.
50071         * locale/C-ctype.c: Likewise.
50072         * locale/C-time.c: Likewise.
50073         * locale/C-translit.h: Likewise.
50074         * locale/loadarchive.c: Likewise.
50075         * locale/programs/3level.h: Likewise.
50076         * locale/programs/charmap.c: Likewise.
50077         * locale/programs/charmap.h: Likewise.
50078         * locale/programs/ld-address.c: Likewise.
50079         * locale/programs/ld-collate.c: Likewise.
50080         * locale/programs/ld-ctype.c: Likewise.
50081         * locale/programs/ld-identification.c: Likewise.
50082         * locale/programs/ld-measurement.c: Likewise.
50083         * locale/programs/ld-messages.c: Likewise.
50084         * locale/programs/ld-monetary.c: Likewise.
50085         * locale/programs/ld-name.c: Likewise.
50086         * locale/programs/ld-numeric.c: Likewise.
50087         * locale/programs/ld-paper.c: Likewise.
50088         * locale/programs/ld-telephone.c: Likewise.
50089         * locale/programs/ld-time.c: Likewise.
50090         * locale/programs/linereader.c: Likewise.
50091         * locale/programs/locale.c: Likewise.
50092         * locale/programs/locarchive.c: Likewise.
50093         * locale/programs/locfile.h: Likewise.
50094         * locale/programs/repertoire.c: Likewise.
50095         * locale/programs/simple-hash.c: Likewise.
50096         * locale/programs/simple-hash.h: Likewise.
50097         * malloc/memusage.c: Likewise.
50098         * malloc/memusagestat.c: Likewise.
50099         * nis/nis_defaults.c: Likewise.
50100         * nis/nis_hash.c: Likewise.
50101         * nis/nis_print.c: Likewise.
50102         * nis/nis_xdr.c: Likewise.
50103         * nscd/connections.c: Likewise.
50104         * nscd/hstcache.c: Likewise.
50105         * nscd/nscd_gethst_r.c: Likewise.
50106         * nscd/nscd_getserv_r.c: Likewise.
50107         * nscd/nscd_helper.c: Likewise.
50108         * nscd/servicescache.c: Likewise.
50109         * nss/makedb.c: Likewise.
50110         * nss/nss_db/db-XXX.c: Likewise.
50111         * nss/nss_db/db-initgroups.c: Likewise.
50112         * nss/nss_db/db-netgrp.c: Likewise.
50113         * nss/nss_files/files-network.c: Likewise.
50114         * nss/nss_files/files-parse.c: Likewise.
50115         * posix/bug-regex5.c: Likewise.
50116         * posix/fnmatch_loop.c: Likewise.
50117         * posix/regcomp.c: Likewise.
50118         * posix/regexec.c: Likewise.
50119         * posix/tst-rfc3484-2.c: Likewise.
50120         * posix/tst-rfc3484-3.c: Likewise.
50121         * posix/tst-rfc3484.c: Likewise.
50122         * resolv/nss_dns/dns-canon.c: Likewise.
50123         * resolv/nss_dns/dns-network.c: Likewise.
50124         * resolv/res_init.c: Likewise.
50125         * resolv/res_mkquery.c: Likewise.
50126         * resolv/tst-aton.c: Likewise.
50127         * stdlib/cxa_atexit.c: Likewise.
50128         * stdlib/cxa_finalize.c: Likewise.
50129         * stdlib/gen-fpioconst.c: Likewise.
50130         * stdlib/strtol_l.c: Likewise.
50131         * string/tst-endian.c: Likewise.
50132         * sunrpc/auth_des.c: Likewise.
50133         * sunrpc/clnt_udp.c: Likewise.
50134         * sunrpc/rtime.c: Likewise.
50135         * sunrpc/svcauth_des.c: Likewise.
50136         * sunrpc/xdr.c: Likewise.
50137         * sunrpc/xdr_intXX_t.c: Likewise.
50138         * sunrpc/xdr_rec.c: Likewise.
50139         * sysdeps/generic/ldconfig.h: Likewise.
50140         * sysdeps/generic/ldsodefs.h: Likewise.
50141         * sysdeps/generic/memusage.h: Likewise.
50142         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50143         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50144         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50145         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50146         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50148         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50149         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50150         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50152         * sysdeps/posix/getaddrinfo.c: Likewise.
50153         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50154         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50155         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50156         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50157         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50158         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50159         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50160         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50161         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50162         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50163         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50164         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50165         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50166         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50167         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50168         * sysdeps/x86_64/dl-tls.h: Likewise.
50169         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50170         * time/alt_digit.c: Likewise.
50171         * time/era.c: Likewise.
50172         * wcsmbs/tst-c16c32-1.c: Likewise.
50174 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50176         * math/libm-test.inc (struct test_sincos_data): New type.
50177         (RUN_TEST_LOOP_sincos): New macro.
50178         (sincos_test_data): New variable.
50179         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50181 2013-05-16  Richard Henderson  <rth@redhat.com>
50183         * math/atest-exp2.c (LIMB64): New macro.
50184         (CONSTSZ): New macro.
50185         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50186         (hexdig): Move ...
50187         (print_mpn_fp): ... to function scope.
50188         (read_mpn_hex): Remove.
50189         (get_log2): Remove.
50190         (exp2_mpn): Use mp_log2.
50191         (main): Use mp_exp1.
50193 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50195         * math/libm-test.inc: Remove comment about not testing "inexact"
50196         exceptions.
50197         (INEXACT_EXCEPTION): New macro.
50198         (NO_INEXACT_EXCEPTION): Likewise.
50199         (INVALID_EXCEPTION_OK): Update value.
50200         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50201         (OVERFLOW_EXCEPTION_OK): Likewise.
50202         (UNDERFLOW_EXCEPTION_OK): Likewise.
50203         (IGNORE_ZERO_INF_SIGN): Likewise.
50204         (ERRNO_UNCHANGED): Likewise.
50205         (ERRNO_EDOM): Likewise.
50206         (ERRNO_ERANGE): Likewise.
50207         (test_exceptions): Handle testing "inexact" exceptions.
50208         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50209         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50210         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50211         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50212         INEXACT_EXCEPTION.
50213         (rint_towardzero_test_data): Likewise.
50214         (rint_downward_test_data): Likewise.
50215         (rint_upward_test_data): Likewise.
50217         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50218         with OVERFLOW_EXCEPTION.
50219         (exp10_test_data): Likewise.
50220         (exp2_test_data): Likewise.
50221         (expm1_test_data): Likewise.
50222         (lgamma_test_data): Likewise.
50223         (pow_test_data): Likewise.
50224         (tgamma_test_data): Likewise.
50225         (yn_test_data): Remove duplicate test of overflow.
50227         * math/libm-test.inc (struct test_cc_c_data): New type.
50228         (RUN_TEST_LOOP_cc_c): New macro.
50229         (cpow_test_data): New variable.
50230         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50232         * math/libm-test.inc (struct test_f_L_data): New type.
50233         (RUN_TEST_LOOP_f_L): New macro.
50234         (llrint_test_data): New variable.
50235         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50236         (llrint_tonearest_test_data): New variable.
50237         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50238         (llrint_towardzero_test_data): New variable.
50239         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50240         (llrint_downward_test_data): New variable.
50241         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50242         (llrint_upward_test_data): New variable.
50243         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50244         (llround_test_data): New variable.
50245         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50247 2013-05-13  Peter Collingbourne  <pcc@google.com>
50249         * math/atest-exp2.c (get_log2): Remove const attribute.
50251 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50253         * math/libm-test.inc (struct test_f_l_data): New type.
50254         (RUN_TEST_LOOP_f_l): New macro.
50255         (lrint_test_data): New variable.
50256         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50257         (lrint_tonearest_test_data): New variable.
50258         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50259         (lrint_towardzero_test_data): New variable.
50260         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50261         (lrint_downward_test_data): New variable.
50262         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50263         (lrint_upward_test_data): New variable.
50264         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50265         (lround_test_data): New variable.
50266         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50268 2013-05-15  Peter Collingbourne  <pcc@google.com>
50270         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50271         (EXTRACT_WORDS64) Use where appropriate.
50272         (INSERT_WORDS64) Likewise.
50274         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50275         constraints with x constraints.
50276         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50278         * malloc/obstack.c (_obstack_compat): Add initializer.
50280 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50283         si_trapno and add si_addr_lsb to _sifields.sigfault.
50284         (si_trapno): Remove macro.
50285         (si_addr_lsb): Define new macro.
50286         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50288 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50290         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50291         instead of TEST_f_l.
50292         (llrint_test_tonearest): Likewise.
50293         (llrint_test_towardzero): Likewise.
50294         (llrint_test_downward): Likewise.
50295         (llrint_test_upward): Likewise.
50296         (llround_test): Likewise.
50298         * math/libm-test.inc (struct test_f_i_data): Add comment.
50299         (RUN_TEST_LOOP_f_b): New macro.
50300         (RUN_TEST_LOOP_f_b_tg): Likewise.
50301         (finite_test_data): New variable.
50302         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50303         (isfinite_test_data): New variable.
50304         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50305         (isinf_test_data): New variable.
50306         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50307         (isnan_test_data): New variable.
50308         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50309         (isnormal_test_data): New variable.
50310         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50311         (issignaling_test_data): New variable.
50312         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50313         (signbit_test_data): New variable.
50314         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50316         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50317         with INVALID_EXCEPTION.
50318         (acosh_test_data): Likewise.
50319         (asin_test_data): Likewise.
50320         (atanh_test_data): Likewise.
50321         (fmod_test_data): Likewise.
50322         (log_test_data): Likewise.
50323         (log10_test_data): Likewise.
50324         (log2_test_data): Likewise.
50325         (pow_test_data): Likewise.
50326         (sqrt_test_data): Likewise.
50327         (y0_test_data): Likewise.
50328         (y1_test_data): Likewise.
50329         (yn_test_data): Likewise.
50331         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50332         function contents.
50334         * math/libm-test.inc (struct test_ff_i_data): New type.
50335         (RUN_TEST_LOOP_ff_i_tg): New macro.
50336         (isgreater_test_data): New variable.
50337         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50338         (isgreaterequal_test_data): New variable.
50339         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50340         (isless_test_data): New variable.
50341         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50342         (islessequal_test_data): New variable.
50343         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50344         (islessgreater_test_data): New variable.
50345         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50346         (isunordered_test_data): New variable.
50347         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50349 2013-05-14  David S. Miller  <davem@davemloft.net>
50351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50353 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50355         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50357         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50358         extra_test to int.
50359         (struct test_f_i_data): Change type of max_ulp to int.
50361         * math/libm-test.inc (test_ffI_f1_data): New type.
50362         (RUN_TEST_LOOP_ffI_f1): New macro.
50363         (remquo_test_data): New variable.
50364         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50366         * setjmp/tst-setjmp-fp.c: New file.
50367         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50368         (link-libm): New variable.
50369         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50371         * math/libm-test.inc (struct test_f_i_data): New type.
50372         (RUN_TEST_LOOP_f_i): New macro.
50373         (RUN_TEST_LOOP_f_i_tg): Likewise.
50374         (fpclassify_test_data): New variable.
50375         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50376         (ilogb_test_data): New variable.
50377         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50379         * math/libm-test.inc (scalbln_test): Correct function name in END
50380         call.
50382         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50383         (RUN_TEST_LOOP_fI_f1): New macro.
50384         (frexp_test_data): New variable.
50385         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50387         * math/libm-test.inc (struct test_fF_f1_data): New type.
50388         (RUN_TEST_LOOP_fF_f1): New macro.
50389         (modf_test_data): New variable.
50390         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50392         * math/libm-test.inc (struct test_f_f1_data): New type.
50393         (RUN_TEST_LOOP_f_f1): New macro.
50394         (gamma_test_data): New variable.
50395         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50396         (lgamma_test_data): New variable.
50397         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50399 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50401         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50402         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50403         (main): Comment "tls" pseudo-hwcap.
50405 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50407         * math/libm-test.inc (struct test_fl_f_data): New type.
50408         (RUN_TEST_LOOP_fl_f): New variable.
50409         (scalbln_test_data): New variable.
50410         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50412         * math/libm-test.inc (struct test_fi_f_data): New type.
50413         (RUN_TEST_LOOP_fi_f): New macro.
50414         (ldexp_test_data): New variable.
50415         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50416         (scalbn_test_data): New variable.
50417         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50419         * math/libm-test.inc (struct test_c_f_data): New type.
50420         (RUN_TEST_LOOP_c_f): New macro.
50421         (cabs_test_data): New variable.
50422         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50423         (carg_test_data): New variable.
50424         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50425         (cimag_test_data): New variable.
50426         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50427         (creal_test_data): New variable.
50428         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50430         * math/libm-test.inc (struct test_if_f_data): New type.
50431         (RUN_TEST_LOOP_if_f): New macro.
50432         (jn_test_data): New variable.
50433         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50434         (yn_test_data): New variable.
50435         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50437         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50439 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50441         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50442         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50444 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50446         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50447         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50448         (bench-deps): Add bench-timing.h.
50449         * benchtests-bench-skeleton.c: Include bench-timing.h.
50450         (main): Use TIMING_* macros instead of clock_gettime.
50451         * benchtests/bench-timing.h: New file.
50453         [BZ #14582]
50454         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50455         Renamed from _LIB_VERSION.
50456         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50458 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50460         * math/libm-test.inc (struct test_fff_f_data): New type.
50461         (RUN_TEST_LOOP_fff_f): New macro.
50462         (fma_test_data): New variable.
50463         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50464         (fma_towardzero_test_data): New variable.
50465         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50466         (fma_downward_test_data): New variable.
50467         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50468         (fma_upward_test_data): New variable.
50469         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50471         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50472         (struct test_c_c_data): New type.
50473         (RUN_TEST_LOOP_c_c): New macro.
50474         (cacos_test_data): New variable.
50475         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50476         (cacosh_test_data): New variable.
50477         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50478         (casin_test_data): New variable.
50479         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50480         (casinh_test_data): New variable.
50481         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50482         (catan_test_data): New variable.
50483         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50484         (catanh_test_data): New variable.
50485         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50486         (ccos_test_data): New variable.
50487         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50488         (ccosh_test_data): New variable.
50489         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50490         (cexp_test_data): New variable.
50491         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50492         (clog_test_data): New variable.
50493         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50494         (clog10_test_data): New variable.
50495         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50496         (conj_test_data): New variable.
50497         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50498         (cproj_test_data): New variable.
50499         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50500         (csin_test_data): New variable.
50501         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50502         (csinh_test_data): New variable.
50503         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50504         (csqrt_test_data): New variable.
50505         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50506         (ctan_test_data): New variable.
50507         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50508         (ctan_tonearest_test_data): New variable.
50509         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50510         (ctan_towardzero_test_data): New variable.
50511         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50512         (ctan_downward_test_data): New variable.
50513         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50514         (ctan_upward_test_data): New variable.
50515         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50516         (ctanh_test_data): New variable.
50517         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50518         (ctanh_tonearest_test_data): New variable.
50519         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50520         (ctanh_towardzero_test_data): New variable.
50521         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50522         (ctanh_downward_test_data): New variable.
50523         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50524         (ctanh_upward_test_data): New variable.
50525         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50526         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50527         of BUILD_COMPLEX.
50529         * math/libm-test.inc (struct test_ff_f_data): New type.
50530         (struct test_ff_f_data_nexttoward): Likewise.
50531         (RUN_TEST_LOOP_2_f): New macro.
50532         (RUN_TEST_LOOP_ff_f): Likewise.
50533         (atan2_test_data): New variable.
50534         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50535         (copysign_test_data): New variable.
50536         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50537         (fdim_test_data): New variable.
50538         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50539         (fmax_test_data): New variable.
50540         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50541         (fmin_test_data): New variable.
50542         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50543         (fmod_test_data): New variable.
50544         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50545         (hypot_test_data): New variable.
50546         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50547         (nextafter_test_data): New variable.
50548         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50549         (nexttoward_test_data): New variable.
50550         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50551         (pow_test_data): New variable.
50552         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50553         (pow_tonearest_test_data): New variable.
50554         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50555         (pow_towardzero_test_data): New variable.
50556         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50557         (pow_downward_test_data): New variable.
50558         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50559         (pow_upward_test_data): New variable.
50560         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50561         (remainder_test_data): New variable.
50562         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50563         (scalb_test_data): New variable.
50564         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50565         * sysdeps/i386/fpu/libm-test-ulps: Update.
50567 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50569         * math/libm-test.inc (fma_test): Use max_value instead of local
50570         variable fltmax.
50571         (nextafter_test): Likewise.
50573         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50574         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50575         (acos_downward_test_data): New variable.
50576         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50577         (acos_upward_test_data): New variable.
50578         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50579         (acosh_test_data): New variable.
50580         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50581         (asin_test_data): New variable.
50582         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50583         (asin_tonearest_test_data): New variable.
50584         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50585         (asin_towardzero_test_data): New variable.
50586         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50587         (asin_downward_test_data): New variable.
50588         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50589         (asin_upward_test_data): New variable.
50590         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50591         (asinh_test_data): New variable.
50592         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50593         (atan_test_data): New variable.
50594         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50595         (atanh_test_data): New variable.
50596         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50597         (cbrt_test_data): New variable.
50598         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50599         (ceil_test_data): New variable.
50600         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50601         (cos_test_data): New variable.
50602         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50603         (cos_tonearest_test_data): New variable.
50604         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50605         (cos_towardzero_test_data): New variable.
50606         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50607         (cos_downward_test_data): New variable.
50608         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50609         (cos_upward_test_data): New variable.
50610         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50611         (cosh_test_data): New variable.
50612         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50613         (cosh_tonearest_test_data): New variable.
50614         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50615         (cosh_towardzero_test_data): New variable.
50616         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50617         (cosh_downward_test_data): New variable.
50618         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50619         (cosh_upward_test_data): New variable.
50620         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50621         (erf_test_data): New variable.
50622         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50623         (erfc_test_data): New variable.
50624         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50625         (exp_test_data): New variable.
50626         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50627         (exp_tonearest_test_data): New variable.
50628         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50629         (exp_towardzero_test_data): New variable.
50630         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50631         (exp_downward_test_data): New variable.
50632         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50633         (exp_upward_test_data): New variable.
50634         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50635         (exp10_test_data): New variable.
50636         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50637         (exp2_test_data): New variable.
50638         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50639         (expm1_test_data): New variable.
50640         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50641         (fabs_test_data): New variable.
50642         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50643         (floor_test_data): New variable.
50644         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50645         (j0_test_data): New variable.
50646         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50647         (j1_test_data): New variable.
50648         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50649         (log_test_data): New variable.
50650         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50651         (log10_test_data): New variable.
50652         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50653         (log1p_test_data): New variable.
50654         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50655         (log2_test_data): New variable.
50656         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50657         (logb_test_data): New variable.
50658         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50659         (logb_downward_test_data): New variable.
50660         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50661         (nearbyint_test_data): New variable.
50662         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50663         (rint_test_data): New variable.
50664         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50665         (rint_tonearest_test_data): New variable.
50666         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50667         (rint_towardzero_test_data): New variable.
50668         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50669         (rint_downward_test_data): New variable.
50670         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50671         (rint_upward_test_data): New variable.
50672         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50673         (round_test_data): New variable.
50674         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50675         (sin_test_data): New variable.
50676         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50677         (sin_tonearest_test_data): New variable.
50678         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50679         (sin_towardzero_test_data): New variable.
50680         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50681         (sin_downward_test_data): New variable.
50682         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50683         (sin_upward_test_data): New variable.
50684         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50685         (sinh_test_data): New variable.
50686         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50687         (sinh_tonearest_test_data): New variable.
50688         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50689         (sinh_towardzero_test_data): New variable.
50690         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50691         (sinh_downward_test_data): New variable.
50692         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50693         (sinh_upward_test_data): New variable.
50694         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50695         (sqrt_test_data): New variable.
50696         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50697         (tan_test_data): New variable.
50698         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50699         (tan_tonearest_test_data): New variable.
50700         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50701         (tan_towardzero_test_data): New variable.
50702         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50703         (tan_downward_test_data): New variable.
50704         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50705         (tan_upward_test_data): New variable.
50706         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50707         (tanh_test_data): New variable.
50708         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50709         (tgamma_test_data): New variable.
50710         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50711         (trunc_test_data): New variable.
50712         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50713         (y0_test_data): New variable.
50714         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50715         (y1_test_data): New variable.
50716         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50717         (significand_test_data): New variable.
50718         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50720 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50722         [BZ #12387]
50723         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50725 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50727         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50729 2013-05-10  Andreas Jaeger  <aj@suse.de>
50731         [BZ #15448]
50732         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50733         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50735 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50737         * math/gen-libm-test.pl (adjust_arg): New function.
50738         (special_functions): Handle generating output in both functions
50739         and arrays.
50740         (parse_args): Likewise.
50741         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50742         $in_func argument to parse_args.
50743         * math/libm-test.inc (struct test_f_f_data): New type.
50744         (IF_ROUND_INIT_): New macro.
50745         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50746         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50747         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50748         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50749         (ROUND_RESTORE_): Likewise.
50750         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50751         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50752         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50753         (ROUND_RESTORE_FE_UPWARD): Likewise.
50754         (RUN_TEST_LOOP_f_f): New macro.
50755         (acos_test_data): New variable.
50756         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50757         (acos_tonearest_test_data): New variable.
50758         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50760 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50762         * benchtests/bench-skeleton.c (startup): Fix coding style.
50764 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50766         [BZ #6809]
50767         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50768         negative infinity argument.
50769         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50770         negative infinity argument.
50771         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50772         negative infinity argument.
50773         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50774         domain errors.
50776 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50778         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50779         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50780         * iconv/iconv_prog.c (main): Likewise.
50781         * locale/programs/charmap-dir.c (charmap_readdir)
50782         (fopen_uncompressed): Likewise.
50783         * locale/programs/locfile.c (siblings_uncached)
50784         (write_locale_data): Use lstat64 instead of lstat.
50785         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50786         stat.
50788 2013-05-10  Andreas Jaeger  <aj@suse.de>
50790         [BZ #15395]
50791         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50792         localization.
50793         Include <locale.h>.
50795 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50797         * elf/dl-close.c (_dl_close_worker): Add comments.
50799 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50801         [BZ #15359]
50802         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50803         high part of pi/2.
50804         (__ieee754_rem_pio2l): Update comments.
50806         [BZ #15429]
50807         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50808         high part of pi/2.
50809         (__ieee754_rem_pio2l): Update comments.
50811         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50812         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50814         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50815         M_PI_4l.
50817         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50818         (M_PI_34_LOG10El): Likewise.
50819         (M_PI2_LOG10El): Likewise.
50820         (M_PI4_LOG10El): Likewise.
50821         (M_PI_LOG10El): Likewise.
50823 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50827 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50829         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50830         (MINUS_ZERO_INIT): Likewise.
50831         (PLUS_INFTY_INIT): Likewise.
50832         (MINUS_INFTY_INIT): Likewise.
50833         (QNAN_VALUE_INIT): Likewise.
50834         (MAX_VALUE_INIT): Likewise.
50835         (MIN_VALUE_INIT): Likewise.
50836         (MIN_SUBNORM_VALUE_INIT): Likewise.
50837         (plus_zero): Initialize with PLUS_ZERO_INIT.
50838         (minus_zero): Initialize with MINUS_ZERO_INIT.
50839         (plus_infty): Initialize with PLUS_INFTY_INIT.
50840         (minus_infty): Initialize with MINUS_INFTY_INIT.
50841         (qnan_value): Initialize with QNAN_VALUE_INIT.
50842         (max_value): Initialize with MAX_VALUE_INIT.
50843         (min_value): Initialize with MIN_VALUE_INIT.
50844         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50846         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50847         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50848         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50849         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50851         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50852         (RUN_TEST_2_f): Likewise.
50853         (RUN_TEST_ff_f): Likewise.
50854         (RUN_TEST_fi_f): Likewise.
50855         (RUN_TEST_fl_f): Likewise.
50856         (RUN_TEST_fff_f): Likewise.
50857         (RUN_TEST_c_f): Likewise.
50858         (RUN_TEST_f_f1): Likewise.
50859         (RUN_TEST_fF_f1): Likewise.
50860         (RUN_TEST_fI_f1): Likewise.
50861         (RUN_TEST_ffI_f1): Likewise.
50862         (RUN_TEST_c_c): Likewise.
50863         (RUN_TEST_cc_c): Likewise.
50864         (RUN_TEST_f_i): Likewise.
50865         (RUN_TEST_f_i_tg): Likewise.
50866         (RUN_TEST_ff_i_tg): Likewise.
50867         (RUN_TEST_f_b): Likewise.
50868         (RUN_TEST_f_b_tg): Likewise.
50869         (RUN_TEST_f_l): Likewise.
50870         (RUN_TEST_f_L): Likewise.
50871         (RUN_TEST_sincos): Likewise.
50872         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50873         whether to show exceptions.  Do not include ");\n" in return
50874         value.
50875         (special_functions): Output call to RUN_TEST_sincos instead of
50876         check_float calls.  Update calls to new_test.
50877         (parse_args): Output call to single RUN_TEST_* macro instead of
50878         check_* calls and other assignments.  Update calls to new_test.
50880         [BZ #2546]
50881         [BZ #2560]
50882         [BZ #5159]
50883         [BZ #15426]
50884         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50885         input to result for tgamma overflow.
50886         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50887         (gamma_coeff): New variable.
50888         (NCOEFF): New macro.
50889         (gamma_positive): New function.
50890         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50891         underflow here.  Use gamma_positive instead of exp (lgamma) for
50892         other arguments.
50893         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50894         (gamma_coeff): New variable.
50895         (NCOEFF): New macro.
50896         (gammaf_positive): New function.
50897         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50898         underflow here.  Use gamma_positive instead of exp (lgamma) for
50899         other arguments.
50900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50901         (gamma_coeff): New variable.
50902         (NCOEFF): New macro.
50903         (gammal_positive): New function.
50904         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50905         underflow here.  Use gamma_positive instead of exp (lgamma) for
50906         other arguments.
50907         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50908         (gamma_coeff): New variable.
50909         (NCOEFF): New macro.
50910         (gammal_positive): New function.
50911         (__ieee754_gammal_r): Handle positive infinity, overflow and
50912         underflow here.  Handle NaN the same as positive infinity.  Remove
50913         check x < 0xffffffff for negative integers.  Use gamma_positive
50914         instead of exp (lgamma) for other arguments.
50915         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50916         (gamma_coeff): New variable.
50917         (NCOEFF): New macro.
50918         (gammal_positive): New function.
50919         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50920         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50921         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50922         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50923         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50924         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50925         * sysdeps/generic/math_private.h (__gamma_productf): New
50926         prototype.
50927         (__gamma_product): Likewise.
50928         (__gamma_productl): Likewise.
50929         * math/Makefile (libm-calls): Add gamma_product.
50930         * math/libm-test.inc (tgamma_test): Add more tests.
50931         * sysdeps/i386/fpu/libm-test-ulps: Update.
50932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50934 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50936         * benchtests/bench-skeleton.c (main): Preheat CPU.
50938 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50940         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50942 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50944         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50945         and _dl_skip_args_internal.
50947 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50949         * manual/message.texi (Message Translation): Talk about users.
50950         Message to key mapping impacts design.
50952 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50954         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50956         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50958         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50959         * sysdeps/wordsize-64/glob64.c: ... here.
50961         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50962         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50963         New macros.
50965         * debug/getlogin_r_chk.c: Moved to ...
50966         * login/getlogin_r_chk.c: ... here.
50967         * debug/Makefile (routines): Move getlogin_r_chk to ...
50968         * login/Makefile (routines): ... here.
50969         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50970         * login/Versions (libc: GLIBC_2.4): ... here.
50972         * io/poll.c (__poll): Renamed from poll.
50973         Add libc_hidden_def.
50974         (poll): Define as weak alias.
50976         * debug/ptsname_r_chk.c: Moved to ...
50977         * login/ptsname_r_chk.c: ... here.
50978         * debug/Makefile (routines): Move ptsname_r_chk to ...
50979         * login/Makefile (routines): ... here.
50980         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50981         * login/Versions (libc: GLIBC_2.4): ... here.
50983         * posix/getlogin.c: Moved to ...
50984         * login/getlogin.c: ... here.
50985         * posix/getlogin_r.c: Moved to ...
50986         * login/getlogin_r.c: ... here.
50987         * posix/getlogin_r.c: Moved to ...
50988         * login/getlogin_r.c: ... here.
50989         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50990         * login/Makefile (routines): ... here.
50991         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50992         * login/Versions (libc: GLIBC_2.0): ... here.
50994         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50995         (setrlimit): Define as weak alias.
50997         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50998         Call __ names for open, ftruncate, and close.
50999         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51000         (truncate): Define as weak alias.
51002 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51004         * math/gen-libm-test.pl (parse_args): Initialize x before each
51005         test of frexp, modf and remquo.
51007         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51008         test signgam value.
51010 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51012         [BZ #15418]
51013         [BZ #15419]
51014         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51015         internal tests.
51016         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51018 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51020         * elf/dl-writev.h: New file.
51021         * elf/dl-misc.c: Include it.
51022         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51023         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51025 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51027         * math/libm-test.inc (noXFails): Remove variable.
51028         (noXPasses): Likewise.
51029         (BUILD_COMPLEX_INT): Remove macro.
51030         (print_screen): Remove xfail argument.
51031         (print_screen_max_error): Likewise.
51032         (update_stats): Likewise.
51033         (print_max_error): Likewise.  Update calls to other affected
51034         functions.
51035         (print_complex_max_error): Likewise.
51036         (test_single_exception): Update calls to print_screen.
51037         (test_single_errno): Likewise.
51038         (check_float_internal): Remove xfail argument.  Update calls to
51039         other affected functions.
51040         (check_float): Likewise.
51041         (check_complex): Likewise.
51042         (check_int): Likewise.
51043         (check_long): Likewise.
51044         (check_bool): Likewise.
51045         (check_longlong): Likewise.
51046         (main): Don't print noXFails and noXPasses.
51047         * math/gen-libm-test.pl (top level): Don't mention expected
51048         failure handling in comment.
51049         (new_test): Don't handle expected failures.
51050         (parse_args): Don't mention expected failure handling in comment.
51051         (generate_testfile): Don't handle expected failures.
51052         (parse_ulps): Likewise.
51053         (print_ulps_file): Likewise.
51054         (get_failure): Remove function.
51055         (output_test): Don't handle expected failures.
51056         * make/README.libm-test: Don't mention expected failure handling.
51058         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51059         (minus_zero): Likewise.
51060         (plus_infty): Likewise.
51061         (minus_infty): Likewise.
51062         (qnan_value): Likewise.
51063         (max_value): Likewise.
51064         (min_value): Likewise.
51065         (min_subnorm_value): Likewise.
51066         (initialize): Do not initialize those variables dynamically.
51068 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51070         * io/open.c (__open_2): Moved to ...
51071         * io/open_2.c: ... this new file.
51072         * io/open64.c (__open64_2): Moved to ...
51073         * io/open64_2.c: ... this new file.
51074         * io/openat.c (__openat_2): Moved to ...
51075         * io/openat_2.c: ... this new file.
51076         * io/openat64.c (__openat64_2): Moved to ...
51077         * io/openat64_2.c: ... this new file.
51078         * io/Makefile (routines): Add them.
51079         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51080         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51081         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51082         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51083         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51084         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51085         (__openat64): Add hidden_ver.
51086         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51087         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51089         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51090         Separately conditionalize setting of GLRO(dl_sysinfo) so
51091         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51092         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51094 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51096         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51097         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51098         definition.
51099         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51100         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51101         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51102         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51103         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51105 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51107         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51108         test signgam value.
51110         * math/libm-test.inc (hypot_test): Do not use
51111         IGNORE_ZERO_INF_SIGN.
51113 2013-05-03  Andreas Jaeger  <aj@suse.de>
51115         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51116         Linux 3.9.
51117         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51118         (PF_MAX): Adjust for VSOCK change.
51120 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51124 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51126         [BZ #15264]
51127         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51128         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51129         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51131 2013-05-02  David S. Miller  <davem@davemloft.net>
51133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51135 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51137         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51139 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51141         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51143 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51145         [BZ #14952]
51146         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51147         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51148         Use __attribute__ ((__gnu_inline__)).
51149         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51150         Don't use __attribute__ ((__gnu_inline__)).
51152 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51154         [BZ #15423]
51155         * math/s_catan.c (__catan): Handle small real or imaginary part of
51156         input specially to avoid spurious underflow.
51157         * math/s_catanf.c (__catanf): Likewise.
51158         * math/s_catanh.c (__catanh): Likewise.
51159         * math/s_catanhf.c (__catanhf): Likewise.
51160         * math/s_catanhl.c (__catanhl): Likewise.
51161         * math/s_catanl.c (__catanl): Likewise.
51162         * math/libm-test.inc (catan_test): Add more tests.
51163         (catanh_test): Likewise.
51164         * sysdeps/i386/fpu/libm-test-ulps: Update.
51165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51167 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51171 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51173         [BZ #15416]
51174         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51175         accurately for denominator in atan2.
51176         * math/s_catanf.c (__catanf): Likewise.
51177         * math/s_catanh.c (__catanh): Likewise.
51178         * math/s_catanhf.c (__catanhf): Likewise.
51179         * math/s_catanhl.c (__catanhl): Likewise.
51180         * math/s_catanl.c (__catanl): Likewise.
51181         * math/libm-test.inc (catan_test): Add more tests.
51182         (catanh_test): Likewise.
51183         * sysdeps/i386/fpu/libm-test-ulps: Update.
51184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51186 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51188         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51190         * benchtests/Makefile (bench): Remove slow benchmarks.
51191         * benchtests/atan-inputs: Add slow benchmark inputs.
51192         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51193         (BENCH_FUNC): Accept variant offset.
51194         (VARIANT): Define.
51195         * benchtests/bench-skeleton.c (main): Run benchmark for each
51196         variant.
51197         * benchtests/cos-inputs: Add slow benchmark inputs.
51198         * benchtests/exp-inputs: Likewise.
51199         * benchtests/pow-inputs: Likewise.
51200         * benchtests/sin-inputs: Likewise.
51201         * benchtests/slowatan-inputs: Remove.
51202         * benchtests/slowatan.c: Remove.
51203         * benchtests/slowcos-inputs: Remove.
51204         * benchtests/slowcos.c: Remove.
51205         * benchtests/slowexp-inputs: Remove.
51206         * benchtests/slowexp.c: Remove.
51207         * benchtests/slowpow-inputs: Remove.
51208         * benchtests/slowpow.c: Remove.
51209         * benchtests/slowsin-inputs: Remove.
51210         * benchtests/slowsin.c: Remove.
51211         * benchtests/slowtan-inputs: Remove.
51212         * benchtests/slowtan.c: Remove.
51213         * benchtests/tan-inputs: Add slow benchmark inputs.
51214         * scripts/bench.pl: Parse comments and directives.
51216         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51217         in CPPFLAGS.
51218         ($(objpfx)bench-%.c): Remove *-ITER.
51219         * benchtests/bench-modf.c: Remove definition of ITER.
51220         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51221         (main): Loop for DURATION seconds instead of fixed number of
51222         iterations.
51223         * scripts/bench.pl: Don't expect iterations in parameters.
51225 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51227         * io/fchdir.c (__fchdir): Renamed from fchdir.
51228         (fchdir): Define as weak alias.
51230 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51232         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51233         (ERRNO_EDOM): Likewise.
51234         (ERRNO_ERANGE): Likewise.
51235         (noErrnoTests): New variable.
51236         (init_max_error): Set errno to 0.
51237         (test_single_errno): New function.
51238         (test_errno): Likewise.
51239         (check_float_internal): Call test_errno.  Set errno to 0.
51240         (check_complex): Refer to errno tests in comment.
51241         (check_int): Call test_errno.  Set errno to 0.
51242         (check_long): Likewise.
51243         (check_bool): Likewise.
51244         (check_longlong): Likewise.
51245         (cos_test): Use ERRNO_* flags for errno tests instead of
51246         check_int.
51247         (expm1_test): Likewise.
51248         (fmod_test): Likewise.
51249         (ilogb_test): Likewise.
51250         (lgamma_test): Likewise.
51251         (pow_test): Likewise.
51252         (remainder_test): Likewise.
51253         (sin_test): Likewise.
51254         (tan_test): Likewise.
51255         (yn_test): Likewise.
51256         (initialize): Set errno to 0.
51257         (main): Print number of errno tests.
51258         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51260 2013-04-29  Andreas Jaeger  <aj@suse.de>
51262         [BZ #15084]
51263         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51264         and RES_USEVC.
51266         [BZ #15085]
51267         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51268         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51269         unimplemented.
51271         [BZ #15380]
51272         * stdlib/random.c (__initstate): Return NULL if
51273         __initstate fails.
51275         [BZ #15086]
51276         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51277         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51278         RES_SNGLKUPREOP.
51280 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51284 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51286         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51287         of individual tests.
51288         (casin_test): Likewise.
51289         (casinh_test): Likewise.
51291 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51293         [BZ #15409]
51294         * math/s_catan.c (__catan): Handle arguments with large real or
51295         imaginary part separately without squaring.
51296         * math/s_catanf.c (__catanf): Likewise.
51297         * math/s_catanh.c (__catanh): Likewise.
51298         * math/s_catanhf.c (__catanhf): Likewise.
51299         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51300         and redefine.
51301         (__catanhl): Handle arguments with large real or imaginary part
51302         separately without squaring.
51303         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51304         and redefine.
51305         (__catanl): Handle arguments with large real or imaginary part
51306         separately without squaring.
51307         * math/libm-test.inc (catan_test): Add more tests.
51308         (catanh_test): Likewise.
51309         * sysdeps/i386/fpu/libm-test-ulps: Update.
51310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51312 2013-04-27  Andreas Jaeger  <aj@suse.de>
51314         [BZ #15007]
51315         * stdlib/stdlib.h: Update guards for qecvt.
51316         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51317         <stdlib.h>.
51319 2013-04-27  Allan McRae  <allan@archlinux.org>
51321         * sysdeps/i386/fpu/libm-test-ulps: Update.
51323 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51325         [BZ #15406]
51326         * math/s_catan.c: Include <float.h>.
51327         (__catan): Ensure underflow exception occurs for underflowed
51328         result.
51329         * math/s_catanf.c: Include <float.h>.
51330         (__catanf): Ensure underflow exception occurs for underflowed
51331         result.
51332         * math/s_catanh.c: Include <float.h>.
51333         (__catanh): Ensure underflow exception occurs for underflowed
51334         result.
51335         * math/s_catanhf.c: Include <float.h>.
51336         (__catanhf): Ensure underflow exception occurs for underflowed
51337         result.
51338         * math/s_catanhl.c: Include <float.h>.
51339         (__catanhl): Ensure underflow exception occurs for underflowed
51340         result.
51341         * math/s_catanl.c: Include <float.h>.
51342         (__catanl): Ensure underflow exception occurs for underflowed
51343         result.
51344         * math/libm-test.inc (catan_test): Add more tests.
51345         (catanh_test): Likewise.
51347         [BZ #15405]
51348         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51349         underflowed result.
51350         * math/s_ccoshf.c (__ccoshf): Likewise.
51351         * math/s_ccoshl.c (__ccoshl): Likewise.
51352         * math/s_csin.c (__csin): Likewise.
51353         * math/s_csinf.c (__csinf): Likewise.
51354         * math/s_csinh.c (__csinh): Likewise.
51355         * math/s_csinhf.c (__csinhf): Likewise.
51356         * math/s_csinhl.c (__csinhl): Likewise.
51357         * math/s_csinl.c (__csinl): Likewise.
51358         * math/libm-test.inc (ccos_test): Add more tests.
51359         (ccosh_test): Likewise.
51360         (csin_test): Likewise.
51361         (csinh_test): Likewise.
51363 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51365         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51366         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51367         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51368         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51369         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51370         powerpc/power5+/fpu folders.
51371         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51374 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51378 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51380         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51381         additions to variable.
51382         [$(config-machine) = x86_64] (modules-names): Likewise.
51383         ($(objpfx)tst-audit3): Remove dependency.
51384         ($(objpfx)tst-audit3.out): Likewise.
51385         ($(objpfx)tst-audit4): Likewise.
51386         ($(objpfx)tst-audit4.out): Likewise.
51387         ($(objpfx)tst-audit5): Likewise.
51388         ($(objpfx)tst-audit5.out): Likewise.
51389         ($(objpfx)tst-audit6): Likewise.
51390         ($(objpfx)tst-audit6.out): Likewise.
51391         ($(objpfx)tst-audit7): Likewise.
51392         ($(objpfx)tst-audit7.out): Likewise.
51393         (tst-audit3-ENV): Remove variable.
51394         (tst-audit4-ENV): Likewise.
51395         (tst-audit5-ENV): Likewise.
51396         (tst-audit6-ENV): Likewise.
51397         (tst-audit7-ENV): Likewise.
51398         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51399         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51400         addition to variable.
51401         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51402         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51403         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51404         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51405         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51406         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51407         tst-audit3, tst-audit4 and tst-audit5.
51408         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51409         tst-audit6 and tst-audit7.
51410         [$(subdir) = elf] (modules-names): Add audit modules for those
51411         tests.
51412         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51413         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51414         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51415         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51416         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51417         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51418         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51419         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51420         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51421         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51422         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51423         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51424         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51425         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51426         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51427         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51428         Likewise.
51429         [$(subdir) = elf && $(config-cflags-avx) = yes]
51430         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51431         [$(subdir) = elf && $(config-cflags-avx) = yes]
51432         (CFLAGS-tst-auditmod4a.c): Likewise.
51433         [$(subdir) = elf && $(config-cflags-avx) = yes]
51434         (CFLAGS-tst-auditmod4b.c): Likewise.
51435         [$(subdir) = elf && $(config-cflags-avx) = yes]
51436         (CFLAGS-tst-auditmod6b.c): Likewise.
51437         [$(subdir) = elf && $(config-cflags-avx) = yes]
51438         (CFLAGS-tst-auditmod6c.c): Likewise.
51439         [$(subdir) = elf && $(config-cflags-avx) = yes]
51440         (CFLAGS-tst-auditmod7b.c): Likewise.
51441         * elf/tst-audit3.c: Move to ...
51442         * sysdeps/x86_64/tst-audit3.c: ... here.
51443         * elf/tst-audit4.c: Move to ...
51444         * sysdeps/x86_64/tst-audit4.c: ... here.
51445         * elf/tst-audit5.c: Move to ...
51446         * sysdeps/x86_64/tst-audit5.c: ... here.
51447         * elf/tst-audit6.c: Move to ...
51448         * sysdeps/x86_64/tst-audit6.c: ... here.
51449         * elf/tst-audit7.c: Move to ...
51450         * sysdeps/x86_64/tst-audit7.c: ... here.
51451         * elf/tst-auditmod3a.c: Move to ...
51452         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51453         * elf/tst-auditmod3b.c: Move to ...
51454         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51455         * elf/tst-auditmod4a.c: Move to ...
51456         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51457         * elf/tst-auditmod4b.c: Move to ...
51458         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51459         * elf/tst-auditmod5a.c: Move to ...
51460         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51461         * elf/tst-auditmod5b.c: Move to ...
51462         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51463         * elf/tst-auditmod6a.c: Move to ...
51464         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51465         * elf/tst-auditmod6b.c: Move to ...
51466         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51467         * elf/tst-auditmod6c.c: Move to ...
51468         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51469         * elf/tst-auditmod7a.c: Move to ...
51470         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51471         * elf/tst-auditmod7b.c: Move to ...
51472         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51474 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51476         [BZ #15366]
51477         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51478         define unconditionally.
51479         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51480         define unconditionally.
51481         (INT8_C, INT16_C, etc.): Likewise.
51483 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51485         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51486         __ehdr_start with hidden visibility.
51488         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51490 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51492         * math/libm-test.inc (cos_test): Use accurate hex constants.
51493         (sincost_test): Likewise.
51495 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51497         * math/libm-test.inc (catan_test): Add more tests.
51498         (catanh_test): Likewise.
51500         * math/s_catanf.c (__catanf): Use suffixed floating-point
51501         constants.
51502         * math/s_catanhf.c (__catanhf): Likewise.
51503         * math/s_catanhl.c (__catanhl): Likewise.
51504         * math/s_catanl.c (__catanl): Likewise.
51506         [BZ #15394]
51507         * math/s_catan.c (__catan): Calculate imaginary part of result
51508         with log1p not log unless computing log of number close to 0.
51509         * math/s_catanf.c (__catanf): Likewise.
51510         * math/s_catanl.c (__catanl): Likewise.
51511         * math/s_catanh.c (__catanh): Calculate real part of result with
51512         log1p not log unless computing log of number close to 0.
51513         * math/s_catanhf.c (__catanhf): Likewise.
51514         * math/s_catanhl.c (__catanhl): Likewise.
51515         * math/libm-test.inc (catan_test): Add more tests.
51516         (catanh_test): Likewise.
51517         * sysdeps/i386/fpu/libm-test-ulps: Update.
51518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51520 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51522         * benchtests/Makefile: Mention files in which fast and slow
51523         paths of math functions are implemented.
51525 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51527         * sysdeps/posix/timespec_get.c: New file.
51529 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51531         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51532         POWER.
51533         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51534         for POWER.
51535         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51536         powerpc/power5/fpu folders.
51537         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51538         * benchtests/Makefile: Add modf testcase.
51539         * benchtests/bench-modf.c: New file: Benchmark test for mo
51541 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51543         [BZ #14888]
51544         * time/Makefile (tests): Add tst-strptime-whitespace.
51545         * time/strptime_l.c (get_number): Use ISSPACE.
51546         (__strptime_internal): Likewise.
51547         * time/tst-strptime-whitespace.c: New test case.
51549 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51551         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51552         member.
51553         (_nss_files_init): Set it here.
51555 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51557         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51558         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51559         unsigned.
51561 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51563         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51565 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51568         size just once.
51570 2013-04-21  David S. Miller  <davem@davemloft.net>
51572         * po/ru.po: Update Russion translation from translation project.
51574 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51576         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51577         and setfsgid.
51579 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51581         * configure.in: Remove i386 configure warning. Remove i386 case.
51582         * configure: Regenerate.
51583         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51584         Add example to error message.
51585         * sysdeps/i386/configure: Regenerate.
51587 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51589         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51590         slowtan.
51591         * benchtests/cos-inputs: New file.
51592         * benchtests/slowcos-inputs: New file.
51593         * benchtests/slowcos.c: New file.
51594         * benchtests/slowtan-inputs: New file.
51595         * benchtests/slowtan.c: New file.
51596         * benchtests/tan-inputs: New file.
51598 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51600         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51601         considered kosher.
51603 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51605         * benchtests/Makefile: Include cppflags-iterator.mk to add
51606         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51608         * Makefile.in (bench-clean): New target.
51609         * benchtests/Makefile (bench-clean): Likewise.
51611 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51613         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51615 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51617         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51619 2013-04-15  Andreas Schwab  <schwab@suse.de>
51621         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51622         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51623         * nscd/pwdcache.c (cache_addpw): Likewise.
51624         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51625         more than recsize.
51627 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51629         * benchtests/Makefile (bench): Write all output to
51630         bench-out.tmp together.
51632 2013-04-15  Andreas Schwab  <schwab@suse.de>
51634         * nscd/nscd.c (main): Don't fork again after closing files.
51636 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51638         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51640         * benchtests/Rules (bench-deps): Collect dependencies into a
51641         single variable.  Add Makefile to dependencies.
51642         ($(objpfx)bench-%.c): Depend on bench-deps.
51644 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51645             Xavier Roche  <roche+kml2@exalead.com>
51647         [BZ #15361]
51648         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51649         just that it's a file descriptor.
51650         * manual/llio.texi (Synchronizing AIO Operations): Update description
51651         for EBADF error from aio_fsync.
51653 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51655         * Rules (bench): Move target definition...
51656         * benchtests/Makefile: ... here.
51658 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51660         * math/libm-test.inc (cos_test): Fix PI/2 test.
51661         (sincos_test): Likewise.
51662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51663         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51665 2013-04-11  Andreas Schwab  <schwab@suse.de>
51667         [BZ #13988]
51668         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51669         accept exponent character only when digits were seen.
51670         * stdio-common/Makefile (tests): Add bug26.
51671         * stdio-common/bug26.c: New file.
51673         [BZ #14293]
51674         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51675         non-freeable.
51677 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51679         * Makeconfig (rtld-prefix): Define built linker prefix.
51680         * Rules (run-bench): Use it.
51681         * math/Makefile (run-regen-ulps): Likewise.
51683         * Rules (bench): Remove eval.
51685 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51686             Roland McGrath  <roland@hack.frob.com>
51687             Ondrej Bilka  <neleai@seznam.cz>
51689         [BZ #15346]
51690         * time/getdate.c: Include ctype.h and alloca.h.
51691         (__getdate_r): Trim leading and trailing spaces of input.
51692         * time/tst-getdate.c (tests): Add tests with leading and
51693         trailing spaces.
51695 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51697         [BZ #14280]
51698         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51699         when computing value.
51701 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51703         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51704         Use testrun.sh to run libm tests.
51706         [BZ #15309]
51707         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51709 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51711         [BZ #15264]
51712         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51716         * Makefile.in (regen-ulps): New target.
51717         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51718         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51719         [ifneq (no,$(PERL)] (regen-ulps): New target.
51720         [ifeq (no,$(PERL)] (regen-ulps): New target.
51721         * math/libm-test.inc (ulps_file_name): Define.
51722         (output_dir): New variable.
51723         (options): Add "output-dir" option.
51724         (parse_opt): Handle 'o' case.
51725         (main): If output_dir is non-NULL use it as a prefix
51726         otherwise use "".
51727         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51729 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51731         [BZ #10060, #10062]
51732         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51733         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51734         fail configure if __sync_val_compare_and_swap is not inlined.
51735         * sysdeps/i386/configure: Regenerate.
51736         * configure.in: Build for i686 when configured for i386.
51737         * configure: Regenerate.
51738         * README: Remove i386 reference.
51740 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51742         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51743         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51745 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51747         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51748         (lmsnanval): New variables.
51749         (F): Add conversion tests.
51750         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51751         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51753         * stdio-common/tstdiomisc.c (F): Properly collect individual
51754         tests' results.
51756         [BZ #14686, #15336]
51757         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51758         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51759         Instead, use input NaN values or generate a qNaN by arithmetic
51760         operation.  Also fix bugs to comply with the standard.
51761         * math/libm-test.inc (remainder_test): Add more tests.
51763         [BZ #15335, #15342]
51764         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51766         input NaN values or generate a qNaN by arithmetic operation.
51768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51769         unreachable code.
51771         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51772         definitions.
51774 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51776         [BZ #14478]
51777         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51778         underflowed result.
51779         * math/s_cexpf.c (__cexpf): Likewise.
51780         * math/s_cexpl.c (__cexpl): Likewise.
51781         * math/libm-test.inc (cexp_test): Add more tests.
51783 2013-04-03  Andreas Schwab  <schwab@suse.de>
51785         [BZ #15330]
51786         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51787         order arrays from heap if bigger than alloca cutoff.
51789 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51791         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51792         (SNAN_TESTS_double): Refer to GCC PR56831.
51793         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51794         GCC PR56828.
51796 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51798         * Rules (bench): Move bench.out after the run is complete.
51800         * Rules (bench): Echo currently running benchmark.
51802         * benchtests/Makefile (bench): Add atan and slowatan.
51803         * benchtests/atan-inputs: New file.
51804         * benchtests/slowatan-inputs: New file.
51805         * benchtests/slowatan.c: New file.
51807         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51809         its value.
51811         [BZ #15305]
51812         * sysdeps/unix/sysv/linux/kernel-features.h
51813         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51814         __ASSUME_XFS_RESTRICTED_CHOWN.
51815         * sysdeps/unix/sysv/linux/pathconf.c
51816         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51817         Save and restore errno.
51819 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51821         [BZ #15327]
51822         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51823         arguments using __kernel_casinh.
51824         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51825         arguments using __kernel_casinhf.
51826         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51827         arguments using __kernel_casinhl.
51828         * math/libm-test.inc (cacosh_test): Add more tests.
51829         * sysdeps/i386/fpu/libm-test-ulps: Update.
51830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51832 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51834         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51837         * bench/Makefile (bench): Add sin and slowsin.
51838         * benchtests/sin-inputs: New file.
51839         * benchtests/slowsin-inputs: New file.
51840         * benchtests/slowsin.c: New file.
51842         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51843         (bench): Add slowexp and slowpow.
51844         (exp-ITER): Increase iterations.
51845         (pow-ITER): Likewise.
51846         * benchtests/exp-inputs: Change input.
51847         * benchtests/pow-inputs: Likewise.
51848         * benchtests/slowexp-inputs: New file.
51849         * benchtests/slowexp.c: New file.
51850         * benchtests/slowpow-inputs: New file.
51851         * benchtests/slowpow.c: New file.
51853 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51855         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51856         instructions.
51857         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51858         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51859         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51860         * benchtests/Makefile: Add rint benchtest.
51861         * benchtests/rint-inputs: Input for rint benchtest.
51863 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51865         * Versions.def (libm): Add GLIBC_2.18.
51866         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51867         hidden libm prototypes.
51868         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51869         * math/Makefile (libm-calls): Add s_issignaling.
51870         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51871         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51872         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51873         declaration.
51874         * math/math.h [__USE_GNU] (issignaling): New macro.
51875         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51876         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51877         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51878         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51879         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51880         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51881         * manual/arith.texi (issignaling): New section.
51882         * manual/libm-err-tab.pl (@all_functions): Update comment.
51883         * math/gen-libm-test.pl (parse_args): Apply special handling for
51884         issignaling.
51885         * math/libm-test.inc (print_float, issignaling_test): New
51886         functions.
51887         (check_float_internal): Add issignaling checks.
51888         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51889         default definition.
51890         * sysdeps/powerpc/math-tests.h: New file.
51891         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51892         tests.
51893         * math/test-snan.c (TEST_FUNC): Likewise.
51895 2013-03-30  David S. Miller  <davem@davemloft.net>
51897         * po/de.po: Update from translation team.
51899 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51901         [BZ #10357]
51902         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51903         imaginary part less than 1.0 and real part less than 0.5
51904         specially.
51905         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51906         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51907         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51908         (cacos_test): Add more tests.
51909         (casin_test): Likewise.
51910         (casinh_test): Likewise.
51911         * sysdeps/i386/fpu/libm-test-ulps: Update.
51912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51914 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51916         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51917         ONE with its value.
51919         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51920         (__pow_mp): Replace ONE and MONE with their values.
51921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51922         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51923         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51924         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51925         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51926         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51928         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51930         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51931         (__pow_mp): Replace ZERO and MZERO with their values.
51932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51934         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51936         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51937         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51938         (__sqr): Likewise.
51940         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51942         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51944 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51946         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51947         Declare with __attribute__ ((weak)).
51948         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51949         Call __call_tls_dtors only if it's not NULL.
51951 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51953         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51954         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51955         magic __ehdr_start linker symbol if it's defined.
51956         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51957         them up here if it was already done.
51959         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51960         (_dl_aux_init): Use const in cast when setting it.
51961         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51962         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51963         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51965         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51966         Declare them here.
51967         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51968         * csu/libc-tls.c: Nor here.
51969         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51971         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51972         (__libc_message): Never call vsyslog.
51974 2013-03-28  Alan Modra  <amodra@gmail.com>
51976         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51977         Define as empty.
51978         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51979         Likewise.
51981 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51983         [BZ #15214]
51984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51985         underflow.
51986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51988 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51990         [BZ #15304]
51991         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51992         Don't add gid passed as argument.
51994         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51996 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51998         [BZ #15307]
51999         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52000         imaginary part between 1.0 and 1.5 and real part less than 0.5
52001         specially.
52002         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52003         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52004         * math/libm-test.inc (cacos_test): Add more tests.
52005         (casin_test): Likewise.
52006         (casinh_test): Likewise.
52007         * sysdeps/i386/fpu/libm-test-ulps: Update.
52008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52010 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52012         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52013         constants.
52014         (norm): Likewise.
52015         (denorm): Likewise.
52016         (__dbl_mp): Likewise.
52017         (add_magnitudes): Likewise.
52018         (sub_magnitudes): Likewise.
52019         (__add): Likewise.
52020         (__sub): Likewise.
52021         (__mul): Likewise.
52022         (__sqr): Likewise.
52023         (__inv): Likewise.
52024         (__dvd): Likewise.
52026         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52027         commented code.
52028         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52029         (__dubcos): Likewise.
52030         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52031         (__ieee754_acos): Likewise.
52032         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52034         (__exp1): Likewise.
52035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52037         (log1): Likewise.
52038         (my_log2): Likewise.
52039         (checkint): Likewise.
52040         * sysdeps/ieee754/dbl-64/e_remainder.c
52041         (__ieee754_remainder): Likewise.
52042         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52044         (bsloww): Likewise.
52045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52047         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52049         MANTISSA_STORE_T to store computations on mantissa.  Use
52050         macros for rounding and division.
52051         (denorm): Likewise.
52052         (__dbl_mp): Likewise.
52053         (add_magnitudes): Likewise.
52054         (sub_magnitudes): Likewise.
52055         (__mul): Likewise.
52056         (__sqr): Likewise.
52057         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52058         powers of two in terms of TWOPOW macro.
52059         (mp_no): Make type of mantissa as MANTISSA_T.
52060         [!RADIXI]: Define RADIXI.
52061         [!TWO52]: Define TWO52.
52062         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52064 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52066         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52067         llroundl symbol when building for PPC32.
52069 2013-03-24  Mark H Weaver  <mhw@netris.org>
52071         * manual/arith.texi (Normalization Functions): Fix prototypes for
52072         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52074 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52076         [BZ #13889]
52077         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52078         high value to check if expl overflow.
52079         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52080         to check for underflow and overflow.
52081         * math/libm-test.inc: Add exp test.
52083 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52085         [BZ #11120]
52086         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52087         with NOT_IN_libc.
52089 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52091         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52092         symbol.
52094 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52096         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52097         wrap blocks consisting of several statements.
52099         * sysdeps/generic/math-tests.h: New file.
52100         * sysdeps/i386/fpu/math-tests.h: Likewise.
52101         * math/test-snan.c: Include it.
52102         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52104 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52106         [BZ #15285]
52107         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52108         (__ieee754_j0l): Do not improve calculations using cos of twice
52109         input for inputs above LDBL_MAX / 2.0L.
52110         (__ieee754_y0l): Likewise.
52111         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52112         (__ieee754_j1l): Do not improve calculations using cos of twice
52113         input for inputs above LDBL_MAX / 2.0L.
52114         (__ieee754_y1l): Likewise.
52115         * math/libm-test.inc (j0_test): Add another test.
52116         (j1_test): Likewise.
52117         (y0_test): Likewise.
52118         (y1_test): Likewise.
52119         * sysdeps/i386/fpu/libm-test-ulps: Update.
52121 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52123         * Rules ($(objpfx)bench-%.c): Include code from a C source
52124         file.
52126 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52128         [BZ #15287]
52129         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52130         imaginary part 1.0 and real part less than 0.5 specially.
52131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52133         * math/libm-test.inc (cacos_test): Add more tests.
52134         (casin_test): Likewise.
52135         (casinh_test): Likewise.
52136         * sysdeps/i386/fpu/libm-test-ulps: Update.
52137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52139 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52141         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52142         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52144 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52146         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52147         * config.make.in (config-cflags-sse4): Remove variable.
52148         (config-cflags-avx): Likewise.
52149         (config-cflags-sse2avx): Likewise.
52150         (config-cflags-novzeroupper): Likewise.
52151         (config-asflags-i686): Likewise.
52152         (have-mfma4): Likewise.
52153         (have-as-vis3): Likewise.
52154         (MIG): Likewise.
52155         * configure.in (MIG): Do not AC_SUBST.
52156         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52157         (libc_cv_cc_sse4): Do not AC_SUBST.
52158         (libc_cv_cc_avx): Likewise.
52159         (libc_cv_cc_sse2avx): Likewise.
52160         (libc_cv_cc_novzeroupper): Likewise.
52161         (libc_cv_cc_fma4): Likewise.
52162         (libc_cv_as_i686): Likewise.
52163         (libc_cv_sparc_as_vis3): Likewise.
52164         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52165         LIBC_CONFIG_VAR.
52166         (config-asflags-i686): Likewise.
52167         (config-cflags-avx): Likewise.
52168         (config-cflags-sse2avx): Likewise.
52169         (have-mfma4): Likewise.
52170         (config-cflags-novzeroupper): Likewise.
52171         * sysdeps/mach/configure.in (MIG): Likewise.
52172         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52173         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52174         LIBC_CONFIG_VAR.
52175         (config-cflags-avx): Likewise.
52176         (config-cflags-sse2avx): Likewise.
52177         (have-mfma4): Likewise.
52178         (config-cflags-novzeroupper): Likewise.
52179         * configure: Regenerated.
52180         * sysdeps/i386/configure: Likewise.
52181         * sysdeps/mach/configure: Likewise.
52182         * sysdeps/sparc/configure: Likewise.
52183         * sysdeps/x86_64/configure: Likewise.
52185 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52187         [BZ #14812]
52188         * locale/programs/localedef.c (options): Put N_ translation marker
52189         on argument names, not just descriptions.
52191 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52193         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52195 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52197         [BZ #14176]
52198         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52200 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52202         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52203         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52204         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52205         [!BEFORE_ABORT] (before_abort): New function.
52206         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52207         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52208         (writev_for_fatal): New function.
52209         (WRITEV_FOR_FATAL): New macro; call that.
52210         (backtrace_and_maps): New function.
52211         (BEFORE_ABORT): New macro; call that.
52212         (struct str_list): Type removed.
52213         (__libc_message, __libc_fatal): Functions removed.
52214         Include <sysdeps/posix/libc_fatal.c> instead.
52216 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52218         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52219         constants.
52220         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52221         double constants.
52223 2013-03-19  Andreas Schwab  <schwab@suse.de>
52225         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52226         * sysdeps/gnu/configure: Regenerate.
52228         * configure.in: Substitute libc_cv_rtlddir.
52229         * configure: Regenerate.
52230         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52231         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52232         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52233         * elf/Makefile (install-others, CFLAGS-interp.c)
52234         (ldso_install, common-ldd-rewrite): Likewise.
52235         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52236         $(inst_slibdir)/$(rtld-installed-name).
52237         * scripts/rellns-sh: Add -p option.
52238         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52239         for source.
52241 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52243         * manual/nptl.texi: Renamed to ...
52244         * manual/threads.texi: ... this.
52245         * manual/Makefile (chapters): Update.
52247 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52249         [BZ #14812]
52250         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52251         on argument names, not just descriptions.
52252         * malloc/memusagestat.c (options): Likewise.
52253         * nss/getent.c (options): Likewise.
52255 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52257         [BZ #14812]
52258         * iconv/iconv_prog.c (options): Put N_ translation marker
52259         on argument names, not just descriptions.
52260         * iconv/iconvconfig.c (options): Likewise.
52262 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52264         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52265         implementation which is faster on all x86_64 architectures.
52266         Tested on AMD, Intel Nehalem, SNB, IVB.
52267         * sysdeps/x86_64/strnlen.S: Likewise.
52269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52270         Remove all multiarch strlen and strnlen versions.
52271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52272         Remove strlen and strnlen related parts.
52274         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52275         Inline strlen part.
52276         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52278         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52279         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52280         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52281         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52282         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52283         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52285 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52287         * manual/memory.texi (Malloc Tunable Parameters):
52288         Sort parameters alphabetically. Add comments for missing entries.
52290 2013-03-17  David S. Miller  <davem@davemloft.net>
52292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52294 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52296         [BZ #15283]
52297         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52298         for arguments at most half maximum finite value.
52299         * math/libm-test.inc (j0_test): Add more tests.
52300         (j1_test): Likewise.
52301         (y0_test): Likewise.
52302         (y1_test): Likewise.
52303         * sysdeps/i386/fpu/libm-test-ulps: Update.
52304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52306         [BZ #14155]
52307         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52308         1 / x and functions P and Q for arguments above 0x1p256L.
52309         (__ieee754_y0l): Likewise.
52310         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52311         (__ieee754_y1l): Likewise.
52312         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52313         (j1_test): Likewise.
52314         (y0_test): Likewise.
52315         (y1_test): Likewise.
52317 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52319         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52320         variable.
52322 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52324         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52325         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52326         zero since it's initialized to EXEC_PAGESIZE.
52328         * sysdeps/unix/sysv/linux/ldsodefs.h
52329         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52330         * sysdeps/generic/ldsodefs.h: ... here.
52332 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52334         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52336         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52337         math/test-snan.c.
52338         * math/test-snan.c: Renamed from
52339         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52340         * math/Makefile (tests): Add test-snan.
52341         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52342         test-powerpc-snan.
52344         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52345         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52346         functions.
52347         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52348         __builtin_nan family of functions.
52349         * math/libm-test.inc (initialize): Initialize qnan_value with
52350         __builtin_nan family of functions.
52351         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52352         Remove variables.
52353         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52354         Remove functions.
52355         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52356         storage class.  Initialize qNaN_var and sNaN_var with
52357         __builtin_nan and __builtin_nans families of functions,
52358         respectively.
52360         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52361         (sqrt_test): Remove duplicate test with qNaN input.
52362         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52363         (round_test, signbit_test, significand_test): Note missing +/-Inf
52364         as well as qNaN tests.
52366         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52367         qNaN_var.  Fix a few strings, too.
52368         * math/libm-test.inc (nan_value): Rename to qnan_value.
52369         * math/gen-libm-test.pl (%beautify): Adjust to that.
52370         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52371         * math/test-misc.c (main): Likewise.
52372         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52373         to __qnan_bytes, and __qnan_union, respectively.
52374         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52375         Likewise.
52376         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52377         and lqnanval, respectively.
52378         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52379         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52380         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52381         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52383         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52384         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52385         doubles.
52387         * math/test-misc.c (main): Fix copy'n'pastos.
52388         * misc/tst-efgcvt.c (special): Likewise.
52390         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52391         Remove declarations.
52393 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52395         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52396         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52397         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52398         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52400 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52403         macro to return vdso values correctly in IFUNC implementations.
52404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52405         Optimization by using IFUNC.
52407 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52408             Richard Henderson  <rth@redhat.com>
52409             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52411         * Makefile.in (bench): New target.
52412         * NEWS: Mention the benchmark framework.
52413         * Rules (bench): Likewise.
52414         (binaries-bench): Generate binaries for functions to
52415         benchmark.
52416         * benchtests/Makefile: New makefile for benchmark tests.
52417         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52418         programs.
52419         * benchtests/exp-inputs: New input file for EXP function.
52420         * benchtests/pow-inputs: New input file for POW function.
52421         * scripts/bench.pl: New script to generate source files for
52422         benchmark programs.
52424 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52426         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52427         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52428         computations on mantissa.  Use macros for rounding and
52429         division.
52430         (denorm): Likewise.
52431         (__dbl_mp): Likewise.
52432         (add_magnitudes): Likewise.
52433         (sub_magnitudes): Likewise.
52434         (__mul): Likewise.
52435         (__sqr): Likewise.
52436         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52437         powers of two in terms of TWOPOW macro.
52438         (mp_no): Make type of mantissa as MANTISSA_T.
52439         [!RADIXI]: Define RADIXI.
52440         [!TWO52]: Define TWO52.
52441         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52443         * manual/nptl.texi (cindex): Modify threads to pthreads.
52445 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52447         * sysdeps/x86_64/preconfigure: Regenerated.
52449 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52451         [BZ #14155]
52452         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52453         0x1p28 and above.
52454         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52455         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52456         0x1p28 and above.
52457         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52458         * math/libm-test.inc (j0_test): Do not allow one spurious
52459         underflow exception.
52460         (y1_test): Likewise.
52462 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52464         * manual/Makefile (chapters): Add nptl.
52465         * manual/debug.texi (Debugging Support): Add link to Threads
52466         chapter.
52467         * manual/nptl.texi: New file.
52469         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52471 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52473         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52474         for non-NULL pointer before the memory validity test. Pointed
52475         out by Holger Brunck <holger.brunck@keymile.com>.
52477 2013-03-13  Andreas Schwab  <schwab@suse.de>
52479         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52480         instead of .os.
52482 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52484         * timezone/zic.c: Update from tzcode 2013b.
52486 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52488         * manual/install.texi (Configuring and compiling):
52489         Mention i686 and i586.
52490         * INSTALL: Regenerate.
52492 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52494         * sysdeps/init_array/elf-init.c: New file.
52495         * csu/elf-init.c
52496         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52497         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52499         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52500         __gmon_start__ as global, but as static with a .preinit_array pointer.
52501         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52502         * sysdeps/init_array/crti.S: New file, empty except for comments.
52503         * sysdeps/init_array/crtn.S: Likewise.
52505 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52507         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52508         definining bcopy.
52509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52510         Remove Prefer_SSE_for_memop.
52511         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52512         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52513         HAS_PREFER_SSE_FOR_MEMOP.
52514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52515         memset-x86-64.
52516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52517         Remove bzero, memset ifunc support.
52518         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52519         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52520         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52521         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52523 2013-03-11  Andreas Schwab  <schwab@suse.de>
52525         [BZ #15234]
52526         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52527         by SHLIB_COMPAT.
52528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52529         (GLIBC_2.16): Remove pthread_atfork.
52531 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52533         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52534         (ptestcases.h): Likewise.
52536 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52538         * Makeconfig ($(common-objpfx)config.status): Depend on
52539         sysdeps/*/preconfigure{,.in} too.
52541 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52543         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52544         (__free_hook): Use void * instead of __malloc_ptr_t.
52545         (__malloc_hook): Likewise.
52546         (__realloc_hook): Likewise.
52547         (__memalign_hook): Likewise.
52548         (__after_morecore_hook): Likewise.
52549         * malloc/arena.c (save_malloc_hook): Likewise.
52550         (save_free_hook): Likewise.
52551         * malloc/hooks.c (malloc_hook_ini): Likewise.
52552         (realloc_hook_ini): Likewise.
52553         (memalign_hook_ini): Likewise.
52554         * malloc/malloc.c (malloc_hook_ini): Likewise.
52555         (realloc_hook_ini): Likewise.
52556         (memalign_hook_ini): Likewise.
52557         (__free_hook): Likewise.
52558         (__malloc_hook): Likewise.
52559         (__realloc_hook): Likewise.
52560         (__memalign_hook): Likewise.
52561         (__libc_malloc): Likewise.
52562         (__libc_free): Likewise.
52563         (__libc_realloc): Likewise.
52564         (__libc_memalign): Likewise.
52565         (__libc_valloc): Likewise.
52566         (__libc_pvalloc): Likewise.
52567         (__libc_calloc): Likewise.
52568         (__posix_memalign): Likewise.
52569         * malloc/morecore.c (__sbrk): Likewise.
52570         (__default_morecore): Likewise.
52572         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52574         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52575         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52576         __malloc_ptrdiff_t.
52578         * malloc/malloc.h (__malloc_size_t): Remove macro.
52579         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52580         __malloc_size_t.
52581         (old_memalign_hook): Likewise.
52582         (old_realloc_hook): Likewise.
52583         (struct hdr): Likewise.
52584         (flood): Likewise.
52585         (mallochook): Likewise.
52586         (memalignhook): Likewise.
52587         (reallochook): Likewise.
52588         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52589         (tr_old_realloc_hook): Likewise.
52590         (tr_old_memalign_hook): Likewise.
52591         (tr_mallochook): Likewise.
52592         (tr_reallochook): Likewise.
52593         (tr_memalignhook): Likewise.
52595 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52598         default_ldbl_pack and using as default implementation.
52599         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52600         implementation.
52601         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52602         redundant definition.
52603         (ldbl_insert_mantissa): Likewise.
52604         (ldbl_canonicalize): Likewise.
52605         (ldbl_nearbyint): Likewise.
52606         (ldbl_pack): Rename to ldbl_pack_ppc.
52607         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52608         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52609         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52611 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52614         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52616         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52619         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52620         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52622 2013-03-07  Andreas Jaeger  <aj@suse.de>
52624         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52625         bits/mman-linux.h.
52627 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52629         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52630         Include mpa.h and declare __MPEXP.
52631         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52632         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52633         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52634         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52635         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52636         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52637         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52639         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52640         (__slowpow): Use long double EXPL and LOGL functions to
52641         compute POW.
52642         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52643         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52645         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52646         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52647         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52650         intermediate variable to calculate exponent.
52651         (__sqr): Likewise.
52652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52653         Likewise.
52654         (__sqr): Likewise.
52656         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52657         [!NO__SQR]: Define __sqr.
52658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52659         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52660         sysdeps/ieee754/dbl-64/mpa.c.
52661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52663         [BZ #12723]
52664         * posix/Makefile (tests): Add tst-pathconf.
52665         * posix/tst-pathconf.c: New test case.
52666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52667         _PC_PIPE_BUF.
52668         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52670 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52672         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52674 2013-03-06  Andreas Jaeger  <aj@suse.de>
52676         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52677         definition via __MAP_ANONYMOUS.
52679         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52680         it's not part of Linux headers.
52682         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52683         (MAP_HUGE_MASK): Define.
52685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52686         Define.
52687         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52689         Define.
52690         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52692         Define.
52693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52694         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52695         Define.
52696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52698         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52699         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52700         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52701         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52702         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52703         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52706         Handle f2fs.
52708         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52709         Handle f2fs and efivarfs.
52711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52712         f2fs.
52714         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52715         (EFIVARFS_MAGIC): Add.
52716         (F2FS_LINK_MAX): Add.
52718 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52720         * stdio-common/vfprintf.c: Replace __builtin_expect with
52721         __glibc_unlikely.
52723 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52725         [BZ #13550]
52726         * sysdeps/generic/bp-sym.h: Remove file.
52727         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52728         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52729         <bp-sym.h> and <bp-asm.h>.
52730         (__longjmp): Don't use BP_SYM.
52731         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52732         and <bp-asm.h>.
52733         (memcpy): Don't use BP_SYM.
52734         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52735         <bp-sym.h> and <bp-asm.h>.
52736         (memcpy): Don't use BP_SYM.
52737         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52738         <bp-asm.h>.
52739         (memcpy): Don't use BP_SYM.
52740         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52741         <bp-asm.h>.
52742         (memset): Don't use BP_SYM.
52743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52745         (__bzero): Don't use BP_SYM.
52746         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52747         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52748         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52749         <bp-sym.h> and <bp-asm.h>.
52750         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52751         pointers.
52752         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52753         <bp-sym.h> and <bp-asm.h>.
52754         (memcpy): Don't use BP_SYM.
52755         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52756         <bp-sym.h> and <bp-asm.h>.
52757         (memset): Don't use BP_SYM.
52758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52760         (__bzero): Don't use BP_SYM.
52761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52763         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52764         <bp-sym.h> and <bp-asm.h>.
52765         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52766         pointers.
52767         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52768         <bp-sym.h> and <bp-asm.h>.
52769         (memcpy): Don't use BP_SYM.
52770         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52771         <bp-sym.h> and <bp-asm.h>.
52772         (memset): Don't use BP_SYM.
52773         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52774         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52775         (__bzero): Don't use BP_SYM.
52776         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52777         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52779         <bp-sym.h> and <bp-asm.h>.
52780         (__memchr): Don't use BP_SYM.
52781         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52782         <bp-sym.h> and <bp-asm.h>.
52783         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52784         pointers.
52785         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52786         <bp-sym.h> and <bp-asm.h>.
52787         (memcpy): Don't use BP_SYM.
52788         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52789         <bp-sym.h> and <bp-asm.h>.
52790         (__mempcpy): Don't use BP_SYM.
52791         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52792         <bp-sym.h> and <bp-asm.h>.
52793         (__memrchr): Don't use BP_SYM.
52794         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52795         <bp-sym.h> and <bp-asm.h>.
52796         (memset): Don't use BP_SYM.
52797         (__bzero): Likewise.
52798         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52799         <bp-sym.h> and <bp-asm.h>.
52800         (__rawmemchr): Don't use BP_SYM.
52801         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52802         <bp-sym.h> and <bp-asm.h>.
52803         (__STRCMP): Don't use BP_SYM.
52804         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52805         <bp-sym.h> and <bp-asm.h>.
52806         (strchr): Don't use BP_SYM.
52807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52808         <bp-sym.h> and <bp-asm.h>.
52809         (__strchrnul): Don't use BP_SYM.
52810         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52811         <bp-sym.h> and <bp-asm.h>.
52812         (strlen): Don't use BP_SYM.
52813         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52814         <bp-sym.h> and <bp-asm.h>.
52815         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52816         pointers.
52817         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52818         <bp-sym.h> and <bp-asm.h>.
52819         (__strnlen): Don't use BP_SYM.
52820         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52821         <bp-sym.h> and <bp-asm.h>.
52822         (__GI__setjmp): Don't use BP_SYM.
52823         (_setjmp): Likewise.
52824         (__sigsetjmp): Likewise.
52825         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52826         (L(start_addresses)): Don't use BP_SYM.
52827         (_start): Likewise.
52828         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52829         <bp-asm.h>.
52830         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52831         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52832         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52833         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52834         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52835         <bp-asm.h>.
52836         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52837         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52838         about bounded pointers.
52839         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52840         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52841         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52842         <bp-asm.h>.
52843         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52844         about bounded pointers.  Remove GKM FIXME comments.
52845         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52846         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52847         <bp-asm.h>.
52848         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52849         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52850         Remove GKM FIXME comments.
52851         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52852         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52853         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52854         <bp-asm.h>.
52855         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52856         about bounded pointers.  Remove GKM FIXME comment.
52857         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52858         and <bp-asm.h>.
52859         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52860         pointers.
52861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52862         <bp-sym.h> and <bp-asm.h>.
52863         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52865         <bp-sym.h> and <bp-asm.h>.
52866         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52867         comment.
52869 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52871         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52872         call free(NULL).
52874 2013-03-05  David S. Miller  <davem@davemloft.net>
52876         * po/es.po: Update from translation team.
52878 2013-03-05  Andreas Jaeger  <aj@suse.de>
52880         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52881         <bits/mman-linux.h>.
52882         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52883         is fine.
52884         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52885         <bits/mman-linux.h> to end of file.
52886         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52887         is fine.
52888         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52889         <bits/mman-linux.h> to end of file.
52890         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52891         is fine.
52892         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52893         <bits/mman-linux.h> to end of file.
52895         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52896         (MCL_CURRENT, MCL_FUTURE): Define here.
52898 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52900         [BZ #15232]
52901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52902         attribute_hidden.
52903         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52905 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52907         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52908         fourth parameter needed for rt_sigprocmask syscall.
52909         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52910         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52911         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52912         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52913         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52914         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52916 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52918         [BZ #13550]
52919         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52920         comment about bounded pointers.
52921         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52922         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52924 2013-03-04  Andreas Jaeger  <aj@suse.de>
52926         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52927         common definitions.
52929         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52930         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52931         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52933         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52936 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52938         [BZ #15055]
52939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52940         __ieee754_sqrl instead of __sqrl.
52942 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52944         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52945         * sysdeps/powerpc/fpu_control.h: ... here.
52946         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52947         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52948         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52949         * sysdeps/powerpc/bits/mathinline.h: ... here.
52951 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52953         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52954         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52955         to just [NEED_DL_SYSINFO_DSO].
52956         * elf/dl-support.c: Likewise.
52957         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52958         * elf/rtld.c (dl_main): Likewise.
52959         * elf/setup-vdso.h (setup_vdso): Likewise.
52960         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52961         * sysdeps/unix/sysv/linux/dl-sysdep.c
52962         (_dl_discover_osversion): Likewise.
52964 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52966         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52967         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52969 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52971         * NEWS: Mention libm performance improvements and non-x86 PI
52972         futex support.
52974         * csu/libc-start.c (__pthread_initialize_minimal): Change
52975         function arguments.
52976         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52978 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52980         [BZ #13550]
52981         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52982         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52983         <bp-sym.h> and <bp-asm.h>.
52984         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52985         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52986         and <bp-asm.h>.
52987         (memcpy): Don't use BP_SYM.
52988         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52989         <bp-asm.h>.
52990         (__mpn_add_n): Don't use BP_SYM.
52991         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52992         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52993         and <bp-asm.h>.
52994         (__mpn_addmul_1): Don't use BP_SYM.
52995         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52996         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52997         <bp-sym.h>.
52998         (_setjmp): Don't use BP_SYM.
52999         (__novmx_setjmp): Likewise.
53000         (__GI__setjmp): Likewise.
53001         (__vmx_setjmp): Likewise.
53002         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53003         <bp-sym.h>.
53004         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53005         (__bzero): Don't use BP_SYM.
53006         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53007         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53008         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53009         <bp-sym.h> and <bp-asm.h>.
53010         (memcpy): Don't use BP_SYM.
53011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53012         <bp-sym.h> and <bp-asm.h>.
53013         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53015         <bp-sym.h> and <bp-asm.h>.
53016         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53017         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53018         <bp-asm.h>.
53019         (__mpn_lshift): Don't use BP_SYM.
53020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53021         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53022         <bp-asm.h>.
53023         (memset): Don't use BP_SYM.
53024         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53025         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53026         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53027         <bp-asm.h>.
53028         (__mpn_mul_1): Don't use BP_SYM.
53029         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53030         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53031         <bp-sym.h> and <bp-asm.h>.
53032         (memcmp): Don't use BP_SYM.
53033         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53034         <bp-sym.h> and <bp-asm.h>.
53035         (memcpy): Don't use BP_SYM.
53036         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53037         <bp-sym.h> and <bp-asm.h>.
53038         (memset): Don't use BP_SYM.
53039         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53040         <bp-sym.h> and <bp-asm.h>.
53041         (strncmp): Don't use BP_SYM.
53042         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53043         <bp-sym.h> and <bp-asm.h>.
53044         (memcpy): Don't use BP_SYM.
53045         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53046         <bp-sym.h> and <bp-asm.h>.
53047         (memset): Don't use BP_SYM.
53048         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53049         <bp-sym.h> and <bp-asm.h>.
53050         (__memchr): Don't use BP_SYM.
53051         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53052         <bp-sym.h> and <bp-asm.h>.
53053         (memcmp): Don't use BP_SYM.
53054         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53055         <bp-sym.h> and <bp-asm.h>.
53056         (memcpy): Don't use BP_SYM.
53057         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53058         <bp-sym.h> and <bp-asm.h>.
53059         (__mempcpy): Don't use BP_SYM.
53060         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53061         <bp-sym.h> and <bp-asm.h>.
53062         (__memrchr): Don't use BP_SYM.
53063         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53064         <bp-sym.h> and <bp-asm.h>.
53065         (memset): Don't use BP_SYM.
53066         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53067         <bp-sym.h> and <bp-asm.h>.
53068         (__rawmemchr): Don't use BP_SYM.
53069         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53070         <bp-sym.h> and <bp-asm.h>.
53071         (__STRCMP): Don't use BP_SYM.
53072         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53073         <bp-sym.h> and <bp-asm.h>.
53074         (strchr): Don't use BP_SYM.
53075         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53076         <bp-sym.h> and <bp-asm.h>.
53077         (__strchrnul): Don't use BP_SYM.
53078         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53079         <bp-sym.h> and <bp-asm.h>.
53080         (strlen): Don't use BP_SYM.
53081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53082         <bp-sym.h> and <bp-asm.h>.
53083         (strncmp): Don't use BP_SYM.
53084         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53085         <bp-sym.h> and <bp-asm.h>.
53086         (__strnlen): Don't use BP_SYM.
53087         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53088         <bp-asm.h>.
53089         (__mpn_rshift): Don't use BP_SYM.
53090         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53091         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53092         <bp-sym.h> and <bp-asm.h>.
53093         (__sigsetjmp): Don't use BP_SYM.
53094         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53095         (L(start_addresses)): Don't use BP_SYM.
53096         (_start): Likewise.
53097         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53098         <bp-asm.h>.
53099         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53100         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53101         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53102         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53103         <bp-asm.h>.
53104         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53105         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53106         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53107         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53108         <bp-asm.h>.
53109         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53110         comments.
53111         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53112         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53113         <bp-asm.h>.
53114         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53115         FIXME comments.
53116         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53117         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53118         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53119         <bp-asm.h>.
53120         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53121         comment.
53122         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53123         and <bp-asm.h>.
53124         (strncmp): Don't use BP_SYM,
53125         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53126         <bp-asm.h>.
53127         (__mpn_sub_n): Don't use BP_SYM.
53128         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53129         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53130         and <bp-asm.h>.
53131         (__mpn_submul_1): Don't use BP_SYM.
53132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53134         <bp-sym.h> and <bp-asm.h>.
53135         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53137         <bp-sym.h> and <bp-asm.h>.
53138         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53139         comment.
53141 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53144         Use ZK to minimize writes to Z.
53145         (sub_magnitudes): Simplify code a bit.
53146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53147         Use ZK to minimize writes to Z.
53148         (sub_magnitudes): Simplify code a bit.
53150 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53152         * csu/gmon-start.c: Add special exception to license text.
53154 2013-02-27  Richard Henderson  <rth@redhat.com>
53156         * scripts/config.guess: Update from config.git.
53157         * scripts/config.sub: Likewise.
53159 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53161         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53163         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53165         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53167         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53169         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53171 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53173         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53174         [$(build-shared = yes].
53176 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53178         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53179         (__mul): Reduce iterations for calculating mantissa.
53181         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53182         MPTWO.
53183         (__mpranred): Likewise.
53185         [BZ #15160]
53186         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53187         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53189 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53191         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53192         Define __attribute__.
53194 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53196         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53197         unused.
53198         * posix/regex_internal.h (__attribute): Remove.
53199         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53200         (re_string_context_at): Likewise.
53201         (bitset_not): Use __attribute__ and mark function as possibly
53202         unused.
53203         (bitset_merge): Likewise.
53204         (bitset_mask): Likewise.
53205         (re_string_char_size_at): Likewise.
53206         (re_string_wchar_at): Likewise.
53207         (re_string_elem_size_at): Likewise.
53209 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53211         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53212         code.
53213         (cc32): Likewise.
53215         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53216         (__acr): Likewise.
53217         (__cpy): Likewise.
53218         (norm): Likewise.
53219         (denorm): Likewise.
53220         (__dbl_mp): Likewise.
53221         (add_magnitudes): Likewise.
53222         (sub_magnitudes): Likewise.
53223         (__mul): Likewise.
53224         (__inv): Likewise.
53226         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53227         style.
53229         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53230         style.
53232         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53233         code.
53235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53236         up changes with default code.
53237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53238         Likewise.
53240 2013-02-24  Allan McRae  <allan@archlinux.org>
53242         * manual/socket.texi (The Internet Namespace): Order menu items
53243         to match that in the file.
53245         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53246         node listing of the info page menu.
53248 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53250         [BZ #13550]
53251         * sysdeps/i386/bp-asm.h: Remove file.
53252         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53253         (PARMS): Do not use macros from bp-asm.h.
53254         (S1): Likewise.
53255         (S2): Likewise.
53256         (SIZE): Likewise.
53257         (__mpn_add_n): Do not use BP_SYM
53258         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53259         "bp-asm.h".
53260         (PARMS): Do not use macros from bp-asm.h.
53261         (S1): Likewise.
53262         (SIZE): Likewise.
53263         (__mpn_addmul_1): Do not use BP_SYM
53264         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53265         "bp-asm.h".
53266         (PARMS): Do not use macros from bp-asm.h.
53267         (SIGMSK): Likewise.
53268         (_setjmp): Likewise.  Do not use BP_SYM.
53269         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53270         "bp-asm.h".
53271         (PARMS): Do not use macros from bp-asm.h.
53272         (SIGMSK): Likewise.
53273         (setjmp): Likewise.  Do not use BP_SYM.
53274         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53275         "bp-asm.h".
53276         (PARMS): Do not use macros from bp-asm.h.
53277         (__frexp): Do not use BP_SYM.
53278         (frexp): Likewise.
53279         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53280         "bp-asm.h".
53281         (PARMS): Do not use macros from bp-asm.h.
53282         (__frexpf): Do not use BP_SYM.
53283         (frexpf): Likewise.
53284         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53285         "bp-asm.h".
53286         (PARMS): Do not use macros from bp-asm.h.
53287         (__frexpl): Do not use BP_SYM.
53288         (frexpl): Likewise.
53289         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53290         "bp-asm.h".
53291         (PARMS): Do not use macros from bp-asm.h.
53292         (__remquo): Do not use BP_SYM.
53293         (remquo): Likewise.
53294         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53295         "bp-asm.h".
53296         (PARMS): Do not use macros from bp-asm.h.
53297         (__remquof): Do not use BP_SYM.
53298         (remquof): Likewise.
53299         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53300         "bp-asm.h".
53301         (PARMS): Do not use macros from bp-asm.h.
53302         (__remquol): Do not use BP_SYM.
53303         (remquol): Likewise.
53304         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53305         "bp-asm.h".
53306         (PARMS): Do not use macros from bp-asm.h.
53307         (DEST): Likewise.
53308         (SRC): Likewise.
53309         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53310         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53311         "bp-asm.h".
53312         (PARMS): Do not use macros from bp-asm.h.
53313         (strlen): Do not use BP_SYM.
53314         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53315         "bp-asm.h".
53316         (PARMS): Do not use macros from bp-asm.h.
53317         (S1): Likewise.
53318         (S2): Likewise.
53319         (SIZE): Likewise.
53320         (__mpn_add_n): Do not use BP_SYM.
53321         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53322         "bp-asm.h".
53323         (PARMS): Do not use macros from bp-asm.h.
53324         (S1): Likewise.
53325         (SIZE): Likewise.
53326         (__mpn_addmul_1): Do not use BP_SYM.
53327         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53328         weak_alias.
53329         (bzero): Likewise.
53330         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53331         "bp-asm.h".
53332         (PARMS): Do not use macros from bp-asm.h.
53333         (S): Likewise.
53334         (SIZE): Likewise.
53335         (__mpn_lshift): Do not use BP_SYM.
53336         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53337         "bp-asm.h".
53338         (PARMS): Do not use macros from bp-asm.h.
53339         (DEST): Likewise.
53340         (SRC): Likewise.
53341         (LEN): Likewise.
53342         (memcpy): Likewise.  Do not use BP_SYM.
53343         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53344         libc_hidden_def and weak_alias.
53345         (mempcpy): Do not use BP_SYM in weak_alias.
53346         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53347         "bp-asm.h".
53348         (PARMS): Do not use macros from bp-asm.h.
53349         (DEST): Likewise.
53350         (LEN): Likewise.
53351         [!BZERO_P] (CHR): Likewise.
53352         (memset): Likewise.  Do not use BP_SYM.
53353         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53354         "bp-asm.h".
53355         (PARMS): Do not use macros from bp-asm.h.
53356         (S1): Likewise.
53357         (SIZE): Likewise.
53358         (__mpn_mul_1): Do not use BP_SYM.
53359         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53360         "bp-asm.h".
53361         (PARMS): Do not use macros from bp-asm.h.
53362         (S): Likewise.
53363         (SIZE): Likewise.
53364         (__mpn_rshift): Do not use BP_SYM.
53365         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53366         "bp-asm.h".
53367         (PARMS): Do not use macros from bp-asm.h.
53368         (STR): Likewise.
53369         (CHR): Likewise.
53370         (strchr): Likewise.  Do not use BP_SYM.
53371         (index): Do not use BP_SYM in weak_alias.
53372         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53373         "bp-asm.h".
53374         (PARMS): Do not use macros from bp-asm.h.
53375         (DEST): Likewise.
53376         (SRC): Likewise.
53377         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53378         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53379         "bp-asm.h".
53380         (PARMS): Do not use macros from bp-asm.h.
53381         (strlen): Do not use BP_SYM.
53382         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53383         "bp-asm.h".
53384         (PARMS): Do not use macros from bp-asm.h.
53385         (S1): Likewise.
53386         (S2): Likewise.
53387         (SIZE): Likewise.
53388         (__mpn_sub_n): Do not use BP_SYM.
53389         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53390         "bp-asm.h".
53391         (PARMS): Do not use macros from bp-asm.h.
53392         (S1): Likewise.
53393         (SIZE): Likewise.
53394         (__mpn_submul_1): Do not use BP_SYM.
53395         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53396         "bp-asm.h".
53397         (PARMS): Do not use macros from bp-asm.h.
53398         (S1): Likewise.
53399         (S2): Likewise.
53400         (SIZE): Likewise.
53401         (__mpn_add_n): Do not use BP_SYM.
53402         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53403         weak_alias.
53404         (bzero): Likewise.
53405         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53406         "bp-asm.h".
53407         (PARMS): Do not use macros from bp-asm.h.
53408         (BLK2): Likewise.
53409         (LEN): Likewise.
53410         (memcmp): Do not use BP_SYM.
53411         (bcmp): Do not use BP_SYM in weak_alias.
53412         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53413         "bp-asm.h".
53414         (PARMS): Do not use macros from bp-asm.h.
53415         (DEST): Likewise.
53416         (SRC): Likewise.
53417         (LEN): Likewise.
53418         (memcpy): Likewise.  Do not use BP_SYM.
53419         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53420         "bp-asm.h".
53421         (PARMS): Do not use macros from bp-asm.h.
53422         (DEST): Likewise.
53423         (SRC): Likewise.
53424         (LEN): Likewise.
53425         (memmove): Likewise.  Do not use BP_SYM.
53426         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53427         "bp-asm.h".
53428         (PARMS): Do not use macros from bp-asm.h.
53429         (DEST): Likewise.
53430         (SRC): Likewise.
53431         (LEN): Likewise.
53432         (__mempcpy): Likewise.  Do not use BP_SYM.
53433         (mempcpy): Do not use BP_SYM in weak_alias.
53434         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53435         "bp-asm.h".
53436         (PARMS): Do not use macros from bp-asm.h.
53437         (DEST): Likewise.
53438         (LEN): Likewise.
53439         [!BZERO_P] (CHR): Likewise.
53440         (memset): Likewise.  Do not use BP_SYM.
53441         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53442         "bp-asm.h".
53443         (PARMS): Do not use macros from bp-asm.h.
53444         (STR2): Likewise.
53445         (strcmp): Do not use BP_SYM.
53446         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53447         "bp-asm.h".
53448         (PARMS): Do not use macros from bp-asm.h.
53449         (STR): Likewise.
53450         (DELIM): Likewise.
53451         [USE_AS_STRTOK_R] (SAVE): Likewise.
53452         (FUNCTION): Likewise.  Do not use BP_SYM.
53453         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53454         aliases.
53455         (strtok_r): Likewise.
53456         (__GI___strtok_r): Likewise.
53457         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53458         (PARMS): Do not use macros from bp-asm.h.
53459         (S): Likewise.
53460         (SIZE): Likewise.
53461         (__mpn_lshift): Do not use BP_SYM.
53462         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53463         (PARMS): Do not use macros from bp-asm.h.
53464         (STR): Likewise.
53465         (CHR): Likewise.
53466         (__memchr): Do not use BP_SYM.
53467         (memchr): Do not use BP_SYM in weak_alias.
53468         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53469         (PARMS): Do not use macros from bp-asm.h.
53470         (BLK2): Likewise.
53471         (LEN): Likewise.
53472         (memcmp): Do not use BP_SYM.
53473         (bcmp): Do not use BP_SYM in weak_alias.
53474         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53475         (PARMS): Do not use macros from bp-asm.h.
53476         (S1): Likewise.
53477         (SIZE): Likewise.
53478         (__mpn_mul_1): Do not use BP_SYM.
53479         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53480         "bp-asm.h".
53481         (PARMS): Do not use macros from bp-asm.h.
53482         (STR): Likewise.
53483         (CHR): Likewise.
53484         (__rawmemchr): Do not use BP_SYM.
53485         (rawmemchr): Do not use BP_SYM in weak_alias.
53486         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53487         (PARMS): Do not use macros from bp-asm.h.
53488         (S): Likewise.
53489         (SIZE): Likewise.
53490         (__mpn_rshift): Do not use BP_SYM.
53491         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53492         (PARMS): Do not use macros from bp-asm.h.
53493         (SIGMSK): Likewise.
53494         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53495         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53496         (_start): Do not use BP_SYM.
53497         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53498         (PARMS): Do not use macros from bp-asm.h.
53499         (DEST): Likewise.
53500         (SRC): Likewise.
53501         (__stpcpy): Likewise.  Do not use BP_SYM.
53502         (stpcpy): Do not use BP_SYM in weak_alias.
53503         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53504         "bp-asm.h".
53505         (PARMS): Do not use macros from bp-asm.h.
53506         (DEST): Likewise.
53507         (SRC): Likewise.
53508         (LEN): Likewise.
53509         (__stpncpy): Likewise.  Do not use BP_SYM.
53510         (stpncpy): Do not use BP_SYM in weak_alias.
53511         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53512         (PARMS): Do not use macros from bp-asm.h.
53513         (STR): Likewise.
53514         (CHR): Likewise.
53515         (strchr): Likewise.  Do not use BP_SYM.
53516         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53517         "bp-asm.h".
53518         (PARMS): Do not use macros from bp-asm.h.
53519         (STR): Likewise.
53520         (CHR): Likewise.
53521         (__strchrnul): Likewise.  Do not use BP_SYM.
53522         (strchrnul): Do not use BP_SYM in weak_alias.
53523         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53524         "bp-asm.h".
53525         (PARMS): Do not use macros from bp-asm.h.
53526         (STOP): Likewise.
53527         (strcspn): Do not use BP_SYM.
53528         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53529         "bp-asm.h".
53530         (PARMS): Do not use macros from bp-asm.h.
53531         (STR): Likewise.
53532         (STOP): Likewise.
53533         (strpbrk): Likewise.  Do not use BP_SYM.
53534         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53535         "bp-asm.h".
53536         (PARMS): Do not use macros from bp-asm.h.
53537         (STR): Likewise.
53538         (CHR): Likewise.
53539         (strrchr): Likewise.  Do not use BP_SYM.
53540         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53541         (PARMS): Do not use macros from bp-asm.h.
53542         (SKIP): Likewise.
53543         (strspn): Do not use BP_SYM.
53544         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53545         (PARMS): Do not use macros from bp-asm.h.
53546         (STR): Likewise.
53547         (DELIM): Likewise.
53548         (SAVE): Likewise.
53549         (FUNCTION): Likewise.  Do not use BP_SYM.
53550         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53551         aliases.
53552         (strtok_r): Likewise.
53553         (__GI___strtok_r): Likewise.
53554         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53555         (PARMS): Do not use macros from bp-asm.h.
53556         (S1): Likewise.
53557         (S2): Likewise.
53558         (SIZE): Likewise.
53559         (__mpn_sub_n): Do not use BP_SYM.
53560         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53561         "bp-asm.h".
53562         (PARMS): Do not use macros from bp-asm.h.
53563         (S1): Likewise.
53564         (SIZE): Likewise.
53565         (__mpn_submul_1): Do not use BP_SYM.
53566         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53567         <bp-sym.h>.
53568         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53569         and <bp-asm.h>.
53570         (PARMS): Do not use macros from bp-asm.h.
53571         (FLAGS): Likewise.
53572         (PTID): Likewise.
53573         (TLS): Likewise.
53574         (CTID): Likewise.
53575         (__clone): Do not use BP_SYM.
53576         (clone): Do not use BP_SYM in weak_alias.
53577         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53578         and <bp-asm.h>.
53579         (PARMS): Do not use macros from bp-asm.h.
53580         (LEN): Likewise.
53581         (__mmap64): Do not use BP_SYM.
53582         (mmap64): Do not use BP_SYM in weak_alias.
53583         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53584         <bp-sym.h> and <bp-asm.h>.
53585         (PARMS): Do not use macros from bp-asm.h.
53586         (__posix_fadvise64_l64): Do not use BP_SYM.
53587         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53588         (PARMS): Do not use macros from bp-asm.h.
53589         (NSOPS): Likewise.
53590         (semtimedop): Do not use BP_SYM.
53591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53592         and <bp-asm.h>.
53594 2013-02-21  Allan McRae  <allan@archlinux.org>
53596         * manual/message.texi (Charset conversion in gettext):
53597         Move @end statement to beginning of line.
53599 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53602         static.
53603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53604         Likewise.
53606         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53607         (denorm): Likewise.
53608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53611 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53613         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53614         tail-call to the resolved function if pltexit isn't needed.
53616 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53619         or Y being zero as being unlikely.
53620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53621         Likewise.
53623 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53625         * manual/nss.texi (System Databases and Name Service Switch):
53626         Remove frobnicate @pxref.
53628 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53630         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53631         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53633 2013-02-20  Petr Machata  <pmachata@redhat.com>
53635         * elf/elf.h (R_ARM_TARGET1): New macro.
53636         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53637         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53638         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53639         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53640         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53641         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53642         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53643         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53644         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53645         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53646         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53647         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53648         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53649         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53650         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53651         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53652         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53653         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53654         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53655         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53656         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53657         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53658         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53659         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53660         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53661         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53662         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53663         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53664         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53665         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53666         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53667         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53668         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53669         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53670         (R_ARM_THM_GOT_BREL12): Likewise.
53671         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53672         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53673         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53674         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53675         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53676         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53677         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53678         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53679         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53681 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53683         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53684         __attribute_used__ to __attribute__ ((unused)).
53686 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53688         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53689         powerpc mpa.c.
53690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53691         comment formatting.
53692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53694 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53696         [BZ #13550]
53697         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53698         Remove macro.
53699         (ENTER): Remove both macro definitions.
53700         (LEAVE): Likewise.
53701         (CHECK_BOUNDS_LOW): Likewise.
53702         (CHECK_BOUNDS_HIGH): Likewise.
53703         (CHECK_BOUNDS_BOTH): Likewise.
53704         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53705         (RETURN_BOUNDED_POINTER): Likewise.
53706         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53707         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53708         (POP_ERRNO_LOCATION_RETURN): Likewise.
53709         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53710         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53711         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53712         macros.
53713         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53714         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53715         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53716         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53717         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53718         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53719         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53720         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53721         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53722         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53723         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53724         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53725         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53726         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53727         removed macros.
53728         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53729         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53730         macros.
53731         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53732         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53733         * sysdeps/i386/i586/memset.S (memset): Likewise.
53734         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53735         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53736         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53737         macros.
53738         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53739         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53740         Change uses of L(2) to L(out).
53741         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53742         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53743         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53744         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53745         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53746         removed macros.
53747         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53748         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53749         macros.
53750         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53751         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53752         (RETURN): Do not use macro LEAVE.
53753         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53754         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53755         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53756         * sysdeps/i386/i686/memset.S (memset): Likewise.
53757         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53758         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53759         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53760         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53761         Likewise.
53762         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53763         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53764         L(1_2) and L(1_3) into L(1).
53765         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53766         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53767         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53768         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53769         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53770         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53771         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53772         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53773         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53774         macros.
53775         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53777         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53778         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53779         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53780         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53781         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53782         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53783         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53784         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53785         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53786         * sysdeps/i386/strspn.S (strspn): Likewise.
53787         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53788         conditional code.
53789         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53790         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53791         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53792         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53793         L(1_3) into L(1_1).
53794         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53795         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53796         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53797         macros.
53798         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53800 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53802         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53803         macro.
53805 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53807         * math/atest-exp.c (exp_mpn): Remove ROUND.
53808         * math/atest-exp2.c (exp_mpn): Likewise.
53809         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53811         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53812         * stdlib/tst-tls-atexit-lib.c: Likewise.
53813         * stdlib/tst-tls-atexit.c: Likewise.
53815 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53817         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53818         and __attribute_alloc_size__.
53820 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53822         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53823         __attribute_alloc_size__.
53824         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53825         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53827 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53829         * include/programs/xmalloc.h: New file.
53830         * catgets/gencat.c: Include it.
53831         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53832         * elf/pldd.c: Likewise.
53833         * iconv/iconv_charmap.c: Likewise.
53834         * iconv/iconvconfig.c: Likewise.
53835         * iconv/strtab.c: Likewise.
53836         * locale/programs/locale.c: Likewise.
53837         * locale/programs/localedef.h: Likewise.
53838         * locale/programs/simple-hash.c: Likewise.
53839         * nscd/nscd.h: Likewise.
53840         * nss/makedb.c: Likewise.
53841         * sysdeps/generic/ldconfig.h: Likewise.
53843 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53845         * Versions.def: Add GLIBC_2.18.
53846         * include/link.h (struct link_map): New member l_tls_dtor_count.
53847         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53848         (__call_tls_dtors): Likewise.
53849         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53850         __cxa_thread_atexit_impl.
53851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53852         Likewise.
53853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53854         Likewise.
53855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53856         Likewise.
53857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53858         Likewise.
53859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53861         Likewise.
53862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53863         Likewise.
53864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53866         Likewise.
53867         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53868         (tests): Add test case tst-tls-atexit.
53869         (modules-names): Add shared library for tst-tls-atexit.
53870         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53871         (GLIBC_PRIVATE): Add __call_tls_dtors.
53872         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53873         for libstdc++.
53874         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53875         * stdlib/tst-tls-atexit.c: New test case.
53876         * stdlib/tst-tls-atexit-lib.c: New test case.
53878         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53880         * elf/Versions (ld): Add _dl_find_dso_for_object.
53881         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53882         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53883         (dl_open_worker): Use _dl_find_dso_for_object.
53884         * elf/dl-sym.c (do_sym): Likewise.
53885         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53887 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53889         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53890         Syntactic changes only.
53891         (_dl_runtime_profile): Do a tail-call to the resolved function.
53893 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53895         [BZ #13550]
53896         * sysdeps/x86_64/bp-asm.h: Remove file.
53897         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (__clone): Do not use BP_SYM.
53900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53901         <bp-sym.h> and <bp-asm.h>.
53902         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53903         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53904         "bp-asm.h".
53905         (_setjmp): Do not use BP_SYM.
53906         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53907         "bp-asm.h".
53908         (setjmp): Do not use BP_SYM.
53909         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53910         libc_hidden_def.
53911         (mempcpy): Do not use BP_SYM in weak_alias.
53912         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53913         "bp-asm.h".
53914         (strchr): Do not use BP_SYM.
53915         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53916         "bp-asm.h".
53917         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53918         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53919         (_start): Do not use BP_SYM.
53920         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53921         "bp-asm.h".
53922         (strcat): Do not use BP_SYM.
53923         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53924         "bp-asm.h".
53925         (STRCMP): Do not use BP_SYM.
53926         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53927         "bp-asm.h".
53928         (STRCPY): Do not use BP_SYM.
53929         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53930         "bp-asm.h".
53931         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53932         "bp-asm.h".
53933         (FUNCTION): Do not use BP_SYM.
53934         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53935         weak_alias.
53936         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53938 2013-02-17  Andreas Jaeger  <aj@suse.de>
53940         * time/Versions: Sort entries.
53941         * string/Versions: Likewise.
53942         * resolv/Versions: Likewise.
53943         * posix/Versions: Likewise.
53944         * iconv/Versions: Likewise.
53945         * elf/Versions: Likewise.
53946         * wcsmbs/Versions: Likewise.
53948 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53951         loop termination condition.
53953         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53954         variable to calculate EZ.
53955         (__sqr): Likewise.
53957         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53958         the lower precision input.
53960 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53962         [BZ #13550]
53963         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53964         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53965         (run-via-rtld-prefix): Do not handle %-bp tests.
53966         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53967         (all-object-suffixes): Remove .ob.
53968         (bppfx): Remove variable.
53969         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53970         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53971         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53972         [$(build-bounded) = yes] (libtype.ob): Likewise.
53973         * Makerules (elide-routines.ob): Remove variable.
53974         (do-tests-clean): Do not handle *-bp.out.
53975         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53976         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53977         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53978         (tests): Do not include $(tests-bp.out).
53979         (xtests): Do not include $(xtests-bp.out).
53980         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53981         [$(build-bounded) = yes] ($(addprefix
53982         $(objpfx),$(binaries-bounded))): Remove rule.
53983         ($(objpfx)%-bp.out): Remove rule.
53984         * config.make.in (build-bounded): Remove variable.
53985         * crypt/Makefile [$(build-bounded) = yes]
53986         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53987         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53988         append to variable.
53989         [$(build-bounded) = yes] (install-lib): Likewise.
53990         [$(build-bounded) = yes] (generated): Likewise.
53991         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53992         Remove rule.
53993         * intl/Makefile [$(build-bounded) = yes]
53994         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53995         * math/Makefile [$(build-bounded) = yes]
53996         ($(tests:%=$(objpfx)%-bp): Likewise.
53997         * misc/Makefile [$(build-bounded) = yes]
53998         ($(objpfx)tst-tsearch-bp): Likewise.
53999         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54000         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54001         Remove dependency.
54002         * string/Makefile (o-objects.ob): Remove variable.
54003         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54004         (CFLAGS-.ob): Remove variable.
54005         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54006         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54007         both definitions of variable.
54008         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54009         (ASFLAGS-.ob): Remove variable.
54011 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54013         [BZ #13550]
54014         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54015         Remove __BOUNDED_POINTERS__ from condition.
54016         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54017         * string/bits/string2.h [!__NO_STRING_INLINES &&
54018         !__BOUNDED_POINTERS__]: Likewise.
54019         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54020         Likewise.
54021         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54022         Remove conditional code.
54023         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54024         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54025         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54026         condition.
54028         [BZ #13550]
54029         * csu/libc-start.c: Do not include <bp-sym.h>.
54030         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54031         * elf/dl-open.c: Do not include <bp-sym.h>.
54032         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54033         * math/fegetenv.c: Do not include <bp-sym.h>.
54034         (fegetenv): Do not use BP_SYM in versioned symbols.
54035         * nptl/sysdeps/pthread/bits/libc-lockP.h
54036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54037         <bp-sym.h>.
54038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54039         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54041         (__pthread_mutex_destroy): Likewise.
54042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54043         (__pthread_mutex_lock): Likewise.
54044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54045         (__pthread_mutex_trylock): Likewise.
54046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54047         (__pthread_mutex_unlock): Likewise.
54048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54049         (__pthread_mutexattr_init): Likewise.
54050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54051         (__pthread_mutexattr_destroy): Likewise.
54052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54053         (__pthread_mutexattr_settype): Likewise.
54054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54055         (__pthread_rwlock_init): Likewise.
54056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54057         (__pthread_rwlock_destroy): Likewise.
54058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54059         (__pthread_rwlock_rdlock): Likewise.
54060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54061         (__pthread_rwlock_tryrdlock): Likewise.
54062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54063         (__pthread_rwlock_wrlock): Likewise.
54064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54065         (__pthread_rwlock_trywrlock): Likewise.
54066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54067         (__pthread_rwlock_unlock): Likewise.
54068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54069         (__pthread_key_create): Likewise.
54070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54071         (__pthread_setspecific): Likewise.
54072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54073         (__pthread_getspecific): Likewise.
54074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54075         Likewise.
54076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54077         (_pthread_cleanup_push_defer): Likewise.
54078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54079         (_pthread_cleanup_pop_restore): Likewise.
54080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54081         (pthread_setcancelstate): Likewise.
54082         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54083         <bp-sym.h>.
54084         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54085         (memchr): Do not use BP_SYM in weak_alias.
54086         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54087         (fegetenv): Do not use BP_SYM in versioned symbols.
54088         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54089         (fesetenv): Do not use BP_SYM in versioned symbols.
54090         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54091         (feupdateenv): Do not use BP_SYM in versioned symbols.
54092         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54093         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54094         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54095         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54096         (open64): Do not use BP_SYM in weak_alias.
54097         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54098         (fegetenv): Do not use BP_SYM in versioned symbols.
54099         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54100         (fesetenv): Do not use BP_SYM in versioned symbols.
54101         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54102         (feupdateenv): Do not use BP_SYM in versioned symbols.
54103         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54104         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54105         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54106         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54107         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54108         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54109         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54110         <bp-sym.h>.
54111         (__libc_start_main): Do not use BP_SYM.
54113 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54116         redundant return line.
54117         (norm): Likewise.
54118         (denorm): Likewise.
54119         (dbl_mp): Likewise.
54120         (sub_magnitudes): Likewise.
54121         (__add): Likewise.
54122         (__sub): Likewise.
54123         (__mul): Likewise.
54124         (__inv): Likewise.
54125         (__dvd): Likewise.
54126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54127         (norm): Likewise.
54128         (denorm): Likewise.
54129         (dbl_mp): Likewise.
54130         (sub_magnitudes): Likewise.
54131         (__add): Likewise.
54132         (__sub): Likewise.
54133         (__mul): Likewise.
54134         (__inv): Likewise.
54135         (__dvd): Likewise.
54137         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54138         instead of __mul.
54139         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54140         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54141         (cc32): Likewise.
54143         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54144         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54146         of __mul for squares.
54147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54148         function
54149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54150         Likewise.
54151         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54152         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54154 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54156         [BZ #13550]
54157         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54158         code.
54159         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54160         prototype or function definition.  Rename ubp_* variables and
54161         parameters.  Remove argv definitions conditional on
54162         [__BOUNDED_POINTERS__].
54163         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54164         * elf/dl-runtime.c (_dl_fixup): Likewise.
54165         * include/set-hooks.h (RUN_HOOK): Likewise.
54166         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54167         definition.
54168         * string/strcpy.c (strcpy): Do not use __unbounded.
54169         * sysdeps/generic/frame.h (struct layout): Likewise.
54170         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54171         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54172         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54173         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54174         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54175         (__backtrace): Likewise.
54176         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54177         use __ptrvalue.
54178         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54179         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54180         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54181         Likewise.
54182         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54183         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54184         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54185         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54186         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54187         Do not use __unbounded.
54188         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54189         Rename __unboundedrlimits parameter to rlimits in prototype.
54190         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54191         Do not use __unbounded.
54192         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54193         not use __ptrvalue.
54194         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54195         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54196         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54197         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54198         __ptrvalue or __unbounded.
54199         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54200         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54201         use __unbounded.
54202         (__new_msgctl): Do not use __ptrvalue.
54203         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54204         __unbounded.
54205         (__libc_msgrcv): Do not use __ptrvalue.
54206         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54207         startup_info): Do not use __unbounded.
54208         (__libc_start_main): Likewise.  Rename ubp_* variables and
54209         parameters.  Remove argv definitions conditional on
54210         [__BOUNDED_POINTERS__].
54211         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54212         __ptrvalue.
54213         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54214         use __unbounded.
54215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54216         or __ptrvalue.
54217         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54218         use __unbounded.
54219         (__new_shmctl): Do not use __ptrvalue.
54220         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54221         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54222         Likewise.
54223         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54224         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54225         (__libc_sigaction): Likewise.
54226         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54227         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54228         Likewise.
54229         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54231 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54233         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54235         * string/mempcpy.c: Implement by calling memcpy.
54237 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54242         evaluation.
54244         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54245         values in the mantissa.
54247         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54248         minimize writes to Z.
54249         (sub_magnitudes): Simplify code a bit.
54251 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54253         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54254         from the message.  The linker prefixes all warnings with that already.
54256 2013-02-12  Andreas Schwab  <schwab@suse.de>
54258         [BZ #15078]
54259         * posix/regexec.c (extend_buffers): Add parameter min_len.
54260         (check_matching): Pass minimum needed length.
54261         (clean_state_log_if_needed): Likewise.
54262         (get_subexp): Likewise.
54263         * posix/Makefile (tests): Add bug-regex34.
54264         (bug-regex34-ENV): Define.
54265         * posix/bug-regex34.c: New file.
54267         [BZ #11561]
54268         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54269         elements compare against the byte sequence of it, not its name.
54270         * posix/Makefile (tests): Add bug-regex35.
54271         (bug-regex35-ENV): Define.
54272         * posix/bug-regex35.c: New file.
54274 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54276         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54277         comment.
54278         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54279         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54280         (CHECK_EOL): Add undef.
54282 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54284         * bits/stdlib-bsearch.h: New file.
54285         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54286         * stdlib/stdlib.h: Likewise.
54288 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54290         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54291         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54292         declaration.
54293         * manual/search.texi (Array Search Function): Add missing const in
54294         lfind prototype.
54295         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54296         declaration to use rlim_t.
54297         (Basic Scheduling Functions): Remove erroneous const from
54298         sched_getparam prototype.  Remove erroneous * from
54299         sched_get_priority_max and sched_get_priority_min prototypes.
54300         (Resource Usage): Fix summary @comment on vtimes to refer to
54301         sys/vtimes.h rather than vtimes.h.
54302         Add missing *s in vtimes prototype.
54303         (Limits on Resources): Fix ulimit prototype to return long int.
54304         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54305         prototypes to use long int rather than double.
54306         (BSD Random): Fix initstate and setstate to use char *, not void *.
54307         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54308         prototype to make second argument 'struct aiocb64 *const[]'.
54309         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54310         (Status of AIO Operations): Remove erroneous const in aio_return and
54311         aio_return64 prototypes.
54312         (Synchronizing I/O): Fix sync prototype to return void.
54313         * manual/startup.texi (Suboptions): Remove an erroneous const in
54314         getsubopt prototype.
54315         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54316         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54317         use size_t rather than int.
54318         (Scanning All Users): Likewise for getpwent_r.
54319         (Setting Groups): Add missing const to setgroups prototype.
54320         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54321         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54322         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54323         'const void *' rather than 'const char *'.
54324         (Host Address Functions): Likewise for inet_ntop.
54325         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54326         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54327         ssize_t for return value.
54328         (Sending Data): Likewise for send, sendto, sendmsg.
54329         (Socket Option Functions): Add a missing const in setsockopt prototype.
54330         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54331         use wchar_t for the argument.
54332         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54333         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54334         take no arguments.
54335         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54336         double/float/long double for second argument.
54337         Fix return types of significand, significandf, significandl.
54338         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54339         argument in fchmod prototype.
54340         (File Owner): Use uid_t and gid_t in fchown prototype.
54341         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54342         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54343         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54344         use 'const struct dirent **' as argument types to CMP function pointer
54345         argument.
54346         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54347         (File Times): Fix summary magic @comment for struct utimbuf and utime
54348         to refer to utime.h, not time.h.
54349         * manual/string.texi (Argz Functions): Add missing const in
54350         argz_extract and argz_next prototypes.
54351         (Finding Tokens in a String): Likewise for basename.
54352         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54353         (Copying and Concatenation): Fix typo in wmemmove prototype.
54354         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54355         (Signal Stack): Remove erroneous const in sigstack prototype.
54356         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54357         prototype.
54358         (Simple Calendar Time): Likewise for stime.
54359         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54360         prototype.
54361         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54362         say sys/sysctl.h instead.
54363         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54364         and vsyslog prototypes.
54366 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54368         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54369         Remove.
54371 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54373         * misc/sys/mman.h: Fix typo in mremap comment.
54375 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54377         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54378         the '\0' terminator.
54380 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54382         [BZ #13550]
54383         * debug/segfault.c: Don't include <bp-checks.h>.
54384         * sysdeps/generic/bp-checks.h: Remove file.
54385         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54386         (__GETDENTS): Don't use CHECK_N.
54387         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54388         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54389         (__getgroups): Don't use CHECK_N.
54390         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54391         (setgroups): Don't use CHECK_N.
54392         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54393         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54394         (__libc_msgrcv): Don't use CHECK_N.
54395         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54396         (__libc_msgsnd): Don't use CHECK_N.
54397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54398         <bp-checks.h>.
54399         (__libc_pread): Don't use CHECK_N.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54401         include <bp-checks.h>.
54402         (__libc_pread64): Don't use CHECK_N.
54403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54404         include <bp-checks.h>.
54405         (__libc_pwrite): Don't use CHECK_N.
54406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54407         include <bp-checks.h>.
54408         (__libc_pwrite64): Don't use CHECK_N.
54409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54410         <bp-checks.h>.
54411         (__libc_pread): Don't use CHECK_N.
54412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54413         include <bp-checks.h>.
54414         (__libc_pread64): Don't use CHECK_N.
54415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54416         include <bp-checks.h>.
54417         (__libc_pwrite): Don't use CHECK_N.
54418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54419         include <bp-checks.h>.
54420         (__libc_pwrite64): Don't use CHECK_N.
54421         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54422         (do_pread): Don't use CHECK_N.
54423         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54424         (do_pread64): Don't use CHECK_N.
54425         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54426         (do_pwrite): Don't use CHECK_N.
54427         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54428         (do_pwrite64): Don't use CHECK_N.
54429         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54430         (__libc_readv): Don't use CHECK_N.
54431         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54432         (semop): Don't use CHECK_N.
54433         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54434         <bp-checks.h>.
54435         (semtimedop): Don't use CHECK_N.
54436         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54437         (__libc_pread): Don't use CHECK_N.
54438         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54439         <bp-checks.h>.
54440         (__libc_pread64): Don't use CHECK_N.
54441         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54442         <bp-checks.h>.
54443         (__libc_pwrite): Don't use CHECK_N.
54444         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54445         <bp-checks.h>.
54446         (__libc_pwrite64): Don't use CHECK_N.
54447         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54448         <bp-checks.h>.
54449         (__libc_msgrcv): Don't use CHECK_N.
54450         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54451         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54452         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54453         (__libc_writev): Don't use CHECK_N.
54455 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54457         * string/strcpy.c: Removed unused variable.
54459         * Makeconfig (+sysdep-includes): Define with := rather than =.
54460         Use an existing include/ subdir of each sysdeps dir before it.
54462 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54464         * nscd/connection.c (register_traced_file): Comment function.
54465         [HAVE_INOTIFY] (union __inev): Define.
54466         [HAVE_INOTIFY] (inotify_check_files): New function.
54467         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54468         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54469         clear_db_cache.
54470         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54472 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54474         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54475         loaded if not already and that a failure is permanent.
54477 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54479         [BZ #15006]
54480         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54481         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54483 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54485         [BZ #13550]
54486         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54487         (CHECK_1_NULL_OK): Likewise.
54488         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54489         (__fxstat): Do not use CHECK_1.
54490         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54491         <bp-checks.h>.
54492         (___fxstat64): Do not use CHECK_1.
54493         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54494         <bp-checks.h>.
54495         (__fxstatat): Do not use CHECK_1.
54496         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54497         <bp-checks.h>.
54498         (__fxstatat64): Do not use CHECK_1.
54499         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54500         <bp-checks.h>.
54501         (__fxstat): Do not use CHECK_1.
54502         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54503         <bp-checks.h>.
54504         (__fxstatat): Do not use CHECK_1.
54505         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54506         <bp-checks.h>.
54507         (__getresgid): Do not use CHECK_1.
54508         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54509         <bp-checks.h>.
54510         (__getresuid): Do not use CHECK_1.
54511         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54512         <bp-checks.h>.
54513         (__lxstat): Do not use CHECK_1.
54514         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54515         <bp-checks.h>.
54516         (__old_msgctl): Do not use CHECK_1.
54517         (__new_msgctl): Likewise.
54518         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54519         <bp-checks.h>.
54520         (__new_setrlimit): Do not use CHECK_1.
54521         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54522         <bp-checks.h>.
54523         (__old_shmctl): Do not use CHECK_1.
54524         (__new_shmctl): Likewise.
54525         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54526         <bp-checks.h>.
54527         (__xstat): Do not use CHECK_1.
54528         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54529         (__lxstat): Do not use CHECK_1.
54530         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54531         <bp-checks.h>.
54532         (___lxstat64): Do not use CHECK_1.
54533         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54534         (__old_msgctl): Do not use CHECK_1.
54535         (__new_msgctl): Likewise.
54536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54537         <bp-checks.h>.
54538         (__gettimeofday): Do not use CHECK_1.
54539         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54540         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54542         <bp-checks.h>.
54543         (__gettimeofday): Do not use CHECK_1.
54544         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54545         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54546         (__new_shmctl): Do not use CHECK_1.
54547         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54548         <bp-checks.h>.
54549         (do_sigtimedwait): Do not use CHECK_1.
54550         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54551         <bp-checks.h>.
54552         (do_sigwaitinfo): Do not use CHECK_1.
54553         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54554         <bp-checks.h>.
54555         (msgctl): Do not use CHECK_1.
54556         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54557         <bp-checks.h>.
54558         (shmctl): Do not use CHECK_1.
54559         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54560         (ustat): Do not use CHECK_1.
54561         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54562         <bp-checks.h>.
54563         (__fxstat): Do not use CHECK_1.
54564         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54565         <bp-checks.h>.
54566         (__fxstatat): Do not use CHECK_1.
54567         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54568         <bp-checks.h>.
54569         (__lxstat): Do not use CHECK_1.
54570         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54571         <bp-checks.h>.
54572         (__xstat): Do not use CHECK_1.
54573         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54574         (__xstat): Do not use CHECK_1.
54575         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54576         (___xstat64): Do not use CHECK_1.
54578         [BZ #13550]
54579         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54580         definitions.
54581         (CHECK_BOUNDS_HIGH): Likewise.
54582         * string/strcpy.c: Do not include <bp-checks.h>.
54583         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54585 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54587         * nscd/nscd-client.h (__nscd_drop_map_ref):
54588         Add __attribute__ ((unused)).
54589         * nis/nss-nisplus.h (niserr2nss): Likewise.
54591         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54592         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54594         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54595         Remove inline keyword.
54596         * include/rounding-mode.h (round_away): Likewise.
54597         * libio/wfileops.c (adjust_wide_data): Likewise.
54598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54599         (__m128i_strloadu_tolower): Likewise.
54600         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54601         (__m128i_strloadu_tolower): Likewise.
54602         * time/mktime.c (ydhms_diff): Likewise.
54603         * locale/elem-hash.h (elem_hash): Likewise.
54604         * locale/setlocale.c (setdata): Likewise.
54605         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54606         (re_string_wchar_at): Likewise.
54607         (bitset_not, bitset_merge, bitset_mask): Likewise.
54608         [!(__GNUC__ > 3)] (inline): Remove macro.
54609         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54610         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54611         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54612         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54613         * string/memcmp.c (memcmp_bytes): Likewise.
54614         * locale/programs/locarchive.c (compute_hashval): Likewise.
54615         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54616         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54617         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54618         * nss/getent.c (print_rpc, print_protocols): Likewise.
54619         (print_passwd, print_group, print_aliases): Likewise.
54620         * nis/nss-nisplus.h (niserr2nss): Likewise.
54621         * nscd/connections.c (restart_p): Likewise.
54622         Change return type to bool.
54624 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54626         * Makeconfig (all-Depend-files): Add existing
54627         $(sorted-subdirs:=/Depend) files.
54628         (all-subdirs): Remove nss.
54629         * sysdeps/unix/inet/Subdirs: Add it here instead.
54630         * hesiod/Depend: New file.
54632         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54633         instead of calling alloca.
54635         * io/lseek.c (__lseek): Rename to __libc_lseek.
54636         Define __lseek as an alias.
54638         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54640 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54642         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54643         else clause and remove check for non-standard endianness.
54645 2013-02-04  David S. Miller  <davem@davemloft.net>
54647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54649 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54651         [BZ #13550]
54652         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54653         (__ubp_memchr): Remove prototype.
54654         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54655         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54656         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54657         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54658         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54659         Remove alias.
54660         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54661         (__ubp_memchr): Likewise.
54662         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54663         (__ubp_memchr): Likewise.
54664         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54665         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54666         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54667         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54668         CHECK_STRING.
54669         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54670         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54671         (__getcwd): Do not use CHECK_STRING.
54672         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54673         <bp-checks.h>.
54674         (__real_chown): Do not use CHECK_STRING.
54675         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54676         <bp-checks.h>.
54677         (fchownat): Do not use CHECK_STRING.
54678         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54679         CHECK_STRING.
54680         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54681         <bp-checks.h>.
54682         (__lchown): Do not use CHECK_STRING.
54683         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54684         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54685         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54686         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54688         include <bp-checks.h>.
54689         (truncate64): Do not use CHECK_STRING.
54690         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54691         <bp-checks.h>.
54692         (__real_chown): Do not use CHECK_STRING.
54693         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54694         <bp-checks.h>.
54695         (__lchown): Do not use CHECK_STRING.
54696         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54697         <bp-checks.h>.
54698         (__chown): Do not use CHECK_STRING.
54699         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54700         <bp-checks.h>.
54701         (truncate64): Do not use CHECK_STRING.
54702         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54703         Likewise.
54704         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54705         (__xmknod): Do not use CHECK_STRING.
54706         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54707         <bp-checks.h>.
54708         (__xmknodat): Do not use CHECK_STRING.
54709         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54710         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54712 2013-02-04  Andreas Schwab  <schwab@suse.de>
54714         [BZ #14142]
54715         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54716         * include/netdb.h: Likewise for h_errno.
54717         * elf/tst-stackguard1.c: Include <tls.h>.
54719 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54721         * elf/link.h (struct link_map): Extend the l_addr comment.
54722         * include/link.h (struct link_map): Likewise.
54724 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54726         [BZ #13550]
54727         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54728         (BOUNDED_1): Remove macro.
54729         * debug/backtrace.c: Don't include <bp-checks.h>.
54730         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54731         (__backtrace): Likewise.
54732         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54733         <bp-checks.h>.
54734         (__backtrace): Don't use BOUNDED_1.
54735         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54736         <bp-checks.h>.
54737         (__backtrace): Don't use BOUNDED_1.
54738         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54739         (__backtrace): Don't use BOUNDED_1.
54740         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54741         (shmat): Don't use BOUNDED_N.
54743 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54745         [BZ #13550]
54746         * sysdeps/generic/bp-start.h: Remove file.
54747         * csu/libc-start.c: Don't include <bp-start.h>.
54748         (LIBC_START_MAIN): Set up __environ directly instead of using
54749         INIT_ARGV_and_ENVIRON.
54750         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54751         <bp-start.h>.
54753         [BZ #13550]
54754         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54755         definitions.
54756         (CHECK_FCNTL): Likewise.
54757         (CHECK_N_PAGES): Likewise.
54759         [BZ #13550]
54760         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54761         definitions.
54762         (CHECK_SIGSET_NULL_OK): Likewise.
54763         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54764         <bp-checks.h>.
54765         (sigpending): Don't use CHECK_SIGSET.
54766         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54767         <bp-checks.h>.
54768         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54769         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54770         <bp-checks.h>.
54771         (do_sigsuspend): Don't use CHECK_SIGSET.
54772         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54773         use CHECK_SIGSET.
54774         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54775         (do_sigwait): Don't use CHECK_SIGSET.
54776         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54777         use CHECK_SIGSET.
54778         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54779         include <bp-checks.h>.
54780         (sigpending): Don't use CHECK_SIGSET.
54781         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54782         include <bp-checks.h>.
54783         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54784         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54785         <bp-checks.h>.
54786         (sigpending): Don't use CHECK_SIGSET.
54787         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54788         <bp-checks.h>.
54789         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54791         [BZ #13550]
54792         * sysdeps/generic/bp-semctl.h: Remove file.
54793         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54794         <bp-checks.h> and <bp-semctl.h>.
54795         (__old_semctl): Don't use CHECK_SEMCTL.
54796         (__new_semctl): Likewise.
54797         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54798         and <bp-semctl.h>.
54799         (__old_semctl): Don't use CHECK_SEMCTL.
54800         (__new_semctl): Likewise.
54801         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54802         <bp-checks.h> and <bp-semctl.h>.
54803         (__old_semctl): Don't use CHECK_SEMCTL.
54804         (__new_semctl): Likewise.
54805         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54806         <bp-checks.h> and <bp-semctl.h>.
54807         (semctl): Don't use CHECK_SEMCTL.
54809         [BZ #13550]
54810         * Makerules (elide-bp-thunks): Remove variable.
54811         (elide-routines.oS): Don't use $(elide-bp-thunks).
54812         (elide-routines.os): Likewise.
54813         (elide-routines.o): Likewise.
54814         (elide-routines.op): Likewise.
54815         (elide-routines.og): Likewise.
54816         (objects): Don't use $(bp-thunks).
54817         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54818         include.
54819         (common-generated): Do not add s-proto-bp.d.
54820         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54821         (int): Likewise.
54822         (typ): Likewise.
54823         Do not generate makefile rules for bounded-pointer thunks.
54824         * sysdeps/generic/bp-thunks.h: Remove file.
54825         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54826         * sysdeps/unix/s-proto-bp.S: Likewise.
54828         [BZ #15062]
54829         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54830         parts of result separately when argument is not close to line from
54831         -i to i and one part of argument is small.
54832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54834         * math/libm-test.inc (cacos_test): Add more tests.
54835         (casin_test): Likewise.
54836         (casinh_test): Likewise.
54837         * sysdeps/i386/fpu/libm-test-ulps: Update.
54838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54840 2013-01-31  David S. Miller  <davem@davemloft.net>
54842         * po/de.po: Update from translation team.
54844 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54846         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54848 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54850         * configure.in (_AC_PROG_CC_C89): New definition.
54851         * configure: Regenerate.
54853         * configure.in (AC_PROG_CPP): New definition.
54854         * configure: Regenerate.
54856 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54858         * debug/tst-backtrace.h: New file.
54859         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54860         (ret): Remove variable.
54861         (x): Likewise.
54862         (FAIL): Remove macro.
54863         (NO_INLINE): Likewise.
54864         (fn1): Use match function instead of strstr.
54865         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54866         (ret): Remove variable.
54867         (x): Likewise.
54868         (FAIL): Remove macro.
54869         (NO_INLINE): Likewise.
54870         (fn): Use match function instead of strstr.
54871         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54872         (ret): Remove variable.
54873         (x): Likewise.
54874         (FAIL): Remove macro.
54875         (NO_INLINE): Likewise.
54876         (handle_signal): Use match function instead of strstr.
54877         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54878         (ret): Remove variable.
54879         (x): Likewise.
54880         (FAIL): Remove macro.
54881         (NO_INLINE): Likewise.
54882         (handle_signal): Use match function instead of strstr.
54884 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54886         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54888 2013-01-23  David S. Miller  <davem@davemloft.net>
54890         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54891         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54892         argument of CAS if possible.
54893         * sysdeps/sparc/sparc64/bits/atomic.h
54894         (__arch_compare_and_exchange_val_32_acq): Likewise.
54895         (__arch_compare_and_exchange_val_64_acq): Likewise.
54897 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54899         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54900         * sysdeps/posix/ulimit.c: ... this.
54901         Include <limits.h>.
54902         * sysdeps/unix/bsd/ulimit.c: Remove file.
54904 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54906         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54907         (LDFLAGS-tst-array5): Likewise.
54909 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54911         [BZ #15036]
54912         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54913         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54914         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54915         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54917 2013-01-21  David S. Miller  <davem@davemloft.net>
54919         * sysdeps/sparc/backtrace.c: New file.
54920         * sysdeps/sparc/sparc32/backtrace.h: New file.
54921         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54922         * sysdeps/sparc/sparc64/backtrace.h: New file.
54923         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54924         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54925         -funwind-tables.
54927 2013-01-21  Andreas Schwab  <schwab@suse.de>
54929         [BZ #15020]
54930         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54931         closed its stdout.
54933 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54936         "mpa2.h".
54937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54939 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54940             Mark Mitchell  <mark@codesourcery.com>
54941             Tom de Vries  <tom@codesourcery.com>
54942             Paul Pluzhnikov  <ppluzhnikov@google.com>
54944         * debug/tst-backtrace2.c: New file.
54945         * debug/tst-backtrace3.c: Likewise.
54946         * debug/tst-backtrace4.c: Likewise.
54947         * debug/tst-backtrace5.c: Likewise.
54948         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54949         (CFLAGS-tst-backtrace3.c): Likewise.
54950         (CFLAGS-tst-backtrace4.c): Likewise.
54951         (CFLAGS-tst-backtrace5.c): Likewise.
54952         (LDFLAGS-tst-backtrace2): Likewise.
54953         (LDFLAGS-tst-backtrace3): Likewise.
54954         (LDFLAGS-tst-backtrace4): Likewise.
54955         (LDFLAGS-tst-backtrace5): Likewise.
54956         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54957         tst-backtrace4 and tst-backtrace5.
54959 2013-01-18  Anton Blanchard  <anton@samba.org>
54960             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54962         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54963         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54965         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54967         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54968         "+r" and remove output regs list as redundant.  Add explicit inline
54969         asm to specify register of return val to work around compiler codegen
54970         bug.  Remove (int) cast on return value.  Add return type parameter to
54971         use in macro so that this macro does not truncate return value for
54972         64-bit values.
54973         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54974         pass to INTERNAL_VSYSCALL_NCS.
54975         (INLINE_VSYSCALL): Add 'long int' as return type to
54976         INTERNAL_VSYSCALL_NCS macro invocation.
54977         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54978         INTERNAL_VSYSCALL_NCS macro invocation.
54979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54981 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54983         [BZ #14496]
54984         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54985         Fix application of SIMD FP exception mask.
54987         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54988         mp_no from a power of two.
54989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54990         __mpexp_twomm1.  Use __pow_mp.
54992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54993         multiplication.
54995 2013-01-17  David S. Miller  <davem@davemloft.net>
54997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54999 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55001         [BZ #15023]
55002         * include/complex.h: Condition contents on [!_COMPLEX_H].
55003         (__kernel_casinhf): New prototype.
55004         (__kernel_casinh): Likewise.
55005         (__kernel_casinhl): Likewise.
55006         * math/Makefile (libm_calls): Add k_casinh.
55007         * math/k_casinh.c: New file.
55008         * math/k_casinhf.c: Likewise.
55009         * math/k_casinhl.c: Likewise.
55010         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55011         finite nonzero arguments.
55012         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55013         finite nonzero arguments.
55014         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55015         finite nonzero arguments.
55016         * math/s_casinh.c: Do not include <float.h>.
55017         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55018         * math/s_casinhf.c: Do not include <float.h>.
55019         (__casinhf): Move code for finite nonzero arguments to
55020         k_casinhf.c.
55021         * math/s_casinhl.c: Do not include <float.h>.
55022         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55023         redefine.
55024         (__casinhl): Move code for finite nonzero arguments to
55025         k_casinhl.c.
55026         * math/libm-test.inc (cacos_test): Add more tests.
55027         * sysdeps/i386/fpu/libm-test-ulps: Update.
55028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55030 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55032         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55033         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55034         [!HAVE_MREMAP]: Remove [defined linux] case.
55035         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55037 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55039         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55041 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55043         * elf/elf.h (R_386_SIZE32): New relocation.
55044         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55045         R_386_SIZE32.
55046         (elf_machine_rela): Likewise.
55047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55048         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55050 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55052         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55053         (FP_FAST_FMA): Do not define.
55054         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55055         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55056         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55057         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55058         !_SOFT_FLOAT]: Likewise.
55059         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55060         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55061         value.
55062         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55063         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55064         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55065         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55066         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55067         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55068         file.
55070 2013-01-16  Andreas Schwab  <schwab@suse.de>
55072         [BZ #14327]
55073         * include/stdlib.h (__mktemp): Add declaration.
55074         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55075         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55077 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55079         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55080         definitions.
55081         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55082         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55083         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55084         definitions here.
55085         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55086         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55087         definitions.
55088         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55089         and ONE.
55090         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55091         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55093         definitions.
55094         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55095         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55096         definitions.
55097         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55099         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55101 2013-01-15  David S. Miller  <davem@davemloft.net>
55103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55104         trunc{,f} to libm-sysdep_routes.
55105         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55107         file.
55108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55110         file.
55111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55112         file.
55113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55115         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55116         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55117         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55118         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55119         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55120         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55123         nearbyint{,f} to libm-sysdep_routes.
55124         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55126         New file.
55127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55128         file.
55129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55130         New file.
55131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55132         file.
55133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55135         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55136         file.
55137         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55138         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55139         file.
55140         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55141         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55142         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55144         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55145         libc_feholdexcept and libc_fesetenv.
55147 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55149         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55151 2013-01-14  David S. Miller  <davem@davemloft.net>
55153         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55154         (SPARC_ASM_VIS2_IFUNC): Likewise.
55155         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55157         use of 'siam' instruction.
55158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55159         Likewise.
55160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55161         Likewise.
55162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55163         Likewise.
55164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55169         file.
55170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55171         file.
55172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55173         file.
55174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55175         file.
55176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55181         new VIS2 routines.
55182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55185         Likewise.
55186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55191         routines to libm-sysdep_routines.
55192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55195         fdim/fdimf to libm-sysdep_routines.
55196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55197         file.
55198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55200         file.
55201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55204         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55205         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55206         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55207         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55209 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55211         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55212         to optimize copies.
55214         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55219         local variable MPTWO.
55220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55221         Likewise.
55223 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55225         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55226         GLOB_NOESCAPE.
55228 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55230         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55232 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55234         * manual/pattern.texi (glob_t): Document gl_flags.
55235         (glob64_t): Likewise.
55237 2013-01-11  David S. Miller  <davem@davemloft.net>
55239         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55240         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55241         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55242         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55243         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55244         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55245         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55246         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55247         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55248         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55249         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55250         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55251         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55253         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55254         sparc V9 rather than using V8 code.
55255         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55256         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55258         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55259         Move to...
55260         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55261         Here.
55263 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55265         [BZ #14941]
55266         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55267         not in the main loop.
55268         * configure: Regenerated.
55270 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55272         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55273         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55274         to just #else.
55275         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55276         [!__GLIBC_HAVE_LONG_LONG] case.
55277         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55278         condition to just #else.
55279         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55280         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55281         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55282         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55283         unconditional.
55284         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55285         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55286         #elif condition to just #else.
55287         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55288         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55289         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55290         #elif condition to just #else.
55292 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55294         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55295         (EF_MIPS_ARCH_64): Fix value.
55296         (EF_MIPS_ARCH_32R2): New.
55297         (EF_MIPS_ARCH_64R2): New.
55299 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55301         * Makeconfig (+link-pie-before-libc): New.
55302         (+link-pie-after-libc): Likewise.
55303         (+link-pie-tests): Likewise.
55304         (+link-pie): Rewritten.
55305         (link-before-libc): Remove $(config-LDFLAGS).
55306         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55307         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55308         (config-LDFLAGS): Renamed to ...
55309         (rtld-LDFLAGS): This.
55310         (rtld-tests-LDFLAGS): New macro.
55311         (link-libc-rpath-link): Likewise.
55312         (link-libc-tests-rpath-link): Likewise.
55313         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55314         (link-libc): Prepand $(link-libc-rpath-link).
55315         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55316         (test-program-prefix): New macro.
55317         (test-via-rtld-prefix): Likewise.
55318         (test-program-cmd): Likewise.
55319         (host-test-program-cmd): Likewise.
55320         * Makefile ($(common-objpfx)testrun.sh): Replace
55321         $(run-program-prefix) with $(test-program-prefix).
55322         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55323         $(rtld-LDFLAGS).
55324         ($(common-objpfx)shlib.lds): Likewise.
55325         (build-module-helper): Likewise.
55326         ($(common-objpfx)format.lds): Likewise.
55327         * Rules (binaries-pie-tests): New.
55328         (binaries-pie-notests): Likewise.
55329         (binaries-pie): Rewritten.
55330         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55331         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55332         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55333         (make-test-out): Replace $(host-built-program-cmd) with
55334         $(host-test-program-cmd).
55335         * config.make.in (build-hardcoded-path-in-tests): New variable.
55336         * configure.in (--enable-hardcoded-path-in-tests): New configure
55337         option.
55338         (hardcoded_path_in_tests): New AC_SUBST.
55339         * configure: Regenerated.
55340         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55341         $(built-program-cmd) with $(test-program-cmd).
55342         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55343         (test_program_cmd): This.
55344         * elf/Makefile ($(objpfx)order.out): Run test with
55345         $(test-program-prefix).
55346         ($(objpfx)order2.out): Likewise.
55347         ($(objpfx)tst-initorder.out): Likewise.
55348         ($(objpfx)tst-initorder2.out): Likewise.
55349         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55350         $(test-program-cmd).
55351         ($(objpfx)tst-array1-static.out): Likewise.
55352         ($(objpfx)tst-array2.out): Likewise.
55353         ($(objpfx)tst-array3.out): Likewise.
55354         ($(objpfx)tst-array4.out): Likewise.
55355         ($(objpfx)tst-array5.out): Likewise.
55356         ($(objpfx)tst-array5-static.out): Likewise.
55357         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55358         $(test-program-cmd).
55359         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55360         $(run-program-prefix) with $(test-program-prefix).
55361         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55362         (test_program_prefix): This.
55363         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55364         $(run-program-prefix) with $(test-program-prefix).
55365         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55366         (test_program_prefix): This.
55367         * iconvdata/tst-tables.sh: Likewise.
55368         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55369         $(run-program-prefix) with $(test-program-prefix).
55370         ($(objpfx)tst-translit.out): Likewise.
55371         ($(objpfx)tst-gettext2.out): Likewise.
55372         ($(objpfx)tst-gettext4.out): Likewise.
55373         ($(objpfx)tst-gettext6.out): Likewise.
55374         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55375         (test_program_prefix): This.
55376         * intl/tst-gettext2.sh: Likewise.
55377         * intl/tst-gettext4.sh  Likewise.
55378         * intl/tst-gettext6.sh: Likewise.
55379         * intl/tst-translit.sh: Likewise.
55380         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55381         with $(test-program-cmd).
55382         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55383         $(run-program-prefix) with $(test-program-prefix).
55384         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55385         (test_program_prefix): This.
55386         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55387         $(run-program-prefix) with $(test-program-prefix).
55388         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55389         (test_program_prefix): This.
55390         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55391         * posix/Makefile ($(objpfx)globtest.out): Replace
55392         $(run-via-rtld-prefix) and $(test-wrapper) with
55393         $(test-program-prefix) and $(test-via-rtld-prefix).
55394         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55395         $(test-program-prefix).
55396         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55397         $(host-test-program-cmd).
55398         (tst-spawn-ARGS): Likewise.
55399         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55400         $(test-program-prefix).
55401         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55402         (test_via_rtld_prefix): This.
55403         (test_wrapper): Renamed to ...
55404         (test_program_prefix): This.
55405         (run_program_prefix): Replaced by test_program_prefix.
55406         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55407         (test_program_prefix): This.
55408         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55409         with $(host-test-program-cmd).
55410         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55411         $(run-program-prefix) with $(test-program-prefix).
55412         ($(objpfx)tst-printf.out): Likewise.
55413         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55414         $(test-program-cmd).
55415         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55416         (test_program_prefix): This.
55417         * stdio-common/tst-unbputc.sh: Likewise.
55418         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55419         $(run-program-prefix) with $(test-program-prefix).
55420         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55421         (test_program_prefix): This.
55422         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55423         $(built-program-cmd) with $(test-program-cmd).
55425 2013-01-11  Andreas Jaeger  <aj@suse.de>
55427         [BZ #15003]
55428         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55429         value. Sync with Linux 3.7.
55431 2013-01-10  David S. Miller  <davem@davemloft.net>
55433         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55434         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55435         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55437 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55439         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55440         never set.
55441         * configure: Regenerated.
55443 2013-01-10  David S. Miller  <davem@davemloft.net>
55445         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55446         sparc V9 rather than using V8 code.
55447         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55448         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55450 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55452         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55453         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55454         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55455         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55456         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55457         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55458         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55459         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55460         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55461         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55462         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55463         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55464         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55465         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55466         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55467         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55468         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55469         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55470         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55471         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55472         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55473         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55474         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55475         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55476         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55477         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55478         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55480 2013-01-10  David S. Miller  <davem@davemloft.net>
55482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55484 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55486         * posix/Makefile (tests-static): New variable.
55487         (tests): Add $(tests-static).
55488         (tst-exec-static-ARGS): New variable.
55489         (tst-spawn-static-ARGS): Likewise.
55490         * posix/tst-exec-static.c: New file.
55491         * posix/tst-spawn-static.c: Likewise.
55492         * posix/tst-exec.c: Support run directly.
55493         * posix/tst-spawn.c: Likewise.
55495 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55497         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55498         long.
55499         * math/bits/mathcalls.h (llrint): Likewise.
55500         (llround): Likewise.
55501         * stdlib/stdlib.h (struct drand48_data): Likewise.
55502         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55503         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55504         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55505         Likewise.
55506         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55507         Likewise.
55508         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55509         (elf_greg_t): Likewise.
55510         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55511         (__jmp_buf): Likewise.
55512         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55513         definitions.
55514         (llrint): Likewise, for all definitions.
55515         (llrintl): Likewise.
55517         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55518         Remove [__GNUC__] condition.
55519         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55520         condition to just [__USE_ISOC99].
55521         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55523 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55525         [BZ #14200]
55526         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55527         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55528         defined.
55529         (_POSIX_V6_ILP32_OFF32): Likewise.
55530         (_XBS5_ILP32_OFF32): Likewise.
55531         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55532         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55534 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55536         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55539         doubles __mpexp_twomm1.  Adjust usage.
55540         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55541         Remove.
55543 2013-01-10  Andreas Schwab  <schwab@suse.de>
55545         [BZ #14964]
55546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55547         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55549 2013-01-09  David S. Miller  <davem@davemloft.net>
55551         [BZ #15003]
55552         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55553         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55554         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55555         (TCP_FASTOPEN): Define.
55556         (tcp_repair_opt): New structure.
55557         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55558         enum values.
55559         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55560         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55561         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55562         (tcp_cookie_transactions): New structure.
55564 2013-01-09  Anton Blanchard  <anton@samba.org>
55566         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55567         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55568         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55569         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55571 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55573         * include/features.h (__USE_ANSI): Remove.
55575 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55577         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55579         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55581 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55583         * sysdeps/s390/fpu/libm-test-ulps: Update.
55585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55587         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55588         (__acr): Likewise.
55589         (__cpy): Likewise.
55590         (norm): Likewise.
55591         (denorm): Likewise.
55592         (__mp_dbl): Likewise.
55593         (__dbl_mp): Likewise.
55594         (add_magnitudes): Likewise.
55595         (sub_magnitudes): Likewise.
55596         (__add): Likewise.
55597         (__sub): Likewise.
55598         (__mul): Likewise.
55599         (__inv): Likewise.
55600         (__dvd): Likewise.
55601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55602         (__acr): Likewise.
55603         (__cpy): Likewise.
55604         (norm): Likewise.
55605         (denorm): Likewise.
55606         (__mp_dbl): Likewise.
55607         (__dbl_mp): Likewise.
55608         (add_magnitudes): Likewise.
55609         (sub_magnitudes): Likewise.
55610         (__add): Likewise.
55611         (__sub): Likewise.
55612         (__mul): Likewise.
55613         (__inv): Likewise.
55614         (__dvd): Likewise.
55615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55616         (__acr): Likewise.
55617         (__cpy): Likewise.
55618         (norm): Likewise.
55619         (denorm): Likewise.
55620         (__mp_dbl): Likewise.
55621         (__dbl_mp): Likewise.
55622         (add_magnitudes): Likewise.
55623         (sub_magnitudes): Likewise.
55624         (__add): Likewise.
55625         (__sub): Likewise.
55626         (__mul): Likewise.
55627         (__inv): Likewise.
55628         (__dvd): Likewise.
55630 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55632         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55633         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55634         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55635         2 && __USE_EXTERN_INLINES]: Likewise.
55637 2013-01-08  Andreas Jaeger  <aj@suse.de>
55639         [BZ# 14985]
55640         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55641         Remove.
55642         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55643         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55645 2013-01-07  Anton Blanchard  <anton@samba.org>
55647         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55648         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55649         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55650         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55651         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55652         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55653         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55654         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55656         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55658         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55659         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55660         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55661         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55662         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55663         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55665         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55666         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55667         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55668         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55669         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55670         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55671         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55672         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55673         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55674         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55675         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55676         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55677         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55679         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55681         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55682         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55683         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55684         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55686         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55687         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55688         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55689         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55691 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55693         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55694         (__MALLOC_PMT): Likewise.
55695         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55696         [__GNUC__], only on [_LIBC].
55697         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55698         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55699         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55700         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55701         forward declaration.
55702         (realloc_hook_ini): Likewise.
55703         (memalign_hook_ini): Likewise.
55704         (__libc_memalign): Do not use __MALLOC_PMT in variable
55705         declaration.
55706         (__libc_valloc): Likewise.
55707         (__libc_pvalloc): Likewise.
55708         (__libc_calloc): Likewise.
55709         (__posix_memalign): Likewise.
55711         [BZ #14996]
55712         * math/s_casinh.c: Include <float.h>.
55713         (__casinh): Do not do computation with squaring and square root
55714         for large arguments.
55715         * math/s_casinhf.c: Include <float.h>.
55716         (__casinhf): Do not do computation with squaring and square root
55717         for large arguments.
55718         * math/s_casinhl.c: Include <float.h>.
55719         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55720         (__casinhl): Do not do computation with squaring and square root
55721         for large arguments.
55722         * math/libm-test.inc (casin_test): Add more tests.
55723         (casinh_test): Likewise.
55724         * sysdeps/i386/fpu/libm-test-ulps: Update.
55725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55727 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55729         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55730         (__x86_64_raw_data_cache_size): Likewise.
55731         (__x86_64_data_cache_size_half): Likewise.
55732         (__x86_64_raw_data_cache_size_half): Likewise.
55733         (__x86_64_shared_cache_size): Likewise.
55734         (__x86_64_raw_shared_cache_size): Likewise.
55735         (__x86_64_shared_cache_size_half): Likewise.
55736         (__x86_64_raw_shared_cache_size_half): Likewise.
55737         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55738         to ...
55739         (__x86_data_cache_size): This.
55740         (__x86_64_raw_data_cache_size): Renamed to ...
55741         (__x86_raw_data_cache_size): This.
55742         (__x86_64_data_cache_size_half): Renamed to ...
55743         (__x86_data_cache_size_half): This.
55744         (__x86_64_raw_data_cache_size_half): Renamed to ...
55745         (__x86_raw_data_cache_size_half): This.
55746         (__x86_64_shared_cache_size): Renamed to ...
55747         (__x86_shared_cache_size): This.
55748         (__x86_64_raw_shared_cache_size): Renamed to ...
55749         (__x86_raw_shared_cache_size): This.
55750         (__x86_64_shared_cache_size_half): Renamed to ...
55751         (__x86_shared_cache_size_half): This.
55752         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55753         (__x86_raw_shared_cache_size_half): This.
55754         * sysdeps/x86_64/memcpy.S: Updated.
55755         * sysdeps/x86_64/memset.S: Likewise.
55756         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55757         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55758         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55760 2013-01-04  David S. Miller  <davem@davemloft.net>
55762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55764 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55766         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55767         1 to avoid redefinition warning.
55768         (__USE_GNU): Don't define.
55769         (init_signaling_nan): Protoize.
55771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55773 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55775         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55777         (__cpymn): Likewise.
55778         (norm): Remove commented code.
55779         (denorm): Likewise.
55780         (__mp_dbl): Likewise.
55781         (__inv): Likewise.
55782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55783         (__cpymn): Likewise.
55784         (norm): Remove commented code.
55785         (denorm): Likewise.
55786         (__mp_dbl): Likewise.
55787         (__inv): Likewise.
55789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55790         mp_no value for 1.0 and 2.0.
55791         (norm): Use RADIXI instead of radixi.d.
55792         (denorm): Likewise.
55793         (__mul): Use 0.0 instead of zero.d.
55794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55795         mp_no value for 1.0 and 2.0.
55796         (norm): Use RADIXI instead of radixi.d.
55797         (denorm): Likewise.
55798         (__mul): Use 0.0 instead of zero.d.
55800 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55802         [BZ #14994]
55803         * math/s_casinh.c (__casinh): Reduce finite argument to first
55804         quadrant then set signs of results at the end.
55805         * math/s_casinhf.c (__casinhf): Likewise.
55806         * math/s_casinhl.c (__casinhl): Likewise.
55807         * math/libm-test.inc (casin_test): Add more tests.
55808         (casinh_test): Likewise.
55809         * sysdeps/i386/fpu/libm-test-ulps: Update.
55810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55812 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55814         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55816         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55818         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55819         declarations.
55820         (denorm): Likewise.
55821         (__mp_dbl): Likewise.
55822         (__inv): Likewise.
55824         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55825         and adjust the header comment.
55827         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55828         variable name from declaration.
55830 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55833         Initialize COMMON_CPUID_INDEX_7 element.
55834         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55835         (CPUID_RTM): Likewise.
55836         (HAS_RTM): Likewise.
55837         (COMMON_CPUID_INDEX_7): New enum.
55839 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55841         [BZ #14981]
55842         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55843         size is zero, record memory as freed.
55845 2013-01-03  Andreas Jaeger  <aj@suse.de>
55847         * po/ia.po: Add new Interlingua translation.
55849 2012-01-03  Allan McRae  <allan@archlinux.org>
55851         * locale/programs/localedef.c: Fix description of '--posix' flag.
55853 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55855         * NEWS: Update dates in second copyright notice.
55856         * README: Update copyright dates in example.
55857         * manual/libc.texinfo: Update copyright dates.
55858         * scripts/test-installation.pl: Update copyright date in --version
55859         output.
55861         * hurd/ctty-input.c: Fix copyright notice formatting.
55862         * hurd/ctty-output.c: Likewise.
55863         * hurd/dtable.c: Likewise.
55864         * hurd/hurd-raise.c: Likewise.
55865         * hurd/hurdprio.c: Likewise.
55866         * hurd/msgportdemux.c: Likewise.
55867         * misc/sys/file.h: Likewise.
55868         * misc/sys/ioctl.h: Likewise.
55869         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55870         * sysdeps/mach/hurd/chdir.c: Likewise.
55871         * sysdeps/mach/hurd/fchdir.c: Likewise.
55872         * sysdeps/mach/hurd/rename.c: Likewise.
55873         * sysdeps/mach/hurd/rmdir.c: Likewise.
55874         * sysdeps/mach/hurd/seekdir.c: Likewise.
55875         * sysdeps/mach/hurd/setsid.c: Likewise.
55876         * sysdeps/posix/wait3.c: Likewise.
55878         * All files with FSF copyright notices: Update copyright dates
55879         using scripts/update-copyrights.
55880         * intl/plural.c: Regenerated.
55881         * locale/programs/charmap-kw.h: Likewise.
55882         * locale/programs/locfile-kw.h: Likewise.
55884 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55886         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55887         four values.
55889         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55890         calculation loop and add branch prediction.
55892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55893         check access beyond bounds of m1np.
55895         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55896         MPTWO.
55897         (__inv): Remove local variable MPTWO to use the global
55898         constant.
55899         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55900         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55901         variable MPTWO.
55902         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55903         MP3HALFS static const.
55905 2013-01-01  David S. Miller  <davem@davemloft.net>
55907         * po/ca.po: Update from translation team.
55909 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55911         * scripts/update-copyrights: New file.
55912         * Makeconfig: Reformat copyright notice.
55913         * ctype/ctype.h: Likewise.
55914         * debug/swprintf_chk.c: Likewise.
55915         * elf/dl-cache.c: Likewise.
55916         * elf/dl-debug.c: Likewise.
55917         * elf/dl-object.c: Likewise.
55918         * grp/initgroups.c: Likewise.
55919         * hurd/Makefile: Likewise.
55920         * hurd/hurd/signal.h: Likewise.
55921         * hurd/hurdfault.c: Likewise.
55922         * hurd/hurdioctl.c: Likewise.
55923         * hurd/hurdlookup.c: Likewise.
55924         * hurd/intr-msg.c: Likewise.
55925         * iconv/gconv_open.c: Likewise.
55926         * libio/swprintf.c: Likewise.
55927         * locale/lc-ctype.c: Likewise.
55928         * locale/nl_langinfo.c: Likewise.
55929         * mach/Machrules: Likewise.
55930         * mach/Makefile: Likewise.
55931         * malloc/obstack.h: Likewise.
55932         * manual/Makefile: Likewise.
55933         * manual/tsort.awk: Likewise.
55934         * misc/bits/stab.def: Likewise.
55935         * nis/nis_print_group_entry.c: Likewise.
55936         * nis/nis_table.c: Likewise.
55937         * nis/nss_compat/compat-pwd.c: Likewise.
55938         * nis/nss_compat/compat-spwd.c: Likewise.
55939         * po/Makefile: Likewise.
55940         * posix/fnmatch.c: Likewise.
55941         * posix/regex.h: Likewise.
55942         * resolv/Makefile: Likewise.
55943         * resolv/nss_dns/dns-network.c: Likewise.
55944         * resolv/res_hconf.c: Likewise.
55945         * scripts/gen-sorted.awk: Likewise.
55946         * soft-fp/soft-fp.h: Likewise.
55947         * stdio-common/printf.h: Likewise.
55948         * stdlib/monetary.h: Likewise.
55949         * stdlib/random.c: Likewise.
55950         * stdlib/random_r.c: Likewise.
55951         * sysdeps/generic/Makefile: Likewise.
55952         * sysdeps/gnu/Makefile: Likewise.
55953         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55954         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55955         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55957         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55959         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55960         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55961         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55962         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55963         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55964         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55965         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55966         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55967         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55969         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55971         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55972         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55973         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55974         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55975         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55976         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55977         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55979         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55981         * sysdeps/mach/hurd/errnos.awk: Likewise.
55982         * sysdeps/mach/hurd/fork.c: Likewise.
55983         * sysdeps/mach/hurd/getcwd.c: Likewise.
55984         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55985         * sysdeps/mach/hurd/mmap.c: Likewise.
55986         * sysdeps/mach/hurd/utimes.c: Likewise.
55987         * sysdeps/mach/hurd/xmknod.c: Likewise.
55988         * sysdeps/posix/profil.c: Likewise.
55989         * sysdeps/posix/readdir_r.c: Likewise.
55990         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55991         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55992         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55993         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55995         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55996         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55997         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55999         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56001         * sysdeps/pthread/lio_listio.c: Likewise.
56002         * sysdeps/sparc/dl-procinfo.h: Likewise.
56003         * sysdeps/unix/i386/sysdep.S: Likewise.
56004         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56005         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56006         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56007         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56009         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56010         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56011         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56012         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56013         * sysdeps/wordsize-32/divdi3.c: Likewise.
56014         * time/sys/time.h: Likewise.
56015         * wcsmbs/Makefile: Likewise.
56017 2013-01-01  David S. Miller  <davem@davemloft.net>
56019         * po/fr.po: Update from translation team.
56021         * catgets/gencat.c: Update copyright year.
56022         * csu/version.c: Likewise.
56023         * debug/catchsegv.sh: Likewise.
56024         * debug/pcprofiledump.c: Likewise.
56025         * debug/xtrace.sh: Likewise.
56026         * elf/ldconfig.c: Likewise.
56027         * elf/ldd.bash.in: Likewise.
56028         * elf/pldd.c: Likewise.
56029         * elf/sotruss.ksh: Likewise.
56030         * elf/sprof.c: Likewise.
56031         * iconv/iconv_prog.c: Likewise.
56032         * iconv/iconvconfig.c: Likewise.
56033         * locale/programs/locale.c: Likewise.
56034         * locale/programs/localedef.c: Likewise.
56035         * login/programs/pt_chown.c: Likewise.
56036         * malloc/memusage.sh: Likewise.
56037         * malloc/memusagestat.c: Likewise.
56038         * malloc/mtrace.pl: Likewise.
56039         * nscd/nscd.c: Likewise.
56040         * nss/getent.c: Likewise.
56041         * nss/makedb.c: Likewise.
56042         * posix/getconf.c: Likewise.
56044 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56046         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56047         numbers.
56049 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56051         * math/bits/mathcalls.h (modf): Use __nonnull.
56053 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56055         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56056         (split): Use macro CN instead of the bare value.
56057         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56058         could be used.
56059         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56060         instead of the bare value.
56061         (power1): Likewise.
56063 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56066         __ATAN_TWOM.
56067         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56069         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56070         their values.
56071         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56072         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56073         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56074         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56076 2012-12-28  Andreas Jaeger  <aj@suse.de>
56078         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56079         values are from Linux 3.7.
56081         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56082         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56084 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56086         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56087         TRUE case.
56089         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56090         (norm): Likewise.
56091         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56092         variables with preprocessor constants.
56093         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56094         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56095         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56097 2012-12-27  Bruno Haible  <bruno@clisp.org>
56099         [BZ #14317]
56100         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56101         only if needed.
56103 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56106         and use variable directly.
56107         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56109         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56110         MPONE.
56111         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56113         variable MPONE.
56114         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56116         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56117         include directive.  Remove local variable MPONE.
56118         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56119         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56120         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56122 2012-12-25  David S. Miller  <davem@davemloft.net>
56124         * version.h (RELEASE): Set to "development".
56125         (VERSION): Set to "2.17.90".
56126         * NEWS: Add 2.18 section.
56128 2012-12-21  David S. Miller  <davem@davemloft.net>
56130         * po/hr.po: Update from translation team.
56132 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56134         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56136 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56138         * NEWS:  Mention new memcpy for MIPS.
56140 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56142         * manual/contrib.texi (Contributors): Spelling correction.
56144 2012-12-15  David S. Miller  <davem@davemloft.net>
56146         * po/ru.po: Update from translation team.
56148 2012-12-13  David S. Miller  <davem@davemloft.net>
56150         * NEWS: Mention IFUNC testsuite enhancements.
56152         * po/pl.po: Update from translation team.
56153         * po/bg.po: Likewise.
56155         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56156         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56158 2012-12-11  David S. Miller  <davem@davemloft.net>
56160         * po/sv.po: Update from translation team.
56162         * po/vi.po: Update from translation team.
56164         * po/cs.po: Update from translation team.
56166         * po/de.po: Update from translation team.
56167         * po/eo.po: Likewise.
56168         * po/nl.po: Likewise.
56170 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56172         [BZ #14246]
56173         * manual/argp.texi (Argp Helper Functions): Move node to follow
56174         Argp Parsing State.
56176         [BZ #14872]
56177         * manual/conf.texi (Limits on File System Capacity): Mention if
56178         terminating null is included in the max size.
56180 2012-12-10  Andreas Jaeger  <aj@suse.de>
56182         * po/cs.po: Update from translation team.
56184 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56186         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56187         void pointer and cast to uintptr_t.
56188         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56189         path.
56190         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56191         * sysdeps/s390/s390-64/memset.S: Likewise.
56193 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56195         [BZ #14833]
56196         * menual/message.texi (Message Translation): Fix typos.
56197         (Helper programs for gettext): Likewise.
56199 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56201         [BZ #14898]
56202         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56203         Change to -1.
56205 2012-12-07  David S. Miller  <davem@davemloft.net>
56207         * po/libc.pot: Update.
56209 2012-12-07  Richard Henderson  <rth@redhat.com>
56211         [BZ #10114]
56212         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56213         normal/normal case to before the switch.
56214         (_FP_DIV): Likewise.
56216 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56217             Mike Frysinger  <vapier@gentoo.org>
56219         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56220         check for __NR_fadvise64_64.
56222 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56224         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56225         0, not just to plain "0" as a statement.
56226         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56227         with cw.
56229 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56231         * NEWS: Use sourceware.org in Bugzilla URL.
56233 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56236         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56238         * stdio-common/tst-put-error.c (do_test): Add newline to the
56239         padded test to ensure flush.
56241 2012-12-05  Jeff Law  <law@redhat.com>
56243         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56245 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56247         * README: Don't refer to ports add-on as distributed separately.
56248         Mention AArch64 in list of systems supported in the ports add-on.
56250         * LICENSES: Add more non-FSF copyright and license notices.
56252         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56253         ((unused)).
56255         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56257         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56258         10000 as width of padded output.
56260 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56262         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56264         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56265         variable LX with __attribute__ ((unused)).
56266         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56267         Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56269         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56270         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56271         with __attribute__ ((unused)).
56273 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56275         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56277 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56279         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56280         (CFLAGS-nldbl-acos.c): New variable.
56281         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56282         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56283         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56284         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56285         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56286         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56287         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56288         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56289         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56290         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56291         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56292         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56293         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56294         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56295         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56296         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56297         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56298         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56299         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56300         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56301         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56302         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56303         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56304         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56305         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56306         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56307         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56308         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56309         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56310         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56311         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56312         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56313         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56314         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56315         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56316         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56317         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56318         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56319         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56320         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56321         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56322         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56323         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56324         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56325         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56326         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56327         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56328         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56329         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56330         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56331         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56332         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56333         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56334         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56335         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56336         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56337         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56338         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56339         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56340         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56341         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56342         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56343         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56344         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56345         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56346         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56347         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56348         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56349         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56350         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56351         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56352         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56353         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56354         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56355         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56356         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56357         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56358         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56359         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56360         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56361         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56362         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56363         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56364         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56365         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56366         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56367         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56368         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56369         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56370         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56371         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56372         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56373         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56374         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56375         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56376         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56377         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56380         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56382         [BZ #14914]
56383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56384         whole low double instead of just low 47 bits when splitting values
56385         into two parts.
56387 2012-12-03  Allan McRae  <allan@archlinux.org>
56389         * manual/stdio.texi (Predefined Printf Handlers): Remove
56390         @hsep and @vsep usage.
56392 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56394         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56395         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56397 2012-12-03  Jeff Law  <law@redhat.com>
56399         * time/sys/time.h (settimeofday): Do not mark TV argument
56400         as __nonnull.
56402 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56404         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56405         when currently writing and seek to current position when not.
56406         * libio/Makefile (tests): Remove bug-fclose1.
56407         * libio/bug-fclose1.c: Delete.
56409 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56411         * manual/arith.texi (feenableexcept): Fix typo.
56412         (fedisableexcept): Likewise.
56414 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56416         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56417         second, differently-typed declaration, rather than a cast.
56419 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56421         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56422         * include/rpc/svc.h: ... here.
56424 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56426         [BZ #13013]
56427         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56428         depending n and resplen2 to catch cases where answer
56429         equals answerp2.
56431 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56433         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56434         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56436 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56438         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56440 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56442         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56444 2012-11-28  Jeff Law  <law@redhat.com>
56446         [BZ #13761]
56447         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56448         dataset_temporary.  Track alloca usage into alloca_used.
56449         If dataset is large allocate and release it via malloc/free.
56451 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56453         [BZ #14197]
56454         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56456 2012-11-28  David S. Miller  <davem@davemloft.net>
56458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56460 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56462         [BZ #14803]
56463         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56464         of pi/2 rounded to nearest to 64 bits.
56465         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56466         nearest to 64 bits.
56467         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56468         bits.
56470 2012-11-28  Jeff Law <law@redhat.com>
56471             Martin Osvald <mosvald@redhat.com>
56473         [BZ #14889]
56474         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56475         * sunrpc/svc.c: Include time.h.
56476         (__svc_accept_failed): New function.
56477         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56478         any reason other than EINTR, call __svc_accept_failed.
56479         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56480         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56482 2012-11-28  Andreas Schwab  <schwab@suse.de>
56484         * scripts/abilist.awk: Also handle indirect functions in .opd
56485         section.
56487 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56489         [BZ #13881]
56490         * sysdeps/x86/fpu/powl_helper.c: New file.
56491         * sysdeps/x86/fpu/Makefile: Likewise.
56492         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56493         (p3): New object.
56494         (__ieee754_powl): Use __powl_helper for finite arguments except
56495         integer exponents below 8.
56496         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56497         (p3): New object.
56498         (__ieee754_powl): Use __powl_helper for finite arguments except
56499         integer exponents below 8.
56500         * math/libm-test.inc (pow_test): Add more tests and enable some
56501         previously disabled tests.
56502         * sysdeps/i386/fpu/libm-test-ulps: Update.
56503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56505 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56506             Carlos O'Donell  <carlos_odonell@mentor.com>
56508         * nss/makedb.c (is_prime): Assert that input is odd and greater
56509         than 4.  Note that fact in a comment too.
56510         (next_prime): Add 4 to input.
56512 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56514         [BZ #11741]
56515         * libio/Makefile (tests): Add test case tst-fwrite-error.
56516         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56517         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56518         * libio/tst-fwrite-error.c: New test case.
56520 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56522         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56523         before casting to void *.
56524         * include/libc-internal.h (__pointer_type): New macro.
56525         (__integer_if_pointer_type_sub): Likewise.
56526         (__integer_if_pointer_type): Likewise.
56527         (cast_to_integer): Likewise.
56528         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56529         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56530         before casting to atomic64_t.
56531         (atomic_exchange_acq): Likewise.
56532         (__arch_exchange_and_add_body): Likewise.
56533         (__arch_add_body): Likewise.
56534         (atomic_add_negative): Likewise.
56535         (atomic_add_zero): Likewise.
56537 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56539         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56540         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56541         (add_fdes): Likewise.
56542         (linear_search_fdes): Likewise.
56543         (binary_search_unencoded_fdes): Likewise.
56545 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56547         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56549 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56551         * configure.in: Autodetect C++ header directories.
56552         * configure: Regenerated.
56554 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56556         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56558 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56562 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56564         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56565         LDBL_MANT_DIG == 106]: Disable some tests.
56566         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56567         Likewise.
56568         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56569         Likewise.
56571         [BZ #14871]
56572         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56573         input for small inputs.  Return +/- pi/2 for large inputs.
56574         * math/libm-test.inc (atan_test): Add more tests.
56576         * sysdeps/generic/unwind-dw2-fde-glibc.c
56577         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56578         __attribute__ ((unused)).
56580         [BZ #14645]
56581         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56582         x * y if x and y are nonzero and z is zero.
56584         [BZ #14811]
56585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56586         nonzero exponents with absolute value below 0x1p-117 to +/-
56587         0x1p-117.
56589         [BZ #14869]
56590         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56591         up arguments below 2**-450, not just those below 2**-500.
56592         * math/libm-test.inc (hypot_test): Add another test.
56594         [BZ #14868]
56595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56596         Return a+b for ratio over 2**120, not 2**60.
56597         * math/libm-test.inc (hypot_test): Add another test.
56599         * math/libm-test.inc (clog_test): Use
56600         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56601         (clog10_test): Likewise.
56603         [BZ #6778]
56604         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56606 2012-11-22  Andreas Schwab  <schwab@suse.de>
56608         * sysdeps/i386/fpu/libm-test-ulps: Update.
56610 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56612         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56613         printf output with newline.
56615 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56617         [BZ #14865]
56618         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56619         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56620         -z nodlopen, -z initfirst and -z execstack support.
56621         * configure: Regenerated.
56623         * elf/elf.h (DF_1_NODIRECT): New macro.
56624         (DF_1_IGNMULDEF): Likewise.
56625         (DF_1_NOKSYMS): Likewise.
56626         (DF_1_NOHDR): Likewise.
56627         (DF_1_EDITED): Likewise.
56628         (DF_1_NORELOC): Likewise.
56629         (DF_1_SYMINTPOSE): Likewise.
56630         (DF_1_GLOBAUDIT): Likewise.
56631         (DF_1_SINGLETON): Likewise.
56632         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56633         DT_1_SUPPORTED_MASK bits.
56634         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56636 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56638         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56640 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56642         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56643         macro.
56645         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56646         (sendmmsg): Move declarations...
56647         * socket/sys/socket.h: ... here.
56648         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56649         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56650         include it from...
56651         * socket/recvmmsg.c: ... this new file.
56652         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56653         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56654         definition of __sendmmsg hidden.
56655         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56656         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56657         Move ENOSYS stub into and include it from...
56658         * socket/sendmmsg.c: ... this new file.
56659         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56660         (sysdep_routines): Move recvmmsg and sendmmsg...
56661         * socket/Makefile (routines): ... here.
56662         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56663         (GLIBC_PRIVATE): Add __sendmmsg.
56664         * include/sys/socket.h (__sendmmsg): Add declarations.
56665         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56666         sendmmsg.
56668 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56671         variable I1 with __attribute__ ((unused)).
56672         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56674 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56676         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56677         DUMMY variables with __attribute__ ((unused)).
56679         * bits/byteswap.h: Include <bits/types.h>.
56680         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56682 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56684         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56685         string_t.  Do not manually set errno.
56686         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56687         length with __strnlen.  Make sure to both set errno and return it on
56688         failure.
56690 2012-11-19  David S. Miller  <davem@davemloft.net>
56692         With help from Joseph Myers.
56693         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56694         very large arguments properly.
56695         * math/libm-test.inc (atan_test): New tests.
56696         (atan2_test): New tests.
56697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56700 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56702         [BZ #14856]
56703         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56704         Define to 3.
56706         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56707         [POSIX] (EADDRNOTAVAIL): Likewise.
56708         [POSIX] (EAFNOSUPPORT): Likewise.
56709         [POSIX] (EALREADY): Likewise.
56710         [POSIX] (ECONNABORTED): Likewise.
56711         [POSIX] (ECONNREFUSED): Likewise.
56712         [POSIX] (ECONNRESET): Likewise.
56713         [POSIX] (EDESTADDRREQ): Likewise.
56714         [POSIX] (EDQUOT): Likewise.
56715         [POSIX] (EHOSTUNREACH): Likewise.
56716         [POSIX] (EIDRM): Likewise.
56717         [POSIX] (EISCONN): Likewise.
56718         [POSIX] (ELOOP): Likewise.
56719         [POSIX] (EMULTIHOP): Likewise.
56720         [POSIX] (ENETDOWN): Likewise.
56721         [POSIX] (ENETUNREACH): Likewise.
56722         [POSIX] (ENOBUFS): Likewise.
56723         [POSIX] (ENODATA): Likewise.
56724         [POSIX] (ENOLINK): Likewise.
56725         [POSIX] (ENOMSG): Likewise.
56726         [POSIX] (ENOPROTOOPT): Likewise.
56727         [POSIX] (ENOSR): Likewise.
56728         [POSIX] (ENOSTR): Likewise.
56729         [POSIX] (ENOTCONN): Likewise.
56730         [POSIX] (ENOTSOCK): Likewise.
56731         [POSIX] (EOPNOTSUPP): Likewise.
56732         [POSIX] (EOVERFLOW): Likewise.
56733         [POSIX] (EPROTO): Likewise.
56734         [POSIX] (EPROTONOSUPPORT): Likewise.
56735         [POSIX] (EPROTOTYPE): Likewise.
56736         [POSIX] (ESTALE): Likewise.
56737         [POSIX] (ETIME): Likewise.
56738         [POSIX] (ETXTBSY): Likewise.
56739         [POSIX] (EWOULDBLOCK): Likewise.
56740         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56741         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56742         [POSIX] (SEEK_CUR): Likewise.
56743         [POSIX] (SEEK_END): Likewise.
56744         [POSIX || UNIX98] (mode_t): Do not require.
56745         [POSIX] (off_t): Likewise.
56746         [POSIX] (pid_t): Likewise.
56747         [POSIX] (sys/stat.h): Do not allow header.
56748         [POSIX] (unistd.h): Likewise.
56749         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56750         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56751         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56752         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56753         require.
56754         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56755         sigevent): Specify elements.
56756         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56757         entry.
56758         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56759         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56761         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56762         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56763         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56764         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56765         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56766         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56767         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56768         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56769         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56770         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56771         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56772         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56773         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56774         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56775         Likewise.
56776         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56777         Likewise.
56778         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56779         Likewise.
56780         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56781         Likewise.
56782         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56783         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56784         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56785         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56786         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56787         Specify lower bound on value.
56788         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56789         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56790         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56791         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56792         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56793         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56794         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56795         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56796         value.
56797         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56798         as optional.
56799         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56800         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56801         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56802         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56803         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56804         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56805         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56806         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56807         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56808         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56809         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56810         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56811         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56812         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56813         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56814         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56815         entry.
56816         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56817         optional.
56818         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56819         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56820         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56821         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56822         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56823         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56824         Likewise.
56825         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56826         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56827         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56828         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56829         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56830         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56831         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56832         as optional.
56833         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56834         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56835         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56836         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56837         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56838         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56839         specify as optional.
56840         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56841         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56842         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56843         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56844         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56845         [XPG3] (NL_LANGMAX): Likewise.
56846         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56847         [POSIX || XPG3] (NL_NMAX): Likewise.
56848         [POSIX || XPG3] (NL_SETMAX): Likewise.
56849         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56850         [XPG3] (NZERO): Likewise.
56851         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56852         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56853         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56854         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56855         (REG_ERANGE): Expect.
56856         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56857         optional-constant.
56858         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56859         Use (void) in prototype.
56860         [POSIX] (*_t): Allow.
56861         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56862         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56863         (WRDE_BADVAL): Expect.
56865         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56866         expect.
56867         [XPG3 || XPG4] (O_RSYNC): Likewise.
56868         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56869         Likewise.
56870         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56871         [XPG3 || XPG4] (sigqueue): Likewise.
56872         [XPG3 || XPG4] (sigtimedwait): Likewise.
56873         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56874         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56875         [XPG3 || XPG4] (vsnprintf): Likewise.
56876         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56877         Likewise.
56878         [XPG3 || XPG4] (blksize_t): Likewise.
56879         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56880         Likewise.
56881         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56882         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56883         [XPG3 || XPG4] (struct itimerspec): Likewise.
56884         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56885         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56886         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56887         [XPG3 || XPG4] (clockid_t): Likewise.
56888         [XPG3 || XPG4] (timer_t): Likewise.
56889         [XPG3 || XPG4] (clock_getres): Likewise.
56890         [XPG3 || XPG4] (clock_gettime): Likewise.
56891         [XPG3 || XPG4] (clock_settime): Likewise.
56892         [XPG3 || XPG4] (nanosleep): Likewise.
56893         [XPG3 || XPG4] (timer_create): Likewise.
56894         [XPG3 || XPG4] (timer_delete): Likewise.
56895         [XPG3 || XPG4] (timer_gettime): Likewise.
56896         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56897         [XPG3 || XPG4] (timer_settime): Likewise.
56898         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56899         [XPG3 || XPG4] (getlogin_r): Likewise.
56900         [XPG3 || XPG4] (pread): Likewise.
56901         [XPG3 || XPG4] (pthread_atfork): Likewise.
56902         [XPG3 || XPG4] (pwrite): Likewise.
56904         [BZ #14835]
56905         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56906         <bits/siginfo.h>.
56908 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56910         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56911         finalizing MALLSTREAM.
56913         * sysdeps/mach/hurd/syncfs.c: New file.
56915 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56917         [BZ #14719]
56918         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56919         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56920         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56921         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56922         (_nss_dns_gethostbyname4_r): Likewise.
56923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56924         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56926 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56928         [BZ #13763]
56929         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56931 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56933         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56934         * elf/cache.c (print_entry): Print ",AArch64" for
56935         FLAG_AARCH64_LIB64
56937         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56938         * elf/cache.c (print_entry): Print ",hard-float" for
56939         FLAG_ARM_LIBHF.
56941 2012-11-18  David S. Miller  <davem@davemloft.net>
56943         With help from Joseph Myers.
56944         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56945         cutoff to 2**-13.
56946         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56947         cutoff to 2**-25.
56948         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56949         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56950         small.
56951         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56952         * math/libm-test.inc (y0_test): New tests.
56953         (y1_test): New tests.
56954         * sysdeps/i386/fpu/libm-test-ulps: Update.
56955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56958 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56960         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56961         64-bit targets.
56962         * configure: Regenerated.
56964 2012-11-17  David S. Miller  <davem@davemloft.net>
56966         [BZ #14811]
56967         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56968         nonzero exponents with absolute value below 0x1p-128 to +/-
56969         0x1p-128.
56971 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56973         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56975         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56977         * posix/getconf-speclist.c: New file.
56978         * posix/posix-envs.def: Likewise.
56979         * posix/confstr.c (START_ENV_GROUP): New macro.
56980         (END_ENV_GROUP): Likewise.
56981         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56982         (KNOWN_PRESENT_ENV_STRING): Likewise.
56983         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56984         (UNKNOWN_ENVIRONMENT): Likewise.
56985         (confstr): Include posix-envs.def instead of handling
56986         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56987         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56988         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56989         (END_ENV_GROUP): Likewise.
56990         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56991         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56992         (UNKNOWN_ENVIRONMENT): Likewise.
56993         (__sysconf): Include posix-envs.def instead of handling associated
56994         cases directly here.
56995         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56996         preprocessing getconf-speclist.c rather than running getconf or
56997         generating empty file.
56999 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57001         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57003 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57005         [BZ #14672]
57006         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57008 2012-11-16  David S. Miller  <davem@davemloft.net>
57010         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57011         smaller than LDBL_EPSILON/2.0L, just return xm1.
57013 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57015         * elf/tst-array1.c (init): Set constructor priority to 1000.
57016         (fini): Set destructor priority to 1000.
57017         * elf/tst-array2dep.c: Likewise.
57019 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57021         [BZ #11741]
57022         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57023         (_IO_new_file_xsputn): Also return EOF if none of the input
57024         data was written when overflow failed.
57025         * libio/iopadn.c (_IO_padn): Likewise.
57026         * libio/iowpadn.c (_IO_wpadn): Likewise.
57027         * stdio-common/tst-put-error.c: Add copyright notice.
57028         (do_test): Add case for printing padded string.
57029         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57030         _IO_padn returned error.
57031         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57032         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57033         return EOF.
57035 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57037         * libio/libioP.h: Add comment note that the references to C++
57038         bits are now obsolete.
57040 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57042         * math/libm-test.inc (check_complex): Use asprintf.
57044 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57046         * debug/pcprofiledump.c (print_version): Update copyright year.
57047         * malloc/memusagestat.c (print_version): Likewise.
57049 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57051         [BZ #14831]
57052         * elf/Makefile (tests): Add tst-audit8.
57053         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57054         ($(objpfx)tst-audit8.out): New target.
57055         (tst-audit8-ENV): New variable.
57056         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57057         audit if l_reloc_result is NULL.
57058         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57059         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57060         * elf/tst-audit8.c: New file.
57062 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57064         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57065         * misc/Makefile (CFLAGS-select.c): Define.
57066         * posix/Makefile (CFLAGS-pause.c): Define.
57068 2012-11-13  David S. Miller  <davem@davemloft.net>
57070         * crypt/Makefile: Move test targets after toplevel Rules
57071         inclusion.  Grab any necessary sysdep routines when linking.
57072         * crypt/md5.c (md5_process_block): Remove define, we will always
57073         name it __md5_process_block.
57074         (md5_finish_ctx): Update md5_process_block call.
57075         (md5_stream): Likewise.
57076         (md5_process_bytes): Likewise.
57077         (md5_process_block): Rename to __md5_process_block and move to ...
57078         * crypt/md5-block.c: ... here.
57079         * crypt/sha256.c (sha256_process_block): Move to ...
57080         * crypt/sha256-block.c: ... here.
57081         * crypt/sha512.c (sha512_process_block): Move to ...
57082         * crypt/sha512-block.c: ... here.
57083         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57084         path.
57085         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57086         * sysdeps/sparc/sparc64/multiarch/Makefile
57087         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57088         crypt subdir.
57089         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57090         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57091         multiarch changes.
57092         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57093         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57094         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57095         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57096         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57097         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57098         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57099         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57100         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57101         file.
57102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57103         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57104         file.
57105         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57107 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57109         * timezone/tzselect.ksh: Update from tzcode git revision
57110         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57111         * timezone/zdump.c: Likewise.
57112         * timezone/zic.c: Likewise.
57113         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57114         in TZVERSION setting, not $(PKGVERSION).
57115         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57116         REPORT_BUGS_TO settings.
57118         [BZ #14838]
57119         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57120         macro.
57122 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57124         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57125         detection to immediately after _FP_ROUND().
57126         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57127         bits are 0.
57129 2012-11-11  David S. Miller  <davem@davemloft.net>
57131         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57132         inttypes.h
57133         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57134         __close rather than their public counterparts.
57136 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57138         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57139         file.
57140         [UNIX98] (sem_timedwait): Do not expect.
57141         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57142         [XPG4 || UNIX98] (sockatmark): Do not expect.
57143         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57144         (clock_getcpuclockid): Do not expect.
57145         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57146         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57147         Do not expect.
57148         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57149         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57150         [UNIX98] (vwscanf): Likewise.
57151         [UNIX98] (vswscanf): Likewise.
57153 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57155         * timezone/version.h: Remove file.
57156         * timezone/README: Do not refer to version.h.
57157         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57158         $(objpfx)version.h.
57159         ($(objpfx)zdump.o): Likewise.
57160         ($(objpfx)version.h): New target.
57162         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57163         2012i.
57164         * timezone/README: Don't mention modification to tzselect.ksh.
57165         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57166         work on unmodified tzselect.ksh.  Substitute version numbers in
57167         tzselect.ksh.
57169         * Makefile (format-me): Remove.
57170         (INSTALL): Adjust indentation.  Use commands directly instead of
57171         using $(format-me).
57173         * aclocal.m4 (ACX_PKGVERSION): New macro.
57174         (ACX_BUGURL): Likewise.
57175         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57176         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57177         (REPORT_BUGS_TO): Likewise.
57178         * configure: Regenerated.
57179         * config.h.in (PKGVERSION): New macro.
57180         (REPORT_BUGS_TO): Likewise.
57181         * config.make.in (PKGVERSION): New variable.
57182         (PKGVERSION_TEXI): Likewise.
57183         (REPORT_BUGS_TO): Likewise.
57184         (REPORT_BUGS_TEXI): Likewise.
57185         * Makefile (format-me): Use -I$(common-objpfx)manual.
57186         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57187         ($(common-objpfx)manual/%): New target.
57188         (manual/%): Remove target.
57189         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57190         (print_version): Use PKGVERSION.
57191         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57192         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57193         and REPORT_BUGS_TO.
57194         ($(objpfx)xtrace): Likewise.
57195         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57196         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57197         (print_version): Use PKGVERSION.
57198         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57199         (do_version): Use PKGVERSION.
57200         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57201         REPORT_BUGS_TO.
57202         (common-ldd-rewrite): Likewise.
57203         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57204         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57205         (print_version): Use PKGVERSION.
57206         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57207         * elf/pldd.c (argp_program_bug_address): Remove variable.
57208         (more_help): New function.
57209         (argp): Use more_help.
57210         (print_version): Use PKGVERSION.
57211         * elf/sln.c (main): Use PKGVERSION.
57212         (usage): Use REPORT_BUGS_TO.
57213         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57214         (top level): Use PKGVERSION.
57215         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57216         (print_version): Use PKGVERSION.
57217         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57218         (print_version): Use PKGVERSION.
57219         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57220         (print_version): Use PKGVERSION.
57221         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57222         (print_version): Use PKGVERSION.
57223         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57224         (print_version): Use PKGVERSION.
57225         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57226         (print_version): Use PKGVERSION.
57227         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57228         and BUGURL.
57229         ($(objpfx)memusage): Likewise.
57230         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57231         (do_version): Use PKGVERSION.
57232         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57233         (print_version): Use PKGVERSION.
57234         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57235         ($PKGVERSION): New variable.
57236         ($REPORT_BUGS_TO): Likewise.
57237         (usage): Use $REPORT_BUGS_TO.
57238         (top level): Use $PKGVERSION.
57239         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57240         ($(objpfx)pkgvers.texi): New rule.
57241         ($(objpfx)stamp-pkgvers): Likewise.
57242         * manual/install.texi: Include pkgvers.texi.
57243         (--with-pkgversion): Document new configure option.
57244         (--with-bugurl): Likewise.
57245         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57246         than necessarily for this particular distribution.  Use
57247         REPORT_BUGS_TO for where to report bugs.
57248         * INSTALL: Regenerated.
57249         * manual/libc.texinfo: Include pkgvers.texi.
57250         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57251         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57252         (print_version): Use PKGVERSION.
57253         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57254         (print_version): Use PKGVERSION.
57255         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57256         (print_version): Use PKGVERSION.
57257         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57258         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57259         macro.
57260         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57261         (print_version): Use PKGVERSION.
57262         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57263         (print_version): Use PKGVERSION.
57264         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57265         and PKGVERSION.
57267         * timezone/checktab.awk: Update from tzcode 2012i.
57268         * timezone/ialloc.c: Likewise.
57269         * timezone/private.h: Likewise.
57270         * timezone/scheck.c: Likewise.
57271         * timezone/tzfile.h: Likewise.
57272         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57273         (TZVERSION): Hardcode tzcode version number.
57274         * timezone/zdump.c: Update from tzcode 2012i.
57275         * timezone/zic.c: Likewise.
57276         * timezone/version.h: New file.
57277         * timezone/README: Describe version.h.  Update upstream location.
57279         [BZ #14824]
57280         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57281         (mktemp): Enable declaration.
57282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57285         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57286         Likewise.
57287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57288         Likewise.
57289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57290         Likewise.
57291         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57292         Likewise.
57293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57294         Likewise.
57295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57296         Likewise.
57298         [BZ #14821]
57299         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57300         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57301         for copies of such integer values.
57302         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57303         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57305 2012-11-09  Andreas Jaeger  <aj@suse.de>
57307         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57308         definitions and declarations that are provided by
57309         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57311 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57313         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57314         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57315         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57316         definition.
57318 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57320         * elf/elf.h: Update comment before AArch64 relocations.
57322 2012-11-07  David S. Miller  <davem@davemloft.net>
57324         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57325         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57326         (__start_context): Declare.
57327         (__makecontext_ret): Delete.
57328         (__makecontext): Hook up __start_context instead of
57329         __makecontext_ret.
57330         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57331         (sysdep_routines): Add __start_context when in stdlib.
57333 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57335         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57336         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57337         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57338         hardcoded "nm".
57339         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57340         (READELF): New variable.  Use it instead of hardcoded "readelf".
57342 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57344         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57345         * sysdeps/x86/Makefile: Here.
57346         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57347         * sysdeps/x86/tst-xmmymm.sh: This.
57349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57351         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57352         expectations.
57353         [UNIX98] (pthread_barrier_t): Do not expect.
57354         [UNIX98] (pthread_barrierattr_t): Likewise.
57355         [UNIX98] (pthread_spinlock_t): Likewise.
57356         [UNIX98] (pthread_barrier_destroy): Likewise.
57357         [UNIX98] (pthread_barrier_init): Likewise.
57358         [UNIX98] (pthread_barrier_wait): Likewise.
57359         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57360         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57361         [UNIX98] (pthread_barrierattr_init): Likewise.
57362         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57363         [UNIX98] (pthread_getcpuclockid): Likewise.
57364         [UNIX98] (pthread_mutex_timedlock): Likewise.
57365         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57366         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57367         [UNIX98] (pthread_sigmask): Likewise.
57368         [UNIX98] (pthread_spin_destroy): Likewise.
57369         [UNIX98] (pthread_spin_init): Likewise.
57370         [UNIX98] (pthread_spin_lock): Likewise.
57371         [UNIX98] (pthread_spin_trylock): Likewise.
57372         [UNIX98] (pthread_spin_unlock): Likewise.
57373         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57374         Do not expect.
57375         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57376         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57377         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57378         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57379         [XPG3 || XPG4] (pthread_key_t): Likewise.
57380         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57381         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57382         [XPG3 || XPG4] (pthread_once_t): Likewise.
57383         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57384         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57385         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57386         [XPG3 || XPG4] (pthread_t): Likewise.
57388         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57389         not expect.
57390         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57392         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57393         Change function return type to int.
57395         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57396         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57397         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57398         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57399         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57400         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57401         [!POSIX] (posix_madvise): Likewise.
57402         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57403         && !UNIX98].
57404         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57405         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57406         (mode_t): Likewise.
57407         (posix_mem_offset): Likewise.
57408         (posix_typed_mem_get_info): Likewise.
57409         (posix_typed_mem_open): Likewise.
57411         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57412         Change condition to [XOPEN2K8].
57414         * conform/conformtest.pl: Preprocess allow-header data with -x c
57415         instead of from stdin.
57416         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57417         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57418         [C99-based standards] (cerfc): Likewise.
57419         [C99-based standards] (cexp2): Likewise.
57420         [C99-based standards] (cexpm1): Likewise.
57421         [C99-based standards] (clog10): Likewise.
57422         [C99-based standards] (clog1p): Likewise.
57423         [C99-based standards] (clog2): Likewise.
57424         [C99-based standards] (clgamma): Likewise.
57425         [C99-based standards] (ctgamma): Likewise.
57426         [C99-based standards] (cerff): Likewise.
57427         [C99-based standards] (cerfcf): Likewise.
57428         [C99-based standards] (cexp2f): Likewise.
57429         [C99-based standards] (cexpm1f): Likewise.
57430         [C99-based standards] (clog10f): Likewise.
57431         [C99-based standards] (clog1pf): Likewise.
57432         [C99-based standards] (clog2f): Likewise.
57433         [C99-based standards] (clgammaf): Likewise.
57434         [C99-based standards] (ctgammaf): Likewise.
57435         [C99-based standards] (cerfl): Likewise.
57436         [C99-based standards] (cerfcl): Likewise.
57437         [C99-based standards] (cexp2l): Likewise.
57438         [C99-based standards] (cexpm1l): Likewise.
57439         [C99-based standards] (clog10l): Likewise.
57440         [C99-based standards] (clog1pl): Likewise.
57441         [C99-based standards] (clog2l): Likewise.
57442         [C99-based standards] (clgammal): Likewise.
57443         [C99-based standards] (ctgammal): Likewise.
57444         * conform/data/inttypes.h-data [C99-based standards]: Include
57445         stdint.h-data.  Remove all expectations for stdint.h contents.
57446         [C99-based standards] (PRI*): Do not allow.
57447         [C99-based standards] (SCN*): Likewise.
57448         [C99-based standards] (*_t): Likewise.
57449         [C99-based-standards] (PRId8): Expect macro.
57450         [C99-based-standards] (PRIi8): Likewise.
57451         [C99-based-standards] (PRIo8): Likewise.
57452         [C99-based-standards] (PRIu8): Likewise.
57453         [C99-based-standards] (PRIx8): Likewise.
57454         [C99-based-standards] (PRIX8): Likewise.
57455         [C99-based-standards] (SCNd8): Likewise.
57456         [C99-based-standards] (SCNi8): Likewise.
57457         [C99-based-standards] (SCNo8): Likewise.
57458         [C99-based-standards] (SCNu8): Likewise.
57459         [C99-based-standards] (SCNx8): Likewise.
57460         [C99-based-standards] (PRIdLEAST8): Likewise.
57461         [C99-based-standards] (PRIiLEAST8): Likewise.
57462         [C99-based-standards] (PRIoLEAST8): Likewise.
57463         [C99-based-standards] (PRIuLEAST8): Likewise.
57464         [C99-based-standards] (PRIxLEAST8): Likewise.
57465         [C99-based-standards] (PRIXLEAST8): Likewise.
57466         [C99-based-standards] (SCNdLEAST8): Likewise.
57467         [C99-based-standards] (SCNiLEAST8): Likewise.
57468         [C99-based-standards] (SCNoLEAST8): Likewise.
57469         [C99-based-standards] (SCNuLEAST8): Likewise.
57470         [C99-based-standards] (SCNxLEAST8): Likewise.
57471         [C99-based-standards] (PRIdFAST8): Likewise.
57472         [C99-based-standards] (PRIiFAST8): Likewise.
57473         [C99-based-standards] (PRIoFAST8): Likewise.
57474         [C99-based-standards] (PRIuFAST8): Likewise.
57475         [C99-based-standards] (PRIxFAST8): Likewise.
57476         [C99-based-standards] (PRIXFAST8): Likewise.
57477         [C99-based-standards] (SCNdFAST8): Likewise.
57478         [C99-based-standards] (SCNiFAST8): Likewise.
57479         [C99-based-standards] (SCNoFAST8): Likewise.
57480         [C99-based-standards] (SCNuFAST8): Likewise.
57481         [C99-based-standards] (SCNxFAST8): Likewise.
57482         [C99-based-standards] (PRId16): Likewise.
57483         [C99-based-standards] (PRIi16): Likewise.
57484         [C99-based-standards] (PRIo16): Likewise.
57485         [C99-based-standards] (PRIu16): Likewise.
57486         [C99-based-standards] (PRIx16): Likewise.
57487         [C99-based-standards] (PRIX16): Likewise.
57488         [C99-based-standards] (SCNd16): Likewise.
57489         [C99-based-standards] (SCNi16): Likewise.
57490         [C99-based-standards] (SCNo16): Likewise.
57491         [C99-based-standards] (SCNu16): Likewise.
57492         [C99-based-standards] (SCNx16): Likewise.
57493         [C99-based-standards] (PRIdLEAST16): Likewise.
57494         [C99-based-standards] (PRIiLEAST16): Likewise.
57495         [C99-based-standards] (PRIoLEAST16): Likewise.
57496         [C99-based-standards] (PRIuLEAST16): Likewise.
57497         [C99-based-standards] (PRIxLEAST16): Likewise.
57498         [C99-based-standards] (PRIXLEAST16): Likewise.
57499         [C99-based-standards] (SCNdLEAST16): Likewise.
57500         [C99-based-standards] (SCNiLEAST16): Likewise.
57501         [C99-based-standards] (SCNoLEAST16): Likewise.
57502         [C99-based-standards] (SCNuLEAST16): Likewise.
57503         [C99-based-standards] (SCNxLEAST16): Likewise.
57504         [C99-based-standards] (PRIdFAST16): Likewise.
57505         [C99-based-standards] (PRIiFAST16): Likewise.
57506         [C99-based-standards] (PRIoFAST16): Likewise.
57507         [C99-based-standards] (PRIuFAST16): Likewise.
57508         [C99-based-standards] (PRIxFAST16): Likewise.
57509         [C99-based-standards] (PRIXFAST16): Likewise.
57510         [C99-based-standards] (SCNdFAST16): Likewise.
57511         [C99-based-standards] (SCNiFAST16): Likewise.
57512         [C99-based-standards] (SCNoFAST16): Likewise.
57513         [C99-based-standards] (SCNuFAST16): Likewise.
57514         [C99-based-standards] (SCNxFAST16): Likewise.
57515         [C99-based-standards] (PRId32): Likewise.
57516         [C99-based-standards] (PRIi32): Likewise.
57517         [C99-based-standards] (PRIo32): Likewise.
57518         [C99-based-standards] (PRIu32): Likewise.
57519         [C99-based-standards] (PRIx32): Likewise.
57520         [C99-based-standards] (PRIX32): Likewise.
57521         [C99-based-standards] (SCNd32): Likewise.
57522         [C99-based-standards] (SCNi32): Likewise.
57523         [C99-based-standards] (SCNo32): Likewise.
57524         [C99-based-standards] (SCNu32): Likewise.
57525         [C99-based-standards] (SCNx32): Likewise.
57526         [C99-based-standards] (PRIdLEAST32): Likewise.
57527         [C99-based-standards] (PRIiLEAST32): Likewise.
57528         [C99-based-standards] (PRIoLEAST32): Likewise.
57529         [C99-based-standards] (PRIuLEAST32): Likewise.
57530         [C99-based-standards] (PRIxLEAST32): Likewise.
57531         [C99-based-standards] (PRIXLEAST32): Likewise.
57532         [C99-based-standards] (SCNdLEAST32): Likewise.
57533         [C99-based-standards] (SCNiLEAST32): Likewise.
57534         [C99-based-standards] (SCNoLEAST32): Likewise.
57535         [C99-based-standards] (SCNuLEAST32): Likewise.
57536         [C99-based-standards] (SCNxLEAST32): Likewise.
57537         [C99-based-standards] (PRIdFAST32): Likewise.
57538         [C99-based-standards] (PRIiFAST32): Likewise.
57539         [C99-based-standards] (PRIoFAST32): Likewise.
57540         [C99-based-standards] (PRIuFAST32): Likewise.
57541         [C99-based-standards] (PRIxFAST32): Likewise.
57542         [C99-based-standards] (PRIXFAST32): Likewise.
57543         [C99-based-standards] (SCNdFAST32): Likewise.
57544         [C99-based-standards] (SCNiFAST32): Likewise.
57545         [C99-based-standards] (SCNoFAST32): Likewise.
57546         [C99-based-standards] (SCNuFAST32): Likewise.
57547         [C99-based-standards] (SCNxFAST32): Likewise.
57548         [C99-based-standards] (PRId64): Likewise.
57549         [C99-based-standards] (PRIi64): Likewise.
57550         [C99-based-standards] (PRIo64): Likewise.
57551         [C99-based-standards] (PRIu64): Likewise.
57552         [C99-based-standards] (PRIx64): Likewise.
57553         [C99-based-standards] (PRIX64): Likewise.
57554         [C99-based-standards] (SCNd64): Likewise.
57555         [C99-based-standards] (SCNi64): Likewise.
57556         [C99-based-standards] (SCNo64): Likewise.
57557         [C99-based-standards] (SCNu64): Likewise.
57558         [C99-based-standards] (SCNx64): Likewise.
57559         [C99-based-standards] (PRIdLEAST64): Likewise.
57560         [C99-based-standards] (PRIiLEAST64): Likewise.
57561         [C99-based-standards] (PRIoLEAST64): Likewise.
57562         [C99-based-standards] (PRIuLEAST64): Likewise.
57563         [C99-based-standards] (PRIxLEAST64): Likewise.
57564         [C99-based-standards] (PRIXLEAST64): Likewise.
57565         [C99-based-standards] (SCNdLEAST64): Likewise.
57566         [C99-based-standards] (SCNiLEAST64): Likewise.
57567         [C99-based-standards] (SCNoLEAST64): Likewise.
57568         [C99-based-standards] (SCNuLEAST64): Likewise.
57569         [C99-based-standards] (SCNxLEAST64): Likewise.
57570         [C99-based-standards] (PRIdFAST64): Likewise.
57571         [C99-based-standards] (PRIiFAST64): Likewise.
57572         [C99-based-standards] (PRIoFAST64): Likewise.
57573         [C99-based-standards] (PRIuFAST64): Likewise.
57574         [C99-based-standards] (PRIxFAST64): Likewise.
57575         [C99-based-standards] (PRIXFAST64): Likewise.
57576         [C99-based-standards] (SCNdFAST64): Likewise.
57577         [C99-based-standards] (SCNiFAST64): Likewise.
57578         [C99-based-standards] (SCNoFAST64): Likewise.
57579         [C99-based-standards] (SCNuFAST64): Likewise.
57580         [C99-based-standards] (SCNxFAST64): Likewise.
57581         [C99-based-standards] (PRIdMAX): Likewise.
57582         [C99-based-standards] (PRIiMAX): Likewise.
57583         [C99-based-standards] (PRIoMAX): Likewise.
57584         [C99-based-standards] (PRIuMAX): Likewise.
57585         [C99-based-standards] (PRIxMAX): Likewise.
57586         [C99-based-standards] (PRIXMAX): Likewise.
57587         [C99-based-standards] (SCNdMAX): Likewise.
57588         [C99-based-standards] (SCNiMAX): Likewise.
57589         [C99-based-standards] (SCNoMAX): Likewise.
57590         [C99-based-standards] (SCNuMAX): Likewise.
57591         [C99-based-standards] (SCNxMAX): Likewise.
57592         [C99-based-standards] (PRIdPTR): Likewise.
57593         [C99-based-standards] (PRIiPTR): Likewise.
57594         [C99-based-standards] (PRIoPTR): Likewise.
57595         [C99-based-standards] (PRIuPTR): Likewise.
57596         [C99-based-standards] (PRIxPTR): Likewise.
57597         [C99-based-standards] (PRIXPTR): Likewise.
57598         [C99-based-standards] (SCNdPTR): Likewise.
57599         [C99-based-standards] (SCNiPTR): Likewise.
57600         [C99-based-standards] (SCNoPTR): Likewise.
57601         [C99-based-standards] (SCNuPTR): Likewise.
57602         [C99-based-standards] (SCNxPTR): Likewise.
57603         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57604         allow.
57605         * conform/data/stdint.h-data: Update comments to clarify
57606         requirements.
57607         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57608         type.
57609         [C99-based standards] (INT8_MAX): Likewise.
57610         [C99-based standards] (INT16_MIN): Likewise.
57611         [C99-based standards] (INT16_MAX): Likewise.
57612         [C99-based standards] (INT32_MIN): Likewise.
57613         [C99-based standards] (INT32_MAX): Likewise.
57614         [C99-based standards] (INT64_MIN): Likewise.
57615         [C99-based standards] (INT64_MAX): Likewise.
57616         [C99-based standards] (UINT8_MAX): Likewise.
57617         [C99-based standards] (UINT16_MAX): Likewise.
57618         [C99-based standards] (UINT32_MAX): Likewise.
57619         [C99-based standards] (UINT64_MAX): Likewise.
57620         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57621         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57622         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57623         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57624         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57625         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57626         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57627         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57628         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57629         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57630         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57631         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57632         [C99-based standards] (INT_FAST8_MIN): Likewise.
57633         [C99-based standards] (INT_FAST8_MAX): Likewise.
57634         [C99-based standards] (INT_FAST16_MIN): Likewise.
57635         [C99-based standards] (INT_FAST16_MAX): Likewise.
57636         [C99-based standards] (INT_FAST32_MIN): Likewise.
57637         [C99-based standards] (INT_FAST32_MAX): Likewise.
57638         [C99-based standards] (INT_FAST64_MIN): Likewise.
57639         [C99-based standards] (INT_FAST64_MAX): Likewise.
57640         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57641         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57642         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57643         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57644         [C99-based standards] (INTPTR_MIN): Likewise.
57645         [C99-based standards] (INTPTR_MAX): Likewise.
57646         [C99-based standards] (UINTPTR_MAX): Likewise.
57647         [C99-based standards] (INTMAX_MIN): Likewise.
57648         [C99-based standards] (INTMAX_MAX): Likewise.
57649         [C99-based standards] (UINTMAX_MAX): Likewise.
57650         [C99-based standards] (PTRDIFF_MIN): Likewise.
57651         [C99-based standards] (PTRDIFF_MAX): Likewise.
57652         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57653         [C99-based standards] (SIZE_MAX): Likewise.
57654         [C99-based standards] (WCHAR_MAX): Likewise.
57655         [C99-based standards] (WINT_MAX): Likewise.
57656         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57657         constraint on value.
57658         [C99-based standards] (WCHAR_MIN): Likewise.
57659         [C99-based standards] (WINT_MIN): Likewise.
57660         [C99-based standards] (*_t): Allow.
57661         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57662         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57663         Include math.h-data and complex.h-data.  Remove all expectations
57664         of math.h and complex.h contents.
57665         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57666         at end of line.
57667         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57668         (struct tm): Expect tag.
57669         [C99-based-standards] (wcstof): Expect function.
57670         [C99-based-standards] (wcstold): Likewise.
57671         [C99-based-standards] (wcstoll): Likewise.
57672         [C99-based-standards] (wcstoull): Likewise.
57673         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57674         macro-int-constant.  Specify type.
57675         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57676         constraint on value.
57677         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57678         Specify type.
57679         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57680         Specify value.
57681         [ISO C standards]: Do not allow headers.
57682         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57683         wcs[abcdefghijklmnopqrstuvwxyz]*.
57684         [ISO C standards] (*_t): Do not allow.
57685         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57686         Expect function.
57687         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57688         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57689         Specify type.
57690         [ISO C standards]: Do not allow headers.
57691         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57692         is[abcdefghijklmnopqrstuvwxyz]*.
57693         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57694         to[abcdefghijklmnopqrstuvwxyz]*.
57695         [ISO C standards] (*_t): Do not allow.
57696         * conform/data/stdalign.h-data: New file.
57697         * conform/data/stdbool.h-data: Likewise.
57698         * conform/data/stdnoreturn.h-data: Likewise.
57700 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57702         [BZ #14815]
57703         * manual/filesys.texi (Directory Entries): Typo fix.
57704         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57706 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57708         * elf/elf.h (EM_AARCH64): New macro.
57709         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57710         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57711         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57712         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57713         (R_AARCH64_TLSDESC): Likewise.
57714         (NT_ARM_TLS): Likewise.
57715         (NT_ARM_HW_BREAK): Likewise.
57716         (NT_ARM_HW_WATCH): Likewise.
57718 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57720         [BZ #14811]
57721         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57722         (__ieee754_powl): Saturate nonzero exponents with absolute value
57723         below 0x1p-79 to +/- 0x1p-79.
57724         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57725         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57726         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57727         nonzero exponents with absolute value below 0x1p-32 to +/-
57728         0x1p-32.
57729         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57730         (__ieee754_powl): Saturate nonzero exponents with absolute value
57731         below 0x1p-79 to +/- 0x1p-79.
57732         * math/libm-test.inc (pow_test): Add more tests.
57734 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57736         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57737         _dl_s390_cap_flags with kernel. Increase string length.
57738         (_dl_s390_platforms): Add z196 and zEC12.
57740 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57742         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57743         Change XOPEN21K to XOPEN2K.
57745 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57747         * string/memmove.c: Use memcpy when possible.
57749 2012-11-06  Andreas Jaeger  <aj@suse.de>
57751         * po/eo.po: Update from translation team.
57753 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57755         [BZ #14793]
57756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57757         exponent and small x and y exponents, scale x or y up.  Increase
57758         by 2 the exponent used in scaling up.
57759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57760         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57761         * math/libm-test.inc (fma_test): Add more tests.
57762         (fma_test_towardzero): Likewise.
57763         (fma_test_downward): Likewise.
57764         (fma_test_upward): Likewise.
57766 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57768         [BZ #14805]
57769         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57770         fenv_t *.
57772         [BZ #14801]
57773         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57774         namespace for names of struct fields.
57775         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57776         fenv_t fields.
57777         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57778         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57780 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57782         [BZ #3665]
57783         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57785 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57787         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57788         PTR_DEMANGLE.
57790         [BZ #5246]
57791         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57792         PTR_DEMANGLE.
57794 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57796         [BZ #14797]
57797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57798         definitely overflow as x * y not x * y + z.
57799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57801         * math/libm-test.inc (fma_test): Add more tests.
57802         (fma_test_towardzero): Likewise.
57803         (fma_test_downward): Likewise.
57804         (fma_test_upward): Likewise.
57806 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57808         [BZ #157]
57810         * include/stub-tag.h: Remove file.
57811         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57812         '#include' of it.
57813         * manual/maint.texi (Porting): Don't reference it.
57814         * Makerules ($(objpfx)stubs): Likewise.
57815         * dirent/closedir.c: Don't include <stub-tag.h>.
57816         * dirent/dirfd.c: Likewise.
57817         * dirent/fdopendir.c: Likewise.
57818         * dirent/getdents.c: Likewise.
57819         * dirent/getdents64.c: Likewise.
57820         * dirent/opendir.c: Likewise.
57821         * dirent/readdir.c: Likewise.
57822         * dirent/readdir64.c: Likewise.
57823         * dirent/readdir64_r.c: Likewise.
57824         * dirent/readdir_r.c: Likewise.
57825         * dirent/rewinddir.c: Likewise.
57826         * dirent/seekdir.c: Likewise.
57827         * dirent/telldir.c: Likewise.
57828         * gmon/profil.c: Likewise.
57829         * grp/setgroups.c: Likewise.
57830         * inet/if_index.c: Likewise.
57831         * io/access.c: Likewise.
57832         * io/chdir.c: Likewise.
57833         * io/chmod.c: Likewise.
57834         * io/chown.c: Likewise.
57835         * io/close.c: Likewise.
57836         * io/dup.c: Likewise.
57837         * io/dup2.c: Likewise.
57838         * io/dup3.c: Likewise.
57839         * io/euidaccess.c: Likewise.
57840         * io/faccessat.c: Likewise.
57841         * io/fchdir.c: Likewise.
57842         * io/fchmod.c: Likewise.
57843         * io/fchmodat.c: Likewise.
57844         * io/fchown.c: Likewise.
57845         * io/fchownat.c: Likewise.
57846         * io/fcntl.c: Likewise.
57847         * io/flock.c: Likewise.
57848         * io/fstatfs.c: Likewise.
57849         * io/fstatfs64.c: Likewise.
57850         * io/fstatvfs.c: Likewise.
57851         * io/fstatvfs64.c: Likewise.
57852         * io/futimens.c: Likewise.
57853         * io/fxstat.c: Likewise.
57854         * io/fxstat64.c: Likewise.
57855         * io/fxstatat.c: Likewise.
57856         * io/fxstatat64.c: Likewise.
57857         * io/getcwd.c: Likewise.
57858         * io/isatty.c: Likewise.
57859         * io/lchmod.c: Likewise.
57860         * io/lchown.c: Likewise.
57861         * io/link.c: Likewise.
57862         * io/linkat.c: Likewise.
57863         * io/lseek.c: Likewise.
57864         * io/lseek64.c: Likewise.
57865         * io/lxstat64.c: Likewise.
57866         * io/mkdir.c: Likewise.
57867         * io/mkdirat.c: Likewise.
57868         * io/mkfifo.c: Likewise.
57869         * io/mkfifoat.c: Likewise.
57870         * io/open.c: Likewise.
57871         * io/open64.c: Likewise.
57872         * io/openat.c: Likewise.
57873         * io/openat64.c: Likewise.
57874         * io/pipe.c: Likewise.
57875         * io/pipe2.c: Likewise.
57876         * io/poll.c: Likewise.
57877         * io/posix_fadvise.c: Likewise.
57878         * io/posix_fadvise64.c: Likewise.
57879         * io/posix_fallocate.c: Likewise.
57880         * io/posix_fallocate64.c: Likewise.
57881         * io/read.c: Likewise.
57882         * io/readlink.c: Likewise.
57883         * io/readlinkat.c: Likewise.
57884         * io/rmdir.c: Likewise.
57885         * io/sendfile.c: Likewise.
57886         * io/sendfile64.c: Likewise.
57887         * io/statfs.c: Likewise.
57888         * io/statfs64.c: Likewise.
57889         * io/statvfs.c: Likewise.
57890         * io/statvfs64.c: Likewise.
57891         * io/symlink.c: Likewise.
57892         * io/symlinkat.c: Likewise.
57893         * io/ttyname.c: Likewise.
57894         * io/ttyname_r.c: Likewise.
57895         * io/umask.c: Likewise.
57896         * io/unlink.c: Likewise.
57897         * io/unlinkat.c: Likewise.
57898         * io/utime.c: Likewise.
57899         * io/utimensat.c: Likewise.
57900         * io/write.c: Likewise.
57901         * io/xmknod.c: Likewise.
57902         * io/xmknodat.c: Likewise.
57903         * io/xstat.c: Likewise.
57904         * io/xstat64.c: Likewise.
57905         * login/getpt.c: Likewise.
57906         * login/grantpt.c: Likewise.
57907         * login/unlockpt.c: Likewise.
57908         * math/e_acoshl.c: Likewise.
57909         * math/e_acosl.c: Likewise.
57910         * math/e_asinl.c: Likewise.
57911         * math/e_atan2l.c: Likewise.
57912         * math/e_atanhl.c: Likewise.
57913         * math/e_coshl.c: Likewise.
57914         * math/e_expl.c: Likewise.
57915         * math/e_fmodl.c: Likewise.
57916         * math/e_gammal_r.c: Likewise.
57917         * math/e_hypotl.c: Likewise.
57918         * math/e_j0l.c: Likewise.
57919         * math/e_j1l.c: Likewise.
57920         * math/e_jnl.c: Likewise.
57921         * math/e_lgammal_r.c: Likewise.
57922         * math/e_log10l.c: Likewise.
57923         * math/e_log2l.c: Likewise.
57924         * math/e_logl.c: Likewise.
57925         * math/e_powl.c: Likewise.
57926         * math/e_rem_pio2l.c: Likewise.
57927         * math/e_sinhl.c: Likewise.
57928         * math/e_sqrtl.c: Likewise.
57929         * math/fclrexcpt.c: Likewise.
57930         * math/fedisblxcpt.c: Likewise.
57931         * math/feenablxcpt.c: Likewise.
57932         * math/fegetenv.c: Likewise.
57933         * math/fegetexcept.c: Likewise.
57934         * math/fegetround.c: Likewise.
57935         * math/feholdexcpt.c: Likewise.
57936         * math/fesetenv.c: Likewise.
57937         * math/fesetround.c: Likewise.
57938         * math/feupdateenv.c: Likewise.
57939         * math/fgetexcptflg.c: Likewise.
57940         * math/fraiseexcpt.c: Likewise.
57941         * math/fsetexcptflg.c: Likewise.
57942         * math/ftestexcept.c: Likewise.
57943         * math/k_cosl.c: Likewise.
57944         * math/k_rem_pio2l.c: Likewise.
57945         * math/k_sinl.c: Likewise.
57946         * math/k_tanl.c: Likewise.
57947         * math/s_asinhl.c: Likewise.
57948         * math/s_atanl.c: Likewise.
57949         * math/s_cbrtl.c: Likewise.
57950         * math/s_erfl.c: Likewise.
57951         * math/s_expm1l.c: Likewise.
57952         * math/s_log1pl.c: Likewise.
57953         * math/s_tanhl.c: Likewise.
57954         * misc/acct.c: Likewise.
57955         * misc/brk.c: Likewise.
57956         * misc/chflags.c: Likewise.
57957         * misc/chroot.c: Likewise.
57958         * misc/fchflags.c: Likewise.
57959         * misc/fgetxattr.c: Likewise.
57960         * misc/flistxattr.c: Likewise.
57961         * misc/fremovexattr.c: Likewise.
57962         * misc/fsetxattr.c: Likewise.
57963         * misc/fsync.c: Likewise.
57964         * misc/ftruncate.c: Likewise.
57965         * misc/futimes.c: Likewise.
57966         * misc/futimesat.c: Likewise.
57967         * misc/getdomain.c: Likewise.
57968         * misc/getdtsz.c: Likewise.
57969         * misc/gethostid.c: Likewise.
57970         * misc/gethostname.c: Likewise.
57971         * misc/getloadavg.c: Likewise.
57972         * misc/getpagesize.c: Likewise.
57973         * misc/getsysstats.c: Likewise.
57974         * misc/getxattr.c: Likewise.
57975         * misc/gtty.c: Likewise.
57976         * misc/ioctl.c: Likewise.
57977         * misc/lgetxattr.c: Likewise.
57978         * misc/listxattr.c: Likewise.
57979         * misc/llistxattr.c: Likewise.
57980         * misc/lremovexattr.c: Likewise.
57981         * misc/lsetxattr.c: Likewise.
57982         * misc/lutimes.c: Likewise.
57983         * misc/madvise.c: Likewise.
57984         * misc/mincore.c: Likewise.
57985         * misc/mlock.c: Likewise.
57986         * misc/mlockall.c: Likewise.
57987         * misc/mmap.c: Likewise.
57988         * misc/mprotect.c: Likewise.
57989         * misc/msync.c: Likewise.
57990         * misc/munlock.c: Likewise.
57991         * misc/munlockall.c: Likewise.
57992         * misc/munmap.c: Likewise.
57993         * misc/preadv.c: Likewise.
57994         * misc/preadv64.c: Likewise.
57995         * misc/ptrace.c: Likewise.
57996         * misc/pwritev.c: Likewise.
57997         * misc/pwritev64.c: Likewise.
57998         * misc/readv.c: Likewise.
57999         * misc/reboot.c: Likewise.
58000         * misc/remap_file_pages.c: Likewise.
58001         * misc/removexattr.c: Likewise.
58002         * misc/revoke.c: Likewise.
58003         * misc/select.c: Likewise.
58004         * misc/setdomain.c: Likewise.
58005         * misc/setegid.c: Likewise.
58006         * misc/seteuid.c: Likewise.
58007         * misc/sethostid.c: Likewise.
58008         * misc/sethostname.c: Likewise.
58009         * misc/setregid.c: Likewise.
58010         * misc/setreuid.c: Likewise.
58011         * misc/setxattr.c: Likewise.
58012         * misc/sstk.c: Likewise.
58013         * misc/stty.c: Likewise.
58014         * misc/swapoff.c: Likewise.
58015         * misc/swapon.c: Likewise.
58016         * misc/sync.c: Likewise.
58017         * misc/syncfs.c: Likewise.
58018         * misc/syscall.c: Likewise.
58019         * misc/truncate.c: Likewise.
58020         * misc/ualarm.c: Likewise.
58021         * misc/usleep.c: Likewise.
58022         * misc/ustat.c: Likewise.
58023         * misc/utimes.c: Likewise.
58024         * misc/vhangup.c: Likewise.
58025         * misc/writev.c: Likewise.
58026         * posix/_exit.c: Likewise.
58027         * posix/alarm.c: Likewise.
58028         * posix/execve.c: Likewise.
58029         * posix/fexecve.c: Likewise.
58030         * posix/fork.c: Likewise.
58031         * posix/fpathconf.c: Likewise.
58032         * posix/getaddrinfo.c: Likewise.
58033         * posix/getegid.c: Likewise.
58034         * posix/geteuid.c: Likewise.
58035         * posix/getgid.c: Likewise.
58036         * posix/getgroups.c: Likewise.
58037         * posix/getlogin.c: Likewise.
58038         * posix/getlogin_r.c: Likewise.
58039         * posix/getpgid.c: Likewise.
58040         * posix/getpid.c: Likewise.
58041         * posix/getppid.c: Likewise.
58042         * posix/getresgid.c: Likewise.
58043         * posix/getresuid.c: Likewise.
58044         * posix/getsid.c: Likewise.
58045         * posix/getuid.c: Likewise.
58046         * posix/glob64.c: Likewise.
58047         * posix/nanosleep.c: Likewise.
58048         * posix/pathconf.c: Likewise.
58049         * posix/pause.c: Likewise.
58050         * posix/posix_madvise.c: Likewise.
58051         * posix/pread.c: Likewise.
58052         * posix/pread64.c: Likewise.
58053         * posix/pwrite.c: Likewise.
58054         * posix/pwrite64.c: Likewise.
58055         * posix/sched_getaffinity.c: Likewise.
58056         * posix/sched_getp.c: Likewise.
58057         * posix/sched_gets.c: Likewise.
58058         * posix/sched_primax.c: Likewise.
58059         * posix/sched_primin.c: Likewise.
58060         * posix/sched_rr_gi.c: Likewise.
58061         * posix/sched_setaffinity.c: Likewise.
58062         * posix/sched_setp.c: Likewise.
58063         * posix/sched_sets.c: Likewise.
58064         * posix/sched_yield.c: Likewise.
58065         * posix/setgid.c: Likewise.
58066         * posix/setlogin.c: Likewise.
58067         * posix/setpgid.c: Likewise.
58068         * posix/setresgid.c: Likewise.
58069         * posix/setresuid.c: Likewise.
58070         * posix/setsid.c: Likewise.
58071         * posix/setuid.c: Likewise.
58072         * posix/sleep.c: Likewise.
58073         * posix/spawni.c: Likewise.
58074         * posix/sysconf.c: Likewise.
58075         * posix/times.c: Likewise.
58076         * posix/wait.c: Likewise.
58077         * posix/wait3.c: Likewise.
58078         * posix/wait4.c: Likewise.
58079         * posix/waitpid.c: Likewise.
58080         * resolv/gai_sigqueue.c: Likewise.
58081         * resource/getpriority.c: Likewise.
58082         * resource/getrlimit.c: Likewise.
58083         * resource/getrusage.c: Likewise.
58084         * resource/nice.c: Likewise.
58085         * resource/setpriority.c: Likewise.
58086         * resource/setrlimit.c: Likewise.
58087         * resource/ulimit.c: Likewise.
58088         * rt/aio_cancel.c: Likewise.
58089         * rt/aio_fsync.c: Likewise.
58090         * rt/aio_read.c: Likewise.
58091         * rt/aio_sigqueue.c: Likewise.
58092         * rt/aio_suspend.c: Likewise.
58093         * rt/aio_write.c: Likewise.
58094         * rt/clock_getres.c: Likewise.
58095         * rt/clock_gettime.c: Likewise.
58096         * rt/clock_nanosleep.c: Likewise.
58097         * rt/clock_settime.c: Likewise.
58098         * rt/lio_listio.c: Likewise.
58099         * rt/mq_close.c: Likewise.
58100         * rt/mq_getattr.c: Likewise.
58101         * rt/mq_notify.c: Likewise.
58102         * rt/mq_open.c: Likewise.
58103         * rt/mq_receive.c: Likewise.
58104         * rt/mq_send.c: Likewise.
58105         * rt/mq_setattr.c: Likewise.
58106         * rt/mq_timedreceive.c: Likewise.
58107         * rt/mq_timedsend.c: Likewise.
58108         * rt/mq_unlink.c: Likewise.
58109         * rt/shm_open.c: Likewise.
58110         * rt/shm_unlink.c: Likewise.
58111         * rt/timer_create.c: Likewise.
58112         * rt/timer_delete.c: Likewise.
58113         * rt/timer_getoverr.c: Likewise.
58114         * rt/timer_gettime.c: Likewise.
58115         * rt/timer_settime.c: Likewise.
58116         * setjmp/__longjmp.c: Likewise.
58117         * setjmp/setjmp.c: Likewise.
58118         * signal/kill.c: Likewise.
58119         * signal/killpg.c: Likewise.
58120         * signal/raise.c: Likewise.
58121         * signal/sigaction.c: Likewise.
58122         * signal/sigaltstack.c: Likewise.
58123         * signal/sigblock.c: Likewise.
58124         * signal/sigignore.c: Likewise.
58125         * signal/sigintr.c: Likewise.
58126         * signal/signal.c: Likewise.
58127         * signal/sigpause.c: Likewise.
58128         * signal/sigpending.c: Likewise.
58129         * signal/sigqueue.c: Likewise.
58130         * signal/sigreturn.c: Likewise.
58131         * signal/sigset.c: Likewise.
58132         * signal/sigsetmask.c: Likewise.
58133         * signal/sigstack.c: Likewise.
58134         * signal/sigsuspend.c: Likewise.
58135         * signal/sigtimedwait.c: Likewise.
58136         * signal/sigvec.c: Likewise.
58137         * signal/sigwait.c: Likewise.
58138         * signal/sigwaitinfo.c: Likewise.
58139         * signal/sysv_signal.c: Likewise.
58140         * socket/accept.c: Likewise.
58141         * socket/accept4.c: Likewise.
58142         * socket/bind.c: Likewise.
58143         * socket/connect.c: Likewise.
58144         * socket/getpeername.c: Likewise.
58145         * socket/getsockname.c: Likewise.
58146         * socket/getsockopt.c: Likewise.
58147         * socket/isfdtype.c: Likewise.
58148         * socket/listen.c: Likewise.
58149         * socket/recv.c: Likewise.
58150         * socket/recvfrom.c: Likewise.
58151         * socket/recvmsg.c: Likewise.
58152         * socket/send.c: Likewise.
58153         * socket/sendmsg.c: Likewise.
58154         * socket/sendto.c: Likewise.
58155         * socket/setsockopt.c: Likewise.
58156         * socket/shutdown.c: Likewise.
58157         * socket/sockatmark.c: Likewise.
58158         * socket/socket.c: Likewise.
58159         * socket/socketpair.c: Likewise.
58160         * stdio-common/ctermid.c: Likewise.
58161         * stdio-common/cuserid.c: Likewise.
58162         * stdio-common/remove.c: Likewise.
58163         * stdio-common/rename.c: Likewise.
58164         * stdio-common/renameat.c: Likewise.
58165         * stdio-common/tempname.c: Likewise.
58166         * stdlib/getcontext.c: Likewise.
58167         * stdlib/makecontext.c: Likewise.
58168         * stdlib/setcontext.c: Likewise.
58169         * stdlib/swapcontext.c: Likewise.
58170         * stdlib/system.c: Likewise.
58171         * streams/fattach.c: Likewise.
58172         * streams/fdetach.c: Likewise.
58173         * streams/getmsg.c: Likewise.
58174         * streams/getpmsg.c: Likewise.
58175         * streams/putmsg.c: Likewise.
58176         * streams/putpmsg.c: Likewise.
58177         * sysdeps/unix/bsd/getpt.c: Likewise.
58178         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58179         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58180         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58182         Likewise.
58183         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58184         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58185         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58186         * sysvipc/msgctl.c: Likewise.
58187         * sysvipc/msgget.c: Likewise.
58188         * sysvipc/msgrcv.c: Likewise.
58189         * sysvipc/msgsnd.c: Likewise.
58190         * sysvipc/semctl.c: Likewise.
58191         * sysvipc/semget.c: Likewise.
58192         * sysvipc/semop.c: Likewise.
58193         * sysvipc/semtimedop.c: Likewise.
58194         * sysvipc/shmat.c: Likewise.
58195         * sysvipc/shmctl.c: Likewise.
58196         * sysvipc/shmdt.c: Likewise.
58197         * sysvipc/shmget.c: Likewise.
58198         * termios/tcdrain.c: Likewise.
58199         * termios/tcflow.c: Likewise.
58200         * termios/tcflush.c: Likewise.
58201         * termios/tcgetattr.c: Likewise.
58202         * termios/tcgetpgrp.c: Likewise.
58203         * termios/tcsendbrk.c: Likewise.
58204         * termios/tcsetattr.c: Likewise.
58205         * termios/tcsetpgrp.c: Likewise.
58206         * time/adjtime.c: Likewise.
58207         * time/clock.c: Likewise.
58208         * time/getitimer.c: Likewise.
58209         * time/gettimeofday.c: Likewise.
58210         * time/setitimer.c: Likewise.
58211         * time/settimeofday.c: Likewise.
58212         * time/stime.c: Likewise.
58213         * time/time.c: Likewise.
58215 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58217         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58218         /usr/old/bin.
58220         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58221         instead of spaces.
58222         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58224 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58226         [BZ #14796]
58227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58228         FE_TONEAREST before applying Dekker multiplication and Knuth
58229         addition.  Clear inexact exceptions and check for exact zero
58230         results afterwards.
58231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58232         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58234         * math/libm-test.inc (fma_test): Add more tests.
58235         (fma_test_towardzero): Likewise.
58236         (fma_test_downward): Likewise.
58237         (fma_test_upward): Likewise.
58238         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58239         function.
58240         (libc_fesetround): New macro.
58241         (libc_fesetroundf): Likewise.
58242         (libc_fesetroundl): Likewise.
58243         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58244         function.
58245         (libc_fesetround_387): Likewise.
58246         (libc_fesetroundf): New macro.
58247         (libc_fesetround): Likewise.
58248         (libc_fesetroundl): Likewise.
58249         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58250         function.
58251         (libc_fesetroundf): New macro.
58252         (libc_fesetround): Likewise.
58253         (libc_fesetroundl): Likewise.
58254         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58255         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58256         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58257         libm_hidden_ver.
58258         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58259         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58260         libm_hidden_def.
58261         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58262         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58263         libm_hidden_ver.
58264         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58265         libm_hidden_def.
58267         [BZ #3439]
58268         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58269         integer constant usable in #if and use that to give value to enum
58270         constant.
58271         (FE_DIVBYZERO): Likewise.
58272         (FE_UNDERFLOW): Likewise.
58273         (FE_OVERFLOW): Likewise.
58274         (FE_INVALID): Likewise.
58275         (FE_INVALID_SNAN): Likewise.
58276         (FE_INVALID_ISI): Likewise.
58277         (FE_INVALID_IDI): Likewise.
58278         (FE_INVALID_ZDZ): Likewise.
58279         (FE_INVALID_IMZ): Likewise.
58280         (FE_INVALID_COMPARE): Likewise.
58281         (FE_INVALID_SOFTWARE): Likewise.
58282         (FE_INVALID_SQRT): Likewise.
58283         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58284         (FE_TONEAREST): Likewise.
58285         (FE_TOWARDZERO): Likewise.
58286         (FE_UPWARD): Likewise.
58287         (FE_DOWNWARD): Likewise.
58288         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58289         (FE_DIVBYZERO): Likewise.
58290         (FE_OVERFLOW): Likewise.
58291         (FE_UNDERFLOW): Likewise.
58292         (FE_INEXACT): Likewise.
58293         (FE_TONEAREST): Likewise.
58294         (FE_DOWNWARD): Likewise.
58295         (FE_UPWARD): Likewise.
58296         (FE_TOWARDZERO): Likewise.
58297         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58298         (FE_UNDERFLOW): Likewise.
58299         (FE_OVERFLOW): Likewise.
58300         (FE_DIVBYZERO): Likewise.
58301         (FE_INVALID): Likewise.
58302         (FE_TONEAREST): Likewise.
58303         (FE_TOWARDZERO): Likewise.
58304         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58305         (FE_OVERFLOW): Likewise.
58306         (FE_UNDERFLOW): Likewise.
58307         (FE_DIVBYZERO): Likewise.
58308         (FE_INEXACT): Likewise.
58309         (FE_TONEAREST): Likewise.
58310         (FE_TOWARDZERO): Likewise.
58311         (FE_UPWARD): Likewise.
58312         (FE_DOWNWARD): Likewise.
58313         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58314         (FE_DIVBYZERO): Likewise.
58315         (FE_OVERFLOW): Likewise.
58316         (FE_UNDERFLOW): Likewise.
58317         (FE_INEXACT): Likewise.
58318         (FE_TONEAREST): Likewise.
58319         (FE_DOWNWARD): Likewise.
58320         (FE_UPWARD): Likewise.
58321         (FE_TOWARDZERO): Likewise.
58323 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58325         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58327 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58329         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58330         commands.  Quote $PWD.
58331         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58332         -x" by "export".
58333         (remove_newlines): Remove.
58335 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58337         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58338         * stdlib/stdlib.h (atof): Moved to ...
58339         * include/bits/stdlib-float.h: Here.  New file.
58340         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58341         * stdlib/bits/stdlib-float.h: New file.
58342         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58343         -mno-sse -mno-mmx.
58344         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58345         <xmmintrin.h>.
58347 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58349         * conform/conformtest.pl (@headers): Add fenv.h.
58350         * conform/data/fenv.h-data: New file.
58351         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58352         include of <math/fenv.h>.
58354         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58355         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58356         && !UNIX98].  Enables tests for XOPEN2K8.
58357         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58358         POSIX2008]: Likewise.
58360         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58361         (struct rusage): Do not expect type or its members.
58363         [BZ #3439]
58364         * math/math.h (FP_NAN): Define macro to integer constant usable in
58365         #if and use that to give value to enum constant.
58366         (FP_INFINITE): Likewise.
58367         (FP_ZERO): Likewise.
58368         (FP_SUBNORMAL): Likewise.
58369         (FP_NORMAL): Likewise.
58371 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58373         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58374         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58375         arguments.
58377 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58379         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58380         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58381         autoconf-time if not.
58382         * configure.in: Remove AC_PREREQ.
58384 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58386         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58387         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58388         of the internal implementation.
58390 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58392         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58393         except include of <misc/sys/syslog.h>.
58395 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58398         function returns with a NULL context exit with zero.
58400 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58402         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58404 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58406         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58407         (run_program_cmd): This.
58408         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58409         (tst_langinfo): New variable.  Use it.
58411 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58413         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58414         floating point opcodes.
58416 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58418         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58419         variable.
58421         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58423         * sysdeps/mach/hurd/powerpc: Remove directory.
58424         * sysdeps/mach/powerpc: Likewise.
58426 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58428         * scripts/check-local-headers.sh: Ignore c++ headers.
58430 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58432         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58433         __libc_cleanup_region_start argument.
58435 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58437         [BZ #14784]
58438         [BZ #14785]
58439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58440         x * y using scaling, not as x * y + z.
58441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58443         * math/libm-test.inc (fma_test): Add more tests.
58444         (fma_test_towardzero): Likewise.
58445         (fma_test_downward): Likewise.
58446         (fma_test_upward): Likewise.
58448 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58450         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58452 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58454         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58455         New variable.
58457 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58459         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58461 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58464         Fix sort order.
58465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58466         Likewise.
58468 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58471         Fix the order of the list for glibc 2.17.
58472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58473         Likewise.
58475 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58479 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58481         [BZ #14610]
58482         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58483         for low part of x being zero before using __atanl (y).
58484         * math/libm-test.inc (atan2_test): Add another test.
58486         * manual/install.texi (Configuring and compiling): Document
58487         general use of test-wrapper and test-wrapper-env.
58488         * INSTALL: Regenerated.
58490         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58491         (__fma): Do not extract and scale down low bits on after-rounding
58492         systems when result rounded to normal precision would have normal
58493         exponent.
58494         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58495         (__fmal): Do not extract and scale down low bits on after-rounding
58496         systems when result rounded to normal precision would have normal
58497         exponent.
58498         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58499         (__fmal): Do not extract and scale down low bits on after-rounding
58500         systems when result rounded to normal precision would have normal
58501         exponent.
58502         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58503         macro.
58504         (fma_test): Add more tests.
58505         (fma_test_towardzero): Likewise.
58506         (fma_test_downward): Likewise.
58507         (fma_test_upward): Likewise.
58509 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58511         * sysdeps/i386/tininess.h: Renamed to ...
58512         * sysdeps/x86/tininess.h: This.
58513         * sysdeps/x86_64/tininess.h: Removed.
58515 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58517         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58518         input.  Use $(build-program-cmd).
58519         ($(objpfx)tst-array1-static.out): Likewise.
58520         ($(objpfx)tst-array2.out): Likewise.
58521         ($(objpfx)tst-array3.out): Likewise.
58522         ($(objpfx)tst-array4.out): Likewise.
58523         ($(objpfx)tst-array5.out): Likewise.
58524         ($(objpfx)tst-array5-static.out): Likewise.
58526 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58528         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58529         if defined.
58531         * nss/nsswitch.h (nss_interface_function): Provide new
58532         macro for use with NSS functions.
58533         * grp/initgroups.c: Use new macro.
58534         * nss/getXXbyYY.c: Likewise.
58535         * nss/getXXbyYY_r.c: Likewise.
58536         * nss/getXXent.c: Likewise.
58537         * nss/getXXent_r.c: Likewise.
58538         * sysdeps/posix/getaddrinfo.c: Likewise.
58540 2012-10-30  Andreas Jaeger  <aj@suse.de>
58542         * po/ru.po: Update Russion translation from translation project.
58544 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58546         [BZ #14152]
58547         [BZ #14783]
58548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58549         result and shift together with sticky bit instead of replicating
58550         round-to-nearest rounding.
58551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58552         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58553         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58554         missing underflow exceptions.
58555         (fma_test_towardzero): Add more tests.
58556         (fma_test_downward): Likewise.
58557         (fma_test_upward): Likewise.
58559         [BZ #14047]
58560         * sysdeps/generic/tininess.h: New file.
58561         * sysdeps/i386/tininess.h: Likewise.
58562         * sysdeps/sh/tininess.h: Likewise.
58563         * sysdeps/x86_64/tininess.h: Likewise.
58564         * stdlib/tst-strtod-underflow.c: Likewise.
58565         * stdlib/tst-tininess.c: Likewise.
58566         * stdlib/strtod_l.c: Include <tininess.h>.
58567         (round_and_return): Do not set errno for exact underflow cases.
58568         Force an underflow exception when setting errno for underflow.
58569         Determine underflow based on rounding to normal precision if
58570         TININESS_AFTER_ROUNDING.
58571         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58572         ERANGE for exact underflow cases.
58573         * stdlib/Makefile (tests): Add tst-tininess and
58574         tst-strtod-underflow.
58575         ($(objpfx)tst-tininess): Use $(link-libm).
58576         ($(objpfx)tst-strtod-underflow): Likewise.
58578 2012-10-30  Andreas Jaeger  <aj@suse.de>
58580         [BZ#14767]
58581         * elf/Makefile (tests): Remove conditional for have-initfini-array
58582         since this is now always required and the variable does not exist
58583         anymore.
58584         (tests-static): Likewise.
58585         (modules-names): Likewise.
58587         * po/eo.po: Add Esperanto translation from translation project.
58589         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58590         merged with constructor/destructor.
58591         (init_array): Likewise.
58592         * elf/tst-array2dep.c (fini_array): Likewise.
58593         (init_array): Likewise.
58595 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58597         * manual/message.texi: Delete @cartouche tags.
58599 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58601         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58602         EOPNOTSUPP.
58603         * sysdeps/mach/hurd/fsync.c: Likewise.
58605         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58606         [_POSIX_REALTIME_SIGNALS]: Change condition to
58607         [_POSIX_REALTIME_SIGNALS > 0].
58609 2012-10-27  Andreas Jaeger  <aj@suse.de>
58611         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58612         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58614         [__WORDSIZE != 64]: Likewise.
58616 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58618         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58619         *  iconvdata/tst-tables.sh: Likewise.
58621 2012-10-25  David S. Miller  <davem@davemloft.net>
58623         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58624         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58625         of strtoull.
58627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58628         ifunc-impl-list.c
58629         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58630         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58631         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58632         file.
58634 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58637         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58638         __getdirentries.
58640 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58641             Jim Blandy  <jimb@codesourcery.com>
58643         * scripts/cross-test-ssh.sh: New file.
58644         * manual/install.texi (Configuring and compiling): Document use of
58645         cross-test-ssh.sh.
58646         * INSTALL: Regenerated.
58648 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58650         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58651         EOPNOTSUPP.
58653 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58655         * Makeconfig (run-program-prefix): Fix comment.
58657 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58658             Jim Blandy  <jimb@codesourcery.com>
58660         * Makeconfig (test-wrapper): New variable,
58661         (test-wrapper-env): Likewise.
58662         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58663         (run-built-tests): Define to yes.
58664         (run-program-prefix): Use $(test-wrapper).
58665         (built-program-cmd): Likewise.
58666         * Rules (make-test-out): Use $(test-wrapper-env) and
58667         $(host-built-program-cmd).
58668         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58669         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58670         tst-pathopt.sh.
58671         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58672         $(test-wrapper-env) to tst-rtld-load-self.sh.
58673         ($(objpfx)order2.out): Use $(test-wrapper).
58674         ($(objpfx)tst-initorder.out): Likewise.
58675         ($(objpfx)tst-initorder2.out): Likewise.
58676         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58677         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58678         (test_wrapper_env): New variable.  Use it to run ld.so.
58679         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58680         Use it to run ld.so.
58681         (test_wrapper_env): Likewise.
58682         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58683         $(test-wrapper) to run-iconv-test.sh.
58684         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58685         (ICONV): Use $test_wrapper.
58686         * posix/Makefile ($(objpfx)globtest.out): Pass
58687         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58688         globtest.sh, not $(run-program-prefix).
58689         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58690         (test_wrapper): Likewise.
58691         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58692         set together with run_via_rtld_prefix.
58693         (run_program_prefix): Define in terms of test_wrapper and
58694         run_via_rtld_prefix.
58696 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58698         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58699         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58700         Targets removed.
58702         [BZ #14743]
58703         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58704         Declare __clock_getres, __clock_gettime, __clock_settime,
58705         __clock_nanosleep, and __clock_getcpuclockid.
58706         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58707         Remove librt_hidden_def (clock_gettime).
58708         * sysdeps/unix/clock_gettime.c: Likewise.
58709         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58710         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58711         * rt/clock_getres.c: Define __clock_getres as an alias.
58712         * sysdeps/posix/clock_getres.c: Likewise.
58713         * rt/clock_settime.c: Define __clock_settime as an alias.
58714         * sysdeps/unix/clock_settime.c: Likewise.
58715         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58716         * sysdeps/unix/clock_nanosleep.c: Likewise.
58717         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58718         * rt/clock-compat.c: New file.
58719         * rt/Makefile (librt-routines): Add clock-compat and move
58720         $(clock-routines) to ...
58721         (routines): ... here, new variable.
58722         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58723         Don't add get_clockfreq here.
58724         * rt/Versions (libc: GLIBC_2.17): New version set.
58725         Add clock_* symbols here.
58726         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58728         (GLIBC_2.17): Add clock_* symbols.
58729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58731         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58733         Likewise.
58734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58735         Likewise.
58736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58740         * NEWS: Mention the move.
58742         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58743         Use __open, __read, __close rather than their public counterparts.
58744         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58745         (__get_clockfreq_via_cpuinfo): Likewise.
58746         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58747         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58749         * config.h.in (HAVE_IFUNC): New #undef.
58750         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58751         was successful.
58752         * configure: Regenerated.
58754 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58756         * configure.in: Move READELF check to start of file.
58757         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58758         libc_cv_asm_gnu_indirect_function in the process.
58759         * configure: Regenerated.
58761 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58763         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58764         send the output to /dev/null.
58765         (libc_cv_cc_with_libunwind): Likewise.
58766         (libc_cv_as_noexecstack): Likewise.
58767         * configure: Regenerate.
58769 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58771         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58773         * posix/globtest.sh (TMPDIR): Do not set.
58774         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58775         (testout): Likewise.
58777 2012-10-24  Andreas Jaeger  <aj@suse.de>
58779         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58780         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58781         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58782         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58783         posix_fadvise64, posix_fallocate64.
58785         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58786         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58787         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58788         Likewise.
58789         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58790         Likewise.
58791         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58794         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58795         <bits/fcntl-linux.h>.
58796         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58798         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58799         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58800         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58801         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58802         [__WORDSIZE != 64]: Likewise.
58804 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58806         * Makeconfig (run-built-tests): New variable.
58807         * Rules [$(cross-compiling) = yes]: Change condition to
58808         [$(run-built-tests) = no].
58809         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58810         to [$(run-built-tests) = yes].
58811         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58812         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58813         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58814         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58815         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58816         * io/Makefile [$(cross-compiling) = no]: Likewise.
58817         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58818         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58819         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58820         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58821         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58822         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58823         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58824         * string/Makefile [$(cross-compiling) = no]: Likewise.
58826         * posix/Makefile ($(objpfx)globtest.out): Pass
58827         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58828         $(rtld-installed-name).
58829         * posix/globtest.sh (elf_objpfx): Remove variable.
58830         (rtld_installed_name): Likewise.
58831         (library_path): Likewise.
58832         (run_program_prefix): New variable.  Use for running globtest
58833         binary.
58835 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58836             Joseph Myers  <joseph@codesourcery.com>
58838         * Makeconfig (host-built-program-cmd): New variable.
58839         * elf/Makefile (tst-stackguard1-ARGS): Use
58840         $(host-built-program-cmd).
58841         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58842         (tst-spawn-ARGS): Likewise.
58843         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58845 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58846             Jim Blandy  <jimb@codesourcery.com>
58848         * Makeconfig (run-via-rtld-prefix): New variable.
58849         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58850         (built-program-cmd): Likewise.
58852 2012-10-22  Andreas Jaeger  <aj@suse.de>
58854         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58855         __O_RSYNC if it exists, otherwise to O_SYNC.
58857 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58858             Joseph Myers  <joseph@codesourcery.com>
58860         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58861         /dev/null.
58862         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58863         from /dev/null
58864         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58865         /dev/null.
58867 2012-10-22  Andreas Jaeger  <aj@suse.de>
58869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58870         Define always.
58871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58874         bits/fcntl-linux.h.
58876         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58877         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58880         to __O_LARGEFILE.
58881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58882         to __O_LARGEFILE.
58884 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58885             Joseph Myers  <joseph@codesourcery.com>
58887         * config.make.in (NM): New variable.
58889 2012-10-21  Andreas Jaeger  <aj@suse.de>
58891         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58892         definitions and declarations that are provided by
58893         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58895 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58897         [BZ #14683]
58898         * elf/Makefile (tests-static): Add tst-leaks1-static.
58899         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58900         ($(objpfx)tst-leaks1-static): New rule.
58901         ($(objpfx)tst-leaks1-static-mem): Likewise.
58902         (tst-leaks1-static-ENV): New macro.
58903         * elf/dl-open.c (dl_open_worker): Check the main application
58904         only if SHARED is defined.
58905         * elf/tst-leaks1-static.c: New file.
58907 2012-10-20  Andreas Jaeger  <aj@suse.de>
58909         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58910         generic values for Linux.
58911         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58912         and declarations that are provided by <bits/fcntl-linux.h> and
58913         include <bits/fcntl-linux.h>.
58914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58917 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58919         * io/fcntl.h: Move include of <bits/types.h> to the top and
58920         include it unconditionally.
58922 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58924         * wcsmbs/Makefile (tests-ifunc): New variable.
58925         (tests): Add $(tests-ifunc).
58926         * wcsmbs/test-wcschr-ifunc.c: New file.
58927         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58928         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58929         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58930         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58931         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58933         * string/Makefile (tests-ifunc): New variable.
58934         (tests): Add $(tests-ifunc).
58935         * string/test-memccpy.c (TEST_NAME): New macro.
58936         * string/test-memchr.c (TEST_NAME): Likewise.
58937         * string/test-memcmp.c (TEST_NAME): Likewise.
58938         * string/test-memcpy.c (TEST_NAME): Likewise.
58939         * string/test-memmem.c (TEST_NAME): Likewise.
58940         * string/test-memmove.c (TEST_NAME): Likewise.
58941         * string/test-memset.c (TEST_NAME): Likewise.
58942         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58943         * string/test-stpcpy.c (TEST_NAME): Likewise.
58944         * string/test-stpncpy.c (TEST_NAME): Likewise.
58945         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58946         * string/test-strcasestr.c (TEST_NAME): Likewise.
58947         * string/test-strcat.c (TEST_NAME): Likewise.
58948         * string/test-strchr.c (TEST_NAME): Likewise.
58949         * string/test-strcmp.c(TEST_NAME): Likewise.
58950         * string/test-strcpy.c (TEST_NAME): Likewise.
58951         * string/test-strcspn.c (TEST_NAME): Likewise.
58952         * string/test-strlen.c (TEST_NAME): Likewise.
58953         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58954         * string/test-strncmp.c (TEST_NAME): Likewise.
58955         * string/test-strncpy.c (TEST_NAME): Likewise.
58956         * string/test-strnlen.c (TEST_NAME): Likewise.
58957         * string/test-strpbrk.c (TEST_NAME): Likewise.
58958         * string/test-strrchr.c (TEST_NAME): Likewise.
58959         * string/test-strspn.c (TEST_NAME): Likewise.
58960         * string/test-strstr.c (TEST_NAME): Likewise.
58961         * string/test-bcopy-ifunc.c: New file.
58962         * string/test-bzero-ifunc.c: Likewise.
58963         * string/test-memccpy-ifunc.c: Likewise.
58964         * string/test-memchr-ifunc.c: Likewise.
58965         * string/test-memcmp-ifunc.c: Likewise.
58966         * string/test-memcpy-ifunc.c: Likewise.
58967         * string/test-memmem-ifunc.c: Likewise.
58968         * string/test-memmove-ifunc.c: Likewise.
58969         * string/test-mempcpy-ifunc.c: Likewise.
58970         * string/test-memset-ifunc.c: Likewise.
58971         * string/test-rawmemchr-ifunc.c: Likewise.
58972         * string/test-stpcpy-ifunc.c: Likewise.
58973         * string/test-stpncpy-ifunc.c: Likewise.
58974         * string/test-strcasecmp-ifunc.c: Likewise.
58975         * string/test-strcasestr-ifunc.c: Likewise.
58976         * string/test-strcat-ifunc.c: Likewise.
58977         * string/test-strchr-ifunc.c: Likewise.
58978         * string/test-strchrnul-ifunc.c: Likewise.
58979         * string/test-strcmp-ifunc.c: Likewise.
58980         * string/test-strcpy-ifunc.c: Likewise.
58981         * string/test-strcspn-ifunc.c: Likewise.
58982         * string/test-strlen-ifunc.c: Likewise.
58983         * string/test-strncasecmp-ifunc.c: Likewise.
58984         * string/test-strncat-ifunc.c: Likewise.
58985         * string/test-strncmp-ifunc.c: Likewise.
58986         * string/test-strncpy-ifunc.c: Likewise.
58987         * string/test-strnlen-ifunc.c: Likewise.
58988         * string/test-strpbrk-ifunc.c: Likewise.
58989         * string/test-strrchr-ifunc.c: Likewise.
58990         * string/test-strspn-ifunc.c: Likewise.
58991         * string/test-strstr-ifunc.c: Likewise.
58993         * debug/Makefile (tests-ifunc): New variable.
58994         (tests): Add $(tests-ifunc).
58995         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58996         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58997         * debug/test-stpcpy_chk-ifunc.c: New file.
58998         * debug/test-strcpy_chk-ifunc.c: Likewise.
59000 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59002         [BZ #13601]
59003         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59004         header is not read in.
59006 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59008         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59009         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59010         directly.  Pass built executable to script as
59011         $(built-program-cmd).
59012         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59013         $testprogram without using LD_LIBRARY_PATH and $ldso.
59015         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59016         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59017         $(rtld-installed-name).
59018         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59019         (rtld_installed_name): Likewise.
59020         (library_path): Likewise.
59021         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59022         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59023         $(run-program-prefix) to tst-tables.sh.
59024         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59025         it to run tst-table-from and tst-table-to.
59026         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59027         Pass it to tst-table.sh.
59028         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59029         $(run-program-prefix) to tst-gettext.sh.
59030         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59031         tst-translit.sh.
59032         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59033         tst-gettext2.sh.
59034         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59035         to run tst-gettext.
59036         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59037         to run tst-gettext2.
59038         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59039         to run tst-translit.
59040         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59041         $(run-program-prefix) to tst-mtrace.sh.
59042         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59043         to run tst-mtrace.
59044         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59045         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59046         $(rtld-installed-name).
59047         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59048         (rtld_installed_name): Likewise.
59049         (run_program_prefix): New variable.  Use it to run wordexp-test.
59051         * Makeconfig (ARCH): Remove all definitions.
59052         (machine): Likewise.
59053         [ARCH]: Remove conditional code.
59054         [!objdir]: Give error.
59055         [!objdir] (objpfx): Remove.
59056         [!objdir] (common-objpfx): Likewise.
59057         [!objdir] (common-objdir): Likewise.
59058         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59059         AC_CONFIG_FILES call.
59060         * configure: Regenerated.
59062         [BZ #13888]
59063         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59064         or TMPDIR.
59065         (testout): Likewise.
59067         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59068         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59069         $(rtld-installed-name).
59070         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59071         (rtld_installed_name): Likwise.
59072         (runit): Remove function.
59073         (run_getconf): New variable,  Use it for running getconf binary.
59075 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59077         [BZ #14716]
59078         * string/test-memmem.c (check_result): New function.
59079         (do_one_test): Use it.
59080         (check1): New function.
59081         (test_main): Use it.
59083 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59085         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59087 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59089         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59090         (_G_LSEEK64): Likewise.
59091         (_G_MMAP64): Likewise.
59092         (_G_FSTAT64): Likewise.
59093         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59094         (_G_LSEEK64): Likewise.
59095         (_G_MMAP64): Likewise.
59096         (_G_FSTAT64): Likewise.
59097         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59098         unconditional.  Call __mmap64 directly.
59099         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59100         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59101         __lseek64 directly.
59102         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59103         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59104         __mmap64 directly.
59105         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59106         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59107         __lseek64 directly.
59108         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59109         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59110         __lseek64 directly.
59111         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59112         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59113         __lseek64 directly.
59114         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59115         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59116         __fxstat64 directly.
59117         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59118         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59119         unconditional.
59120         (freopen64) [!_G_OPEN64]: Remove conditional code.
59121         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59122         unconditional.
59123         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59124         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59125         unconditional.
59126         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59127         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59128         unconditional.
59129         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59130         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59131         unconditional.
59132         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59133         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59134         unconditional.
59135         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59136         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59137         unconditional.
59138         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59139         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59140         unconditional.
59141         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59143 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59145         [BZ #12140]
59146         * manual/memory.texi (Malloc Tunable Parameters): Add note
59147         about free list pointers overwriting some perturb bytes.
59148         Wording suggested by Roland McGrath.
59150 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59152         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59153         (lgamma_test): Likewise.
59154         (tgamma_test): Likewise.
59156 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59158         [BZ #14700]
59159         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59160         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59162 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59164         * NEWS: Mention BZ #14716.
59165         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59166         when removing AVAILABLE1_USES_J macro.
59168 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59170         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59171         (__bswap_64): __uint64_t for unsigned 64-bit int.
59173 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59175         * include/string.h (memmem): Declare libc hidden alias.
59176         * string/memmem.c (memmem): Define libc hidden alias.
59177         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59178         __read, __close instead of open, read, close.
59180 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59183         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59184         global and hidden.
59185         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59186         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59187         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59188         Likewise.
59189         (__rawmemchr_sse2): Likewise.
59190         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59191         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59192         (__strchr_sse2): Likewise.
59193         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59194         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59195         (__strcasecmp_sse2): Likewise.
59196         (__strncasecmp_sse2): Likewise.
59197         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59198         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59199         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59200         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59201         (__strrchr_sse2): Likewise.
59202         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59203         ifunc-impl-list.c.
59204         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59205         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59206         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59207         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59208         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59209         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59210         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59211         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59212         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59213         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59214         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59215         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59216         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59217         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59218         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59219         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59220         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59221         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59222         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59223         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59224         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59225         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59226         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59227         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59228         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59229         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59230         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59231         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59232         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59233         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59235         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59236         global and hidden.
59237         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59238         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59239         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59240         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59241         Likewise.
59242         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59243         Likewise.
59244         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59245         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59246         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59247         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59248         ifunc-impl-list.c.
59249         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59250         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59251         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59252         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59253         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59254         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59255         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59256         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59257         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59258         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59259         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59260         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59261         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59262         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59263         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59264         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59265         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59266         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59267         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59268         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59269         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59270         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59271         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59272         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59273         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59274         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59275         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59276         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59277         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59278         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59279         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59280         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59281         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59282         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59283         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59284         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59285         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59286         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59287         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59288         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59289         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59291         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59292         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59293         * include/ifunc-impl-list.h: New file.
59294         * misc/ifunc-impl-list.c: Likewise.
59295         * misc/Makefile (routines): Add ifunc-impl-list.
59296         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59297         * string/test-string.h: Include <ifunc-impl-list.h>.
59298         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59299         TEST_NAME]: New variables.
59300         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59301         are defined.
59302         (test_init): Call __libc_ifunc_impl_list to initialize
59303         func_list if TEST_IFUNC and TEST_NAME are defined.
59305         * string/Makefile (strop-tests): Add bcopy and bzero.
59306         * string/test-bcopy.c: New file.
59307         * string/test-bzero.c: Likewise.
59308         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59309         defined.
59310         * string/test-memset.c: Support bzero test if TEST_BZERO is
59311         defined.
59312         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59313         __libc_memmove.
59314         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59315         __libc_memset.
59316         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59317         of memset.
59319 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59321         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59322         * configure: Regenerated.
59324         * Makeconfig (+link-static-before-libc): Don't include
59325         $(link-static-libc).
59327         * libio/libio.h (_IO_pos_t): Remove.
59329 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59331         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59332         McGrath.
59334 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59336         * crypt/crypt-entry.c: Include fips-private.h.
59337         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59338         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59339         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59340         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59342 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59344         * crypt/crypt-private.h: Include stdbool.h.
59345         (_ufc_setup_salt_r): Return bool.
59346         * crypt/crypt-entry.c: Include errno.h.
59347         (__crypt_r): Return NULL with EINVAL for bad salt.
59348         * crypt/crypt_util.c (bad_for_salt): New.
59349         (_ufc_setup_salt_r): Check that salt is long enough and within
59350         the specified alphabet.
59351         * crypt/badsalttest.c: New file.
59352         * crypt/Makefile (tests): Add it.
59353         ($(objpfx)badsalttest): New.
59355 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59357         * NEWS: Add entry for BZ #14602.
59359 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59361         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59362         type-generic.
59363         * math/libm-test.inc: Update comment listing what functions and
59364         macros are tested.
59365         (isgreater_test): New function.
59366         (isgreaterequal_test): Likewise.
59367         (isless_test): Likewise.
59368         (islessequal_test): Likewise.
59369         (islessgreater_test): Likewise.
59370         (isunordered_test): Likewise.
59371         (main): Call the new functions.
59373 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59375         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59376         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59377         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59378         * sysdeps/i386/configure: Regenerated.
59379         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59380         * sysdeps/mach/configure: Regenerated.
59381         * sysdeps/mach/hurd/configure: Regenerated.
59382         * sysdeps/powerpc/configure: Regenerated.
59383         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59384         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59385         * sysdeps/s390/s390-32/configure: Regenerated.
59386         * sysdeps/s390/s390-64/configure: Regenerated.
59387         * sysdeps/sh/configure: Regenerated.
59388         * sysdeps/sparc/configure: Regenerated.
59389         * sysdeps/unix/sysv/linux/configure: Regenerated.
59390         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59391         * sysdeps/x86_64/configure: Regenerated.
59393         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59394         defined.  Don't check if MAP is NULL.
59396 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59398         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59399         (_G_stat64): Likewise.
59400         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59401         (_G_stat64): Likewise.
59402         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59403         instead of struct _G_stat64.
59404         * libio/fileops.c (mmap_remap_check): Likewise.
59405         (decide_maybe_mmap): Likewise.
59406         (_IO_new_file_seekoff): Likewise.
59407         (_IO_file_stat): Likewise.
59408         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59409         _G_off64_t.
59410         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59411         instead of struct _G_stat64.
59412         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59414 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59416         [BZ #14602]
59417         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59418         Replace with ...
59419         (CHECK_EOL): New macro.
59420         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59421         CHECK_EOL.
59422         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59423         Replace with CHECK_EOL.
59424         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59425         Replace with CHECK_EOL.
59427 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59429         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59430         type-generic.
59431         * math/libm-test.inc: Update comment listing what functions and
59432         macros are tested.
59433         (finite_test): New function.
59434         (isinf_test): Likewise.
59435         (isnan_test): Likewise.
59436         (fpclassify_test): Test subnormal input.
59437         (isfinite_test): Likewise.
59438         (isnormal_test): Likewise.
59439         (main): Call the new functions.
59441 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59443         [BZ #14660]
59444         * Makerules (%.dynsym): Force C locale when running
59445         $(OBJDUMP) --dynamic-syms.
59447 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59449         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59450         <stdint.h>.
59452 2012-10-06  David S. Miller  <davem@davemloft.net>
59454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59455         upper 32-bits of the length value in %o2 since we use branch-on-register
59456         tests which consider the entire 64-bit register.
59458 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59460         * string/test-strstr.c (check2): Add a test for page boundary.
59462 2012-10-05  David S. Miller  <davem@davemloft.net>
59464         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59465         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59466         file.
59467         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59468         sysdep_routines.
59469         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59470         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59471         and bzero when HWCAP_SPARC_CRYPTO is present.
59473 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59475         [BZ #14602]
59476         * string/test-strstr.c (check2): New function.
59477         (test_main): Call check2.
59479         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59480         and bug-strchr1.
59481         * string/bug-strcasestr1.c (do_test): Moved to ...
59482         * string/test-strcasestr.c (check1): Here.  New function.
59483         (do_one_test): Break out result checking code into ...
59484         (check_result): This.  New function.
59485         (do_one_test): Call check_result.
59486         (test_main): Call check1.
59487         * string/bug-strchr1.c (do_test): Moved to ...
59488         * string/test-strchr.c (check1): Here.  New function.
59489         (do_one_test): Break out result checking code into ...
59490         (check_result): This.  New function.
59491         (do_one_test): Call check_result.
59492         (test_main): Call check1.
59493         * string/bug-strstr1.c (main): Moved to ...
59494         * string/test-strstr.c (check1): Here.  New function.
59495         (do_one_test): Break out result checking code into ...
59496         (check_result): This.  New function.
59497         (do_one_test): Call check_result.
59498         (test_main): Call check1.
59499         * string/bug-strcasestr1.c: Removed.
59500         * string/bug-strchr1.c: Likewise.
59501         * string/bug-strstr1.c: Likewise.
59503         * elf/Makefile (dl-routines): Add hwcaps.
59504         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59505         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59506         (_dl_important_hwcaps): Moved to ...
59507         * elf/dl-hwcaps.c: Here.  New file.
59508         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59510         [BZ #14557]
59511         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59512         if IS_IN_rtld isn't defined.
59514         * elf/dl-support.c (_dl_sysinfo_map): New.
59515         Include "get-dynamic-info.h" and "setup-vdso.h".
59516         (_dl_non_dynamic_init): Call setup_vdso.
59517         * elf/dynamic-link.h: Don't include <assert.h>.
59518         (elf_get_dynamic_info): Moved to ...
59519         * elf/get-dynamic-info.h: Here.  New file.
59520         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59521         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59522         * elf/setup-vdso.h: Here.  New file.
59523         * elf/rtld.c: Include "setup-vdso.h".
59524         (dl_main): Call setup_vdso.
59526 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59528         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59529         creal in comment listing functions tested.  List finite, isinf,
59530         isnan, isless, islessequal, isgreater, isgreaterequal,
59531         islessgreater, isunordered, lgamma_r and pow10 as functions and
59532         macros not tested.  Mention which functions not tested are aliases
59533         for other functions.  Fix typo.  Note that signs of NaNs are not
59534         tested.
59536         * scripts/config.guess: Update from config.git.
59537         * scripts/config.sub: Likewise.
59539 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59541         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59542         * misc/madvise.c (madvise): Renamed to __madvise.
59543         Make madvise a weak alias.
59544         * include/sys/mman.h: Declare __madvise.
59545         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59546         * sysdeps/unix/syscalls.list
59547         (madvise): Make __madvise the strong name, and madvise a weak alias.
59548         * sysdeps/unix/sysv/linux/syscalls.list
59549         (madvise, mmap): Remove redundant entries.
59550         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59551         * malloc/malloc.c (mtrim): Likewise.
59552         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59554 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59556         * sysdeps/mach/hurd/dl-cache.c: File removed.
59557         * config.h.in (USE_LDCONFIG): New #undef.
59558         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59559         * configure: Regenerated.
59560         * elf/Makefile (dl-routines): Add dl-cache only under
59561         [$(use-ldconfig) = yes].
59562         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59563         cache on [USE_LDCONFIG].
59564         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59565         [USE_LDCONFIG].
59566         * elf/rtld.c (dl_main): Likewise.
59568 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59570         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59571         _SC_LEVEL4_CACHE_LINESIZE.
59573 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59575         * sysdeps/unix/bsd/confstr.h: File removed.
59577 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59579         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59580         sys/sdt-config.h.
59582 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59584         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59585         Make 'mapoff' field ElfW(Off) rather than off_t.
59587 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59589         * nscd/Makefile: Remove nscd-cflags and all its users.
59590         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59591         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59593         [BZ #10631]
59594         * malloc.c (malloc_printerr): Clarify error message.
59596 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59598         [BZ #14648]
59599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59600         Set bit_FMA_Usable if FMA is supported.
59601         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59602         macro.
59603         (bit_FMA4_Usable): Updated.
59604         (index_FMA_Usable): New macro.
59605         (CPUID_FMA): Likewise.
59606         (HAS_FMA): Defined with bit_FMA_Usable.
59608 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59610         * bits/types.h (__swblk_t): Type removed.
59611         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59612         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59614         (__SWBLK_T_TYPE): Likewise.
59615         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59616         (__SWBLK_T_TYPE): Likewise.
59617         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59618         (__SWBLK_T_TYPE): Likewise.
59619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59620         (__SWBLK_T_TYPE): Likewise.
59622 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59623             Honza Horak <hhorak@redhat.com>
59625         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59626         (xdr_mapname): Use YPMAXMAP as maxsize.
59627         (xdr_peername): Use YPMAXPEER as maxsize.
59628         (xdr_keydat): Use YPAXRECORD as maxsize.
59629         (xdr_valdat): Use YPMAXRECORD as maxsize.
59631 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59633         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59635         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59636         * csu/init-first.c: ... here.
59637         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59638         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59639         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59640         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59641         * sysdeps/i386/init-first.c: File removed.
59642         * sysdeps/sh/init-first.c: File removed.
59644 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59646         [BZ #14645]
59647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59648         if x * y might underflow to zero and z is zero.
59649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59651         * math/libm-test.inc (min_subnorm_value): New variable.
59652         (fma_test): Add more tests.
59653         (fma_test_towardzero): Likewise.
59654         (fma_test_downward): Likewise.
59655         (fma_test_upward): Likewise.
59656         (initialize): Set min_subnorm_value.
59658 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59660         [BZ #14638]
59661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59662         0 + 0.
59663         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59664         mode for addition resulting in exact zero.
59665         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59667         exact 0 + 0.
59668         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59670         * math/libm-test.inc (fma_test): Add more tests.
59671         (fma_test_towardzero): New function.
59672         (fma_test_downward): Likewise.
59673         (fma_test_upward): Likewise.
59674         (main): Call the new functions.
59676 2012-09-28  David S. Miller  <davem@davemloft.net>
59678         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59680 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59682         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59683         instead of SIGALRM.
59685         * sysdeps/gnu/_G_config.h: Moved to ...
59686         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59687         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59688         * sysdeps/generic/_G_config.h: ... here.
59690         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59692         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59694         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59695         Conditionalize target on [libnss_test1.so-version].
59697         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59699         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59700         (elfobjdir): Move out of conditionals.
59702         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59703         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59704         (__nss_lookup_function): Conditionalize label remove_from_tree on
59705         [!DO_STATIC_NSS || SHARED], matching its only use.
59707 2012-09-28  David S. Miller  <davem@davemloft.net>
59709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59710         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59711         file.
59712         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59713         sysdep_routines.
59714         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59715         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59716         when HWCAP_SPARC_CRYPTO is present.
59718 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59720         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59722 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59724         [BZ #6530]
59725         * stdio-common/vfprintf.c (process_string_arg): Revert
59726         2000-07-22 change.
59728 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59730         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59731         for testcase.
59732         * stdio-common/tst-sprintf.c: Include <locale.h>
59733         (main): Test sprintf's handling of incomplete multibyte
59734         characters.
59736 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59738         * elf/dl-runtime.c (VERSYMIDX): Removed.
59739         * elf/dl-version.c (VERSYMIDX): Likewise.
59740         * elf/do-rel.h (VERSYMIDX): Likewise.
59741         (VALIDX): Likewise.
59742         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59743         * elf/rtld.c (VALIDX): Likewise.
59744         (ADDRIDX): Likewise.
59745         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59746         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59747         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59748         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59749         (VALIDX): Likewise.
59750         (ADDRIDX): Likewise.
59752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59754         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59756 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59758         [BZ #11438]
59759         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59760         to global scope.
59761         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59762         addresses are in the same scope as 192.0.2/24.
59763         * posix/gai.conf: Document new scope table defaults.
59765 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59767         [BZ #5298]
59768         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59769         for ftell.  Compute offsets from write pointers instead.
59770         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59772 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59774         [BZ #14543]
59775         * libio/Makefile (tests): New test case tst-fseek.
59776         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59777         combination works in wide mode.
59778         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59779         state when the external buffer state changes.
59781 2012-09-27  David S. Miller  <davem@davemloft.net>
59783         [BZ #14376]
59784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59785         pass reloc->r_addend in as the 'high' argument to
59786         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59790 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59792         * rt/tst-aio2.c: Include <pthread.h>.
59793         * rt/tst-aio3.c: Likewise.
59795 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59797         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59799 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59801         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59802         contents on [SHARED].
59804 2012-09-26  Marek Polacek  <polacek@redhat.com>
59806         [BZ #14530]
59807         [BZ #13741]
59808         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59809         for C++ and GCC <4.3 as well as for non GCC compilers.
59811 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59815 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59817         * Makefile.in (all, install): Declare with .PHONY.
59818         Reported by Michael Hope <michael.hope@linaro.org>.
59820 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59822         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59823         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59824         system header.
59825         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59826         Likewise.
59827         (sydep_routines): Add the new and the internal functions.
59828         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59829         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59831         (GLIBC_2.17): Add the new function.
59832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59833         (GLIBC_2.17): Likewise.
59834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59835         (GLIBC_2.17): Likewise.
59836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59837         (GLIBC_2.17): Likewise.
59838         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59840 2012-09-25  Alan Modra  <amodra@gmail.com>
59842         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59843         Add release barrier before setting once_control to say
59844         initialisation is done.  Add hints on lwarx.  Use macro in
59845         place of isync.
59846         (clear_once_control): Add release barrier.
59848 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59850         [BZ #13629]
59851         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59852         specially.
59853         * math/s_clog10.c (__clog10): Likewise.
59854         * math/s_clog10f.c (__clog10f): Likewise.
59855         * math/s_clog10l.c (__clog10l): Likewise.
59856         * math/s_clogf.c (__clogf): Likewise.
59857         * math/s_clogl.c (__clogl): Likewise.
59858         * math/Makefile (libm-calls): Add x2y2m1.
59859         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59860         (__x2y2m1): Likewise.
59861         (__x2y2m1l): Likewise.
59862         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59863         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59864         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59865         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59866         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59867         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59868         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59869         * sysdeps/i386/fpu/libm-test-ulps: Update.
59870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59872         [BZ #14621]
59873         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59874         int as type of variable DEPTH.
59875         (glob): Use size_t instead of int as type of variables NEWCOUNT
59876         and OLD_PATHC.
59878 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59880         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59881         Add s_sincosf-sse2.
59882         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59883         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59884         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59885         macros for using routine as __sincosf_ia32.
59886         Use macro for function declaration and weak_alias.
59887         * sysdeps/i386/fpu/libm-test-ulps: Update.
59889         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59892         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59893         subnormal argument.
59894         * math/s_cexpf.c (__cexpf): Likewise.
59895         * math/s_csinf.c (__csinf): Likewise.
59896         * math/s_csinhf.c (__csinhf): Likewise.
59897         * math/s_ctanf.c (__ctanf): Likewise.
59898         * math/s_ctanhf.c (__ctanhf): Likewise.
59899         * math/s_ccosh.c (__ccoshf): Likewise.
59900         * math/s_cexp.c (__cexpl): Likewise.
59901         * math/s_csin.c (__csin): Likewise.
59902         * math/s_csinh.c (__csinh): Likewise.
59903         * math/s_ctan.c (__ctan): Likewise.
59904         * math/s_ctanh.c (ctanh): Likewise.
59905         * math/s_ccoshl.c (__ccoshl): Likewise.
59906         * math/s_cexpl.c (__cexpl): Likewise.
59907         * math/s_csinl.c (__csinl): Likewise.
59908         * math/s_csinhl.c (__csinhl): Likewise.
59909         * math/s_ctanl.c (__ctanl): Likewise.
59910         * math/s_ctanhl.c (__ctanhl): Likewise.
59912 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59914         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59915         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59916         (_IO_off_t): Define to __off_t, not _G_off_t.
59917         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59918         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59919         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59920         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59921         type of __dummy and __dummy2 fields.
59922         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59923         (_G_ssize_t): Likewise.
59924         (_G_off_t): Likewise.
59925         (_G_pid_t): Likewise.
59926         (_G_uid_t): Likewise.
59927         (_G_wchar_t): Likewise.
59928         (_G_wint_t): Likewise.
59929         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59930         (_G_ssize_t): Likewise.
59931         (_G_off_t): Likewise.
59932         (_G_pid_t): Likewise.
59933         (_G_uid_t): Likewise.
59934         (_G_wchar_t): Likewise.
59935         (_G_wint_t): Likewise.
59936         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59937         (_G_ssize_t): Likewise.
59938         (_G_off_t): Likewise.
59939         (_G_pid_t): Likewise.
59940         (_G_uid_t): Likewise.
59941         (_G_wchar_t): Likewise.
59942         (_G_wint_t): Likewise.
59944 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59946         * malloc/arena.c: Include malloc-sysdep.h.
59947         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59948         is sufficient to shrink the heap or an unmap is needed.
59949         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59950         new function check_may_shrink_heap.
59951         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59952         new function check_may_shrink_heap.
59954 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59956         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59957         comments.
59959 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59961         * catgets/test-gencat.sh: Add "set -e".
59962         * elf/tst-pathopt.sh: Likewise.
59963         * grp/tst_fgetgrent.sh: Likewise.
59964         * iconvdata/run-iconv-test.sh: Likewise.
59965         * intl/tst-gettext.sh: Likewise.
59966         * intl/tst-gettext2.sh: Likewise.
59967         * intl/tst-gettext4.sh: Likewise.
59968         * intl/tst-gettext6.sh: Likewise.
59969         * intl/tst-translit.sh: Likewise.
59970         * io/ftwtest-sh: Likewise.
59971         * libio/test-freopen.sh: Likewise.
59972         * malloc/tst-mtrace.sh: Likewise.
59973         * posix/globtest.sh: Likewise.
59974         * posix/tst-getconf.sh: Likewise.
59975         * posix/wordexp-tst.sh: Likewise.
59976         * stdio-common/tst-printf.sh: Likewise.
59977         * stdio-common/tst-unbputc.sh: Likewise.
59978         * stdlib/tst-fmtmsg.sh: Likewise.
59979         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59980         * catgets/Makefile: Do not specify -e option when running
59981         testsuite shell scripts.
59982         * elf/Makefile: Likewise.
59983         * grp/Makefile: Likewise.
59984         * iconvdata/Makefile: Likewise.
59985         * intl/Makefile: Likewise.
59986         * io/Makefile: Likewise.
59987         * libio/Makefile: Likewise.
59988         * malloc/Makefile: Likewise.
59989         * posix/Makefile: Likewise.
59990         * stdio-common/Makefile: Likewise.
59991         * stdlib/Makefile: Likewise.
59992         * sysdeps/x86_64/Makefile: Likewise.
59994         * io/ftwtest-sh: Add copyright header.
59995         * posix/globtest.sh: Likewise.
59996         * posix/tst-getconf.sh: Likewise.
59997         * posix/wordexp-tst.sh: Likewise.
59998         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60000 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60002         [BZ #13679]
60003         * Makeconfig (+link): Defined as $(+link-static) if
60004         $(build-shared) isn't yes.
60005         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60006         isn't yes.
60007         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60009         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60011         [BZ #14562]
60012         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60013         new chunk size with MALLOC_ALIGN_MASK.
60015 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60017         [BZ #5044]
60018         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60019         <rounding-mode.h>.
60020         (__printf_fphex): Determine rounding using get_rounding_mode and
60021         round_away.
60022         * stdio-common/tst-printf-round.c (struct hex_test): New
60023         structure.
60024         (hex_tests): New variable.
60025         (test_hex_in_one_mode): New function.
60026         (do_test): Also run tests for hex float output.
60028 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60030         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60031         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60032         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60033         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60034         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60035         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60036         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60037         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60039 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60041         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60042         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60043         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60044         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60046 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60048         [BZ #14579]
60049         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60050         mode only.
60051         * elf/tst-rtld-load-self.sh: New test.
60052         * elf/Makefile: Run it.
60054 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60056         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60057         (tst-writev-ENV): Remove.
60058         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60060 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60062         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60064 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60066         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60067         unconditional.
60068         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60069         Likewise.
60070         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60071         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60072         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60073         Likewise.
60075 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60077         [BZ #14587]
60078         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60079         * config.make.in (have-cpp-asm-debuginfo): Removed.
60080         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60081         * configure: Regenerated.
60083 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60085         [BZ #5044]
60086         * stdio-common/printf_fp.c: Include <stdbool.h> and
60087         <rounding-mode.h>.
60088         (___printf_fp): Determine rounding using get_rounding_mode and
60089         round_away.
60090         * stdio-common/tst-printf-round.c: New file.
60091         * stdio-common/Makefile (tests): Add tst-printf-round.
60092         (link-libm): New variable.
60093         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60095 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60097         [BZ #14576]
60098         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60099         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60100         Likewise.
60101         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60102         Likewise.
60104 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60106         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60107         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60108         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60109         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60111 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60113         [BZ #14518]
60114         * include/rounding-mode.h: New file.
60115         * sysdeps/generic/get-rounding-mode.h: Likewise.
60116         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60117         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60118         (MAX_VALUE): New macro.
60119         (MIN_VALUE): Likewise.
60120         (overflow_value): New function.
60121         (underflow_value): Likewise.
60122         (round_and_return): Use overflow_value and underflow_value to
60123         determine return values in overflow and underflow cases.  Use
60124         round_away to determine rounding depending on rounding mode.
60125         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60126         determine return values in overflow and underflow cases.
60127         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60128         (struct test_results): New structure.
60129         (struct test): Use struct test_results to store expected results
60130         for all rounding modes.
60131         (TEST): Include expected results for all rounding modes.
60132         (test_in_one_mode): New function.
60133         (do_test): Use test_in_one_mode to compute and check results.
60134         Check results for all rounding modes.
60135         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60136         $(link-libm).
60138 2012-12-09  Allan McRae  <allan@archlinux.org>
60140         * sysdeps/i386/fpu/libm-test-ulps: Update
60142 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60144         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60145         (_G_int32_t): Likewise.
60146         (_G_uint16_t): Likewise.
60147         (_G_uint32_t): Likewise.
60148         (_G_HAVE_BOOL): Likewise.
60149         (_G_HAVE_ATEXIT): Likewise.
60150         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60151         (_G_HAVE_IO_FILE_OPEN): Likewise.
60152         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60153         (_G_int32_t): Likewise.
60154         (_G_uint16_t): Likewise.
60155         (_G_uint32_t): Likewise.
60156         (_G_HAVE_BOOL): Likewise.
60157         (_G_HAVE_ATEXIT): Likewise.
60158         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60159         (_G_HAVE_IO_FILE_OPEN): Likewise.
60160         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60161         (_G_int32_t): Likewise.
60162         (_G_uint16_t): Likewise.
60163         (_G_uint32_t): Likewise.
60164         (_G_HAVE_BOOL): Likewise.
60165         (_G_HAVE_ATEXIT): Likewise.
60166         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60167         (_G_HAVE_IO_FILE_OPEN): Likewise.
60169 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60171         * csu/libc-tls.c: Update copyright years.
60173 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60175         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60176         [!_G_USING_THUNKS]: Remove conditional code.
60177         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60178         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60180         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60181         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60182         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60183         (_G_VTABLE_LABEL_PREFIX): Likewise.
60184         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60185         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60186         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60187         (_G_VTABLE_LABEL_PREFIX): Likewise.
60188         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60189         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60190         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60191         (_G_VTABLE_LABEL_PREFIX): Likewise.
60192         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60194 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60196         * libio/Makefile: Include ../Makeconfig before tests.
60197         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60198         only if $(build-shared) is yes.
60200         * iconv/gconv_db.c: Update copyright years.
60202 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60204         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60205         unwind info if defined PIC. Fix special cases description.
60206         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60208         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60209         DP_HI_MASK entry.
60210         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60212 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60214         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60216         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60217         is NULL.
60219         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60220         (LDLIBS-tst-chk4): This.
60221         (LDFLAGS-tst-chk5): Renamed to ...
60222         (LDLIBS-tst-chk5): This.
60223         (LDFLAGS-tst-chk6): Renamed to ...
60224         (LDLIBS-tst-chk6): This.
60225         (LDFLAGS-tst-lfschk4): Renamed to ...
60226         (LDLIBS-tst-lfschk4): This.
60227         (LDFLAGS-tst-lfschk5): Renamed to ...
60228         (LDLIBS-tst-lfschk5): This.
60229         (LDFLAGS-tst-lfschk6): Renamed to ...
60230         (LDLIBS-tst-lfschk6): This.
60232         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60233         on $(common-objpfx)soversions.mk.
60235 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60237         [BZ #10014]
60238         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60239         example host name.
60241 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60243         * malloc/arena.c (arena_get_retry): New function that gets
60244         another arena for the caller to try its request on.
60245         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60246         current arena cannot fulfill the request.
60247         (__libc_memalign): Likewise.
60248         (__libc_memalign): Likewise.
60249         (__libc_pvalloc): Likewise.
60250         (__libc_calloc): Likewise.
60252 2012-09-05  John Tobey  <john.tobey@gmail.com>
60254         [BZ #13542]
60255         * manual/arith.texi (Operations on Complex): Fix description
60256         of carg branch cut.
60258 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60260         [BZ #10014]
60261         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60262         host name.
60264         [BZ #10038]
60265         * manual/memory.texi (Memory): Make order of menu items match
60266         order of sections.
60268 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60270         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60271         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60272         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60274 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60276         * csu/libc-tls.c (static_dtv): Renamed to ...
60277         (_dl_static_dtv): This.  Make it global.
60278         (_dl_initial_dtv): Removed.
60279         (__libc_setup_tls): Updated.
60280         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60281         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60282         DL_INITIAL_DTV.
60284 2012-09-06  Petr Machata  <pmachata@redhat.com>
60286         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60287         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60288         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60289         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60291 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60293         [BZ #14545]
60294         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60295         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60296         freeing dtv[-1].
60298 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60300         [BZ #14544]
60301         * Makeconfig (link-static-before-libc): Replace $(+prector)
60302         with $(+prectorT).
60303         (link-static-after-libc): Replace $(+postctor) with
60304         $(+postctorT).
60305         (link-bounded): Replace $(+prector)/$(+postctor) with
60306         $(+prectorT)/$(+postctorT).
60307         (+prectorT): New macro.
60308         (+postctorT): Likewise.
60310 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60312         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60313         (round_str): Handle values above the maximum for IBM long double
60314         as inexact.
60315         * stdlib/tst-strtod-round.c (tests): Regenerated.
60317 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60319         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60320         assembler flag.
60321         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60322         zarch_nohighgprs around the zarch optimized routines.
60323         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60324         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60325         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60326         for zarch.
60328 2012-09-05  David S. Miller  <davem@davemloft.net>
60330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60332         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60333         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60334         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60335         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60336         entries.
60338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60340         * malloc/arena.c: Fold copyright years.
60341         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60343 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60345         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60347 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60349         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60351 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60353         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60354         change internal state upon failure.
60356 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60358         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60359         * malloc/memusage.c (mmap): Likewise.
60360         (mmap64, mremap): Likewise.  Adjust name in comment.
60362 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60364         * libio/fileops.c: Fix typos in comments.
60365         * libio/oldfileops.c: Likewise.
60366         * libio/wfileops.c: Likewise.
60368 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60370         [BZ #1349]
60371         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60372         (tst-malloc-usable-ENV): Set environment for test case.
60373         * malloc/hooks.c (malloc_check_get_size): New function to get
60374         requested size.
60375         * malloc/malloc.c (musable): Use malloc_check_get_size.
60376         * malloc/tst-malloc-usable.c: New test case.
60378 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60380         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60382 2012-09-05  Allan McRae  <allan@archlinux.org>
60384         [BZ #13966]
60385         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60386         determine header location.
60387         * configure: Regenerated.
60389 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60391         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60392         float format.
60393         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60394         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60395         format.
60396         (test): Regenerate.
60398 2012-09-04  David S. Miller  <davem@davemloft.net>
60400         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60401         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60402         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60404 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60406         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60407         failures.
60409         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60411 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60413         [BZ #9914]
60414         * libio/iogetdelim.c: Include <limits.h>.
60415         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60416         + len + 1 would overflow.
60418 2012-09-03  Andreas Jaeger  <aj@suse.de>
60420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60421         * sysdeps/i386/fpu/libm-test-ulps: Update.
60423 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60425         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60426         Add s_sinf-sse2, s_conf-sse2.
60428         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60429         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60430         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60431         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60433         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60434         for using routine as __sinf_ia32.
60435         Use macro for function declaration and weak_alias.
60436         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60437         for using routine as __cosf_ia32.
60438         Use macro for function declaration and weak_alias.
60440         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60441         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60443         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60444         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60447         * math/libm-test.inc (cos_test): Add more test cases.
60448         (sin_test): Likewise.
60449         (sincos_test): Likewise.
60451 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60454         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60455         hidden.
60456         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60458 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60460         [BZ #14538]
60461         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60462         first element of the GOT.
60463         (elf_machine_load_address): Return the difference between
60464         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60466 2012-09-01  Allan McRae  <allan@archlinux.org>
60468         [BZ #13412]
60469         * configure.in (AWK): Require gawk version 3.0 or later.
60470         * configure: Regenerated.
60472 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60474         * sysdeps/unix/sysv/linux/kernel-features.h
60475         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60477         [__NR_clock_getres]: Make code unconditional.
60478         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60479         (clock_getcpuclockid): Remove code left unreachable by removal of
60480         conditionals.
60481         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60482         code unconditional.
60483         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60484         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60485         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60486         Make code unconditional.
60487         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60488         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60489         * sysdeps/unix/sysv/linux/clock_settime.c
60490         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60491         conditional code.
60492         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60493         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60495 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60497         [BZ #14476]
60498         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60499         scripts/test-installation.pl.
60501         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60502         and $ld_so_version if it is set.
60504 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60506         [BZ #14516]
60507         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60508         failure if reading from procfs failed.
60509         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60511 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60513         * sysdeps/unix/sysv/linux/kernel-features.h
60514         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60515         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60516         Remove conditional code.
60517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60518         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60519         Remove conditional code.
60520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60521         * sysdeps/unix/sysv/linux/i386/fxstat.c
60522         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60524         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60525         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60527         * sysdeps/unix/sysv/linux/i386/lxstat.c
60528         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60530         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60531         Remove conditional code.
60532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60533         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60534         Remove conditional code.
60535         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60536         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60537         <kernel-features.h>.
60538         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60539         Remove.
60540         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60541         Remove conditional code.
60542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60543         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60544         Remove conditional.
60546 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60548         [BZ #5400]
60549         * NEWS: Add fixed bug number.
60551 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60553         [BZ #14519]
60554         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60555         underflowing exponent in case of negative sign.
60556         * stdlib/tst-strtod-round-data: Add more tests.
60557         * stdlib/tst-strtod-round.c (tests): Regenerated.
60559         [BZ #3479]
60560         * stdlib/strtod_l.c (NDIG): Remove.
60561         (HEXNDIG): Likewise.
60562         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60563         smallest representable value.
60564         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60565         lie within an exact representation of 1/2 ulp of the result.
60566         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60567         unconditionally.
60568         (TENS_P9_IDX): Define unconditionally.
60569         (TENS_P9_SIZE): Likewise.
60570         (TENS_P10_IDX): Likewise.
60571         (TENS_P10_SIZE): Likewise.
60572         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60573         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60574         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60575         entries for 10^2^13 and 10^2^14.
60576         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60577         (TENS_P13_IDX): Define.
60578         (TENS_P13_SIZE): Likewise.
60579         (TENS_P14_IDX): Likewise.
60580         (TENS_P14_SIZE): Likewise.
60581         (_fpioconst_pow10): Change array size to
60582         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60583         unconditional.
60584         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60585         1024]: Add entries for 10^2^13 and 10^2^14.
60586         [LAST_POW10 > _LAST_POW10]: Remove #error.
60587         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60588         (_fpioconst_pow10): Change array size to
60589         FPIOCONST_POW10_ARRAY_SIZE.
60590         * stdlib/gen-fpioconst.c: New file.
60591         * stdlib/gen-tst-strtod-round.c: Likewise.
60592         * stdlib/tst-strtod-round-data: Likewise.
60593         * stdlib/tst-strtod-round.c: Likewise.
60594         * stdlib/Makefile (tests): Add tst-strtod-round.
60596         [BZ #14459]
60597         * stdlib/strtod_l.c: Include <stdint.h>.
60598         (NDEBUG): Do not define.
60599         (round_and_return): Change EXPONENT parameter to type intmax_t.
60600         Rearrange calculations to avoid internal overflow possibilities.
60601         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60602         Rearrange calculations to avoid internal overflow possibilities.
60603         Assert that number fits inside MPNSIZE limbs.
60604         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60605         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60606         calculations and add assertions to avoid internal overflow
60607         possibilities.  Add casts to avoid signed/unsigned operations.
60608         * stdlib/tst-strtod-overflow.c: New file.
60609         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60611 2012-08-25  Marek Polacek  <polacek@redhat.com>
60613         * time/time.h: Fix some typos in comments.
60615 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60617         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60618         * posix/tst-rfc3484-2.c: Likewise.
60619         * posix/tst-rfc3484-3.c: Likewise.
60621 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60623         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60624         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60626 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60628         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60629         #include of fxstatat64.c.
60631 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60633         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60634         * shadow/getspent_r.c: Likewise.
60635         * shadow/getspnam.c: Likewise.
60636         * shadow/getspnam_r.c: Likewise.
60637         * gshadow/getsgent.c: Likewise.
60638         * gshadow/getsgent_r.c: Likewise.
60639         * gshadow/getsgnam.c: Likewise.
60640         * gshadow/getsgnam_r.c: Likewise.
60641         * inet/getnetbyad.c: Likewise.
60642         * inet/getnetbyad_r.c: Likewise.
60643         * inet/getnetbynm.c: Likewise.
60644         * inet/getnetbynm_r.c: Likewise.
60645         * inet/getnetent.c: Likewise.
60646         * inet/getnetent_r.c: Likewise.
60647         * inet/getproto.c: Likewise.
60648         * inet/getproto_r.c: Likewise.
60649         * inet/getprtent.c: Likewise.
60650         * inet/getprtent_r.c: Likewise.
60651         * inet/getprtname.c: Likewise.
60652         * inet/getprtname_r.c: Likewise.
60653         * inet/getrpcbyname.c: Likewise.
60654         * inet/getrpcbyname_r.c: Likewise.
60655         * inet/getrpcbynumber.c: Likewise.
60656         * inet/getrpcbynumber_r.c: Likewise.
60657         * inet/getrpcent.c: Likewise.
60658         * inet/getrpcent_r.c: Likewise.
60659         * inet/getaliasent.c: Likewise.
60660         * inet/getaliasent_r.c: Likewise.
60661         * inet/getaliasname.c: Likewise.
60662         * inet/getaliasname_r.c: Likewise.
60663         * nscd/getgrgid_r.c: Likewise.
60664         * nscd/getgrnam_r.c: Likewise.
60665         * nscd/gethstbyad_r.c: Likewise.
60666         * nscd/gethstbynm3_r.c: Likewise.
60667         * nscd/getpwnam_r.c: Likewise.
60668         * nscd/getpwuid_r.c: Likewise.
60669         * nscd/getsrvbynm_r.c: Likewise.
60670         * nscd/getsrvbypt_r.c: Likewise.
60671         * nscd/gai.c: Likewise.
60673         * configure.in (build_nscd): New substituted variable, set
60674         by --disable-build-nscd and defaults to $use_nscd.
60675         * configure: Regenerated.
60676         * config.make.in (build-nscd): New substituted variable.
60677         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60678         Change conditional to require [$(build-nscd) = yes] as well.
60679         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60681         [BZ# 13696]
60682         * configure.in (use_nscd): New substituted variable, set by
60683         --disable-nscd.  If enabled, define USE_NSCD.
60684         * configure: Regenerated.
60685         * config.h.in: Add USE_NSCD.
60686         * config.make.in (use-nscd): New substituted variable.
60687         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60688         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60689         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60690         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60691         (CFLAGS-getgrnam_r.c): Likewise.
60692         (CFLAGS-initgroups.c): Likewise.
60693         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60694         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60695         Variables removed.
60696         * inet/getnetgrent_r.c
60697         (nscd_setnetgrent): New function, broken out of ...
60698         (setnetgrent): ... here.  Call it.
60699         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60700         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60701         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60702         * nscd/Makefile (routines, aux): Move definitions after include of
60703         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60704         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60705         Conditionalize on [USE_NSCD].
60706         (is_nscd, nscd_init_cb): Likewise.
60707         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60708         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60709         * nss/nss_db/db-init.c: Likewise.
60710         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60711         [USE_NSCD].
60712         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60713         (make_request): Use it.
60714         (cache_valid_p): New function.
60715         (__check_pf): Use it.
60716         * NEWS: Add item for --disable-nscd.
60718 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60720         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60721         to support sed >= 4.2.1-20-ga9bf076.
60722         * configure: Regenerated.
60724 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60726         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60727         Conditionalize whole body on [IREL].
60729 2012-08-22  Jeff Law <law@redhat.com>
60731         [BZ #14505]
60732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60733         if the family is PF_UNSPEC.
60735 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60737         * Makerules (lib-version): Rename from V.
60738         (install-lib-nosubdir): Change V to lib-version.
60740 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60742         [BZ #14252]
60743         * powerpc32/power6/wcschr.c: New file.
60744         * powerpc32/power6/wcscpy.c: New file.
60745         * powerpc32/power6/wcsrchr.c: New file.
60746         * powerpc64/power6/wcschr.c: New file.
60747         * powerpc64/power6/wcscpy.c: New file.
60748         * powerpc64/power6/wcsrchr.c: New file.
60750 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60752         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60753         (two_way_short_needle): Use it.
60754         * string/strstr.c (AVAILABLE1_USES_J): Define.
60755         * string/strcasestr.c: Likewise.
60757         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60758         array references.
60759         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60761         [BZ #11607]
60762         * NEWS: Add an entry.
60763         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60764         define their defaults.
60765         (two_way_short_needle): Detect end-of-string on-the-fly.
60766         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60767         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60768         * string/bug-strcasestr1.c: New test.
60769         * string/Makefile: Run it.
60771 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60773         [BZ #11607]
60774         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60775         the first character.
60777 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60779         * csu/elf-init.c (__libc_csu_irel): Function removed.
60780         * csu/libc-start.c (apply_irel): New function.
60781         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60783 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60785         * sysdeps/unix/sysv/linux/kernel-features.h
60786         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60787         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60788         <kernel-features.h>.
60789         [__NR_fadvise64_64]: Make code unconditional.
60790         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60791         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60792         !__NR_fadvise64_64)]: Likewise.
60793         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60794         !__NR_fadvise64_64))]: Likewise.
60795         [__NR_fadvise64]: Make code unconditional.
60796         [!__NR_fadvise64]: Remove conditional code.
60797         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60798         <kernel-features.h>.
60799         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60800         unconditional.
60801         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60802         conditional code.
60803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60804         not include <kernel-features.h>.
60805         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60806         unconditional.
60807         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60808         conditional code.
60809         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60810         include <kernel-features.h>.
60811         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60812         unconditional.
60813         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60814         conditional code.
60816 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60818         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60819         slight instruction rearrangements per scrollpipe analysis.
60820         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60822 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60824         * manual/syslog.texi (syslog; vsyslog, closelog):
60825         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60826         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60828         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60829         DSOCAPS to match condition on defining it.
60831 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60833         * sysdeps/unix/sysv/linux/kernel-features.h
60834         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60836         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60837         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60839         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60840         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60842         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60843         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60845         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60846         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60848         * sysdeps/unix/sysv/linux/kernel-features.h
60849         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60850         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60851         unconditional.
60852         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60853         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60854         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60855         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60856         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60857         Make code unconditional.
60858         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60859         (__mmap64) [!__NR_mmap2]: Likewise.
60860         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60861         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60862         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60863         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60864         [__NR_mmap2]: Make code unconditional.
60865         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60866         (__mmap64) [!__NR_mmap2]: Likewise.
60868 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60870         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60872 2012-08-18  Andreas Jaeger  <aj@suse.de>
60874         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60876 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60878         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60879         * include/unistd.h (__have_sock_cloexec): Likewise.
60880         (__have_pipe2): Likewise.
60881         (__have_dup3): Likewise.
60883 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60885         [BZ #9685]
60886         * include/unistd.h (__have_pipe2): Change define into an extern int.
60887         (__have_dup3): Likewise.
60888         * socket/have_sock_cloexec.c: Include fcntl.h.
60889         (__have_pipe2): New variable.
60890         (__have_dup3): Likewise.
60892 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60894         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60896 2012-08-17  Marek Polacek  <polacek@redhat.com>
60898         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60899         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60901 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60903         * configure.in: Add AC_SUBST for sysheaders.
60904         * configure: Regenerated.
60905         * config.make.in (sysheaders): New substituted variable.
60907         * sysdeps/unix/mkfifo.c: Moved ...
60908         * sysdeps/posix/mkfifo.c: ... here.
60909         * sysdeps/unix/mkfifoat.c: Moved ...
60910         * sysdeps/posix/mkfifoat.c: ... here.
60912         * sysdeps/unix/utime.c: Moved ...
60913         * sysdeps/posix/utime.c: ... here.
60915         * sysdeps/unix/time.c: Moved ...
60916         * sysdeps/posix/time.c: ... here.
60917         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60918         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60920         * sysdeps/unix/nice.c: Moved ...
60921         * sysdeps/posix/nice.c: ... here.
60923         * sysdeps/unix/alarm.c: Moved ...
60924         * sysdeps/posix/alarm.c: ... here.
60926         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60928 2012-08-17  Jeff Law <law@redhat.com>
60930         * intl/Makefile (codeset_mo): New variable.
60931         ($(codeset_mo)): New target.
60932         (tst-codeset.out): Depend on that.  Remove explicit rule.
60933         (tst-gettext3.out, tst-gettext5.out): Likewise.
60934         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60935         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60936         * intl/tst-codeset.sh: Remove.
60937         * intl/tst-gettext3.sh: Likewise.
60938         * intl/tst-gettext5.sh: Likewise.
60940 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60942         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60943         * sysdeps/unix/syscalls.list: ... here.
60945         * sysdeps/posix/getaddrinfo.c
60946         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60947         (gaiconf_init, gaiconf_reload): Use them.
60948         [!_STATBUF_ST_NSEC]
60949         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60950         Define using time_t rather than struct timespec.
60952         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60953         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60954         Macros removed.
60955         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60956         [!NO_THREADS].
60957         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60958         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60959         Likewise.
60961         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60962         __libc_cleanup_push argument.
60964         * bits/param.h: New file.
60965         * misc/sys/param.h: New file.
60966         * include/sys/param.h: New file.
60967         * misc/Makefile (headers): Add bits/param.h.
60968         * sysdeps/generic/sys/param.h: File removed.
60969         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60970         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60971         * sysdeps/mach/hurd/bits/param.h: New file.
60972         * sysdeps/mach/hurd/sys/param.h: File removed.
60974         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60975         last change.
60977         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60978         [_IO_MTSAFE_IO].
60979         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60980         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60981         New macros.
60983         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60984         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60985         rather than -D_IO_MTSAFE_IO conditionally.
60986         * stdio-common/Makefile (CPPFLAGS): Likewise.
60987         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60988         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60989         Use $(libio-mtsafe).
60990         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60991         of -D_IO_MTSAFE_IO.
60992         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60993         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60994         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60995         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60996         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60997         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60998         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60999         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61000         (CFLAGS-fread_u_chk.c): Likewise.
61001         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61002         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61003         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61004         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61005         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61006         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61007         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61008         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61009         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61011         * libio/Makefile: Test [$(libc-reentrant) = yes]
61012         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61014         * Makeconfig
61015         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61016         * sysdeps/pthread/configure: File removed.
61017         * sysdeps/pthread/Makeconfig: New file.
61018         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61019         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61021 2012-08-16  Gary Benson  <gbenson@redhat.com>
61023         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61024         unmapping the first object in a namespace.
61026 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61028         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61029         (__internal_setnetgrent): ... this.  Add internal_function to
61030         definition.  Add libc_hidden_def.
61031         (setnetgrent): Update caller.
61032         (internal_endnetgrent): Renamed to ...
61033         (__internal_endnetgrent): ... this.  Add internal_function to
61034         definition.  Add libc_hidden_def.
61035         (endnetgrent): Update caller.
61036         (internal_getnetgrent_r): Renamed to ...
61037         (__internal_getnetgrent_r): ... this.  Add internal_function to
61038         definition.  Add libc_hidden_def.
61039         (__getnetgrent_r): Update caller.
61040         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61042 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61044         * stdlib/longlong.h: Update from GCC.
61046 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61048         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61049         on _QL, which is set by umul_ppmm but never used.
61050         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61051         variables, which are set by GMP macros but never used.
61052         * stdio-common/_itowa.c (_itowa): Likewise.
61053         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61054         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61056 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61058         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61059         struct La_sh_regs is not constant.
61060         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61061         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61062         and struct La_sparc64_regs are not constant.
61064 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61066         * sysdeps/unix/sysv/linux/kernel-features.h
61067         (__ASSUME_POSIX_TIMERS): Remove.
61068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61070         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61071         Make code unconditional.
61072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61073         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61074         Make code unconditional.
61075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61076         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61077         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61079         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61080         Make code unconditional.
61081         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61082         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61083         (__libc_missing_posix_timers): Remove.
61085 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61087         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61088         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61090         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61092         * elf/dl-sym.c: Include <stdlib.h>.
61094         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61095         constants, which avoids warnings in 32-bit builds.
61097         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61098         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61100         * misc/lseek.c: File moved to ...
61101         * io/lseek.c: ... here.
61103         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61105         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61106         shifting LEN more than 31 bits at once.
61108 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61110         [BZ #14195]
61111         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61112         segmentation fault for a case of two empty input strings.
61113         * string/test-strncasecmp.c (check1): Renamed to...
61114         (bz12205): ...this.
61115         (bz14195): Add new testcase for two empty input strings and N > 0.
61116         (test_main): Call new testcase, adapt for renamed function.
61118 2012-08-15  Andreas Jaeger  <aj@suse.de>
61120         [BZ #14090]
61121         * crypt/md5test2.c: New test, based on test supplied by Serge
61122         Belyshev <belyshev@depni.sinp.msu.ru>.
61123         * crypt/Makefile (xtests): Add md5test-giant..
61124         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61126 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61128         [BZ #14090]
61129         * crypt/md5.c (md5_process_block): Don't assume the buffer
61130         length is less than 2**32.
61131         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61132         length is less than 2**64.
61134 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61136         * string/str-two-way.h: Include <sys/param.h>.
61137         (MAX): Macro removed.
61139         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61140         Move #define and #undef of memmove to just before and after
61141         including <string.h>.
61143         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61144         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61145         and after including <string.h>.  Move declarations of
61146         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61147         to before #include "string/memmove.c".
61149         * include/dirent.h: Declare __getdirentries.
61151         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61152         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61154 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61156         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61157         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61158         * sysdeps/i386/configure: Regenerated.
61159         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61160         STABS_CURRENT_FILE, and STABS_FUN.
61161         (END): Remove call to STABS_FUN_END.
61162         (STABS_CURRENT_FILE1): Delete.
61163         (STABS_CURRENT_FILE): Likewise.
61164         (STABS_FUN): Likewise.
61165         (STABS_FUN_END): Likewise.
61166         (STABS_FUN2): Likewise.
61167         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61168         * sysdeps/x86_64/configure: Regenerated.
61170 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61172         * elf/dl-open.c: Include <atomic.h>.
61173         * elf/dl-lookup.c: Likewise.
61175 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61177         * sysdeps/unix/sysv/linux/kernel-features.h
61178         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61179         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61180         unconditionally.
61181         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61182         unconditionally.
61183         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61184         condition on __ASSUME_CLONE_THREAD_FLAGS.
61186 2012-08-14  Andreas Jaeger  <aj@suse.de>
61188         * sysdeps/i386/fpu/libm-test-ulps: Update.
61190 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61192         * include/atomic.h (atomic_exchange_and_add): Split into ...
61193         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61194         New atomic macros.
61196 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61200 2012-08-13  Jeff Law <law@redhat.com>
61202         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61203         null byte in the output string.
61205 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61207         * sysdeps/unix/sysv/linux/kernel-features.h
61208         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61209         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61210         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61211         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61212         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61213         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61214         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61216 2012-08-09  Jeff Law <law@redhat.com>
61218         [BZ #13939]
61219         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61220         When avoid_arena is set, don't retry in the that arena.  Pick the
61221         next one, whatever it might be.
61222         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61223         (arena_lock): Pass in new parameter to arena_get2.
61224         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61225         arena_get2.
61226         (__libc_malloc): Unify retrying after main arena failure with
61227         __libc_memalign version.
61228         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61230 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61232         [BZ #14166]
61233         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61234         to __redirect_strstr.
61235         (__strstr_sse42): Use typeof __redirect_strstr.
61236         (__strstr_ia32): Likewise.
61237         (__libc_strstr): New prototype.
61238         (strstr): Renamed to ...
61239         (__libc_strstr): This.
61240         (strstr): New strong alias of __libc_strstr.
61241         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61242         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61243         __redirect_time.
61244         Include <time.h>.
61245         (__libc_time): New prototype.
61246         (time_ifunc): Replace time with __libc_time.
61247         (time): New strong alias and hidden definition of __libc_time.
61248         (__GI_time): Remove strong alias.
61249         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61250         Include <stddef.h>.
61251         (memmove): Redefined to __redirect_memmove.
61252         (__memmove_sse2): Use typeof __redirect_memmove.
61253         (__memmove_ssse3): Likewise.
61254         (__memmove_ssse3_back): Likewise.
61255         (__libc_memmove): New prototype.
61256         (memmove): Renamed to ...
61257         (__libc_memmove): This.
61258         (memmove): New strong alias of __libc_memmove.
61260 2012-08-08  Mark Salter  <msalter@redhat.com>
61262         * elf/elf.h
61263         (R_MN10300_TLS_GD): Define.
61264         (R_MN10300_TLS_LD): Likewise.
61265         (R_MN10300_TLS_LDO): Likewise.
61266         (R_MN10300_TLS_GOTIE): Likewise.
61267         (R_MN10300_TLS_IE): Likewise.
61268         (R_MN10300_TLS_LE): Likewise.
61269         (R_MN10300_TLS_DTPMOD): Likewise.
61270         (R_MN10300_TLS_DTPOFF): Likewise.
61271         (R_MN10300_TLS_TPOFF): Likewise.
61272         (R_MN10300_SYM_DIFF): Likewise.
61273         (R_MN10300_ALIGN): Likewise.
61274         (R_MN10300_NUM): Update.
61276 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61279         Remove.
61281 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61283         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61285         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61286         sysdeps/unix -> sysdeps/posix move.
61287         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61289 2012-08-07      Allan McRae     <allan@archlinux.org>
61291         [BZ #14303]
61292         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61293         (SUNOS_CPP): Likewise.
61294         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61295         not found.
61296         (open_input): Call CPP using execvp.
61298 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61300         * sysdeps/unix/sysv/linux/kernel-features.h
61301         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61302         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61303         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61304         (__ASSUME_WAITID_SYSCALL): Likewise.
61305         * sysdeps/unix/sysv/linux/dl-execstack.c
61306         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61307         code unconditional.
61308         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61309         conditional code.
61310         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61311         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61312         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61313         code.
61314         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61315         unconditional.
61316         [__ASSUME_WAITID_SYSCALL]: Likewise.
61317         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61319 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61321         * sysdeps/unix/closedir.c: Renamed to ...
61322         * sysdeps/posix/closedir.c: ... here.
61323         * sysdeps/unix/dirfd.c: Renamed to ...
61324         * sysdeps/posix/dirfd.c: ... here.
61325         * sysdeps/unix/dirstream.h: Renamed to ...
61326         * sysdeps/posix/dirstream.h: ... here.
61327         * sysdeps/unix/fdopendir.c: Renamed to ...
61328         * sysdeps/posix/fdopendir.c: ... here.
61329         * sysdeps/unix/opendir.c: Renamed to ...
61330         * sysdeps/posix/opendir.c: ... here.
61331         * sysdeps/unix/readdir.c: Renamed to ...
61332         * sysdeps/posix/readdir.c: ... here.
61333         * sysdeps/unix/readdir_r.c: Renamed to ...
61334         * sysdeps/posix/readdir_r.c: ... here.
61335         * sysdeps/unix/rewinddir.c: Renamed to ...
61336         * sysdeps/posix/rewinddir.c: ... here.
61337         * sysdeps/unix/seekdir.c: Renamed to ...
61338         * sysdeps/posix/seekdir.c: ... here.
61339         * sysdeps/unix/telldir.c: Renamed to ...
61340         * sysdeps/posix/telldir.c: ... here.
61341         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61342         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61343         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61344         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61346         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61347         * bits/fcntl.h: ... here.
61349         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61350         not 0.
61351         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61352         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61353         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61354         (struct flock): Move l_start, l_len to the beginning.
61355         Use __pid_t for l_pid.
61356         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61357         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61358         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61359         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61360         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61361         [__USE_LARGEFILE64] (struct flock64): New type.
61362         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61364         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61365         * bits/dirent.h: ... here.
61367         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61368         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61370 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61372         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61373         Change from 2.6.0 to 2.6.16.
61374         * sysdeps/unix/sysv/linux/configure: Regenerated.
61375         * sysdeps/unix/sysv/linux/kernel-features.h
61376         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61377         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61378         version.
61379         (__ASSUME_UTIMES): Likewise.
61380         (__ASSUME_CLONE_STOPPED): Remove.
61381         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61382         architectures, not kernel version.
61383         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61384         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61385         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61386         (__ASSUME_WAITID_SYSCALL): Likewise.
61387         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61388         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61389         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61390         refer to older versions.
61392 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61394         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61395         Define alphasort64 as an alias.
61396         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61397         Define versionsort64 as an alias.
61398         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61399         Define scandir64 as an alias.
61400         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61401         Define scandirat64 as an alias.
61402         * dirent/alphasort64.c (alphasort64):
61403         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61404         * dirent/versionsort64.c: Likewise.
61405         * dirent/scandir64.c: Likewise.
61406         * dirent/scandirat64.c: Likewise.
61407         * sysdeps/wordsize-64/alphasort.c: File removed.
61408         * sysdeps/wordsize-64/alphasort64.c: File removed.
61409         * sysdeps/wordsize-64/scandir.c: File removed.
61410         * sysdeps/wordsize-64/scandir64.c: File removed.
61411         * sysdeps/wordsize-64/scandirat.c: File removed.
61412         * sysdeps/wordsize-64/scandirat64.c: File removed.
61413         * sysdeps/wordsize-64/versionsort.c: File removed.
61414         * sysdeps/wordsize-64/versionsort64.c: File removed.
61415         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61416         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61417         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61418         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61419         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61420         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61421         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61422         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61424         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61426         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61428         [defined __arch64__ || defined __sparcv9]
61429         (__INO_T_MATCHES_INO64_T): New macro.
61430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61431         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61432         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61433         * sysdeps/unix/sysv/linux/bits/dirent.h
61434         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61435         (_DIRENT_MATCHES_DIRENT64): New macro.
61437         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61438         Define lockf64 as an alias.
61439         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61440         Define fseeko64 as an alias.
61441         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61442         Define ftello64 as an alias.
61443         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61444         Define _IO_fgetpos64 and fgetpos64 as aliases.
61445         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61446         Define _IO_fsetpos64 and fsetpos64 as aliases.
61447         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61448         Conditionalize body on this.
61449         * libio/fseeko64.c: Likewise.
61450         * libio/ftello64.c: Likewise.
61451         * libio/iofgetpos64.c: Likewise.
61452         * libio/iofsetpos64.c: Likewise.
61453         * sysdeps/wordsize-64/lockf.c: File removed.
61454         * sysdeps/wordsize-64/lockf64.c: File removed.
61455         * sysdeps/wordsize-64/fseeko.c: File removed.
61456         * sysdeps/wordsize-64/fseeko64.c: File removed.
61457         * sysdeps/wordsize-64/ftello.c: File removed.
61458         * sysdeps/wordsize-64/ftello64.c: File removed.
61459         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61460         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61461         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61462         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61463         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61464         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61466         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61468         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61469         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61470         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61471         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61472         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61474         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61475         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61476         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61477         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61478         [defined __arch64__ || defined __sparcv9]
61479         (__OFF_T_MATCHES_OFF64_T): New macro.
61480         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61481         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61482         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61483         (__OFF_T_MATCHES_OFF64_T): New macro.
61485 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61487         * stdlib/secure-getenv.c (__secure_getenv): Replace
61488         GLIBC_2_16 with GLIBC_2_17.
61490 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61492         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61493         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61495 2012-08-03  David S. Miller  <davem@davemloft.net>
61497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61499 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61501         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61502         Remove.
61503         (__ASSUME_CORRECT_SI_PID): Likewise.
61504         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61505         (__ASSUME_TMPFS_NAME): Likewise.
61506         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61507         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61508         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61509         (HAVE_AUX_SECURE): Make definition unconditional.
61510         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61511         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61513 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61515         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61516         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61517         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61518         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61519         __eloop_threshold instead of SYMLOOP_MAX.
61521         * sysdeps/generic/eloop-threshold.h: New file.
61522         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61523         of MAXSYMLINKS.
61524         * elf/chroot_canon.c (chroot_canon): Likewise.
61526 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61528         [BZ #13717]
61529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61530         Change to 2.6.0 everywhere.
61531         * sysdeps/unix/sysv/linux/configure: Regenerated.
61532         * sysdeps/unix/sysv/linux/kernel-features.h
61533         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61534         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61535         kernel versions.
61536         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61537         (__ASSUME_FUTEX_REQUEUE): Remove.
61538         (__ASSUME_STATFS64): Define unconditionally.
61539         (__ASSUME_AT_SECURE): Likewise.
61540         (__ASSUME_CORRECT_SI_PID): Likewise.
61541         (__ASSUME_TGKILL): Define without depending on kernel version for
61542         i386.
61543         (__ASSUME_UTIMES): Likewise.
61544         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61545         kernel version.
61546         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61547         (__ASSUME_TMPFS_NAME): Likewise.
61548         * README: Update reference to Linux kernel versions.
61550 2012-08-02  Marek Polacek  <polacek@redhat.com>
61552         [BZ# 14150]
61553         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61554         libc_cv_asm_type_prefix with %.
61555         * configure: Regenerated.
61556         * include/libc-symbols.h: Remove comment about
61557         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61558         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61559         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61560         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61561         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61562         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61563         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61564         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61565         * elf/tst-unique2mod1.c: Likewise.
61566         * elf/tst-unique1mod2.c: Likewise.
61567         * elf/tst-unique1mod1.c: Likewise.
61568         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61569         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61570         Replace ASM_TYPE_DIRECTIVE with .type.
61571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61572         * sysdeps/i386/sysdep.h: Likewise.
61573         * sysdeps/x86_64/sysdep.h: Likewise.
61574         * sysdeps/sh/sysdep.h: Likewise.
61575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61576         Do not define ASM_TYPE_DIRECTIVE.
61577         * sysdeps/powerpc/sysdep.h: Likewise.
61578         * sysdeps/powerpc/powerpc32/sysdep.h:
61579         Replace ASM_TYPE_DIRECTIVE with .type.
61580         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61581         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61582         * sysdeps/i386/fpu/e_powf.S: Likewise.
61583         * sysdeps/i386/fpu/e_expl.S: Likewise.
61584         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61585         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61586         * sysdeps/i386/fpu/e_pow.S: Likewise.
61587         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61588         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61589         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61590         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61591         * sysdeps/i386/fpu/e_log2.S: Likewise.
61592         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61593         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61594         * sysdeps/i386/fpu/e_powl.S: Likewise.
61595         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61596         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61597         * sysdeps/i386/fpu/e_logl.S: Likewise.
61598         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61599         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61600         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61601         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61602         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61603         * sysdeps/i386/fpu/e_log.S: Likewise.
61604         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61605         * sysdeps/i386/fpu/e_logf.S: Likewise.
61606         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61607         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61608         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61609         * sysdeps/i386/fpu/e_log10.S: Likewise.
61610         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61611         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61612         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61613         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61614         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61615         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61616         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61617         * sysdeps/i386/i686/strtok.S: Likewise.
61618         * sysdeps/i386/i386-mcount.S: Likewise.
61619         * sysdeps/i386/strtok.S: Likewise.
61620         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61621         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61622         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61623         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61624         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61625         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61626         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61627         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61628         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61629         * sysdeps/x86_64/_mcount.S: Likewise.
61630         * sysdeps/x86_64/strtok.S: Likewise.
61631         * sysdeps/sh/_mcount.S: Likewise.
61633 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61635         * libio/iofopen.c: Include <fcntl.h>.
61636         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61637         (_IO_fopen64, fopen64): Define as aliases.
61638         * libio/iofopen64.c: Include <fcntl.h>.
61639         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61640         Conditionalize body on this.
61641         * sysdeps/wordsize-64/iofopen.c: File removed.
61642         * sysdeps/wordsize-64/iofopen64.c: File removed.
61644 2012-08-01  Marek Polacek  <polacek@redhat.com>
61646         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61647         Use dlfcn directly instead of a variable.
61648         (binfmt-subdir): Do not define.
61649         (dlfcn): Likewise.
61651 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61653         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61654         Remove all definitions.
61655         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61656         <kernel-features.h>.
61657         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61658         (miss_F_GETOWN_EX): Remove all definitions.
61659         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61660         macro definition.
61661         [!__ASSUME_FCNTL64]: Remove conditional code.
61662         [__ASSUME_FCNTL64]: Make code unconditional.
61663         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61664         <kernel-features.h>.
61665         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61666         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61667         (lockf64) [__NR_fcntl64]: Make code unconditional.
61668         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61670         * sysdeps/unix/sysv/linux/kernel-features.h
61671         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61672         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61673         Make code unconditional.
61674         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61675         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61677         [__NR_vfork]: Make code unconditional.
61678         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61679         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61681         [__NR_vfork]: Make code unconditional.
61682         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61683         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61685 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61687         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61688         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61690         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61691         Define mkstemp64 as an alias.
61692         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61693         Define mkstemps64 as an alias.
61694         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61695         Define mkostemp64 as an alias.
61696         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61697         Define mkostemps64 as an alias.
61698         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61699         Conditionalize body on this.
61700         * misc/mkostemp64.c: Likewise.
61701         * misc/mkostemps64.c: Likewise.
61702         * misc/mkstemps64.c: Likewise.
61703         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61704         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61705         * sysdeps/wordsize-64/mkostemp.c: File removed.
61706         * sysdeps/wordsize-64/mkstemp.c: File removed.
61707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61708         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61709         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61710         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61712         [BZ #14138]
61713         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61714         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61715         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61716         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61718         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61719         compat_symbol macros from <shlib-compat.h> rather than the underlying
61720         default_symbol_version and symbol_version macros, so that DEFAULT
61721         lines in shlib-versions are respected.
61722         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61724 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61726         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61727         Declare with warn_unused_result.
61728         (setgid, setregid, setegid, setresgid): Likewise.
61729         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61730         Likewise.
61731         * WUR-REPORT: Remove set*id functions.
61733 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61735         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61737 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61739         [BZ #10191]
61740         * include/sys/socket.h (__libc_accept, __libc_accept4):
61741         Add attribute_hidden.
61742         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61745         use of PTR_MANGLE.
61746         * inet/getnetgrent_r.c (setup): Likewise.
61748         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61750 2012-07-31  David S. Miller  <davem@davemloft.net>
61752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61754 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61756         [BZ #13629]
61757         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61758         value between 1.0 and 2.0 and smaller part has absolute value less
61759         than 1.0.
61760         * math/s_clog10.c (__clog10): Likewise.
61761         * math/s_clog10f.c (__clog10f): Likewise.
61762         * math/s_clog10l.c (__clog10l): Likewise.
61763         * math/s_clogf.c (__clogf): Likewise.
61764         * math/s_clogl.c (__clogl): Likewise.
61765         * math/libm-test.inc (clog_test): Add more tests.
61766         (clog10_test): Likewise.
61767         * sysdeps/i386/fpu/libm-test-ulps: Update.
61768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61770 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61772         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61773         Exit with zero in case no suitable GID is found, and write a
61774         message to standard error.
61776 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61778         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61779         rather than to 1.
61780         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61781         (MAXPATHLEN): Removed.
61782         (NOGROUP, NODEV): New macros.
61783         (setbit, clrbit, isset, isclr): New macros.
61784         (howmany, roundup, powerof2): New macros.
61785         (DEV_BSIZE): New macro.
61787         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61788         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61790         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61791         definition on [!__NO_LONG_DOUBLE_MATH].
61793         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61794         PTR_MANGLE and PTR_DEMANGLE.
61796         * socket/accept4.c (accept4): Rename to __libc_accept4.
61797         Define accept4 as a weak alias.
61799         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61800         on [_DIRENT_HAVE_D_TYPE].
61801         * io/ftw.c (ftw_dir): Likewise.
61803         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61805         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61807         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61808         Use the BSD numbers rather than the arbitrary ones we had.
61809         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61810         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61811         (SIGXCPU, SIGXFSZ): New macros.
61812         (_NSIG): Now 32.
61814         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61815         initializer on [_LIBC_REENTRANT].
61817         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61818         definitions inside [_POSIX_MAPPED_FILES].
61820         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61822         * dirent/opendir.c: Include <fcntl.h>.
61824         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61825         (__libc_getspecific): Likewise.
61826         (__libc_key_create): Likewise.
61828         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61829         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61830         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61831         (tmpfile64): Define as alias.
61832         * sysdeps/wordsize-64/tmpfile.c: File removed.
61833         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61834         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61835         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61837         * stdio-common/vfscanf.c: Include <stdbool.h>.
61838         * nss/makedb.c: Likewise.
61839         * stdio-common/_i18n_number.h: Likewise.
61840         * argp/argp-help.c: Likewise.
61841         * posix/wordexp.c: Likewise.
61842         * sysdeps/posix/spawni.c: Likewise.
61843         * nss/nss_files/files-initgroups.c: Likewise.
61844         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61845         * nss/nss_files/files-initgroups.c: Likewise.
61846         * nss/nss_db/db-netgrp.c: Likewise.
61847         * nss/nss_db/db-initgroups.c: Likewise.
61848         * io/fchmodat.c: Include <sys/stat.h>.
61850         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61851         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61853         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61854         [HAVE_MMAP].
61856         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61857         Add multiple inclusion protection.
61859 2012-07-27  David S. Miller  <davem@davemloft.net>
61861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61863 2012-07-27  Gary Benson  <gbenson@redhat.com>
61865         [BZ #14298]
61866         * elf/rtld.c: Include <stap-probe.h>.
61867         (dl_main): Added static probes "init_start" and "init_complete".
61868         * elf/dl-load.c: Include <stap-probe.h>.
61869         (lose): Take new parameter "nsid".
61870         Added static probe "map_failed".
61871         (_dl_map_object_from_fd): Pass namespace id to lose.
61872         Added static probe "map_start".
61873         (open_verify): Pass namespace id to lose.
61874         * elf/dl-open.c: Include <stap-probe.h>.
61875         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61876         and "reloc_complete".
61877         * elf/dl-close.c: Include <stap-probe.h>.
61878         (_dl_close_worker): Added static probes "unmap_start" and
61879         "unmap_complete".
61880         * elf/rtld-debugger-interface.txt: New file documenting the above.
61882 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61884         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61885         rather than a string variable.
61886         * sunrpc/rpc_main.c (h_output): Likewise.
61887         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61889 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61891         * inet/check_native.c: New file.
61893 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61895         [BZ #13629]
61896         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61897         if larger part has absolute value 1.0.
61898         * math/s_clog10.c (__clog10): Likewise.
61899         * math/s_clog10f.c (__clog10f): Likewise.
61900         * math/s_clog10l.c (__clog10l): Likewise.
61901         * math/s_clogf.c (__clogf): Likewise.
61902         * math/s_clogl.c (__clogl): Likewise.
61903         * math/libm-test.inc (clog_test): Add more tests.
61904         (clog10_test): Likewise.
61905         * sysdeps/i386/fpu/libm-test-ulps: Update.
61906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61908         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61909         (pltexit): Likewise.
61910         (La_regs): Likewise.
61911         (La_retval): Likewise.
61912         (int_retval): Likewise.
61913         Update #error for removed macros to refer only to definitions in
61914         tst-audit.h.
61915         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61916         macro.
61917         (pltexit): Likewise.
61918         (La_regs): Likewise.
61919         (La_retval): Likewise.
61920         (int_retval): Likewise.
61921         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61922         macro.
61923         (pltexit): Likewise.
61924         (La_regs): Likewise.
61925         (La_retval): Likewise.
61926         (int_retval): Likewise.
61927         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61928         macro.
61929         (pltexit): Likewise.
61930         (La_regs): Likewise.
61931         (La_retval): Likewise.
61932         (int_retval): Likewise.
61933         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61934         macro.
61935         (pltexit): Likewise.
61936         (La_regs): Likewise.
61937         (La_retval): Likewise.
61938         (int_retval): Likewise.
61939         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61940         macro.
61941         (pltexit): Likewise.
61942         (La_regs): Likewise.
61943         (La_retval): Likewise.
61944         (int_retval): Likewise.
61945         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61946         macro.
61947         (pltexit): Likewise.
61948         (La_regs): Likewise.
61949         (La_retval): Likewise.
61950         (int_retval): Likewise.
61951         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61952         macro definitions in tst-audit.h.
61953         * sysdeps/i386/tst-audit.h: New file.
61954         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61955         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61956         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61957         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61958         * sysdeps/sh/tst-audit.h: Likewise.
61959         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61960         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61961         * sysdeps/x86_64/tst-audit.h: Likewise.
61963 2012-07-26  Andreas Jaeger  <aj@suse.de>
61965         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61966         ptrace.
61968         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61969         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61970         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61971         PTRACE_O_MASK.
61972         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61973         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61974         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61976         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61977         value.
61979         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61980         _sigsys.
61981         (si_call_addr, si_syscall, si_arch): Define new macro.
61982         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61983         _sigsys.
61984         (si_call_addr, si_syscall, si_arch): Define new marcro.
61985         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61986         _sigsys.
61987         (si_call_addr, si_syscall, si_arch): Define new macro.
61988         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61989         _sigsys.
61990         (si_call_addr, si_syscall, si_arch): Define new macro.
61992 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61994         [BZ #13717]
61995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61996         Change to 2.4.21 where previously 2.4.1.
61997         * sysdeps/unix/sysv/linux/configure: Regenerated.
61998         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61999         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62000         Linux kernel version.
62001         (__ASSUME_STD_AUXV): Remove.
62002         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62003         kernel version.
62004         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62005         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62006         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62007         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62008         (__ASSUME_NETLINK_SUPPORT): Likewise.
62009         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62010         (__no_netlink_support): Remove conditional definition.
62011         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62012         Remove.
62013         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62014         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62015         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62016         (if_nameindex_ioctl): Remove.
62017         (if_nameindex_netlink): Do not handle __no_netlink_support.
62018         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62019         code.
62020         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62021         Remove conditional code.
62022         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62023         code.
62024         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62025         unconditional.
62026         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62027         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62028         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62029         Remove.
62030         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62031         [!__ASSUME_STD_AUXV]: Remove conditional code.
62032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62033         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62034         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62036         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62037         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62038         code.
62039         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62041         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62042         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62043         conditional code.
62044         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62046         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62047         code.
62048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62049         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62050         conditional code.
62051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62052         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62053         code unconditional.
62054         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62055         conditional code.
62056         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62057         unconditional.
62058         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62059         conditional code.
62060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62061         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62062         unconditional.
62063         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62064         conditional code.
62065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62066         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62067         code unconditional.
62068         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62069         conditional code.
62070         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62071         unconditional.
62072         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62073         conditional code.
62074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62075         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62076         code unconditional.
62077         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62078         conditional code.
62079         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62080         unconditional.
62081         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62082         conditional code.
62084 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62086         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62087         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62088         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62089         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62090         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62091         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62092         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62093         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62094         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62095         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62096         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62097         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62098         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62099         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62100         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62101         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62102         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62103         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62104         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62106         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62107         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62108         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62110 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62112         * Versions.def: Add GLIBC_2.17.
62113         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62114         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62115         Introduce __libc_secure_getenv.
62116         * stdlib/Versions (2.17): Add secure_getenv
62117         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62118         * stdlib/secure-getenv.c: Rename __secure_getenv to
62119         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62120         symbol __secure_getenv for GLIBC_2.0.
62121         * stdlib/tst-secure-getenv.c: New.
62122         * stdlib/Makefile (tests): Add testcase.
62123         * manual/startup.texi (Environment Access): Document
62124         secure_getenv.
62125         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62126         __libc_secure_getenv.
62127         * inet/ruserpass.c (ruserpass): Likewise.
62128         * malloc/mtrace.c (mtrace): Likewise.
62129         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62130         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62131         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62132         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62133         HAVE_SECURE_GETENV.
62134         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62135         __secure_getenv to __libc_secure_getenv.
62136         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62138         Likewise.
62139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62140         Likewise.
62141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62143         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62149 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62151         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62152         (struct La_i86_retval): Likewise.
62153         (struct La_x86_64_regs): Likewise.
62154         (struct La_x86_64_retval): Likewise.
62155         (struct La_x32_regs): Likewise.
62156         (struct La_x32_retval): Likewise.
62157         (struct La_ppc32_regs): Likewise.
62158         (struct La_ppc32_retval): Likewise.
62159         (struct La_ppc64_regs): Likewise.
62160         (struct La_ppc64_retval): Likewise.
62161         (struct La_sh_regs): Likewise.
62162         (struct La_sh_retval): Likewise.
62163         (struct La_s390_32_regs): Likewise.
62164         (struct La_s390_32_retval): Likewise.
62165         (struct La_s390_64_regs): Likewise.
62166         (struct La_s390_64_retval): Likewise.
62167         (struct La_sparc32_regs): Likewise.
62168         (struct La_sparc32_retval): Likewise.
62169         (struct La_sparc64_regs): Likewise.
62170         (struct La_sparc64_retval): Likewise.
62171         (struct audit_ifaces): Remove architecture-specific pltenter and
62172         pltexit members.
62173         * sysdeps/i386/ldsodefs.h: New file.
62174         * sysdeps/powerpc/ldsodefs.h: Likewise.
62175         * sysdeps/s390/ldsodefs.h: Likewise.
62176         * sysdeps/sh/ldsodefs.h: Likewise.
62177         * sysdeps/sparc/ldsodefs.h: Likewise.
62178         * sysdeps/x86_64/ldsodefs.h: Likewise.
62180 2012-07-25  Marek Polacek  <polacek@redhat.com>
62182         [BZ #6808]
62183         * math/libm-test.inc (yn_test): Add another test.
62184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62185         to ERANGE when the result is +-Inf.
62186         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62187         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62188         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62189         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62191 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62193         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62194         equal to 0.
62195         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62196         clock_t.
62197         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62199 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62201         * configure.in <sysdeps resolving>: Correct printing
62202         Implies_before.
62203         * configure: Regenerate.
62205 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62207         * math/w_ilogb.c: Include <limits.h>.
62208         * math/w_ilogbl.c: Likewise.
62210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62212         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62213         va_copy.  Document allowing for unavailable va_copy only as
62214         pre-C99 compatibility.
62215         * manual/string.texi (Copying and Concatenation): Use va_copy
62216         instead of __va_copy in concat example.
62218 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62220         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62221         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62222         it if not null.
62224         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62225         with O_NOLINK passed to __file_name_lookup.
62227         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62228         with O_NOLINK passed to __file_name_lookup.
62230         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62231         negative N or less than NGIDS.
62233         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62234         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62235         enough.  Use memcpy instead of strncpy.
62237 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62239         * elf/Makefile (check-data): Remove.
62240         (localplt.data): New vpath directive.
62241         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62242         instead of $(check-data).
62243         * scripts/data/localplt-generic.data: Move to ...
62244         * sysdeps/generic/localplt.data: ... here.
62245         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62246         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62247         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62249         ... here.
62250         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62252         ... here.
62253         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62255         ... here.
62256         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62258         ... here.
62259         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62261         ... here.
62262         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62264         ... here.
62266 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62268         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62269         PPC32 and PPC64 files.
62270         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62271         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62273 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62275         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62276         __makecontext_ret to ...
62277         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62278         ... here and call exit if uc_link is NULL.  New file.
62279         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62280         __makecontext_ret.S.
62281         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62282         __makecontext_ret to ...
62283         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62284         ... here and call exit if uc_link is NULL.  New file.
62285         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62286         __makecontext_ret.S.
62288 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62290         * elf/elf.h (R_390_IRELATIVE): New definition.
62291         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62292         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62293         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62295         (elf_machine_lazy_rel): Likewise.
62296         * sysdeps/s390/dl-irel.h: New file.
62297         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62298         * sysdeps/s390/s390-64/memset.S: New asm code.
62299         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62300         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62301         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62302         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62303         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62304         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62305         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62306         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62307         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62308         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62309         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62310         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62311         * sysdeps/s390/s390-32/memset.S: New asm code.
62312         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62314 2012-07-17  Marek Polacek  <polacek@redhat.com>
62316         [BZ #14349]
62317         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62318         * sysdeps/s390/s390-64/configure.in: Likewise.
62319         * sysdeps/sparc/configure.in: Likewise.
62320         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62321         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62322         * sysdeps/i386/configure.in: Likewise.
62323         * sysdeps/x86_64/configure.in: Likewise.
62324         * sysdeps/sh/configure.in: Likewise.
62325         * sysdeps/s390/s390-32/configure: Regenerated.
62326         * sysdeps/s390/s390-64/configure: Likewise.
62327         * sysdeps/x86_64/configure: Likewise.
62328         * sysdeps/sh/configure: Likewise.
62329         * sysdeps/powerpc/powerpc64/configure: Likewise.
62330         * sysdeps/powerpc/powerpc32/configure: Likewise.
62331         * sysdeps/sparc/configure: Likwise.
62332         * sysdeps/i386/configure: Likewise.
62334         * elf/dl-open.c: Comment fixes.
62336 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62338         * Makefile [CXX] (check-data): Remove.
62339         [CXX] (c++-types.data): New vpath directive.
62340         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62341         vpath.  Do not allow for C++ type data being missing.
62342         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62343         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62344         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62345         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62346         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62347         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62348         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62350         ... here.
62351         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62353         ... here.
62354         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62356         ... here.
62357         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62359         ... here.
62360         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62362         ... here.
62363         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62365         ... here.
62366         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62368         ... here.
62369         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62372         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62373         definitions to architecture-specific files.
62374         (TLS_IE): Likewise.
62375         (TLS_LD): Likewise.
62376         (TLS_GD): Likewise.
62377         * sysdeps/i386/tls-macros.h: New file.
62378         * sysdeps/powerpc/tls-macros.h: Likewise.
62379         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62380         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62381         * sysdeps/sh/tls-macros.h: Likewise.
62382         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62383         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62384         * sysdeps/x86_64/tls-macros.h: Likewise.
62386 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62388         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62389         zero value for regular exit case.
62391         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62392         (__start_context): Preserve zero value for regular exit case.
62394 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62395             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62397         * manual/setjmp.texi (setcontext): Clarify normal process
62398         termination when uc_link is the null pointer.
62399         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62400         exit call.
62402 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62404         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62405         preprocessor.  Test for each exception mask separately.
62407 2012-07-16  Andreas Jaeger  <aj@suse.de>
62409         * po/ru.po: Update from translation team.
62411 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62413         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62414         equal to 0.
62415         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62416         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62417         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62418         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62419         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62421 2012-07-13  Andreas Jaeger  <aj@suse.de>
62423         * po/fr.po: Update from translation team.
62425 2012-07-12  Marek Polacek  <polacek@redhat.com>
62427         [BZ #14173]
62428         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62430         loop condition.
62432 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62434         [BZ #13717]
62435         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62436         Change to 2.4.1 where previously 2.4.0.
62437         * sysdeps/unix/sysv/linux/configure: Regenerated.
62438         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62439         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62440         version.
62441         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62442         (__ASSUME_AT_CLKTCK): Remove.
62443         (__ASSUME_AT_PAGESIZE): Likewise.
62444         (__ASSUME_AT_XID): Likewise.
62445         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62446         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62447         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62448         unconditionally.
62449         (HAVE_AUX_PAGESIZE): Likewise.
62450         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62451         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62452         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62454 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62456         [BZ #14307]
62457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62458         the temporary buffer used to invoke __gethostbyname2_r,
62459         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62460         host_data / struct gaih_addrtuple.
62461         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62462         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62463         header file nss/nsswitch.h.
62464         * nss/nsswitch.h (global scope): Add definition of implementation
62465         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62466         resolv/nss_dns/dns-host.c).
62468 2012-07-11  Andreas Jaeger  <aj@suse.de>
62470         * po/fr.po: Update from translation team.
62472         * po/sv.po: Update from translation team
62473         * po/fr.po: Another update from translation team.
62475 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62477         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62478         for subnormals or multiply small sinh result by itself.
62479         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62482 2012-07-11  David S. Miller  <davem@davemloft.net>
62484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62486 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62488         [BZ #14347]
62489         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62490         (INTERNAL_MARK): Shift it here.
62492 2012-07-10  Marek Polacek  <polacek@redhat.com>
62494         [BZ #14151]
62495         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62496         libc_cv_asm_global_directive with .globl.
62497         * configure: Regenerated.
62498         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62499         with .globl.
62500         * sysdeps/i386/configure: Regenerated.
62501         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62502         with .globl.
62503         * sysdeps/x86_64/configure: Regenerated.
62504         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62505         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62506         * elf/tst-unique2mod2.c: Likewise.
62507         * elf/tst-unique2mod1.c: Likewise.
62508         * elf/tst-unique1mod2.c: Likewise.
62509         * elf/tst-unique1mod1.c: Likewise.
62510         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62511         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62512         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62513         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62514         * sysdeps/mach/sysdep.h: Likewise.
62515         * sysdeps/i386/sysdep.h: Likewise.
62516         * sysdeps/i386/i386-mcount.S: Likewise.
62517         * sysdeps/x86_64/_mcount.S: Likewise.
62518         * sysdeps/x86_64/sysdep.h: Likewise.
62519         * sysdeps/sh/_mcount.S: Likewise.
62520         * sysdeps/sh/sysdep.h: Likewise.
62521         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62522         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62523         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62524         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62525         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62526         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62527         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62528         * locale/localeinfo.h: Likewise.
62529         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62530         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62532 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62534         [BZ #14336]
62535         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62536         system".
62537         * manual/message.texi (The Uniforum approach): Likewise.
62538         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62539         (glibc iconv Implementation): Likewise.
62541 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62543         [BZ #14337]
62544         * math/s_clog.c (__clog): Avoid scaling a value down where that
62545         could result in underflow.
62546         * math/s_clog10.c (__clog10): Likewise.
62547         * math/s_clog10f.c (__clog10f): Likewise.
62548         * math/s_clog10l.c (__clog10l): Likewise.
62549         * math/s_clogf.c (__clogf): Likewise.
62550         * math/s_clogl.c (__clogl): Likewise.
62551         * math/libm-test.inc (clog_test): Add more tests.
62552         (clog10_test): Likewise.
62553         * sysdeps/i386/fpu/libm-test-ulps: Update.
62554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62556 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62558         [BZ #14283]
62559         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62560         by 7 not 8 to examine high bit of fractional part.
62562         [BZ #14042]
62563         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62564         for call to __mcount_internal.
62565         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62566         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62567         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62569 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62571         [BZ #14154]
62572         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62573         approximation for values within 0x1p-13f of an odd multiple of
62574         pi/4.
62575         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62576         exception.  Add more tests.
62577         * sysdeps/i386/fpu/libm-test-ulps: Update.
62579         [BZ #6778]
62580         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62581         inputs and return -1 for them.  Do not check for +Inf in case not
62582         reachable for +Inf.
62583         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62584         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62585         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62586         and return -1 for them.  Do not check for +Inf in case not
62587         reachable for +Inf.
62588         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62589         define.
62590         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62591         and return -1 for them.  Do not check for +Inf in case not
62592         reachable for +Inf.
62593         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62594         spurious underflow.
62595         * sysdeps/i386/fpu/libm-test-ulps: Update.
62596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62598 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62600         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62602 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62604         [BZ #14157]
62605         [BZ #14331]
62606         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62607         could result in spurious underflow.  Scale down values above
62608         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62609         * math/s_csqrtf.c (__csqrtf): Likewise.
62610         * math/s_csqrtl.c (__csqrtl): Likewise.
62611         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62612         spurious underflow.
62613         * sysdeps/i386/fpu/libm-test-ulps: Update.
62614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62616 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62618         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62619         xopen-msg.sed.
62620         * catgets/xopen-msg.awk: New file.
62621         * catgets/xopen-msg.sed: Removed.
62623         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62624         po2text.sed.
62625         * intl/po2test.awk: New file.
62626         * intl/po2test.sed: Removed.
62628 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62630         [BZ #14328]
62631         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62632         or multiply small sinh result by itself.
62633         * math/s_ctanf.c (__ctanf): Likewise.
62634         * math/s_ctanh.c (__ctanh): Likewise.
62635         * math/s_ctanhf.c (__ctanhf): Likewise.
62636         * math/s_ctanhl.c (__ctanhl): Likewise.
62637         * math/s_ctanl.c (__ctanl): Likewise.
62638         * math/libm-test.inc (ctan_test_tonearest): New function.
62639         (ctan_test_towardzero): Likewise.
62640         (ctan_test_downward): Likewise.
62641         (ctan_test_upward): Likewise.
62642         (ctanh_test_tonearest): Likewise.
62643         (ctanh_test_towardzero): Likewise.
62644         (ctanh_test_downward): Likewise.
62645         (ctanh_test_upward): Likewise.
62646         (main): Call these new functions.
62647         * sysdeps/i386/fpu/libm-test-ulps: Update.
62648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62650 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62652         * .gitignore: Delete /ports entry.
62654 2012-07-03  Andreas Jaeger  <aj@suse.de>
62656         * po/bg.po: Update from translation team.
62657         * po/cs.po: Likewise.
62658         * po/de.po: Likewise.
62659         * po/hr.po: Likewise.
62660         * po/nl.pl: Likewise.
62661         * po/pl.po: Likewise.
62662         * po/vi.po: Likewise.
62664 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62666         * Makeconfig [!+link] (+link-before-libc): New variable.
62667         [!+link] (+link-after-libc): Likewise.
62668         [!+link] (+link-tests): Likewise.
62669         [!+link] (+link): Define in terms of $(+link-before-libc) and
62670         $(+link-after-libc).
62671         [!+link-static] (+link-static-before-libc): New variable.
62672         [!+link-static] (+link-static-after-libc): Likewise.
62673         [!+link-static] (+link-static-tests): Likewise.
62674         [!+link-static] (+link-static): Define in terms of
62675         $(+link-static-before-libc) and $(+link-static-after-libc).
62676         [build-shared] (link-libc-before-gnulib): New variable.
62677         [build-shared] (link-libc-tests): Likewise.
62678         [build-shared] (link-libc): Define in terms of
62679         $(link-libc-before-gnulib).
62680         [!build-shared] (link-libc-tests): New variable.
62681         (link-libc-static-tests): New variable.
62682         [!gnulib] (gnulib-arch): New variable.
62683         [!gnulib] (gnulib-tests): Likewise.
62684         [!gnulib] (static-gnulib-arch): Likewise.
62685         [!gnulib] (static-gnulib-tests): Likewise.
62686         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62687         Define with "=" instead of ":=".
62688         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62689         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62690         * Rules (binaries-all-notests): New variable.
62691         (binaries-all-tests): Likewise.
62692         (binaries-static-notests): Likewise.
62693         (binaries-static-tests): Likewise.
62694         (binaries-all): Define using $(binaries-all-notests) and
62695         $(binaries-all-tests).
62696         (binaries-static): Define using $(binaries-static-notests) and
62697         $(binaries-static-tests).
62698         (binaries-shared-tests): New variable.
62699         (binaries-shared-notests): Likewise.
62700         (binaries-shared): Remove variable.
62701         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62702         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62703         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62704         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62705         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62706         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62707         * elf/Makefile (sln-modules): New variable.
62708         (extra-objs): Add $(sln-modules:=.o).
62709         (ldconfig-modules): Add static-stubs.
62710         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62711         * elf/static-stubs.c: New file.
62713         [BZ #14283]
62714         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62715         by 7 not 8 to examine high bit of fractional part.  Use volatile
62716         variables when splitting into final array of floats if
62717         __FLT_EVAL_METHOD__ != 0.
62718         * math/libm-test.inc (cos_test): Add another test.
62719         (sin_test): Likewise.
62720         * sysdeps/i386/fpu/libm-test-ulps: Update.
62722         [BZ #14273]
62723         * math/libm-test.inc (cosh_test): Add more tests.
62725         * version.h (RELEASE): Set to "development".
62726         (VERSION): Set to "2.16.90".
62728 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62730         * NEWS: Update copyright. Remove last-updated date.
62731         Mention math library bug fixes and timezone data changes.
62732         * README: Mention GNU/Hurd, x32, and HPPA support status.
62734 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62736         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62738 2012-06-27  Andreas Jaeger  <aj@suse.de>
62740         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62742 2012-06-25  Andreas Jaeger  <aj@suse.de>
62744         * sysdeps/s390/fpu/libm-test-ulps: Update.
62746 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62747             Thomas Schwinge  <thomas@codesourcery.com>
62749         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62750         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62751         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62752         fanotify_mark.
62754 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62756         * sysdeps/mach/start.c: Remove file.
62757         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62758         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62759         * sysdeps/sh/init-first.c: Likewise.
62761         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62762         registers for frame unwinding purposes, add CFI directives.
62763         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62764         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62765         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62766         Likewise.
62768         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62769         __fortify_fail returning.
62770         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62772         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62773         sysdeps/sh/____longjmp_chk.S.
62774         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62775         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62776         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62777         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62779         * sysdeps/sh/abort-instr.h: New file.
62780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62781         process in case exit returns.
62783         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62784         initialize the GOT register before use.
62786         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62787         calculation of ARGC > 4.
62789         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62790         meaningful names to some local labels.
62792 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62793             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62795         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62796         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62797         (__arch_compare_and_exchange_val_16_acq): Likewise.
62798         (__arch_compare_and_exchange_val_32_acq): Likewise.
62799         (atomic_exchange_and_add): Fix gUSA sequence.
62800         (atomic_add): Likewise.
62801         (atomic_add_negative): Likewise.
62802         (atomic_add_zero): Likewise.
62803         (atomic_bit_test_set): Likewise.
62805 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62807         [BZ #13579]
62808         * include/link.h (struct link_map): Add l_free_initfini.
62809         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62810         l_initfini.
62811         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62812         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62813         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62814         set.
62816 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62818         * configure.in: Use AC_LANG_SOURCE.
62819         * configure: Regenerate.
62821 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62823         * configure.in (libc_cv_localstatedir): New substituted variable.
62824         * configure: Regenerated.
62825         * config.make.in (localstatedir): New variable, substituted from
62826         libc_cv_localstatedir.
62827         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62828         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62829         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62830         * sysdeps/gnu/configure: Regenerated.
62832 2012-06-21  Jeff Law  <law@redhat.com>
62834         [BZ #14277]
62835         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62836         free.  Simplify list management for _LIBC case.
62838 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62840         [BZ #14273]
62841         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62842         Clear sign bit of 64-bit integer value before comparing against
62843         overflow value.
62845         * sysdeps/mach/configure: Regenerated.
62847 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62849         [BZ #14278]
62850         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62852 2012-06-21  Jeff Law  <law@redhat.com>
62854         [BZ #13882]
62855         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62856         uint16_t for elements in the "seen" array to avoid char overflows.
62857         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62858         * elf/dl-open.c (dl_open_worker): Likewise.
62860 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62862         * scripts/list-sources.sh: Scan PORTS for translations.
62863         * po/libc.pot: Regenerated.
62865 2012-06-21  Andreas Jaeger  <aj@suse.de>
62867         [BZ #12194]
62868         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62869         warning.
62870         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62871         * bits/byteswap-16.h (__bswap_16): Likewise.
62872         * bits/byteswap.h (__bswap_constant_16): Likewise.
62874 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62876         [BZ #14117]
62877         * sysdeps/i386/fpu_control.h: Removed.
62878         * sysdeps/x86_64/fpu_control.h: Moved to ...
62879         * sysdeps/x86/fpu_control.h: Here.
62881         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62882         (_FPU_SETCW): Likewise.
62884 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62886         [BZ #14117]
62887         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62888         * sysdeps/x86/fpu/bits/mathinline.h: This.
62889         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62891         [BZ #14050]
62892         [BZ #14117]
62893         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62894         functions if __x86_64__ is defined.
62896 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62898         * string/endian.h: Add !__ASSEMBLER__ condition for including
62899         conversion interfaces.
62901 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62903         [BZ #14241]
62904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62905         of ABS(x) in calculating zero to negative powers other than odd
62906         integers.
62907         * math/libm-test.inc (pow_test): Add more tests.
62909 2012-06-15  Andreas Jaeger  <aj@suse.de>
62911         * manual/contrib.texi (Contributors): Update entry of Liubov
62912         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62913         Machado Filho.
62915 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62917         * string/string.h: Add __wur to GNU version of strerror_r.
62919 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62921         [BZ #14229]
62922         * string/Makefile (tests): Add tst-strtok_r.
62923         * string/tst-strtok_r.c: New file.
62924         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62925         RAX_LP/RDX_LP on SAVE_PTR.
62927 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62929         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62931 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62933         * libm_test.inc (csqrt_test): Allow more spurious underflow
62934         exceptions.
62935         (j0_test): Likewise.
62936         (j1_test): Likewise.
62937         (y0_test): Likewise.
62938         (y1_test): Likewise.
62940 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62942         * po/Makefile (libc.pot): Use UTF-8 charset.
62944 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62946         [BZ #14210]
62947         Suppress sign-conversion warning from FD_SET.
62948         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62949         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62950         not unsigned long int.
62951         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62953 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62955         [BZ #14050]
62956         [BZ #14117]
62957         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62958         __extern_always_inline instead of __extern_inline.
62959         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62960         (__signbit): Likewise.
62961         (__signbitl): Support C++ namespace.
62962         (lrintf): New inline function.
62963         (lrint): Likewise.
62964         (llrintf): Likewise.
62965         (llrint): Likewise.
62966         (fmaxf): Likewise.
62967         (fmax): Likewise.
62968         (fminf): Likewise.
62969         (fmin): Likewise.
62970         (rint): Likewise.
62971         (rintf): Likewise.
62972         (ceil): Likewise.
62973         (ceilf): Likewise.
62974         (floor): Likewise.
62975         (floorf): Likewise.
62976         (nearbyint): Likewise.
62977         (nearbyintf): Likewise.
62979 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62981         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62982         non-default versions.
62984 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62986         [BZ #14218]
62987         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62989 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62991         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62992         (FE_UPWARD, FE_DOWNWARD): Don't define.
62993         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62994         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62996         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62997         reading it.
62998         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62999         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63001 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63003         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63005         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63006         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63008 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63010         [BZ #14117]
63011         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63012         * sysdeps/i386/fpu/Implies: New file.
63013         * sysdeps/x86_64/fpu/Implies: Likewise.
63014         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63015         * sysdeps/x86/fpu/bits/fenv.h: This.
63017         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63018         __SSE_MATH__.
63020 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63022         [BZ #14134]
63023         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63024         character 0xffff that matches the last element of the
63025         conversion table.
63027 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63029         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63030         fmodl commit.
63032 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63035         values higher than 25.6283.
63037 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63039         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63040         subnormal exponent extraction and add some __builtin_expect.
63041         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63042         Fix for subnormal mantissa calculation.
63044 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63046         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63047         cpu2 is -1 and errno is not ENOSYS.
63049 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63051         [BZ #14117]
63052         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63053         * sysdeps/x86/bits/string.h: This.
63054         * sysdeps/x86_64/bits/string.h: Removed.
63056         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63057         if not compiling for x86-64, but compiling for >= i486.
63059         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63060         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63062         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63063         New macro from Linux kernel 3.4.0.
63064         (FP_XSTATE_MAGIC2): Likewise.
63065         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63066         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63067         (struct _fpx_sw_bytes): New struct.
63068         (struct _xsave_hdr): Likewise.
63069         (struct _ymmh_state): Likewise.
63070         (struct _xstate): Likewise.
63072         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63073         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63074         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63075         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63076         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63077         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63079         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63080         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63081         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63082         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63083         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63084         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63086 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63088         [BZ #13743]
63089         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63090         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63091         (sysdep_headers): Include sys/platform/ppc.h.
63092         * sysdeps/powerpc/test-gettimebase.c: Test for
63093         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63094         * manual/Makefile (appendices): Include platform.texi.
63095         * manual/contrib.texi (Contributors): Update @node pointers.
63096         * manual/maint.texi (Maintenance): Likewise.
63097         (Platform): New node.
63098         * manual/platform.texi: New file.  Document the new features.
63100 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63101             Jakub Jelinek  <jakub@redhat.com>
63103         [BZ #14188]
63104         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63105         where __builtin_expect is unavailable.
63107 2012-06-03  David S. Miller  <davem@davemloft.net>
63109         * stdlib/longlong.h: Updated from GCC.
63111 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63113         [BZ #14042]
63114         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63115         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63116         __mcount_internal.
63117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63118         (GLIBC_2.16): Likewise.
63120 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63122         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63124 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63127         (default-abi): New variable.
63128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63129         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63130         variable.
63131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63132         Likewise.
63133         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63134         Likewise.
63135         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63136         Likewise.
63138         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63139         definition.  Document in comment.
63141 2012-06-01  David S. Miller  <davem@davemloft.net>
63143         * stdlib/longlong.h: Updated from GCC.
63145 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63147         [BZ #14117]
63148         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63149         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63150         sys/debugreg.h sys/io.h here.
63151         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63152         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63153         sys/io.h.
63154         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63155         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63156         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63157         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63158         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63159         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63161         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63162         Define only if __x86_64__ is defined.
63164 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63166         [BZ #14048]
63167         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63168         Use int64_t for variable i.
63169         * math/libm-test.inc (fmod_test): Add more tests.
63171         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63172         z computation is not scheduled after fetestexcept.
63173         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63174         Use math_force_eval instead of asm to ensure calculation scheduled
63175         before exception test.
63176         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63177         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63179 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63182         computation is not scheduled after fetestexcept.
63184 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63186         [BZ #14117]
63187         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63188         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63190 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63192         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63193         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63195 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63197         [BZ #14117]
63198         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63199         <bits/wordsize.h>.
63200         (__WCHAR_MIN): Support __WORDSIZE == 64.
63201         (__WCHAR_MAX): Likewise.
63203         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63204         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63206         [BZ #14183]
63207         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63208         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63210         [BZ #14117]
63211         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63212         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63214         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63215         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63217         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63218         Defined to 1 if __x86_64__ isn't defined.
63219         (_STAT_VER_LINUX_OLD): New.
63220         (st_atime): Remove duplicate.
63221         (st_mtime): Likewise.
63222         (st_ctime): Likewise.
63224 2012-05-31  David S. Miller  <davem@davemloft.net>
63226         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63227         entries.
63229 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63231         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63232         gen-libm-test.pl.
63234         [BZ #14132]
63235         * elf/dl-reloc.c: Include <_itoa.h>.
63236         (_dl_reloc_bad_type): Remove use of INTUSE.
63237         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63238         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63239         * stdio-common/psiginfo.c (psiginfo): Likewise.
63240         * stdio-common/psignal.c (psignal): Likewise.
63241         * string/strsignal.c (strsignal): Likewise.
63242         * include/signal.h (_sys_siglist): Declare hidden proto.
63243         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63244         INTVARDEF with libc_hidden_data_def.
63245         * stdio-common/itoa-udigits.c: Likewise.
63246         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63247         (_itoa_lower_digits_internal): Remove declaration.
63248         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63249         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63250         (_sys_sigabbrev_internal): Remove aliases.
63251         (_sys_siglist): Define hidden alias.
63253 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63256         bits/sysctl.h.
63258 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63260         [BZ #14117]
63261         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63262         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63264         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63265         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63266         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63267         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63268         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63269         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63271         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63272         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63273         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63275         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63276         with __addr.
63277         (insw): Likewise.
63278         (insl): Likewise.
63279         (outsb): Likewise.
63280         (outsw): Likewise.
63281         (outsl): Likewise.
63283         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63284         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63285         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63287         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63288         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63289         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63290         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63291         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63292         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63294         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63295         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63297         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63298         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63301         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63302         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63304         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63305         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63306         to ...
63307         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63309         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63310         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63311         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63313         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63314         for x86-64.
63315         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63317 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63319         * math/math.h (M_El): Use two more decimal places.
63320         (M_LOG2El): Likewise.
63321         (M_LOG10El): Likewise.
63322         (M_LN2l): Likewise.
63323         (M_LN10l): Likewise.
63324         (M_PIl): Likewise.
63325         (M_PI_2l): Likewise.
63326         (M_PI_4l): Likewise.
63327         (M_1_PIl): Likewise.
63328         (M_2_PIl): Likewise.
63329         (M_2_SQRTPIl): Likewise.
63330         (M_SQRT2l): Likewise.
63331         (M_SQRT1_2l): Likewise.
63333 2012-05-31  David S. Miller  <davem@davemloft.net>
63335         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63336         values between float registers.
63337         * sysdeps/sparc/sparc64/memset.S: Likewise.
63338         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63340 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63342         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63343         -D_FORTIFY_SOURCE=1.
63344         (CPPFLAGS-tst-longjmp_chk.c): Define.
63345         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63346         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63347         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63348         CFLAGS-tst-wchar-h.c.
63350 2012-05-31  Marek Polacek  <polacek@redhat.com>
63352         [BZ #14132]
63353         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63354         __endmntent_internal): Remove declaration.
63355         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63356         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63357         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63359 2012-05-30  David S. Miller  <davem@davemloft.net>
63361         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63362         (___Q_simulate_exceptions): Use real FP ops rather than writing
63363         into the %fsr.
63364         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63365         Likewise.
63367 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63369         [BZ #14117]
63370         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63371         * sysdeps/x86/bits/xtitypes.h: This.
63373         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63374         * sysdeps/x86/bits/wordsize.h: This.
63376         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63377         * sysdeps/x86/bits/huge_vall.h: This.
63379         * sysdeps/i386/bits/select.h: Removed.
63380         * sysdeps/x86_64/bits/select.h: Renamed to ...
63381         * sysdeps/x86/bits/select.h: This.
63383         * sysdeps/i386/bits/setjmp.h: Removed.
63384         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63385         * sysdeps/x86/bits/setjmp.h: This.
63387         * sysdeps/i386/bits/mathdef.h: Removed.
63388         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63389         * sysdeps/x86/bits/mathdef.h: This.
63391 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63393         [BZ #14132]
63394         * include/sys/socket.h (__connect_internal)
63395         (__libc_sa_len_internal): Remove declaration.
63396         (__connect, __libc_sa_len): Declare hidden_proto.
63397         (SA_LEN): Remove use of INTUSE.
63398         * socket/connect.c: Add libc_hidden_def.
63399         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63400         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63401         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63402         alias.
63403         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63404         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63405         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63406         of adding _internal alias.
63408 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63410         [BZ #14117]
63411         * sysdeps/i386/bits/link.h: Removed.
63412         * sysdeps/i386/bits/linkmap.h: Likewise.
63413         * sysdeps/x86_64/bits/link.h: Renamed to ...
63414         * sysdeps/x86/bits/link.h: This.
63415         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63416         * sysdeps/x86/bits/linkmap.h: This.
63418         * sysdeps/i386/bits/endian.h: Removed.
63419         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63420         * sysdeps/x86/bits/endian.h: This.
63422         * sysdeps/i386/bits/byteswap.h: Removed.
63423         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63424         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63425         * sysdeps/x86/bits/byteswap.h: This.
63426         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63427         * sysdeps/x86/bits/byteswap-16.h: This.
63428         * sysdeps/i386/Implies: Add x86.
63429         * sysdeps/x86_64/Implies: Likewise.
63431 2012-05-30  David S. Miller  <davem@davemloft.net>
63433         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63434         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63435         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63436         (FP_TRAPPING_EXCEPTIONS): Define.
63437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63438         (FP_TRAPPING_EXCEPTIONS): Define.
63439         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63440         subnormals only when inexact has been signalled or underflow
63441         exceptions are enabled.
63442         (_FP_PACK_CANONICAL): Likewise.
63444 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63446         [BZ #14183]
63447         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63448         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63450 2012-05-30  Richard Henderson  <rth@twiddle.net>
63452         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63453         with #ifndef NOT_IN_libc.
63455         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63456         marked to avoid plt entry.
63458 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63460         [BZ #14112]
63461         * Makeconfig (default-abi): New macro.
63462         (abi-includes): Likewise.
63463         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63464         $(abi-$(default-abi)-lib-soname) for soname if defined.
63465         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63466         abi-variants.
63467         * Makefile (installed-stubs): Likewise.
63468         * include/stubs-biarch.h: Removed.
63469         * scripts/lib-names.awk: Only handle one library at a time.
63470         * scripts/soversions.awk: Remove WORDSIZE support.
63471         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63472         entries.
63473         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63474         Removed.
63475         (syscall-list-default-condition): Likewise.
63476         (syscall-list-default-condition): Likewise.
63477         (syscall-list-includes): Likewise.
63478         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63479         syscall-list-* with abi-*.  Handle undefined abi-variants.
63480         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63481         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63482         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63483         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63484         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63485         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63486         Removed.
63487         (syscall-list-32-options): Likewise.
63488         (syscall-list-32-condition): Likewise.
63489         (syscall-list-64-options): Likewise.
63490         (syscall-list-64-condition): Likewise.
63491         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63492         macro.
63493         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63494         Renamed to ...
63495         (abi-*): This.
63496         (abi-64-ld-soname): New macro.
63497         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63498         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63499         Renamed to ...
63500         (abi-*): This.
63501         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63502         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63504 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63506         * sysdeps/unix/sysv/linux/kernel-features.h
63507         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63508         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63509         include <kernel-features.h>.
63510         [!__NR_ftruncate64]: Remove conditional code.
63511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63512         [__NR_ftruncate64]: Make code unconditional.
63513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63514         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63515         include <kernel-features.h>.
63516         [!__NR_ftruncate64]: Remove conditional code.
63517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63518         [__NR_ftruncate64]: Make code unconditional.
63519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63521         include <kernel-features.h>.
63522         [!__NR_ftruncate64]: Remove conditional code.
63523         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63524         [__NR_ftruncate64]: Make code unconditional.
63525         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63527         include <kernel-features.h>.
63528         [!__NR_ftruncate64]: Remove conditional code.
63529         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63530         [__NR_ftruncate64]: Make code unconditional.
63531         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63533         * configure.in (libc_cv_fpie): Weaken to a compile test using
63534         LIBC_TRY_CC_OPTION.
63535         * configure: Regenerated.
63537 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63543         Refreshed.
63544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63550         Refreshed.
63552 2012-05-27  David S. Miller  <davem@davemloft.net>
63554         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63555         (___Q_zero): New.
63556         (__Q_simulate_exceptions): Return void.  Change to simulate
63557         exceptions by writing into the %fsr.
63558         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63559         (__Qp_handle_exceptions): Likewise.
63560         (numbers): Delete.
63561         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63562         __Qp_handle_exceptions.
63563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63564         __Qp_handle_exceptions.
63565         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63566         as unused and give dummy FP_RND_NEAREST initializer.
63567         (FP_INHIBIT_RESULTS): Define.
63568         (___Q_simulate_exceptions): Update declaration.
63569         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63570         formatting.
63571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63572         as unused and give dummy FP_RND_NEAREST initializer.
63573         (__Qp_handle_exceptions): Update declaration.
63574         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63575         formatting.
63577 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63579         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63580         the temporary FPU control word.
63581         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63582         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63583         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63584         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63585         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63586         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63587         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63588         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63589         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63590         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63591         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63593 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63595         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63596         fields.
63598 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63600         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63601         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63602         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63603         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63604         Likewise.
63605         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63606         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63607         Likewise.
63609 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63611         * po/h.po: Update from translation team.
63613 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63615         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63617         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63618         handling of denormals.
63619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63620         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63621         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63622         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63624         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63626         Likewise.
63628 2012-05-26  Marek Polacek  <polacek@redhat.com>
63630         [BZ #14152]
63631         * math/libm-test.inc (fma_test): Don't always expect underflow
63632         exception.
63634 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63636         [BZ #12416]
63637         * elf/tst-execstack.c: Include stackinfo.h.
63638         (do_test): Adjust test case to ensure that pthread_getattr_np
63639         behaviour remains the same after marking stack executable.
63641 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63643         * sysdeps/unix/sysv/linux/kernel-features.h
63644         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63645         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63646         kernel-features.h.
63647         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63648         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63649         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63650         kernel-features.h.
63651         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63652         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63654 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63656         * configure.in: Define the default includes to being none.
63657         * configure: Regenerated.
63659 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63661         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63662         * sysdeps/x86_64/setjmp.S: Likewise.
63663         * sysdeps/i386/bsd-setjmp.S: Likewise.
63664         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63665         * sysdeps/i386/setjmp.S: Likewise.
63666         * sysdeps/i386/__longjmp.S: Likewise.
63667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63668         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63670         * include/stap-probe.h: New file.
63671         * configure.in: Handle --enable-systemtap.
63672         * configure: Regenerated.
63673         * config.h.in (USE_STAP_PROBE): New #undef.
63674         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63675         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63676         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63678 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63680         [BZ #13717]
63681         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63682         to 2.4.0 where earlier.
63683         * sysdeps/unix/sysv/linux/configure: Regenerated.
63684         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63685         <kernel-features.h>.
63686         [__ASSUME_32BITUIDS]: Make code unconditional.
63687         [!__ASSUME_32BITUIDS]: Remove conditional code.
63688         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63689         <kernel-features.h>.
63690         [__ASSUME_32BITUIDS]: Make code unconditional.
63691         [!__ASSUME_32BITUIDS]: Remove conditional code.
63692         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63693         [__ASSUME_32BITUIDS]: Make code unconditional.
63694         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63695         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63696         <kernel-features.h>.
63697         [__ASSUME_32BITUIDS]: Make code unconditional.
63698         [!__ASSUME_32BITUIDS]: Remove conditional code.
63699         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63700         <kernel-features.h>.
63701         [__ASSUME_32BITUIDS]: Make code unconditional.
63702         [!__ASSUME_32BITUIDS]: Remove conditional code.
63703         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63704         <kernel-features.h>.
63705         [__ASSUME_32BITUIDS]: Make code unconditional.
63706         [!__ASSUME_32BITUIDS]: Remove conditional code.
63707         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63708         <kernel-features.h>.
63709         [__ASSUME_32BITUIDS]: Make code unconditional.
63710         [!__ASSUME_32BITUIDS]: Remove conditional code.
63711         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63712         <kernel-features.h>.
63713         [__ASSUME_32BITUIDS]: Make code unconditional.
63714         [!__ASSUME_32BITUIDS]: Remove conditional code.
63715         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63716         <kernel-features.h>.
63717         [__ASSUME_32BITUIDS]: Make code unconditional.
63718         [!__ASSUME_32BITUIDS]: Remove conditional code.
63719         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63720         <kernel-features.h>.
63721         [__ASSUME_32BITUIDS]: Make code unconditional.
63722         [!__ASSUME_32BITUIDS]: Remove conditional code.
63723         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63724         <kernel-features.h>.
63725         [__ASSUME_32BITUIDS]: Make code unconditional.
63726         [!__ASSUME_32BITUIDS]: Remove conditional code.
63727         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63728         <kernel-features.h>.
63729         [__ASSUME_32BITUIDS]: Make code unconditional.
63730         [!__ASSUME_32BITUIDS]: Remove conditional code.
63731         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63732         <kernel-features.h>.
63733         [__ASSUME_32BITUIDS]: Make code unconditional.
63734         [!__ASSUME_32BITUIDS]: Remove conditional code.
63735         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63736         <kernel-features.h>.
63737         [__NR_setresgid] (__setresgid): Do not declare.
63738         [__ASSUME_32BITUIDS]: Make code unconditional.
63739         [!__ASSUME_32BITUIDS]: Remove conditional code.
63740         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63741         <kernel-features.h>.
63742         [__NR_setresuid] (__setresuid): Do not declare.
63743         [__ASSUME_32BITUIDS]: Make code unconditional.
63744         [!__ASSUME_32BITUIDS]: Remove conditional code.
63745         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63746         <kernel-features.h>.
63747         [__ASSUME_32BITUIDS]: Make code unconditional.
63748         [!__ASSUME_32BITUIDS]: Remove conditional code.
63749         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63750         <kernel-features.h>.
63751         [__ASSUME_32BITUIDS]: Make code unconditional.
63752         [!__ASSUME_32BITUIDS]: Remove conditional code.
63753         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63754         <kernel-features.h>.
63755         [__ASSUME_32BITUIDS]: Make code unconditional.
63756         [!__ASSUME_32BITUIDS]: Remove conditional code.
63757         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63758         <kernel-features.h>.
63759         [__ASSUME_32BITUIDS]: Make code unconditional.
63760         [!__ASSUME_32BITUIDS]: Remove conditional code.
63761         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63762         <kernel-features.h>.
63763         [__ASSUME_32BITUIDS]: Make code unconditional.
63764         [!__ASSUME_32BITUIDS]: Remove conditional code.
63765         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63766         <kernel-features.h>.
63767         [__ASSUME_32BITUIDS]: Make code unconditional.
63768         [!__ASSUME_32BITUIDS]: Remove conditional code.
63769         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63770         <kernel-features.h>.
63771         [__ASSUME_32BITUIDS]: Make code unconditional.
63772         [!__ASSUME_32BITUIDS]: Remove conditional code.
63773         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63774         <kernel-features.h>.
63775         [__ASSUME_32BITUIDS]: Make code unconditional.
63776         [!__ASSUME_32BITUIDS]: Remove conditional code.
63777         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63778         <kernel-features.h>.
63779         [__ASSUME_32BITUIDS]: Make code unconditional.
63780         [!__ASSUME_32BITUIDS]: Remove conditional code.
63781         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63782         <kernel-features.h>.
63783         [__ASSUME_32BITUIDS]: Make code unconditional.
63784         [!__ASSUME_32BITUIDS]: Remove conditional code.
63785         * sysdeps/unix/sysv/linux/kernel-features.h
63786         (__ASSUME_SETRESUID_SYSCALL): Remove.
63787         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63788         (__ASSUME_32BITUIDS): Likewise.
63789         (__ASSUME_LDT_WORKS): Likewise.
63790         (__ASSUME_O_DIRECTORY): Likewise.
63791         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63792         architecture but not kernel version.
63793         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63794         (__ASSUME_MMAP2_SYSCALL): Likewise.
63795         (__ASSUME_STAT64_SYSCALL): Likewise.
63796         (__ASSUME_IPC64): Likewise.
63797         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63798         <kernel-features.h>.
63799         [__ASSUME_32BITUIDS]: Make code unconditional.
63800         [!__ASSUME_32BITUIDS]: Remove conditional code.
63801         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63802         <kernel-features.h>.
63803         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63804         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63805         132096]: Remove conditional code.
63806         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63807         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63808         <kernel-features.h>.
63809         [__ASSUME_32BITUIDS]: Make code unconditional.
63810         [!__ASSUME_32BITUIDS]: Remove conditional code.
63811         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63812         <kernel-features.h>.
63813         [__ASSUME_32BITUIDS]: Make code unconditional.
63814         [!__ASSUME_32BITUIDS]: Remove conditional code.
63815         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63816         <kernel-features.h>.
63817         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63818         unconditional.
63819         (__setresgid): Do not declare.
63820         [__ASSUME_32BITUIDS]: Make code unconditional.
63821         [!__ASSUME_32BITUIDS]: Remove conditional code.
63822         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63823         <kernel-features.h>.
63824         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63825         unconditional.
63826         (__setresuid): Do not declare.
63827         [__ASSUME_32BITUIDS]: Make code unconditional.
63828         [!__ASSUME_32BITUIDS]: Remove conditional code.
63829         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63830         <kernel-features.h>.
63831         [__ASSUME_32BITUIDS]: Make code unconditional.
63832         [!__ASSUME_32BITUIDS]: Remove conditional code.
63833         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63834         <kernel-features.h>.
63835         [__ASSUME_32BITUIDS]: Make code unconditional.
63836         [!__ASSUME_32BITUIDS]: Remove conditional code.
63838 2012-05-25  Richard Henderson  <rth@twiddle.net>
63840         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63841         dl_hwcap to ifunc resolver.
63842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63843         elf_ifunc_invoke.
63844         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63845         dl_hwcap to ifunc resolver.
63846         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63848 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63850         [BZ #14153]
63851         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63852         for |x| <= 2**-26, not 2**-57.
63853         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63854         exception.
63856 2012-05-24  Jeff Law  <law@redhat.com>
63858         * stdio-common/Makefile (tests): Add bug25.
63859         * stdio-common/bug25.c: New test.
63861 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63863         [BZ #13576]
63864         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63865         multiple of MALLOC_ALIGNMENT in size.
63866         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63868 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63870         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63871         Require >= 256.
63872         (FILENAME_MAX): Use macro-int-constant.
63873         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63874         (_IOFBF): Use macro-int-constant.
63875         (_IOLBF): Likewise.
63876         (_IONBF): Likewise.
63877         (SEEK_CUR): Likewise.
63878         (SEEK_END): Likewise.
63879         (SEEK_SET): Likewise.
63880         (TMP_MAX): Likewise.
63881         (EOF): Use macro-int-constant.  Require < 0.
63882         (NULL): Use macro-constant.  Require == 0.
63883         (stdin): Require type to be FILE *.
63884         (stdout): Likewise.
63885         (stderr): Likewise.
63886         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63887         macro-int-constant.
63888         (EXIT_SUCCESS): Likewise.
63889         (NULL): Use macro-constant.  Require == 0.
63890         (RAND_MAX): Use macro-int-constant.
63891         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63892         [C99-based standards] (strtof): Require function.
63893         [C99-based standards] (strtold): Likewise.
63894         [C99-based standards] (strtoll): Likewise.
63895         [C99-based standards] (strtoull): Likewise.
63896         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63897         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63898         [ISO || ISO99 || ISO11] (math.h): Likewise.
63899         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63900         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63903 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63905         [BZ #14132]
63906         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63907         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63908         * intl/dgettext.c (DCGETTEXT): Likewise.
63909         * intl/gettext.c (DCGETTEXT): Likewise.
63910         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63911         * posix/regex_internal.h (gettext): Likewise.
63912         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63913         Remove declaration.
63914         * include/argz.h (__argz_count_internal)
63915         (__argz_stringify_internal): Remove declaration.
63916         (__argz_count, __argz_stringify): Declare hidden proto.
63917         * intl/dcgettext.c: Remove use of INTDEF.
63918         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63919         * string/argz-stringify.c: Likewise.
63920         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63921         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63922         Declare hidden proto.
63923         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63924         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63925         Declare hidden proto.
63926         * include/stdio.h (__asprintf_internal): Don't declare.
63927         (__asprintf): Don't define as macro.  Declare hidden proto.
63928         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63929         (__fsetlocking): Declare hidden proto.
63930         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63931         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63932         hidden proto.
63933         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63934         (_IO_setlinebuf): Remove use of INTUSE.
63935         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63936         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63937         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63938         Remove declaration.
63939         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63940         (_IO_do_flush): Remove use of INTUSE.
63941         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63942         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63943         (_IO_adjust_column, _IO_least_wmarker)
63944         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63945         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63946         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63947         (_IO_default_doallocate, _IO_wdefault_doallocate)
63948         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63949         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63950         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63951         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63952         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63953         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63954         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63955         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63956         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63957         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63958         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63959         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63960         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63961         proto.
63962         (_IO_flush_all_internal, _IO_adjust_column_internal)
63963         (_IO_default_uflow_internal, _IO_default_finish_internal)
63964         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63965         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63966         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63967         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63968         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63969         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63970         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63971         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63972         (_IO_file_close_internal, _IO_file_close_it_internal)
63973         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63974         (_IO_file_init_internal, _IO_file_attach_internal)
63975         (_IO_file_fopen_internal, _IO_file_read_internal)
63976         (_IO_file_sync_internal, _IO_file_seek_internal)
63977         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63978         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63979         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63980         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63981         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63982         (_IO_list_all_internal, _IO_link_in_internal)
63983         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63984         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63985         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63986         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63987         (_IO_do_write_internal, _IO_padn_internal)
63988         (_IO_getline_info_internal, _IO_getline_internal)
63989         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63990         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63991         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63992         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63993         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63994         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63995         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63996         with libc_hidden_ver, remove use of INTUSE.
63997         * libio/genops.c: Likewise.
63998         * libio/freopen.c: Likewise.
63999         * libio/freopen64.c: Likewise.
64000         * libio/iofclose.c: Likewise.
64001         * libio/iofdopen.c: Likewise.
64002         * libio/iofflush.c: Likewise.
64003         * libio/iofflush_u.c: Likewise.
64004         * libio/iofgets.c: Likewise.
64005         * libio/iofgets_u.c: Likewise.
64006         * libio/iofopen.c: Likewise.
64007         * libio/iofopncook.c: Likewise.
64008         * libio/iofread.c: Likewise.
64009         * libio/iofread_u.c: Likewise.
64010         * libio/ioftell.c: Likewise.
64011         * libio/iofwrite.c: Likewise.
64012         * libio/iogetline.c: Likewise.
64013         * libio/iogets.c: Likewise.
64014         * libio/iogetwline.c: Likewise.
64015         * libio/iopadn.c: Likewise.
64016         * libio/iopopen.c: Likewise.
64017         * libio/ioseekoff.c: Likewise.
64018         * libio/ioseekpos.c: Likewise.
64019         * libio/iosetbuffer.c: Likewise.
64020         * libio/iosetvbuf.c: Likewise.
64021         * libio/ioungetc.c: Likewise.
64022         * libio/ioungetwc.c: Likewise.
64023         * libio/iovdprintf.c: Likewise.
64024         * libio/iovsprintf.c: Likewise.
64025         * libio/iovsscanf.c: Likewise.
64026         * libio/memstream.c: Likewise.
64027         * libio/obprintf.c: Likewise.
64028         * libio/oldfileops.c: Likewise.
64029         * libio/oldiofclose.c: Likewise.
64030         * libio/oldiofdopen.c: Likewise.
64031         * libio/oldiofopen.c: Likewise.
64032         * libio/oldiopopen.c: Likewise.
64033         * libio/oldstdfiles.c: Likewise.
64034         * libio/putc.c: Likewise.
64035         * libio/setbuf.c: Likewise.
64036         * libio/setlinebuf.c: Likewise.
64037         * libio/stdfiles.c: Likewise.
64038         * libio/strops.c: Likewise.
64039         * libio/vasprintf.c: Likewise.
64040         * libio/vscanf.c: Likewise.
64041         * libio/vsnprintf.c: Likewise.
64042         * libio/vswprintf.c: Likewise.
64043         * libio/wfiledoalloc.c: Likewise.
64044         * libio/wfileops.c: Likewise.
64045         * libio/wgenops.c: Likewise.
64046         * libio/wmemstream.c: Likewise.
64047         * libio/wstrops.c: Likewise.
64048         * libio/__fpurge.c: Likewise.
64049         * libio/__fsetlocking.c: Likewise.
64050         * assert/assert.c: Likewise.
64051         * debug/fgets_chk.c: Likewise.
64052         * debug/fgets_u_chk.c: Likewise.
64053         * debug/fread_chk.c: Likewise.
64054         * debug/fread_u_chk.c: Likewise.
64055         * debug/gets_chk.c: Likewise.
64056         * debug/obprintf_chk.c: Likewise.
64057         * debug/vasprintf_chk.c: Likewise.
64058         * debug/vdprintf_chk.c: Likewise.
64059         * debug/vsnprintf_chk.c: Likewise.
64060         * debug/vsprintf_chk.c: Likewise.
64061         * malloc/mtrace.c: Likewise.
64062         * misc/error.c: Likewise.
64063         * misc/syslog.c: Likewise.
64064         * stdio-common/asprintf.c: Likewise.
64065         * stdio-common/fxprintf.c: Likewise.
64066         * stdio-common/getw.c: Likewise.
64067         * stdio-common/isoc99_fscanf.c: Likewise.
64068         * stdio-common/isoc99_scanf.c: Likewise.
64069         * stdio-common/isoc99_vfscanf.c: Likewise.
64070         * stdio-common/isoc99_vscanf.c: Likewise.
64071         * stdio-common/isoc99_vsscanf.c: Likewise.
64072         * stdio-common/printf-prs.c: Likewise.
64073         * stdio-common/printf_fp.c: Likewise.
64074         * stdio-common/printf_fphex.c: Likewise.
64075         * stdio-common/printf_size.c: Likewise.
64076         * stdio-common/putw.c: Likewise.
64077         * stdio-common/scanf.c: Likewise.
64078         * stdio-common/sprintf.c: Likewise.
64079         * stdio-common/tmpfile.c: Likewise.
64080         * stdio-common/vfprintf.c: Likewise.
64081         * stdio-common/vfscanf.c: Likewise.
64082         * stdlib/strfmon_l.c: Likewise.
64083         * sunrpc/openchild.c: Likewise.
64084         * sunrpc/xdr_stdio.c: Likewise.
64085         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64086         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64088 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64090         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64092         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64093         in the third column, to generate for the shared library an IFUNC
64094         that uses _dl_vdso_vsym.
64095         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64096         * Makeconfig (object-suffixes-noshared): New variable.
64098         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64099         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64100         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64101         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64103         [BZ #14132]
64104         * include/sys/time.h (__gettimeofday): Remove macro.
64105         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64106         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64107         Remove INTDEF.
64108         (__gettimeofday): Add libc_hidden_def.
64109         (gettimeofday): Add libc_hidden_weak.
64110         * sysdeps/mach/gettimeofday.c: Likewise.
64111         * sysdeps/posix/gettimeofday.c: Likewise.
64112         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64113         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64115         (__gettimeofday_internal): Remove strong_alias.
64116         (__gettimeofday): Add libc_hidden_def.
64117         (gettimeofday): Add libc_hidden_weak.
64118         * sysdeps/unix/syscalls.list (gettimeofday):
64119         Remove __gettimeofday_internal alias.
64121 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64122             H.J. Lu  <hongjiu.lu@intel.com>
64124         [BZ #12495]
64125         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64126         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64127         (largebin_index_32_big): New.
64128         (largebin_index): Use it for 16-byte alignment.
64129         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64130         correction with front_misalign.
64132 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64136         Likewise.
64137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64138         Likewise.
64139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64140         Likewise.
64141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64142         Likewise.
64143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64144         Likewise.
64145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64146         Likewise.
64147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64148         Likewise.
64149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64150         Likewise.
64151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64152         Likewise.
64153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64154         Likewise.
64155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64156         Likewise.
64157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64158         Likewise.
64160         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64161         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64163 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64165         [BZ #10846]
64166         [BZ #14036]
64167         * math/libm-test.inc (exp_test): Add test from bug 14036.
64168         (pow_test): Add test from bug 10846.
64170         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64171         and other flags.
64172         (special_function): Do not include flags in test name.
64173         (parse_args): Likewise.
64174         * sysdeps/i386/fpu/libm-test-ulps: Update.
64175         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64176         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64177         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64180         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64181         exceptions.
64182         * math/libm-test.inc ("Philosophy"): Update comment about
64183         exception testing.
64184         (UNDERFLOW_EXCEPTION): New macro.
64185         (UNDERFLOW_EXCEPTION_OK): Likewise.
64186         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64187         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64188         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64189         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64190         (INVALID_EXCEPTION_OK): Update value.
64191         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64192         (OVERFLOW_EXCEPTION_OK): Likewise.
64193         (IGNORE_ZERO_INF_SIGN): Likewise.
64194         (test_exceptions): Handle underflow exceptions.
64195         (acos_test): Update for underflow exception expectations.
64196         (cexp_test): Likewise.
64197         (clog_test): Likewise.
64198         (clog10_test): Likewise.
64199         (csqrt_test): Likewise.
64200         (ctan_test): Likewise.
64201         (ctanh_test): Likewise.
64202         (exp_test): Likewise.
64203         (exp10_test): Likewise.
64204         (exp2_test): Likewise.
64205         (expm1_test): Likewise.
64206         (fma_test): Likewise.
64207         (j0_test): Likewise.
64208         (jn_test): Likewise.
64209         (nexttoward_test): Likewise.
64210         (pow_test): Likewise.
64211         (scalbn_test): Likewise.
64212         (scalbln_test): Likewise.
64213         (tan_test): Likewise.
64214         (y1_test): Likewise.
64215         * sysdeps/i386/fpu/libm-test-ulps: Update.
64216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64218 2012-05-23  David S. Miller  <davem@davemloft.net>
64220         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64221         (__libc_sigaction): Remove unused local variables.
64223 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64225         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64227 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64229         mktime: avoid signed integer overflow
64230         * time/mktime.c (__mktime_internal): Do not mishandle the case
64231         where diff == INT_MIN.
64233         mktime: simplify computation of average
64234         * time/mktime.c (ranged_convert): Use new time_t_avg function
64235         instead of rolling our own (probably-slower) code.
64237         mktime: do not assume signed right shift propagates sign bit
64238         * time/mktime.c (isdst_differ): New static function.
64239         (__mktime_internal): No need to normalize tm_isdst now.
64240         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64241         tm_isdst values.
64243         mktime: merge another wrapv change from gnulib
64244         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64245         from some compilers.
64247         mktime: remove incorrect attempt at unusual arithmetics
64248         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64249         The code didn't really work on such machines anyway.
64250         (TYPE_MINIMUM): Assume two's complement.
64251         (twos_complement_arithmetic): Verify that long_int and time_t
64252         are two's complement (or unsigned, in the latter case).
64254         mktime: check signed shifts on long_int and time_t, too
64255         * time/mktime.c (SHR): Check that shifts work as desired
64256         on the types long_int and time_t too, as SHR is used on
64257         such types.
64259         mktime: do not assume 'long' is wide enough
64260         * time/mktime.c (verify): Move decl up.
64261         (long_int): New type.
64262         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64263         to remove assumption in the code that 'long' is wide enough to
64264         store year values.  This assumption is not true on x32 and on
64265         some non-glibc platforms.
64267         mktime: merge wrapv change from gnulib
64268         * time/mktime.c (WRAPV): New macro.
64269         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64270         (guess_time_tm, __mktime_internal): Do not assume that signed
64271         integer overflow wraps around; modern compilers generate code
64272         where this assumption is no longer valid.
64274 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64276         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64277         Replace "jmp L(pseudo_end)" with "ret".
64278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64279         Likewise.
64281 2012-05-23  Andreas Jaeger  <aj@suse.de>
64283         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64284         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64286 2012-05-23  Andreas Jaeger  <aj@suse.de>
64287             Maximilian Attems  <max@stro.at>
64289         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64290         New macros.
64292 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64294         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64295         code so that pseudo_end is just ret and the stack pointer is
64296         correct also for static library in error case.
64298 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64300         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64301         move to syscalls.list.
64302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64307         * manual/install.texi (Running make install): Do not mention Linux
64308         kernel version for which pt_chown is not needed.
64309         (Linux): Do not mention problems with nscd with 2.0 kernels.
64310         * INSTALL: Regenerated.
64312 2012-05-23  Andreas Jaeger  <aj@suse.de>
64314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64315         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64316         macro.
64317         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64318         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64319         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64320         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64321         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64322         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64323         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64324         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64325         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64326         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64327         * sysdeps/unix/sysv/linux/bits/in.h
64328         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64330 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64332         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64333         (PREPARE_VERSION): Just use assert instead, it will be elided
64334         under [NDEBUG] anyway.
64336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64338         * sysdeps/unix/sysv/linux/Makefile: Include
64339         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64340         (sysdep_routines): Remove sysctl.
64341         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64342         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64343         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64344         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64345         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64347 2012-05-22  Andreas Jaeger  <aj@suse.de>
64349         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64350         that pseudo_end is just ret and the stack pointer is correct also
64351         for static library in error case.
64353 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64355         [BZ #14122]
64356         * nss/nsswitch.c (defconfig_entries): New variable.
64357         (__nss_database_lookup): Don't leak defconfig entries.
64358         (nss_parse_service_list): Don't leak on error paths.
64359         (free_database_entries): New function.
64360         (free_defconfig): New function.
64361         (free_mem): Move common code to free_database_entries.
64363 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64365         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64366         Add arch_prctl.
64367         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64369         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64370         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64372         New macro.
64373         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64374         (INTERNAL_SYSCALL_TYPES): Likewise.
64375         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64376         (LOAD_REGS_TYPES_[1-6]): Likewise.
64377         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64378         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64380 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64382         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64383         copysignl for GLIBC_2_0.
64384         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64385         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64387         logbl for GLIBC_2_0.
64388         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64389         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64393         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64394         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64396         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64397         Use "neg %eax".
64399         * time/mktime.c: Update copyright years.
64401 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64403         mktime: merge comment-quoting-style change from gnulib
64404         * time/mktime.c: Quote 'like this' in comments.
64405         The GNU coding standards suggest that we no longer quote `like this',
64406         as "`" and "'" are typically rendered asymmetrically nowadays.
64407         The typical gnulib style is to quote 'like this' when quoting
64408         code, and "like this" when quoting English.
64410         * time/mktime.c (compile-command): Add "-I.".
64412         mktime: merge mktime-internal.h change from gnulib
64413         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64415         mktime: merge time_r change from gnulib
64416         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64418         mktime: merge DEBUG change from gnulib
64419         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64420         case system <time.h> has a #define.
64422         mktime: merge <sys/types.h> change from gnulib
64423         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64424         since <time.t> is now guaranteed to define time_t.
64426         mktime: merge HAVE_CONFIG_H change from gnulib
64427         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64432         Use "neg %eax".
64434         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64435         __rlim_t cast.
64436         (struct rusage): Use anonymous union to pad each field to
64437         __syscall_slong_t.
64439 2012-05-21  David S. Miller  <davem@davemloft.net>
64441         * Makefules (o-iterator): Remove .s cases.
64442         (compile-command.s): Delete.
64443         (COMPILE.s): Delete.
64444         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64446 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64448         * configure.in (libc_cv_predef_stack_protector): Only consider
64449         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64450         * configure: Regenerated.
64452 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64455         New macro.  Use R*LP on int and pointer.
64456         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64457         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64458         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64459         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64461         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64462         [__WORDSIZE_TIME64_COMPAT32] instead of
64463         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64464         (struct utmp): Likewise.
64465         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64466         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64467         Renamed to ...
64468         (__WORDSIZE_TIME64_COMPAT32): This.
64469         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64470         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64471         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64472         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64473         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64474         (__WORDSIZE_TIME64_COMPAT32): New macro.
64476 2012-05-21  Andreas Jaeger  <aj@suse.de>
64478         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64479         only if [SHARED]. Add prototype for __wcschr_ia32.
64481 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64483         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64484         of %rbp unmolested in the jmp_buf while mangling the low bits.
64485         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64486         unmolested high bits of %rbp while demangling the low bits.
64487         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64489 2012-05-21  Andreas Jaeger  <aj@suse.de>
64491         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64492         * sunrpc/svc_simple.c: Use it for registerrpc.
64493         * sunrpc/xcrypt.c: Use it for passwd2des.
64495         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64497 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64499         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64500         Don't define if [__SYSCALL_WORDSIZE != 32].
64501         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64502         New macro.
64504 2012-05-21  Bruno Haible  <bruno@clisp.org>
64505             Andreas Jaeger  <aj@suse.de>
64507         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64508         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64509         inptr and inend for must_buffer_ch.
64510         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64511         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64512         * stdio-common/Makefile (tests): Remove bug15.
64513         (bug15-ENV): Remove macro.
64514         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64515         anymore.
64517 2012-05-19  Andreas Jaeger  <aj@suse.de>
64518             Roland McGrath  <roland@hack.frob.com>
64520         * manual/contrib.texi: Completely rewritten. It contains now an
64521         alphabetical list of contributors and their contributions.
64523 2012-05-21  Richard Henderson  <rth@twiddle.net>
64525         * misc/getauxval.c (__getauxval): Use unsigned long int.
64526         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64527         (getauxval): Use unsigned long int.
64529 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64531         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64533 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64535         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64536         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64537         __alignof__ (long double).
64539 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64543 2012-05-20  Richard Henderson  <rth@twiddle.net>
64545         * misc/getauxval.c: New file.
64546         * misc/sys/auxv.h: New file.
64547         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64548         (routines): Add getauxval.
64549         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64550         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64551         * elf/dl-sysdep.c (_dl_auxv): Remove.
64552         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64553         * elf/dl-support.c (_dl_auxv): New variable.
64554         (_dl_aux_init): Initialize it.
64555         * manual/startup.texi (Auxiliary Vector): New node.
64556         * sysdeps/generic/bits/hwcap.h: New file.
64557         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64558         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64559         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64560         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64561         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64562         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64564         Update.
64565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64574 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64578 2012-05-19  David S. Miller  <davem@davemloft.net>
64580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64582 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64584         [BZ #14123]
64585         * math/s_ccosh.c: Include <float.h>
64586         (__ccosh): Avoid internal overflow calculating sinh and cosh
64587         values before multiplying by sin and cos values.
64588         * math/s_ccoshf.c: Likewise.
64589         * math/s_ccoshl.c: Likewise.
64590         * math/s_csin.c: Likewise.
64591         * math/s_csinf.c: Likewise.
64592         * math/s_csinl.c: Likewise.
64593         * math/s_csinh.c: Likewise.
64594         * math/s_csinhf.c: Likewise.
64595         * math/s_csinhl.c: Likewise.
64596         * math/libm-test.inc (ccos_test): Add more tests.
64597         (ccosh_test): Likewise.
64598         (csin_test): Likewise.
64599         (csinh_test): Likewise.
64600         * sysdeps/i386/fpu/libm-test-ulps: Update.
64601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64603 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64605         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64606         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64608         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64610 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64612         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64613         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64614         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64615         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64616         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64617         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64618         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64619         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64620         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64621         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64622         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64623         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64624         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64625         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64626         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64627         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64628         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64629         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64630         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64631         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64632         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64633         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64634         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64635         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64636         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64637         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64638         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64639         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64640         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64641         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64642         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64644 2012-05-18  Andreas Jaeger  <aj@suse.de>
64646         * csu/.gitignore: Delete.
64648 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64650         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64651         (timex): Use __syscall_slong_t.
64653 2012-05-18  Andreas Jaeger  <aj@suse.de>
64654             Carlos O'Donell  <carlos_odonell@mentor.com>
64656         * manual/install.texi (Configuring and compiling): Update
64657         description about files modified in the source directory.
64658         * INSTALL: Regenerated.
64660 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64662         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64663         value.  Use "or" to set return value to -1.
64664         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64665         negate return value.
64667 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64669         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64670         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64671         failure if the compiler has Graphite support disabled.
64672         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64673         Likewise.
64674         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64675         (CFLAGS-memmove.c): Likewise.
64676         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64677         Likewise.
64679 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64681         * sysdeps/x86_64/x32/_itoa.h: New file.
64683         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64684         getdents system call only if kernel and user dirents have the
64685         same d_ino and d_off.
64687         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64688         LLONG_MAX != LONG_MAX.
64689         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64690         (_fitoa_word): Likewise.
64692         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64693         years.
64694         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64695         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64696         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64698         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64699         include <bits/wordsize.h>.  Check __x86_64__ instead of
64700         __WORDSIZE.
64701         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64702         if __x86_64__ is defined.  Use anonymous union on fpstate.
64704         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64705         anonymous union.
64707 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64709         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64710         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64711         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64712         Refer to _rtld_local_ro instead of _rtld_global_ro.
64713         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64714         Likewise.
64715         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64716         Likewise.
64717         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64718         Likewise.
64719         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64720         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64721         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64723         [BZ #10882]
64724         * sysdeps/powerpc/powerpc32/dl-machine.c
64725         (__elf_machine_runtime_setup) [PROF]: Don't reference
64726         _dl_prof_resolve.
64728 2012-05-18  Andreas Jaeger  <aj@suse.de>
64730         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64731         function only available for GCCs before 3.4 since GCC 3.4
64732         introduced a builtin.
64733         (lrint): Likewise.
64734         (llrintf): Likewise.
64735         (llrint): Likewise.
64736         (fmaxf): Likewise.
64737         (fmax): Likewise.
64738         (fminf): Likewise.
64739         (fmin): Likewise.
64740         (rint): Likewise.
64741         (rintf): Likewise.
64742         (nearbyint): Likewise.
64743         (nearbyintf): Likewise.
64744         (ceil): Likewise.
64745         (ceilf): Likewise.
64746         (floor): Likewise.
64747         (floorf): Likewise.
64749 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64751         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64752         on both fields and cast pointer to __syscall_ulong_t.
64754         * bits/types.h (__fsword_t): New type.
64755         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64756         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64757         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64758         (__FSWORD_T_TYPE): Likewise.
64759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64760         (__FSWORD_T_TYPE): Likewise.
64761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64762         (__FSWORD_T_TYPE): Likewise.
64763         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64764         (__FSWORD_T_TYPE): Likewise.
64765         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64766         __SWORD_TYPE with __fsword_t.
64767         (statfs64): Likewise.
64769 2012-05-17  David S. Miller  <davem@davemloft.net>
64771         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64773 2012-05-17  Andreas Jaeger  <aj@suse.de>
64775         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64776         warning.
64778 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64780         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64782 2012-05-17  Andreas Jaeger  <aj@suse.de>
64784         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64785         when it is used.
64787 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64789         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64791 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64793         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64794         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64796 2012-05-17  Andreas Jaeger  <aj@suse.de>
64797             Carlos O'Donell  <carlos_odonell@mentor.com>
64799         [BZ #14059]
64800         * sysdeps/x86_64/multiarch/init-arch.h
64801         (bit_YMM_Usable): Rename to...
64802         (bit_AVX_Usable): ... this.
64803         (bit_FMA4_Usable): New macro.
64804         (bit_XMM_state): New macro.
64805         (bit_YMM_state): New macro.
64806         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64807         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64808         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64809         (CPUID_OSXSAVE): New macro.
64810         (CPUID_AVX): New macro.
64811         (CPUID_FMA4): New macro.
64812         (index_YMM_Usable): Rename to...
64813         (index_AVX_Usable): ... this.
64814         (HAS_AVX): Use HAS_ARCH_FEATURE.
64815         (HAS_FMA4): Likewise.
64816         (HAS_YMM_USABLE): Remove.
64817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64818         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64819         are present.
64820         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64821         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64822         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64823         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64824         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64826 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64828         * math/libm-test.c: Support platforms without multiple rounding modes.
64829         * math/bug-nextafter.c: Support platforms without FP exceptions.
64830         * math/bug-nexttoward.c: Likewise.
64831         * math/test-fenv.c: Likewise.
64832         * math/test-misc.c: Likewise.
64833         * stdlib/bug-getcontext.c: Likewise.
64835 2012-05-17  Andreas Jaeger  <aj@suse.de>
64837         * manual/examples/search.c (critter_cmp): Change signature to
64838         avoid warnings.
64839         * manual/string.texi (Collation Functions): Likewise.
64841 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64843         * bits/types.h: Fold copyright years.
64844         * bits/typesizes.h: Likewise.
64845         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64848         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64849         * time/time.h: Likewise.
64851 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64853         [BZ #208]
64854         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64855         in instead of returning them.  Return void.
64856         (__libc_mallinfo): Accumulate over all arenas.
64857         (__malloc_stats): Adjust for change in int_mallinfo interface.
64859 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64861         [BZ #10375]
64862         * configure.in (NM): Add AC_CHECK_TOOL for it.
64863         (libc_extra_cflags): New substituted variable.
64864         Check for -fstack-protector being used implicitly.
64865         * configure: Regenerated.
64866         * config.make.in (config-extra-cflags): New variable,
64867         gets @libc_extra_cflags@.
64868         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64870         [BZ #10375]
64871         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64872         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64873         * configure: Regenerated.
64874         * config.make.in (CPPUNDEFS): New substituted variable.
64875         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64876         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64877         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64881         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64882         (mq_attr): Use __syscall_slong_t.
64884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64887         Check __x86_64__ instead of __WORDSIZE.
64888         (_STAT_VER_LINUX): Likewise.
64889         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64890         __syscall_ulong_t and __syscall_slong_t.
64891         (stat64): Likewise.
64893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64899         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64901 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64903         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64904         __syscall_ulong_t.
64906         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64907         include <bits/wordsize.h>.  Check __x86_64__ instead of
64908         __WORDSIZE.
64909         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64910         defined.
64911         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64914         include <bits/wordsize.h>.  Check __x86_64__ instead of
64915         __WORDSIZE.
64916         (user_regs_struct): Use "__extension__ unsigned long long"
64917         instead of "unsigned long" if __x86_64__ is defined.
64918         (user): Likewise.  Pad after pointer field if __ILP32__ is
64919         defined.
64921 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64923         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64924         versions 5 to 9.
64925         * configure: Regenerated.
64926         * manual/install.texi (texinfo): Increase version requirement to
64927         4.5 or later.
64928         * INSTALL: Regenerated.
64930         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64934         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64936         * sysdeps/x86_64/x32/ffs.c: New file.
64938         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64939         __syscall_ulong_t.
64940         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64941         defined.  Use __syscall_ulong_t.
64942         (shminfo): Use __syscall_ulong_t.
64943         (shm_info): Likewise.
64945         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64946         __syscall_ulong_t.
64948         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64949         <bits/wordsize.h>.
64950         (msgqnum_t): Use __syscall_ulong_t.
64951         (msglen_t): Likewise.
64952         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64953         __syscall_ulong_t.
64955         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64956         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64958         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64960         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64961         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64963         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64964         __syscall_slong_t.
64966         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64967         include <bits/wordsize.h>.  Check __x86_64__ instead of
64968         __WORDSIZE.
64970         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64971         "unsigned long long int" if __x86_64__ is defined.
64972         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64974         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64975         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64976         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64978         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64979         <stdint.h>.
64980         (GET_PC): Cast to uintptr_t first.
64981         (GET_FRAME): Likewise.
64982         (GET_STACK): Likewise.
64984         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64985         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64986         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64987         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64988         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64989         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64990         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64991         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64992         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64993         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64994         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64995         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64996         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64997         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64999         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65000         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65001         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65002         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65003         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65004         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65005         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65006         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65007         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65008         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65009         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65010         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65011         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65012         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65014 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65016         * Makerules (+depfiles): Also collect depfiles from .oS in
65017         $(extra-objs).
65018         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65019         .oS, $(libnldbl-routines)).
65021         * Makerules (native-compile-mkdep-flags): Define.
65022         * sunrpc/Makefile (extra-objs): Add $(addprefix
65023         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65024         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65025         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65026         calling $(make-target-directory).
65028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65030         * bits/types.h (__snseconds_t): Removed.
65031         * time/time.h (struct timespec): Replace __snseconds_t with
65032         __syscall_slong_t.
65033         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65034         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65035         Likewise.
65036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65037         (__SNSECONDS_T_TYPE): Likewise.
65038         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65039         (__SNSECONDS_T_TYPE): Likewise.
65040         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65041         (__SNSECONDS_T_TYPE): Likewise.
65043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65045         * sysdeps/mach/hurd/bits/typesizes.h
65046         (__SYSCALL_SLONG_TYPE): New macro.
65047         (__SYSCALL_ULONG_TYPE): Likewise.
65049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65051         * bits/types.h (__syscall_slong_t): New type.
65052         (__syscall_ulong_t): Likewise.
65054         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65055         (__SYSCALL_ULONG_TYPE): Likewise.
65056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65057         (__SYSCALL_SLONG_TYPE): Likewise.
65058         (__SYSCALL_ULONG_TYPE): Likewise.
65059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65060         (__SYSCALL_SLONG_TYPE): Likewise.
65061         (__SYSCALL_ULONG_TYPE): Likewise.
65062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65063         (__SYSCALL_SLONG_TYPE): Likewise.
65064         (__SYSCALL_ULONG_TYPE): Likewise.
65066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65068         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65069         Add sigaltstack-offsets.sym.
65070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65071         <sigaltstack-offsets.h>.
65072         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65073         longjmp_msg pointer.
65074         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65075         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65076         signal stack.
65077         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65079 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65081         * elf/stackguard-macros.h: Remove file.
65082         * sysdeps/generic/stackguard-macros.h: New file.
65083         * sysdeps/i386/stackguard-macros.h: Likewise.
65084         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65085         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65086         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65087         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65088         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65089         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65090         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65091         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65092         <elf/stackguard-macros.h>.
65094         [BZ #14109]
65095         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65096         __aligned__ in attribute.
65097         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65098         (gregset_t): Likewise.
65100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65102         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65103         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65104         * sysdeps/x86_64/x32/Implies-after: New file.
65106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65108         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65109         and access return value for _dl_profile_fixup.  Use R10_LP to
65110         load frame size.
65112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65114         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65118         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65119         * sysdeps/x86_64/x32/sysdep.h: New file.
65121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65123         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65124         * sysdeps/x86_64/setjmp.S: Likewise.
65126 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65129         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65130         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65131         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65132         remove unused global constant.
65134 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65136         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65137         include of <not-cancel.h>.
65139 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65141         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65143 2012-05-15  Jeff Law  <law@redhat.com>
65144             Andreas Jaeger  <aj@suse.de>
65146         [BZ #13594]
65147         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65148         out from...
65149         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65150         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65151         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65152         code changing __hst_map_handle.map.
65154 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65156         * configure.in (sysnames): Look for Implies-before and Implies-after
65157         files.
65158         * configure: Regenerated.
65160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65162         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65163         8-byte data alignment with LP_SIZE alignment.
65165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65167         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65168         into R10_LP.
65170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65172         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65176         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65177         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65178         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65179         Likewise.
65180         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65184         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65185         (stackinfo_sub_sp): Likewise.
65187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65189         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65190         RAX_LP.
65192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65194         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65195         into R*_LP.
65197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65199         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65200         sizes into R*_LP.
65202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65204         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65208         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65209         into R11_LP and load __x86_64_shared_cache_size_half into
65210         R8_LP.
65212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65214         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65215         R8_LP.
65217 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65219         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65220         logb for POWER7.
65221         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65222         logbf for POWER7.
65223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65224         logbl for POWER7.
65225         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65226         powerpc32/power7/fpu/s_logb.c via #include.
65227         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65228         powerpc32/power7/fpu/s_logbf.c via #include.
65229         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65230         powerpc32/power7/fpu/s_logbl.c via #include.
65232 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65234         * README.libm: Remove file.
65236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65238         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65239         count for x32.  Use R*_LP and omit operand-size suffix.
65241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65243         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65244         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65245         * sysdeps/x86_64/x32/shlib-versions: New file.
65247 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65249         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65250         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65251         Use _dl_fatal_printf instead.
65253 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65255         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65256         set if not set by the user.  Do not allow for being unset.
65257         * sysdeps/unix/sysv/linux/configure: Regenerated.
65259 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65261         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65262         the `q' suffix from lea and replace .quad with ASM_ADDR.
65264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65267         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65268         instead of $17.
65269         (PTR_DEMANGLE): Likewise.
65271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65273         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65274         (LP_OP): Likewise.
65275         (ASM_ADDR): Likewise.
65276         (RAX_LP): Likewise.
65277         (RBP_LP): Likewise.
65278         (RBX_LP): Likewise.
65279         (RCX_LP): Likewise.
65280         (RDI_LP): Likewise.
65281         (RSI_LP): Likewise.
65282         (RSP_LP): Likewise.
65283         (R8_LP): Likewise.
65284         (R9_LP): Likewise.
65285         (R10_LP): Likewise.
65286         (R10_LP): Likewise.
65287         (R11_LP): Likewise.
65288         (R12_LP): Likewise.
65289         (R13_LP): Likewise.
65290         (R14_LP): Likewise.
65291         (R15_LP): Likewise.
65293 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65295         * sysdeps/x86_64/x32/dl-machine.h: New file.
65297 2012-05-14  Andreas Jaeger  <aj@suse.de>
65299         * manual/Makefile (subdir): Remove export of subdir.
65300         (all): Remove target.
65301         (.PHONY): Remove all from list.
65302         (mkinstalldirs): Remove.
65303         (.PHONY): Remove installdirs from list.
65304         ($(inst_infodir)/libc.info): Use make-target-directory.
65305         (installdirs): Remove.
65306         (subdir_%): Remove.
65307         (glibc-targets): Remove.
65308         (lib): Remove.
65309         (stubs): Remove.
65310         ($(objpfx)stubs ../po/manual.pot): Remove.
65311         ($(objpfx)stamp%): Remove.
65312         (make-target-directory): Remove.
65313         (subdir_install): Remove.
65314         (routines): Remove.
65315         (aux): Remove.
65316         (sources): Remove.
65317         (objects): Remove.
65318         (headers): Remove.
65320         [BZ #13750]
65321         * manual/.gitignore: Remove, it's not needed anymore.
65322         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65323         all files in it.
65324         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65325         directory.
65326         (texis): Renamed to $(objpfx)texis.
65327         (texis-path): New, contains path to generated files.
65328         (chapters.%): Use texis-path for complete path, add extra argument
65329         libc-texinfo.sh.
65330         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65331         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65332         (summary,texi, stamp-summary): Use complete path of
65333         files. Generate files in build dir.
65334         (dir-add.texi): Build in build dir.
65335         (libm-err.texi,stamp-libm-err): Likewise.
65336         (version.texi, stamp-version): Likewise.
65337         (.%c.texi): Likewise.
65338         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65339         (mostlyclean): Remove target.
65340         (realclean): Remove target.
65341         (generated): Add new variable with contents from mostlyclean and
65342         realclean, remove entries duplicated in common-mostlyclean, add
65343         stamp-libm-err and stamp-version.
65344         (generated-dirs): Add libc directory.
65345         ($(inst_infodir)/libc.info): Install files from build dir.
65347         * manual/install.texi (Configuring and compiling): Adjust since
65348         the info files are not part of the tar ball anymore.
65350 2012-05-14  Andreas Jaeger  <aj@suse.de>
65352         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65353         variable.
65355 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65357         [BZ #13717]
65358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65359         to 2.2.0 where earlier.
65360         * sysdeps/unix/sysv/linux/configure: Regenerated.
65361         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65362         Remove conditional code.
65363         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65364         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65365         Remove conditional code.
65366         [!__NR_lchown]: Likewise.
65367         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65368         [__NR_lchown]: Likewise.
65369         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65370         comment referencing __ASSUME_LCHOWN_SYSCALL.
65371         * sysdeps/unix/sysv/linux/i386/sigaction.c
65372         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65373         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65374         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65375         Remove conditional code.
65376         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65377         (__protocol_available): Remove #if 0 code.
65378         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65379         conditional code.
65380         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65381         * sysdeps/unix/sysv/linux/kernel-features.h
65382         (__ASSUME_GETCWD_SYSCALL): Don't define.
65383         (__ASSUME_REALTIME_SIGNALS): Likewise.
65384         (__ASSUME_PREAD_SYSCALL): Likewise.
65385         (__ASSUME_PWRITE_SYSCALL): Likewise.
65386         (__ASSUME_POLL_SYSCALL): Likewise.
65387         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65388         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65389         non-SPARC.
65390         (__ASSUME_SIOCGIFNAME): Don't define.
65391         (__ASSUME_MSG_NOSIGNAL): Likewise.
65392         (__ASSUME_SENDFILE): Define unconditionally.
65393         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65394         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65395         conditional code.
65396         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65397         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65398         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65399         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65400         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65401         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65402         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65404         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65407         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65410         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65416         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65419         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65422         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65425         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65427         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65428         Remove conditional code.
65429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65430         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65431         Remove conditional code.
65432         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65433         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65434         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65435         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65436         Remove conditional code.
65437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65438         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65439         Remove conditional code.
65440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65441         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65442         Remove conditional code.
65443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65444         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65445         Remove conditional code.
65446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65447         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65448         Remove conditional code.
65449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65450         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65451         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65453         * sysdeps/unix/sysv/linux/sigaction.c
65454         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65455         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65456         * sysdeps/unix/sysv/linux/sigpending.c
65457         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65458         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65459         * sysdeps/unix/sysv/linux/sigprocmask.c
65460         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65461         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65462         * sysdeps/unix/sysv/linux/sigsuspend.c
65463         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65464         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65465         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65466         (__libc_missing_rt_sigs): Remove.
65467         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65468         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65469         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65470         Remove conditional code.
65471         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65472         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65473         return 1.
65474         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65475         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65476         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65477         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65479 2012-05-14  Andreas Jaeger  <aj@suse.de>
65481         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65482         it's not used in glibc.
65483         (__coshm1): Likewise.
65484         (__acosh1p): Likewise.
65485         (__sgn): Likewise.
65487         * manual/string.texi (Copying and Concatenation): Add missing
65488         variable in concat example.
65489         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65491 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65493         [BZ #14103]
65494         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65495         __builtin_clzl with __builtin_clzll.
65497 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65499         [BZ #14104]
65500         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65501         libc_freeres_ptr.
65503 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65505         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65506         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65507         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65508         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65510 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65512         * NEWS: Update ia64 info.
65514 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65516         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65517         used as bcopy.
65519 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65521         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65522         * sysdeps/unix/syscalls.list (dup3): Likewise.
65523         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65524         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65526 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65528         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65529         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65531 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65533         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65534         thread pointer.
65535         (TLS_IE): Use mov/add instead of movq/addq to load thread
65536         pointer.
65537         (TLS_GD_PREFIX): New.
65538         (TLS_GD): Use it.
65540 2012-05-11  David S. Miller  <davem@davemloft.net>
65542         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65543         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65544         (_FPU_SETCW): Likewise.
65546 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65548         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65549         is 32-byte aligned.
65551 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65553         [BZ #11837]
65554         * iconvdata/gb18030.c: Update tables.
65555         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65556         characters specially.
65557         (BODY for TO_LOOP): Add encoding of missing ranges.
65559 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65561         [BZ #13673]
65562         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65563         * sysdeps/mach/hurd/dup3.c: Likewise.
65564         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65565         * sysdeps/powerpc/memmove.c:: Likewise.
65567 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65569         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65570         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65572 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65574         * elf/elf.h (R_X86_64_RELATIVE64): New.
65575         (R_X86_64_NUM): Updated.
65576         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65577         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65578         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65579         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65580         tst-quad1pie tst-quad2pie
65581         (modules-names): Add tst-quadmod1 tst-quadmod2.
65582         ($(objpfx)tst-quad1): New dependency.
65583         ($(objpfx)tst-quad2): Likewise.
65584         ($(objpfx)tst-quad1pie): Likewise.
65585         ($(objpfx)tst-quad2pie): Likewise.
65586         * sysdeps/x86_64/tst-quad1.c: New file.
65587         * sysdeps/x86_64/tst-quad1pie.c: New file.
65588         * sysdeps/x86_64/tst-quad2.c: Likewise.
65589         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65590         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65591         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65592         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65593         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65595 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65597         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65598         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65599         * streams/stropts.h (t_scalar_t): Define type.
65601         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65602         (_PATH_PRESERVE): Set to "/var/lib".
65603         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65605         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65606         instead of int.
65608         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65609         if __dir_mkfile succeeded.
65611         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65612         checking for _hurd_dtablesize.  Unlock it right after having
65613         finished _hurd_dtable allocation.
65615 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65617         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65618         * sysdeps/mach/hurd/configure: Regenerated.
65619         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65620         special-casing to...
65621         * sysdeps/gnu/configure.in: ... this new file.
65622         * sysdeps/unix/sysv/linux/configure: Regenerated.
65623         * sysdeps/gnu/configure: New generated file.
65625         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65626         for Linux: use nsec instead of usec, as well as:
65627         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65628         members of type struct timespec.
65629         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65630         New macros.
65631         (struct stat64): Likewise.
65632         (_STATBUF_ST_NSEC): New macro.
65633         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65635         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65636         __strtoul_internal rather than strtoul.
65638 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65640         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65641         and reject them.
65643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65645         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65646         which preserves existing values.
65647         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65649 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65651         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65652         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65653         greater than FD_SETSIZE.
65655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65657         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65658         allocated, call __vm_protect to finish enabling the existing space, and
65659         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65660         allocate the remainder.
65662 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65664         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65665         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65669         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65670         sysdeps/mach/hurd/readlink.c.
65672         * posix/tst-sysconf.c (posix_options): Only use
65673         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65674         _POSIX_SYNCHRONIZED_IO when they are defined
65675         * sysdeps/mach/hurd/bits/posix_opt.h:
65676         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65677         (_XOPEN_REALTIME): Undefine macro.
65678         (_XOPEN_REALTIME_THREADS): Undefine macro.
65679         (_XOPEN_SHM): Undefine macro.
65680         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65681         macro to -1.
65682         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65683         macro to -1.
65684         (_POSIX_ASYNC_IO): Undefine macro.
65685         (_POSIX_PRIORITIZED_IO): Undefine macro.
65686         (_POSIX_SPIN_LOCKS): Define macro to -1.
65688         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65689         SA_NODEFER, SA_RESETHAND.
65690         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65691         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65692         F_DUPFD_CLOEXEC.
65694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65696         * elf/Makefile (pldd-modules): Define unconditionally.
65698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65700         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65704         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65705         Return ENOENT when name is empty.
65706         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65710         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65712         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65716         Fix mlock in all cases except non-readable pages.
65717         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65718         instead of VM_PROT_ALL as parameter to __vm_wire function.
65720         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65721         (__mkdir): When path is `/', just fail with EEXIST.
65722         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65726         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65727         <sys/uio.h> (for writev).
65728         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65729         and <sys/param.h> (for MIN).
65731 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65733         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65734         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65735         if interrupted.
65737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65739         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65740         Depend on against $(link-rpcuserlibs).
65742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65744         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65745         (__libc_stack_end): Do not use attribute_relro.
65746         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65747         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65748         to libthread-provided value.
65749         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65750         attribute_relro.
65752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65754         [BZ #3748]
65755         * bits/libc-lock.h (__libc_once_get): New macro.
65756         * sysdeps/mach/bits/libc-lock.h: Likewise.
65757         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65758         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65759         instead of using implementation details.
65761         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65762         * libio/freopen.c: Likewise.
65763         * libio/freopen64.c: Likewise.
65764         * misc/syslog.c: Likewise.
65765         * nscd/connections.c: Likewise.
65766         * nscd/netgroupcache.c: Likewise.
65767         * sysdeps/posix/getcwd.c: Likewise.
65769 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65771         * math/w_ilogbf.c: Add #include <limits.h>.
65773 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65775         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65776         path instead of returning without unlocking.
65778         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65779         immediate-write ioctls.
65780         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65784         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65785         __builtin_frame_address instead of making assumptions about the
65786         location of the return address relative to DATA.  Force early load of
65787         the return address.
65788         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65789         __builtin_frame_address.
65791         dup3 for GNU Hurd.
65792         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65793         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65794         implement dup3 and do some further code clean-ups.
65795         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65796         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65800         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65802         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65803         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65804         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65805         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65806         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65807         d->port.lock.
65809         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65810         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65811         when handler == SIG_ERR, not when handler != SIG_ERR.
65813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65815         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65816         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65817         definitions.
65819         accept4 for GNU Hurd.
65820         * include/sys/socket.h (__libc_accept4): New prototype.
65821         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65822         to implement __libc_accept4.
65823         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65824         __libc_accept4.
65825         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65827         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65828         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65829         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65830         signal-defines.sym.
65832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65834         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65838         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65839         assertion on O_CLOEXEC flag.
65840         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65841         * hurd/intern-fd.c: Likewise.
65842         * hurd/port2fd.c: Likewise.
65844 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65846         [BZ #3906]
65847         * bits/in.h (IPV6_PKTINFO): Define new macro.
65848         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65850 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65852         [BZ #13954]
65853         [BZ #13955]
65854         [BZ #13956]
65855         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65856         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65857         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65858         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65860         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65861         * math/libm-test.inc (logb_test) : Additional logb tests.
65863 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65864             Andreas Jaeger  <aj@suse.de>
65866         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65867         * configure: Regenerated.
65868         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65869         * config.make.in (link-obsolete-rpc): New substituted variable.
65870         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65871         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65872         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65873         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65874         so that libc.a contains the symbols.
65875         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65876         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65877         * sunrpc/auth_none.c: Likewise.
65878         * sunrpc/auth_unix.c: Likewise.
65879         * sunrpc/authdes_prot.c: Likewise.
65880         * sunrpc/authuxprot.c: Likewise.
65881         * sunrpc/clnt_gen.c: Likewise.
65882         * sunrpc/clnt_perr.c: Likewise.
65883         * sunrpc/clnt_raw.c: Likewise.
65884         * sunrpc/clnt_simp.c: Likewise.
65885         * sunrpc/clnt_tcp.c: Likewise.
65886         * sunrpc/clnt_udp.c: Likewise.
65887         * sunrpc/clnt_unix.c: Likewise.
65888         * sunrpc/des_crypt.c: Likewise.
65889         * sunrpc/des_soft.c: Likewise.
65890         * sunrpc/get_myaddr.c: Likewise.
65891         * sunrpc/key_call.c: Likewise.
65892         * sunrpc/key_prot.c: Likewise.
65893         * sunrpc/netname.c: Likewise.
65894         * sunrpc/pm_getmaps.c: Likewise.
65895         * sunrpc/pm_getport.c: Likewise.
65896         * sunrpc/pmap_clnt.c: Likewise.
65897         * sunrpc/pmap_prot.c: Likewise.
65898         * sunrpc/pmap_prot2.c: Likewise.
65899         * sunrpc/pmap_rmt.c: Likewise.
65900         * sunrpc/publickey.c: Likewise.
65901         * sunrpc/rpc_cmsg.c: Likewise.
65902         * sunrpc/rpc_common.c: Likewise.
65903         * sunrpc/rpc_dtable.c: Likewise.
65904         * sunrpc/rpc_prot.c: Likewise.
65905         * sunrpc/rpc_thread.c: Likewise.
65906         * sunrpc/rtime.c: Likewise.
65907         * sunrpc/svc.c: Likewise.
65908         * sunrpc/svc_auth.c: Likewise.
65909         * sunrpc/svc_raw.c: Likewise.
65910         * sunrpc/svc_run.c: Likewise.
65911         * sunrpc/svc_tcp.c: Likewise.
65912         * sunrpc/svc_udp.c: Likewise.
65913         * sunrpc/svc_unix.c: Likewise.
65914         * sunrpc/svcauth_des.c: Likewise.
65915         * sunrpc/xcrypt.c: Likewise.
65916         * sunrpc/xdr.c: Likewise.
65917         * sunrpc/xdr_array.c: Likewise.
65918         * sunrpc/xdr_float.c: Likewise.
65919         * sunrpc/xdr_intXX_t.c: Likewise.
65920         * sunrpc/xdr_mem.c: Likewise.
65921         * sunrpc/xdr_rec.c: Likewise.
65922         * sunrpc/xdr_ref.c: Likewise.
65923         * sunrpc/xdr_sizeof.c: Likewise.
65924         * sunrpc/xdr_stdio.c: Likewise.
65926 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65929         change.  Update copyright years.
65931 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65933         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65935 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65936             Joseph Myers  <joseph@codesourcery.com>
65937             Paul Pluzhnikov  <ppluzhnikov@google.com>
65939         [BZ #14012]
65940         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65941         requiring rpcgen.
65942         [cross-compiling] (extra-libs): Likewise.
65943         [cross-compiling] (extra-libs-others): Likewise.
65944         [cross-compiling] (librpcsvc-routines): Likewise.
65945         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65946         [cross-compiling] (omit-deps): Likewise.
65947         (sunrpc-CPPFLAGS): New variable.
65948         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65949         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65950         (cross-rpcgen-objs): New variable.
65951         (extra-objs): Append $(cross-rpcgen-objs).
65952         ($(cross-rpcgen-objs)): New rule.
65953         ($(objpfx)cross-rpcgen): Likewise.
65954         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65955         comment.
65956         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65957         ($(objpfx)x%.stmp): Likewise.
65958         * sunrpc/proto.h [IS_IN_build] (_): Define.
65959         [IS_IN_build] (_libc_intl_domainname): Likewise.
65961 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65963         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65964         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65965         and R_X86_64_TPOFF64.
65967 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65969         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65970         sysdeps/unix/sysv/syscalls.list.
65971         (stime): Likewise.
65972         (utime): Likewise.
65973         * sysdeps/unix/sysv/syscalls.list: Remove file.
65975 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65977         [BZ #3440]
65978         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65979         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65980         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65981         (__LC_IDENTIFICATION): Make these macros useful in #if
65982         expressions, as required by C99.
65984 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65986         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65987         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65988         after this.
65990 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65992         * stdlib/longlong.h: Updated from GCC.
65994 2012-05-09  Andreas Jaeger  <aj@suse.de>
65996         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65997         default is first entry.
65998         (run_mode): Set type.
65999         (main): Remove informal message about syslog.
66000         (options): Fix typo.
66002         [BZ #14053]
66003         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66004         to asm.
66005         (lrint): Likewise.
66006         (llrintf): Likewise.
66007         (llrint): Likewise.
66008         (rint): Likewise.
66009         (rintf): Likewise.
66010         (nearbyint): Likewise.
66011         (nearbyintf): Likewise.
66013 2012-05-09  Andreas Jaeger  <aj@suse.de>
66014             Pedro Alves  <palves@redhat.com>
66016         * nscd/nscd.c (run_mode): Use enum.
66017         (main): Cleanup coding style issue.
66019 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66020             Andreas Jaeger  <aj@suse.de>
66022         * nscd/nscd.c (go_background): Replaced with...
66023         (run_mode): ... this.
66024         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66025         (options): Add -F --foreground.
66026         (main): Implement it.
66027         (parse_opt): Parse it.
66029 2012-05-09  Andreas Jaeger  <aj@suse.de>
66031         [BZ #14083]
66032         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66033         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66034         -Wconversion warning.
66035         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66036         Likewise.
66038 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66040         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66041         == 0.
66042         (LC_ALL): Use macro-int-constant.
66043         (LC_COLLATE): Likewise.
66044         (LC_CTYPE): Likewise.
66045         (LC_MESSAGES): Likewise.
66046         (LC_MONETARY): Likewise.
66047         (LC_NUMERIC): Likewise.
66048         (LC_TIME): Likewise.
66049         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66050         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66052         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66053         Specify type.
66054         [C99-based standards] (float_t): Expect type.
66055         [C99-based standards] (double_t): Expect type.
66056         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66057         type.
66058         [C99-based standards] (HUGE_VALL): Likewise.
66059         [C99-based standards] (INFINITY): Likewise.
66060         [C99-based standards] (NAN): Likewise.
66061         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66062         [C99-based standards] (FP_NAN): Likewise.
66063         [C99-based standards] (FP_NORMAL): Likewise.
66064         [C99-based standards] (FP_SUBNORMAL): Likewise.
66065         [C99-based standards] (FP_ZERO): Likewise.
66066         [C99-based standards] (FP_FAST_FMA): Use
66067         optional-macro-int-constant.  Specify type.  Require == 1.
66068         [C99-based standards] (FP_FAST_FMAF): Likewise.
66069         [C99-based standards] (FP_FAST_FMAL): Likewise.
66070         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66071         [C99-based standards] (FP_ILOGBNAN): Likewise.
66072         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66073         Specify type.
66074         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66075         [C99-based standards] (math_errhandling): Specify type.
66076         [ISO99 || ISO11] (signgam): Do not allow.
66077         [non-C99-based standards] (copysignf): Do not allow.
66078         [non-C99-based standards] (exp2f): Likewise.
66079         [non-C99-based standards] (log2f): Likewise.
66080         [non-C99-based standards] (modff): Allow.
66081         [non-C99-based standards] (erff): Do not allow.
66082         [non-C99-based standards] (erfcf): Likewise.
66083         [non-C99-based standards] (gammaf): Likewise.
66084         [non-C99-based standards] (hypotf): Likewise.
66085         [non-C99-based standards] (j0f): Likewise.
66086         [non-C99-based standards] (j1f): Likewise.
66087         [non-C99-based standards] (jnf): Likewise.
66088         [non-C99-based standards] (lgammaf): Likewise.
66089         [non-C99-based standards] (tgammaf): Likewise.
66090         [non-C99-based standards] (y0f): Likewise.
66091         [non-C99-based standards] (y1f): Likewise.
66092         [non-C99-based standards] (ynf): Likewise.
66093         [non-C99-based standards] (isnanf): Likewise.
66094         [non-C99-based standards] (acoshf): Likewise.
66095         [non-C99-based standards] (asinhf): Likewise.
66096         [non-C99-based standards] (atanhf): Likewise.
66097         [non-C99-based standards] (cbrtf): Likewise.
66098         [non-C99-based standards] (expm1f): Likewise.
66099         [non-C99-based standards] (ilogbf): Likewise.
66100         [non-C99-based standards] (log1pf): Likewise.
66101         [non-C99-based standards] (logbf): Likewise.
66102         [non-C99-based standards] (nextafterf): Likewise.
66103         [non-C99-based standards] (remainderf): Likewise.
66104         [non-C99-based standards] (rintf): Likewise.
66105         [non-C99-based standards] (scalbf): Likewise.
66106         [non-C99-based standards] (copysignl): Likewise.
66107         [non-C99-based standards] (exp2l): Likewise.
66108         [non-C99-based standards] (log2l): Likewise.
66109         [non-C99-based standards] (modfl): Allow.
66110         [non-C99-based standards] (erfl): Do not allow.
66111         [non-C99-based standards] (erfcl): Likewise.
66112         [non-C99-based standards] (gammal): Likewise.
66113         [non-C99-based standards] (hypotl): Likewise.
66114         [non-C99-based standards] (j0l): Likewise.
66115         [non-C99-based standards] (j1l): Likewise.
66116         [non-C99-based standards] (jnl): Likewise.
66117         [non-C99-based standards] (lgammal): Likewise.
66118         [non-C99-based standards] (tgammal): Likewise.
66119         [non-C99-based standards] (y0l): Likewise.
66120         [non-C99-based standards] (y1l): Likewise.
66121         [non-C99-based standards] (ynl): Likewise.
66122         [non-C99-based standards] (isnanl): Likewise.
66123         [non-C99-based standards] (acoshl): Likewise.
66124         [non-C99-based standards] (asinhl): Likewise.
66125         [non-C99-based standards] (atanhl): Likewise.
66126         [non-C99-based standards] (cbrtl): Likewise.
66127         [non-C99-based standards] (expm1l): Likewise.
66128         [non-C99-based standards] (ilogbl): Likewise.
66129         [non-C99-based standards] (log1pl): Likewise.
66130         [non-C99-based standards] (logbl): Likewise.
66131         [non-C99-based standards] (nextafterl): Likewise.
66132         [non-C99-based standards] (remainderl): Likewise.
66133         [non-C99-based standards] (rintl): Likewise.
66134         [non-C99-based standards] (scalbl): Likewise.
66135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66136         [non-C99-based standards] (FP_*): Do not allow.
66137         [C99-based standards] (FP_*): Change to
66138         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66139         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66140         allow.
66141         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66142         (SIG_ERR): Likewise.
66143         [X/Open-based standards] (SIG_HOLD): Likewise.
66144         (SIG_IGN): Likewise.
66145         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66146         positive value.
66147         (SIGFPE): Likewise.
66148         (SIGILL): Likewise.
66149         (SIGINT): Likewise.
66150         (SIGSEGV): Likewise.
66151         (SIGTER): Likewise.
66152         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66153         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66154         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66155         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66156         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66157         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66158         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66159         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66160         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66161         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66162         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66163         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66164         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66165         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66166         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66167         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66168         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66169         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66170         [X/Open-based standards] (SIGTRAP): Likewise.
66171         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66172         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66173         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66174         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66175         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66176         allow.
66178 2012-05-08  Ian Wienand  <ianw@vmware.com>
66180         [BZ #14080]
66181         * time/tzset.c (__tzset_parse_tz): Update default rules for
66182         daylight time changes in the Energy Policy Act of 2005.
66184 2012-05-09  Andreas Jaeger  <aj@suse.de>
66186         [BZ #13983]
66187         * elf/ldconfig.c (parse_conf): Change string to make clear that
66188         ldconfig only issued a warning if ld.so.conf does not exist.
66190 2012-05-08  David S. Miller  <davem@davemloft.net>
66192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66193         movxtod instead of popping the value on the stack.
66195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66197 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66199         * config.h.in: Add HAVE_ARM_PCS_VFP.
66201 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66203         [BZ #13979]
66204         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66205         checking but the checks are disabled for any reason.
66207 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66209         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66210         and ELF64_R_TYPE with ELFW(R_TYPE).
66212 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66214         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66215         (ulimit): Likewise.
66217         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66218         (settimeofday): Likewise.
66220 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66222         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66223         a struct th_u2 inside the union, and move tu_block/tu_code into
66224         a new th_u3 union of tu_block/tu_code inside of that.  Move
66225         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66226         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66227         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66228         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66229         (th_stuff): Change to th_u1.tu_stuff.
66230         (th_data): Define.
66231         (th_msg): Change to th_u1.th_u2.tu_data.
66233 2012-05-07  David S. Miller  <davem@davemloft.net>
66235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66237         [BZ #14074]
66238         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66239         (SETUP_PIC_REG): Use it.
66240         (SETUP_PIC_REG_LEAF): Use it.
66242 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66244         [BZ #13885]
66245         [BZ #13923]
66246         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66247         USE_AS_EXPM1L.
66248         (EXPL_FINITE): Likewise.
66249         (FLDLOG): Likewise.
66250         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66251         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66252         e_expl.S.
66253         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66254         USE_AS_EXPM1L.
66255         (EXPL_FINITE): Likewise.
66256         (FLDLOG): Likewise.
66257         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66258         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66259         e_expl.S.
66260         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66261         test of -max_value argument for long double.
66262         * sysdeps/i386/fpu/libm-test-ulps: Update.
66263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66265 2012-05-06  David S. Miller  <davem@davemloft.net>
66267         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66268         quad soft-float symbols whose references which are compiler
66269         generated.
66270         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66272 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66274         [BZ #13884]
66275         [BZ #13914]
66276         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66277         USE_AS_EXP10L.
66278         (EXPL_FINITE): Likewise.
66279         (FLDLOG): Likewise.
66280         (c0): Likewise.
66281         (c1): Likewise.
66282         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66283         Adjust comments for base varying.
66284         (__expl_finite): Change alias to EXPL_FINITE.
66285         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66286         e_expl.S.
66287         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66288         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66289         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66290         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66291         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66292         USE_AS_EXP10L.
66293         (EXPL_FINITE): Likewise.
66294         (FLDLOG): Likewise.
66295         (c0): Likewise.
66296         (c1): Likewise.
66297         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66298         Adjust comments for base varying.
66299         (__expl_finite): Change alias to EXPL_FINITE.
66300         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66301         tests for bugs.
66302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66304         [BZ #14064]
66305         * math/libm-test.inc (check_float_internal): Correct ulp
66306         calculation for subnormal expected results.
66308 2012-05-06  Andreas Jaeger  <aj@suse.de>
66310         * Makeconfig (+math-flags): New, set to -frounding-math.
66311         (+cflags): Add +math-flags so that all of glibc gets compiled with
66312         it.
66314         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66316 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66318         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66319         Disable one test.
66321         [BZ #13787]
66322         [BZ #13922]
66323         [BZ #14036]
66324         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66325         (__ieee754_expl): Allow for and saturate large arguments.
66326         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66327         (u_threshold): Likewise.
66328         (__exp): Call __ieee754_exp before checking for overflow and
66329         underflow.
66330         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66331         (u_threshold): Likewise.
66332         (__expf): Call __ieee754_expf before checking for overflow and
66333         underflow.
66334         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66335         (u_threshold): Likewise.
66336         (__expl): Call __ieee754_expl before checking for overflow and
66337         underflow.
66338         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66339         (__ieee754_expl): Allow for and saturate large arguments.
66340         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66341         missing overflow exception on overflow.
66342         (expm1_test): Do not allow missing overflow exception on overflow.
66344         * sysdeps/i386/fpu/e_expl.c: Move to ...
66345         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66346         rather than using inline asm.
66347         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66348         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66349         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66351         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66352         (nice): Likewise.
66353         (poll): Likewise.
66354         (signal): Likewise.
66355         (time): Likewise.
66356         (times): Likewise.
66358 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66360         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66361         sysdeps/unix/common/syscalls.list.
66362         (fchmod): Likewise.
66363         (fchown): Likewise.
66364         (ftruncate): Likewise.
66365         (getrusage): Likewise.
66366         (gettimeofday): Likewise.
66367         (setpgid): Likewise.
66368         (setregid): Likewise.
66369         (setreuid): Likewise.
66370         (sigaction): Likewise.
66371         (truncate): Likewise.
66372         (vhangup): Likewise.
66373         * sysdeps/unix/common/syscalls.list: Remove file.
66374         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66375         * sysdeps/unix/sysv/linux/Implies: Likewise.
66377 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66379         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66381         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66382         Moved to ...
66383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66384         Here.
66385         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66386         to ...
66387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66388         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66389         to ...
66390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66391         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66392         to ...
66393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66394         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66395         to ...
66396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66397         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66398         to ...
66399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66400         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66401         to ...
66402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66403         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66404         to ...
66405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66406         Here.
66407         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66408         to ...
66409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66410         Here.
66411         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66412         to ...
66413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66414         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66415         Moved to ...
66416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66417         Here.
66418         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66419         to ...
66420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66422 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66424         * sysdeps/unix/common/bits/dirent.h: Remove file.
66425         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66427         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66428         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66429         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66430         * sysdeps/unix/bsd/isatty.c: Likewise.
66431         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66432         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66433         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66435 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66437         [BZ #13563]
66438         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66439         long double comparison inaccuracies.
66440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66443 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66445         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66446         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66448 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66450         [BZ #14049]
66451         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66452         nonzero digits before rounding a hex value.
66453         * stdlib/tst-strtod.c (tests): Add another test.
66455 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66457         * sysdeps/s390/fpu/libm-test-ulps: Update.
66459 2012-05-03  Andreas Jaeger  <aj@suse.de>
66461         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66462         does not get optimized out.
66463         (malloc_opt_barrier): New.
66465 2012-05-03  Andreas Jaeger  <aj@suse.de>
66466             Roland McGrath  <roland@hack.frob.com>
66468         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66469         intermediate file deletion.
66470         (generated): Add .symlist files.
66472 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66474         [BZ #13775]
66475         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66476         Redirect under this condition.
66477         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66478         [__USE_GNU] (__dprintf_chk): Not under this condition.
66479         [__USE_GNU] (__vdprintf_chk): Likewise.
66480         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66481         under this condition.
66482         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66483         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66484         [__USE_XOPEN2K8] (vdprintf): Likewise.
66485         [__USE_GNU] (__dprintf_chk): Not under this condition.
66486         [__USE_GNU] (__vdprintf_chk): Likewise.
66487         [__USE_GNU] (dprintf): Likewise.
66488         [__USE_GNU] (vdprintf): Likewise.
66490 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66492         * elf/Makefile (common-generated): Set this instead of generated for
66493         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66494         $(all-built-dso)-derived lists.
66496 2012-05-03  Andreas Jaeger  <aj@suse.de>
66498         * sysdeps/i386/fpu/libm-test-ulps: Update.
66500         * FAQ: Removed.
66501         * FAQ.in: Likewise.
66502         * scripts/gen-FAQ.pl: Likewise.
66503         * manual/install.texi (Installation): Point to online location of
66504         FAQ.
66505         * Makefile (files-for-dist): Remove FAQ.
66506         (FAQ): Remove.
66508 2012-05-02  Allan McRae  <allan@archlinux.org>
66510         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66511         (LDFLAGS-reldepmod5.so): Likewise.
66512         (LDFLAGS-reldep6mod1.so): Likewise.
66513         (LDFLAGS-reldep6mod4.so): Likewise.
66514         (LDFLAGS-reldep8mod3.so): Likewise.
66515         (LDFLAGS-unload4mod1.so): Likewise.
66516         (LDFLAGS-unload4mod2.so): Likewise.
66517         (LDFLAGS-tst-initorder): Likewise.
66518         (LDFLAGS-tst-initordera2.so): Likewise.
66519         (LDFLAGS-tst-initordera3.so): Likewise.
66520         (LDFLAGS-tst-initordera4.so): Likewise.
66521         (LDFLAGS-tst-initorderb2.so): Likewise.
66522         (LDFLAGS-noload): Likewise.
66523         (LDFLAGS-next): Likewise.
66524         (LDFLAGS-order2mod1.so): Likewise.
66525         (LDFLAGS-order2mod2.so): Likewise.
66526         (LDFLAGS-tst-initorder2): Likewise.
66527         (LDFLAGS-tst-initorder2a.so): Likewise.
66528         (LDFLAGS-tst-initorder2b.so): Likewise.
66529         (LDFLAGS-tst-initorder2c.so): Likewise.
66530         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66532 2012-05-02  David S. Miller  <davem@davemloft.net>
66534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66536 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66538         [BZ #14055]
66539         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66541 2012-05-02  Andreas Jaeger  <aj@suse.de>
66543         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66544         since we manipulate rounding mode.
66545         (CPPFLAGS-test-idouble.c): Likewise.
66546         (CPPFLAGS-test-ifloat.c): Likewise.
66547         (CFLAGS-test-ldouble.c): Likewise.
66548         (CFLAGS-test-double.c): Likewise.
66549         (CFLAGS-test-float.c): Likewise.
66550         (CFLAGS-test-misc.c): Likewise.
66551         (CFLAGS-test-test-fenv.c): Likewise.
66553 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66555         [BZ #2550]
66556         [BZ #2570]
66557         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66558         comparisons to determine direction to adjust input.
66560 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66562         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66563         output to the target.
66565         * scripts/localplt.awk: New file.
66566         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66567         (check-localplt-CFLAGS): Variable removed.
66568         ($(all-built-dso:=.jmprel)): New static pattern rule.
66569         (generated): Add those targets.
66570         (localplt-built-dso): New variable.
66571         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66573         * elf/check-localplt.c: File removed.
66575         * scripts/check-execstack.awk: New file.
66576         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66577         (check-execstack-CFLAGS): Variable removed.
66578         ($(objpfx)check-execstack.h): Target removed.
66579         ($(objpfx)execstack-default): New target.
66580         (generated): Add that instead of check-execstack.h.
66581         ($(all-built-dso:=.phdr)): New static pattern rule.
66582         (generated): Add those targets.
66583         * elf/check-execstack.c: File removed.
66585         * scripts/check-textrel.awk: New file.
66586         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66587         (check-textrel-CFLAGS): Variable removed.
66588         (all-built-dso): Use := to define.o
66589         ($(all-built-dso:=.dyn)): New static pattern rule.
66590         (generated): Add those targets.
66591         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66592         * config.make.in (READELF): New substituted variable.
66593         * elf/check-textrel.c: File removed.
66595 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66597         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66598         allow.
66599         * conform/data/ctype.h-data [C99-based standards] (isblank):
66600         Expect function.
66601         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66602         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66603         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66604         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66605         Specify type.  Require positive value.
66606         (EILSEQ): Likewise.
66607         (ERANGE): Likewise.
66608         [ISO || POSIX] (EILSEQ): Do not expect.
66609         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66610         Specify type.  Require positive value.
66611         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66612         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66613         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66614         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66615         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66616         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66617         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66618         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66619         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66620         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66621         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66622         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66623         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66624         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66625         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66626         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66627         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66628         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66629         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66630         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66631         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66632         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66633         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66634         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66635         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66636         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66637         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66638         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66639         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66640         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66641         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66642         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66643         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66644         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66645         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66646         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66647         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66648         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66649         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66650         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66651         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66652         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66653         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66654         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66655         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66656         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66657         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66658         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66659         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66660         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66661         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66662         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66663         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66664         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66665         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66666         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66667         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66668         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66669         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66670         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66671         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66672         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66673         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66674         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66675         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66676         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66677         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66678         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66679         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66680         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66681         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66682         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66683         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66684         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66685         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66686         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66687         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66688         Require >= 2.
66689         (FLT_ROUNDS): Expect as macro, not constant.
66690         (FLT_MANT_DIG): Use macro-int-constant.
66691         (DBL_MANT_DIG): Likewise.
66692         (LDBL_MANT_DIG): Likewise.
66693         (FLT_DIG): Likewise.
66694         (DBL_DIG): Likewise.
66695         (LDBL_DIG): Likewise.
66696         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66697         (DBL_MIN_EXP): Likewise.
66698         (LDBL_MIN_EXP): Likewise.
66699         (FLT_MAX_EXP): Use macro-int-constant.
66700         (DBL_MAX_EXP): Likewise.
66701         (LDBL_MAX_EXP): Likewise.
66702         (FLT_MAX_10_EXP): Likewise.
66703         (DBL_MAX_10_EXP): Likewise.
66704         (LDBL_MAX_10_EXP): Likewise.
66705         (FLT_MAX): Use macro-constant.
66706         (DBL_MAX): Likewise.
66707         (LDBL_MAX): Likewise.
66708         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66709         (DBL_EPSILON): Likewise.
66710         (LDBL_EPSILON): Likewise.
66711         (FLT_MIN): Likewise.
66712         (DBL_MIN): Likewise.
66713         (LDBL_MIN): Likewise.
66714         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66715         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66716         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66717         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66718         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66719         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66720         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66721         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66722         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66723         [ISO11] (FLT_TRUE_MIN): Likewise.
66724         [ISO11] (LDBL_TRUE_MIN): Likewise.
66725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66726         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66727         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66728         (SCHAR_MAX): Likewise.
66729         (UCHAR_MAX): Likewise.
66730         (CHAR_MIN): Likewise.
66731         (CHAR_MAX): Likewise.
66732         (MB_LEN_MAX): Use macro-int-constant.
66733         (SHRT_MIN): Use macro-int-constant.  Specify type.
66734         (SHRT_MAX): Likewise.
66735         (USHRT_MAX): Likewise.
66736         (INT_MAX): Likewise.
66737         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66738         bound negative.
66739         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66740         bound with "U".
66741         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66742         bound with "L".
66743         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66744         bound negative.  Suffix upper bound with "L".
66745         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66746         bound with "UL".
66747         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66748         Specify type.
66749         [C99-based standards] (LLONG_MAX): Likewise.
66750         [C99-based standards] (ULLONG_MAX): Likewise.
66751         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66752         == 0.
66753         [ISO11] (max_align_t): Require type.
66754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66756         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66757         from $CFLAGS, without defining away __attribute__ calls.
66758         (checknamespace): Use $CFLAGS_namespace.
66760         * conform/conformtest.pl (@keywords): Only include C99 keywords
66761         for standards based on C99 or C11.
66763         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66764         Disable tests.
66765         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66766         UNIX98]: Likewise.
66768         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66769         usability of symbols in #if.
66771         * conform/conformtest.pl: If macro or constant types start
66772         "promoted:", expect the symbol to be of the following type
66773         promoted by the integer promotions.
66775         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66776         in one place.  Also handle "macro-constant".
66778         * conform/conformtest.pl: Only accept expected macro values with
66779         "==".  Parse all "macro" lines in one place.
66780         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66782         * conform/conformtest.pl: Handle braced types on "constant" lines
66783         instead of handling "typed-constant".
66784         * conform/data/signal.h-data: Use "constant" instead of
66785         "typed-constant".
66787         * conform/conformtest.pl: Handle "optional-" at start of lines in
66788         one place rather than duplicating several cases.  Handle each
66789         format of "macro" line with initial "optional-".
66791         * conform/conformtest.pl: Only accept expected constant or
66792         optional-constant values with "==".  Parse all "constant" lines in
66793         one place.  Parse all "optional-constant" lines in one place.
66794         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66795         * conform/data/fmtmsg.h-data: Likewise.
66796         * conform/data/netinet/in.h-data: Likewise.
66797         * conform/data/tar.h-data: Likewise.
66798         * conform/data/limits.h-data: Use "==" form on "constant" and
66799         "optional-constant" lines.
66801         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66802         Use -std=c99 for XOPEN2K.
66803         (@knownproblems): Remove.
66804         (newtoken): Don't check %isknown.
66806         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66807         Do not expect macro.
66808         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66809         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66810         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66811         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66812         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66813         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66814         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66815         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66816         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66817         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66818         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66819         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66820         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66821         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66822         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66823         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66824         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66825         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66826         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66827         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66828         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66829         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66830         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66831         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66832         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66833         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66834         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66835         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66836         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66837         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66838         [XPG3] (acosh): Likewise.
66839         [XPG3] (asinh): Likewise.
66840         [XPG3] (atanh): Likewise.
66841         [XPG3] (cbrt): Likewise.
66842         [XPG3] (expm1): Likewise.
66843         [XPG3] (ilogb): Likewise.
66844         [XPG3] (log1p): Likewise.
66845         [XPG3] (logb): Likewise.
66846         [XPG3] (nextafter): Likewise.
66847         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66848         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66849         [XPG3] (remainder): Likewise.
66850         [XPG3] (rint): Likewise.
66851         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66852         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66853         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66854         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66855         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66856         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66857         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66858         [UNIX98 || XOPEN2K] (scalb): Expect.
66859         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66860         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66861         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66862         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66863         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66864         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66865         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66866         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66867         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66868         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66869         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66870         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66871         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66872         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66873         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66874         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66875         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66876         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66877         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66878         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66879         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66880         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66881         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66882         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66883         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66884         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66885         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66886         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66887         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66888         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66889         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66890         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66891         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66892         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66893         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66894         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66895         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66896         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66897         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66898         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66899         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66900         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66901         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66902         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66903         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66904         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66905         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66906         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66907         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66908         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66909         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66910         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66911         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66912         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66913         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66914         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66915         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66916         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66917         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66918         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66919         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66920         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66921         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66922         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66923         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66924         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66925         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66926         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66927         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66928         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66929         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66930         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66931         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66932         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66933         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66934         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66935         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66936         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66937         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66938         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66939         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66940         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66941         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66942         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66943         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66944         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66945         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66946         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66947         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66948         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66949         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66950         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66951         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66952         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66953         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66954         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66955         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66956         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66957         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66958         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66959         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66960         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66961         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66962         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66963         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66964         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66965         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66966         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66967         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66968         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66969         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66970         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66971         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66972         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66973         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66974         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66975         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66976         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66977         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66978         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66979         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66980         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66981         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66982         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66983         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66984         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66985         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66986         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66987         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66989         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66990         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66991         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66992         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66993         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66994         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66995         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66997         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66998         _XOPEN_SOURCE_EXTENDED for XPG4.
67000         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67002         * Makeconfig (localtime): Remove variable.
67003         (inst_localtime-file): Likewise.
67005 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67008         Update.
67009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67010         Update.
67011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67012         Update.
67013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67014         Update.
67015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67016         Update.
67017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67018         Update.
67019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67020         Update.
67021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67022         Update.
67023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67024         Update.
67026 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67028         [BZ #2550]
67029         [BZ #2570]
67030         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67031         comparisons to determine direction to adjust input.
67032         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67033         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67035         Likewise.
67036         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67037         Likewise.
67038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67039         Likewise.
67040         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67041         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67042         Likewise.
67043         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67044         Likewise.
67045         * math/libm-test.inc (nexttoward_test): Add more tests.
67047 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67049         [BZ #14040]
67050         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67051         in version GLIBC_2.1, not GLIBC_2.0.
67052         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67053         Likewise.
67055 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67057         [BZ #13942]
67058         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67059         (1 - x) * (1 + x).
67060         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67061         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67062         * math/libm-test.inc (acos_test): Add more tests.
67063         (asin_test): Likewise.
67064         * sysdeps/i386/fpu/libm-test-ulps: Update.
67065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67067         [BZ #14034]
67068         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67069         of square root.
67070         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67071         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67072         * math/libm-test.inc (acos_test_tonearest): New function.
67073         (acos_test_towardzero): Likewise.
67074         (acos_test_downward): Likewise.
67075         (acos_test_upward): Likewise.
67076         (asin_test_tonearest): Likewise.
67077         (asin_test_towardzero): Likewise.
67078         (asin_test_downward): Likewise.
67079         (asin_test_upward): Likewise.
67080         (main): Call the new functions.
67081         * sysdeps/i386/fpu/libm-test-ulps: Update.
67082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67084         [BZ #13884]
67085         [BZ #13924]
67086         * math/e_exp10.c: Include <float.h>.
67087         (__ieee754_exp10): Handle underflow here rather than multiplying
67088         large negative argument by M_LN10.
67089         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67090         of __ieee754_expf.
67091         * math/e_exp10l.c: Include <float.h>.
67092         (__ieee754_exp10l): Handle underflow here rather than multiplying
67093         large negative argument by M_LN10l.
67094         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67095         spurious overflow exception on underflow.
67097 2012-04-29  Marek Polacek  <polacek@redhat.com>
67099         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67100         (__fortify_function): New macro.
67101         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67102         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67103         __extern_always_inline.
67104         * libio/bits/stdio2.h: Likewise.
67105         * libio/bits/stdio.h: Likewise.
67106         * string/string.h: Likewise.
67107         * string/bits/string3.h: Likewise.
67108         * include/stdio.h: Likewise.
67109         * stdlib/bits/stdlib.h: Likewise.
67110         * stdlib/stdlib.h: Likewise.
67111         * rt/bits/mqueue2.h: Likewise.
67112         * rt/mqueue.h: Likewise.
67113         * posix/bits/unistd.h: Likewise.
67114         * posix/unistd.h: Likewise.
67115         * io/bits/poll2.h: Likewise.
67116         * io/bits/fcntl2.h: Likewise.
67117         * io/fcntl.h: Likewise.
67118         * io/sys/poll.h: Likewise.
67119         * misc/bits/syslog.h: Likewise.
67120         * misc/bits/syslog-ldbl.h: Likewise.
67121         * misc/sys/syslog.h: Likewise.
67122         * socket/bits/socket2.h: Likewise.
67123         * socket/sys/socket.h: Likewise.
67124         * debug/tst-chk1.c: Likewise.
67125         * wcsmbs/bits/wchar2.h: Likewise.
67126         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67127         * wcsmbs/wchar.h: Likewise.
67129 2012-04-29  Andreas Jaeger  <aj@suse.de>
67131         * Makerules (tests): Remove enable-check-abi protection.
67132         (check-abi-warn): Remove.
67133         (check-abi-%): Remove check-abi-warn usage.
67135         * configure.in: Remove check-abi configure option.
67136         * configure: Regenerated.
67137         * config.make.in (enable-check-abi): Remove.
67139 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67141         [BZ #14033]
67142         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67143         double functions to double *_finite functions.
67145         [BZ #13941]
67146         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67147         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67148         LDBL_MIN_EXP.
67149         * stdio-common/Makefile (tests): Add tst-sprintf3.
67150         * stdio-common/tst-sprintf3.c: New file.
67152         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67153         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67155 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67157         * conform/conformtest.pl: Remove duplicate typed-constant
67158         handling.
67160 2012-04-28  David S. Miller  <davem@davemloft.net>
67162         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67163         (check-abi-%): Remove AWK script prerequisite and explicit
67164         abilist directory.
67165         (check-abi): Rewrite to just diff the symlist with the abilist.
67166         (config-tls, config-abi-config): Delete, no longer used.
67167         (update-abi-%): Remove AWK script and explicit abilist directory.
67168         (update-abi): Rewrite to simply compare and conditionally copy the
67169         symlist and the sysdep abilist file.  Remove update-abi-config
67170         checks.
67171         * abilist/ld.abilist: Remove.
67172         * abilist/libBrokenLocale.abilist: Remove.
67173         * abilist/libanl.abilist: Remove.
67174         * abilist/libcrypt.abilist: Remove.
67175         * abilist/libdl.abilist: Remove.
67176         * abilist/librt.abilist: Remove.
67177         * abilist/libthread_db.abilist: Remove.
67178         * abilist/libutil.abilist: Remove.
67179         * scripts/extract-abilist.awk: Remove.
67180         * scripts/merge-abilist.awk: Remove.
67181         * sysdeps/generic/libcidn.abilist: New file.
67182         * sysdeps/generic/libnss_compat.abilist: New file.
67183         * sysdeps/generic/libnss_db.abilist: New file.
67184         * sysdeps/generic/libnss_dns.abilist: New file.
67185         * sysdeps/generic/libnss_files.abilist: New file.
67186         * sysdeps/generic/libnss_hesiod.abilist: New file.
67187         * sysdeps/generic/libnss_nis.abilist: New file.
67188         * sysdeps/generic/libnss_nisplus.abilist: New file.
67189         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67190         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67191         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67192         file.
67193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67194         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67195         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67196         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67197         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67198         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67199         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67200         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67201         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67202         file.
67203         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67204         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67205         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67206         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67207         file.
67208         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67209         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67210         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67211         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67212         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67213         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67214         file.
67215         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67216         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67217         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67218         file.
67219         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67221         New file.
67222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67223         New file.
67224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67225         New file.
67226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67227         New file.
67228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67229         New file.
67230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67231         New file.
67232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67233         New file.
67234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67235         New file.
67236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67237         New file.
67238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67239         New file.
67240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67241         New file.
67242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67243         New file.
67244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67245         New file.
67246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67247         file.
67248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67249         New file.
67250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67251         New file.
67252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67253         file.
67254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67255         New file.
67256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67257         New file.
67258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67259         file.
67260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67261         New file.
67262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67263         New file.
67264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67265         New file.
67266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67267         New file.
67268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67269         New file.
67270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67271         New file.
67272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67274         file.
67275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67276         New file.
67277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67278         file.
67279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67280         file.
67281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67282         file.
67283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67284         file.
67285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67286         file.
67287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67288         New file.
67289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67290         file.
67291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67292         file.
67293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67294         New file.
67295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67296         file.
67297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67299         file.
67300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67301         New file.
67302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67303         file.
67304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67305         file.
67306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67307         file.
67308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67309         file.
67310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67311         file.
67312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67313         New file.
67314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67315         file.
67316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67317         file.
67318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67319         New file.
67320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67321         file.
67322         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67323         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67324         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67325         file.
67326         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67327         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67328         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67329         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67330         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67331         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67332         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67333         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67334         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67335         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67338         file.
67339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67340         New file.
67341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67342         file.
67343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67344         file.
67345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67346         file.
67347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67348         file.
67349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67350         file.
67351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67352         New file.
67353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67354         New file.
67355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67356         file.
67357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67358         New file.
67359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67360         file.
67361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67363         file.
67364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67365         New file.
67366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67367         file.
67368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67369         file.
67370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67371         file.
67372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67373         file.
67374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67375         file.
67376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67377         New file.
67378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67379         New file.
67380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67381         file.
67382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67383         New file.
67384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67385         file.
67387 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67389         * conform/conformtest.pl: Fix typo in handling typed-constant from
67390         allow-header.
67392 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67394         * README: Cut down references to pre-2.6 Linux kernels and
67395         Linuxthreads.  Update lists of configurations in libc and ports
67396         and sort alphabetically.  Say "or newer" with Linux kernel version
67397         requirements.
67399         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67401 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67403         [BZ #887]
67404         * math/libm-test.inc (logb_test_downward): New test to expose
67405         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67406         rounding mode.
67408 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67410         [BZ #14027]
67411         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67412         to be done.
67413         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67414         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67416 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67418         * sysdeps/unix/i386/brk.S: Remove file.
67419         * sysdeps/unix/i386/dl-brk.S: Likewise.
67420         * sysdeps/unix/i386/pipe.S: Likewise.
67421         * sysdeps/unix/i386/sigreturn.S: Likewise.
67422         * sysdeps/unix/i386/syscall.S: Likewise.
67423         * sysdeps/unix/i386/vfork.S: Likewise.
67424         * sysdeps/unix/i386/wait.S: Likewise.
67426         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67427         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67429         * configure.in (arm*-none*): Do not allow without
67430         --enable-hacker-mode.
67431         (netbsd*): Remove case setting base_os.
67432         (386bsd*): Likewise.
67433         (freebsd*): Likewise.
67434         (bsdi*): Likewise.
67435         (osf*): Likewise.
67436         (sunos*): Likewise.
67437         (ultrix*): Likewise.
67438         (newsos*): Likewise.
67439         (dynix*): Likewise.
67440         (*bsd*): Likewise.
67441         (sysv*): Likewise.
67442         (isc*): Likewise.
67443         (esix*): Likewise.
67444         (sco*): Likewise.
67445         (minix*): Likewise.
67446         (irix4*): Likewise.
67447         (irix6*): Likewise.
67448         (solaris[2-9]*): Likewise.
67449         (none): Likewise.
67450         * configure: Regenerated.
67452 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67454         [BZ #11521]
67455         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67456         overflow or cancellation in calculating denominator.
67457         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67458         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67459         down expression to avoid unexpected rounding in newer GCCs.
67460         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67462 2012-04-26  David S. Miller  <davem@davemloft.net>
67464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67465         long-double compat symbols.
67466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67480 2012-04-25  David S. Miller  <davem@davemloft.net>
67482         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67483         HWCAP_* values only after the memory barriers have been defined.
67484         (atomic_full_barrier): Define.
67485         (atomic_read_barrier): Define.
67486         (atomic_write_barrier): Define.
67488 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67490         * shlib-versions: Add libgcc_s version information.
67491         * sysdeps/generic/libgcc_s.h: Remove.
67492         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67493         libgcc_s.h.
67494         * sysdeps/gnu/unwind-resume.c: Likewise.
67495         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67497 2012-04-25  David S. Miller  <davem@davemloft.net>
67499         * sysdeps/unix/sparc/brk.S: Delete.
67500         * sysdeps/unix/sparc/dl-brk.S: Delete.
67501         * sysdeps/unix/sparc/pipe.S: Delete.
67502         * sysdeps/unix/sparc/sysdep.S: Delete.
67503         * sysdeps/unix/sparc/sysdep.h: Delete.
67504         * sysdeps/unix/sparc/vfork.S: Delete.
67505         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67506         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67508         (ret_ERRVAL, r0, r1, MOVE): Define.
67509         (JUMPTARGET): Remove.
67510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67511         sysdeps/unix/sparc/sysdep.h
67512         (ENTRY, END): Remove.
67513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67515 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67517         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67518         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67519         -DIS_IN_build.
67521         * timezone/README: Update upstream location and email address for
67522         tzcode and tzdata.
67523         * timezone/zdump.c: Update from tzcode 2012b.
67524         * timezone/zic.c: Likewise.
67526         * configure.in (libc_cv_as_needed): Remove test.
67527         * configure: Regenerated.
67528         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67529         conditional definition.
67530         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67531         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67532         * config.make.in (have-as-needed): Remove variable.
67534 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67535             Paul Pluzhnikov  <ppluzhnikov@google.com>
67537         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67538         strings correctly.
67540 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67542         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67543         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67544         * sysdeps/sh/strlen.S: Likewise.
67546 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67548         * sysdeps/unix/fork.S: Remove file.
67549         * sysdeps/unix/i386/fork.S: Likewise.
67550         * sysdeps/unix/sparc/fork.S: Likewise.
67552         * sysdeps/unix/system.c: Remove file.
67553         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67555         * sysdeps/unix/getegid.S: Remove file.
67556         * sysdeps/unix/geteuid.S: Likewise.
67558 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67560         * scripts/check-localplt.awk: New file.
67561         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67562         of diff.
67563         * scripts/data/localplt-generic.data: Add a comment.
67565         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67566         NODE when __dir_mkfile failed.
67567         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67568         Reported by Ludovic Courtès <ludo@gnu.org>.
67570 2012-04-24  Andreas Jaeger  <aj@suse.de>
67572         * Makerules (common-clean): Also remove gen-as-const-headers
67573         files.
67575 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67577         * Makerules (native-compile): Do not change working directory for
67578         build.  Use $(OUTPUT_OPTION) in command.
67579         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67581 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67583         [BZ #13886]
67584         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67585         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67586         * math/libm-test.inc (floor_test): Add more tests.
67587         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67589 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67591         * sysdeps/unix/getdents.c: Remove file.
67592         * sysdeps/unix/sysv/getdents.c: Likewise.
67593         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67595         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67596         sysdeps/unix/mman/syscalls.list.
67597         (mmap): Likewise.
67598         (mprotect): Likewise.
67599         (msync): Likewise.
67600         (munmap): Likewise.
67601         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67602         * sysdeps/unix/mman/syscalls.list: Remove.
67603         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67605         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67606         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67607         * configure: Regenerated.
67608         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67609         $(libgcc_s_suffix).
67610         * config.make.in (libgcc_s_suffix): Remove variable.
67612 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67614         * sysdeps/unix/sysv/gethostname.c: Move to ...
67615         * sysdeps/posix/gethostname.c: ... here.
67617         * sysdeps/unix/execve.S: Remove file.
67619         * sysdeps/unix/_exit.S: Remove file.
67621 2012-04-23  Andreas Jaeger  <aj@suse.de>
67623         [BZ #13739]
67624         * manual/Makefile: Remove make dist support, there's no
67625         need for a stand-alone documentation tar ball.
67626         (TEXI2DVI): Define always, it's not in Makeconfig.
67627         (dist): Removed.
67628         (tar-it): Removed.
67629         (edition): Removed.
67630         (glibc-doc-$(edition).tar): Removed
67631         (%.Z): Removed.
67632         (%.gz): Removed.
67633         (%.uu): Removed.
67634         (ETAGS): Remove, it's in Makeconfig.
67635         (move-if-change): Remove, it's in Makeconfig.
67637 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67639         [BZ #13970]
67640         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67641         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67642         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67643         (strtod_l, strtof_l, strtold_l): Remove __wur.
67644         It is not necessarily an error to ignore strtol's return value.
67645         One can reliably look at the stored endptr to decide whether
67646         the number had valid syntax.
67648 2012-04-21  Andreas Jaeger  <aj@suse.de>
67650         [BZ #13739]
67651         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67653 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67655         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67656         * sysdeps/unix/sysv/Versions: Remove file.
67658 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67660         [BZ #13927]
67661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67663 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67665         [BZ #7064]
67666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67667         version from __vm86.
67669 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67671         * sysdeps/unix/common/lxstat.c: Remove file.
67672         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67674         * sysdeps/unix/sysv/Makefile: Remove file.
67676         * sysdeps/unix/sysv/direct.h: Remove file.
67678         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67679         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67680         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67681         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67682         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67683         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67684         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67686         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67688         * sysdeps/unix/xmknod.c: Remove file.
67689         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67691         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67693         * sysdeps/unix/sysv/i386/time.S: Remove file.
67695         * sysdeps/unix/fxstat.c: Remove file.
67696         * sysdeps/unix/xstat.c: Likewise.
67697         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67699         * sysdeps/unix/sysv/sigaction.c: Remove file.
67701         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67702         (sysdep_headers): Remove variable.
67703         [termio.h not in sysdep_headers] (generated): Likewise.
67704         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67705         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67706         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67707         * sysdeps/unix/sysv/tcflow.c: Likewise.
67708         * sysdeps/unix/sysv/tcflush.c: Likewise.
67709         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67710         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67711         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67712         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67713         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67715         * sysdeps/unix/siglist.c: Remove file.
67717         * sysdeps/unix/getppid.S: Remove file.
67719         * sysdeps/unix/mkdir.c: Remove file.
67720         * sysdeps/unix/rmdir.c: Likewise.
67722 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67724         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67725         ERR_MAX value.
67726         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67727         errlist-compat value.
67729 2012-04-18  David S. Miller  <davem@davemloft.net>
67731         * sysdeps/generic/memcopy.h (reg_char): Delete.
67732         * debug/strcat_chk.c: Use char, not reg_char.
67733         * debug/strcpy_chk.c: Likewise.
67734         * debug/strncat_chk.c: Likewise.
67735         * debug/strncpy_chk.c: Likewise.
67736         * string/memchr.c: Likewise.
67737         * string/memrchr.c: Likewise.
67738         * string/rawmemchr.c: Likewise.
67739         * string/strcat.c: Likewise.
67740         * string/strchr.c: Likewise.
67741         * string/strchrnul.c: Likewise.
67742         * string/strcmp.c: Likewise.
67743         * string/strcpy.c: Likewise.
67744         * string/strncat.c: Likewise.
67745         * string/strncmp.c: Likewise.
67746         * string/strncpy.c: Likewise.
67748 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67750         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67751         __builtin_memcopy is called when src and dest ranges are known to not
67752         overlap.
67754 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67756         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67757         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67758         fwd_align_merge macro call.
67759         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67760         bwd_align_merge macro call.
67761         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67763 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67765         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67766         bwd_align_merge macros.
67767         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67768         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67769         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67771 2012-04-18  David S. Miller  <davem@davemloft.net>
67773         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67775 2012-04-18  Andreas Jaeger  <aj@suse.de>
67777         [BZ# 6794]
67778         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67779         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67780         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67782         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67783         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67784         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67786         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67787         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67788         Adjust for changed ldbl-128 files.
67790         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67791         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67792         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67794 2012-04-17  David S. Miller  <davem@davemloft.net>
67796         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67798 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67800         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67801         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67802         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67803         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67804         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67805         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67807 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67809         [BZ #6794]
67810         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67811         * math/libm-test.inc: Add ilogb errno and exception tests.
67812         * math/w_ilogb.c: New file: ilogb wrapper.
67813         * math/w_ilogbf.c: New file: ilogbf wrapper.
67814         * math/w_ilogbl.c: New file: ilogbl wrapper.
67815         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67816         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67817         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67818         exception being thrown with 0.0 as argument.
67819         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67820         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67821         exception being thrown with 0.0 as argument.
67822         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67823         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67824         exception being thrown with 0.0 as argument.
67825         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67826         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67827         exception being thrown with 0.0 as argument.
67828         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67829         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67830         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67831         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67832         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67833         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67834         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67835         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67836         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67838 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67840         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67841         with altivec.
67843 2012-04-16  Marek Polacek  <polacek@redhat.com>
67845         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67847 2012-04-16  Marek Polacek  <polacek@redhat.com>
67849         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67850         operands of fdivp instruction.
67852 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67854         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67855         * elf/tst-auditmod3b.c: Likewise.
67856         * elf/tst-auditmod4b.c: Likewise.
67857         * elf/tst-auditmod5b.c: Likewise.
67858         * elf/tst-auditmod6b.c: Likewise.
67859         * elf/tst-auditmod6c.c: Likewise.
67860         * elf/tst-auditmod7b.c: Likewise.
67861         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67862         * sysdeps/x86_64/preconfigure.in: Likewise.
67863         * sysdeps/x86_64/preconfigure: Regenerated.
67865 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67867         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67868         __ILP32__.
67870 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67873         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67875 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67877         [BZ #13973]
67878         * locale/iso-639.def: Fix gl language name. Spotted by
67879         Yaron Shahrabani.
67881 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67883         [BZ #2074]
67884         * libio/libio.h (__io_write_fn): Update comment.
67886 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67888         [BZ #2074]
67889         * stdio.texi (Hook Functions): The user provided writer function
67890         is not allowed to return -1.
67892 2012-04-11  David S. Miller  <davem@davemloft.net>
67894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67896 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67898         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67899         Add a leading slash to rtkaio.
67901 2012-04-11  Jim Meyering  <meyering@redhat.com>
67903         [BZ #11959]
67904         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67905         It is not necessarily an error to ignore fwrite's return
67906         value.  One can reliably use ferror to test for errors after
67907         the fact.
67909 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67911         * bits/types.h (__snseconds_t): New type.
67912         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67914         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67916         (__SNSECONDS_T_TYPE): Likewise.
67917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67918         (__SNSECONDS_T_TYPE): Likewise.
67919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67920         (__SNSECONDS_T_TYPE): Likewise.
67922 2012-04-10  Andreas Jaeger  <aj@suse.de>
67924         [BZ #2636]
67925         * manual/time.texi (Processor Time): Return type of times is
67926         elapsed real time since an arbitrary point in the past.
67927         (CPU Time): Move CLK_TCK from here...
67928         (Processor Time): ...to here.  Correct description.
67929         * manual/conf.texi (Constants for Sysconf): Correct description of
67930         _SC_CLK_TCK.
67932 2012-04-10  David S. Miller  <davem@davemloft.net>
67934         [BZ #13967]
67935         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67936         where the is a gap between DT_REL(A) and DT_JMPREL.
67938 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67940         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67941         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67942         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67944 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67946         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67947         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67948         (dl_main): Handle --inhibit-cache.
67949         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67950         _dl_inhibit_cache.
67951         * elf/dl-load.c (_dl_map_object): Use it.
67952         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67954 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67956         [BZ #13872]
67957         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67958         (__ieee754_powl): Saturate large exponents rather than testing for
67959         overflow of y*log2(x).
67960         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67961         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67962         exceptions.
67964         [BZ #11521]
67965         * math/s_ctan.c: Include <float.h>.
67966         (__ctan): Avoid internal overflow or cancellation in calculating
67967         denominator.
67968         * math/s_ctanf.c: Likewise.
67969         * math/s_ctanl.c: Likewise.
67970         * math/s_ctanh.c: Likewise.
67971         * math/s_ctanhf.c: Likewise.
67972         * math/s_ctanhl.c: Likewise.
67973         * math/libm-test.inc (ctan_test): Add more tests.
67974         (ctanh_test): Likewise.
67975         * sysdeps/i386/fpu/libm-test-ulps: Update.
67976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67978 2012-04-09  Andreas Jaeger  <aj@suse.de>
67980         [BZ #6894]
67981         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67982         is an optional BSD extension.
67984         [BZ #10254]
67985         * manual/stdio.texi (Opening Streams): Document additional fopen
67986         parameters.
67988 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67990         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67991         %eax without telling the compiler.
67993 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67995         [BZ # 13963]
67996         * manual/install.texi: Use sourceware.org.
67998 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68000         [BZ #13873]
68001         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68002         (__ieee754_pow): Generate overflow and underflow using huge*huge
68003         and tiny*tiny rather than just returning constant infinity or zero
68004         for large exponents.
68005         * math/libm-test.inc (pow_test): Require overflow exceptions for
68006         applicable cases of large exponents.
68008         [BZ #706]
68009         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68010         (__ieee754_pow): Use iterative multiplication algorithm only for
68011         integer exponents with absolute value below 1024.  Check for odd
68012         integer exponents when using algorithm for real exponents.
68013         * math/libm-test.inc (pow_test): Add more tests.
68014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68016 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68018         [BZ #13705]
68019         * math/libm-test.inc (exp_test): Do not allow overflow exception
68020         on underflow test.
68022 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68024         [BZ #13705]
68025         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68026         instead of __kernel_standard_f.
68028 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68030         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68031         * sysdeps/x86_64/memset_chk.S: Likewise.
68033 2012-04-08  Andreas Jaeger  <aj@suse.de>
68035         [BZ #10153]
68036         * manual/startup.texi (Environment Access): Describe return value
68037         for putenv and setenv.
68039         [BZ #6895]
68040         * manual/filesys.texi (Directory Entries): Add description for
68041         DT_LNK.
68043         [BZ #6890]
68044         * manual/filesys.texi (Directory Entries): Clarify that it's file
68045         system not operating system in the description of DT_UNKNOWN.
68047         [BZ #6578]
68048         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68050 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68052         [BZ #6649]
68053         * manual/llio.texi (Opening and Closing Files): Add cross
68054         reference to explain mode argument.
68056 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68058         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68059         * sysdeps/x86_64/memset_chk.S: Likewise.
68061 2012-04-07  David S. Miller  <davem@davemloft.net>
68063         * elf/elf.h (R_SPARC_WDISP10): Define.
68064         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68065         R_SPARC_SIZE32.
68066         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68067         R_SPARC_SIZE64 and R_SPARC_H34.
68069 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68071         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68072         conditions and remove no longer applicable assertion.
68074 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68076         * bits/byteswap.h: Include <features.h>.
68077         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68078         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68080 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68082         * bits/byteswap.h (__bswap_16): Removed.
68083         Include <bits/byteswap-16.h> to get __bswap_16.
68084         * sysdeps/i386/bits/byteswap.h: Likewise.
68085         * sysdeps/s390/bits/byteswap.h: Likewise.
68086         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68087         * bits/byteswap-16.h: New file.
68088         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68089         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68090         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68091         * string/Makefile (headers): Add bits/byteswap-16.h.
68093 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68095         [BZ #13895]
68096         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68097         extra indirection.
68098         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68099         * nss/tst-nss-static.c: New.
68101 2012-04-06  Robert Millan  <rmh@gnu.org>
68103         [BZ #6486]
68104         * manual/llio.texi (File Position Primitive): lseek
68105         refers to WHENCE when it really means OFFSET.
68107 2012-04-06  Andreas Jaeger  <aj@suse.de>
68109         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68110         strncmp declarations.
68112         * abilist/libc.abilist: Add __poll and __ppoll.
68114 2012-04-05  David S. Miller  <davem@davemloft.net>
68116         * scripts/check-local-headers.sh: Accept a host triplet in the
68117         path matched by the exclude regexp.
68119         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68120         definition.
68121         * sysdeps/powerpc/powerpc32/dl-machine.h
68122         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68123         * sysdeps/s390/s390-32/dl-machine.h
68124         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68125         * sysdeps/sparc/sparc32/dl-machine.h
68126         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68127         * sysdeps/sparc/sparc64/dl-machine.h
68128         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68130         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68131         lazy binding.
68132         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68133         undefined symbol errors.
68135         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68136         DT_NEEDED entries.
68138 2012-04-05  Michael Matz  <matz@suse.de>
68140         [BZ #13592]
68141         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68143 2012-04-05  Andreas Jaeger  <aj@suse.de>
68145         [BZ #13908]
68146         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68147         comment.
68149 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68151         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68152         which ROUND is no valid rounding mode.
68154 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68156         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68157         read again.
68158         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68160 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68162         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68163         an exception using FPU order intentionally.
68165 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68167         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68168         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68169         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68170         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68172 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68174         [BZ #12340]
68175         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68176         EINVAL when BUFLEN is too smal.
68178 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68180         [BZ #13553]
68181         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68182         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68184 2012-04-03  Andreas Jaeger  <aj@suse.de>
68186         [BZ #13938]
68187         * manual/setjmp.texi (System V contexts): Fix sentence.
68189         [BZ #13926]
68190         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68191         New macro for this case.
68192         [!__GNUC__] (__bswap_64): New inline function for this case.
68193         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68194         * bits/byteswap.h: Likewise.
68195         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68196         ull, guard with __GLIBC_HAVE_LONG_LONG.
68198         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68199         __GLIBC_HAVE_LONG_LONG.
68201         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68202         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68204 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68206         [BZ #13691]
68207         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68208         inptr and inend, rather than using last_ch.
68210 2012-04-02  David S. Miller  <davem@davemloft.net>
68212         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68213         * stdio-common/printf-parse.h (read_int): Change return type to
68214         'int', return -1 on INT_MAX overflow.
68215         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68216         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68217         overflows INT_MAX.  Check for overflow of in-format-string precision
68218         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68219         SIZE_MAX not INT_MAX for integer overflow test.
68220         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68221         skip the construct in the format string but do not record anything.
68222         * stdio-common/bug22.c: Adjust to test both width/prevision
68223         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68224         explicitly for proper errno values.
68226 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68228         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68229         CHAR_MAX.
68230         * string/test-strcmp.c [! WIDE]: Likewise.
68231         * time/tst-mktime2.c: Likewise for INT_MAX.
68232         * string/test-string.h: #include <sys/param.h> for MIN.
68234         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68235         * sysdeps/i386/init-first.c (init): Likewise.
68236         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68237         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68238         * sysdeps/sh/init-first.c (init): Likewise.
68240 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68242         * po/ru.po: Update from translation team.
68243         * po/vi.po: Likewise.
68245 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68247         * resolv/nss_dns/dns-host.c: Merge copyright years.
68249 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68251         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68252         Optimize memcpy with prefetch if
68253         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68254         src, dst pointers have unequal 16 byte alignments.
68256 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68258         [BZ #13928]
68259         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68260         from a CNAME entry and return the minimum ttl for the query.
68261         (gaih_getanswer_slice): Likewise.
68263 2012-03-30  Jeff Law  <law@redhat.com>
68265         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68266         due to long keys.
68267         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68268         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68270         * resolv/nss_dns/dns-host.c: Update copyright year.
68272 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68274         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68275         requests to save a system call.  Fix check that all bytes are sent.
68277         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68278         comments for sendmmsg.
68280 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68282         [BZ #13691]
68283         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68284         with only 1 character between 0x0041 and 0x01b0.
68285         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68286         * wcsmbs/tst-mbsnrtowcs.c: New file.
68288 2012-03-29  David S. Miller  <davem@davemloft.net>
68290         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68291         small copies by hand.
68293 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68295         [BZ #13761]
68296         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68297         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68298         group memberships.
68300 2012-03-28  David S. Miller  <davem@davemloft.net>
68302         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68303         that branches into memcpy.
68304         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68307         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68308         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68309         bits.
68310         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68311         implementation too.
68312         * sysdeps/sparc/mempcpy.S: New file.
68314         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68315         the IFUNC routine in the libc case.
68316         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68318         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68319         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68320         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68321         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68322         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68323         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68324         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68325         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68327         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68328         loop to 256 bytes instead of 64 bytes and fix test signedness.
68330         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68331         * sysdeps/sparc/sparc32/Makefile: rather than here...
68332         * sysdeps/sparc/sparc64/Makefile: and here.
68334 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68336         * malloc/mallocbug.c: Avoid warnings about unused variables.
68338 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68340         [BZ #13760]
68341         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68342         in the right place. Discard and retry query if response is
68343         larger than input buffer size.
68345 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68347         [BZ #369]
68348         [BZ #2678]
68349         [BZ #3866]
68350         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68351         x for large integer exponent.
68352         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68353         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68354         sign of result as needed afterwards.
68355         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68356         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68357         result for underflowing pow the same as for overflow.
68358         (__kernel_standard_l): Handle powl overflow and underflow here
68359         rather than calling __kernel_standard.
68360         * math/libm-test.inc (pow_test): Add more tests.
68362         [BZ #3868]
68363         [BZ #13879]
68364         [BZ #13910]
68365         [BZ #13911]
68366         [BZ #13912]
68367         [BZ #13913]
68368         [BZ #13915]
68369         [BZ #13916]
68370         [BZ #13917]
68371         [BZ #13918]
68372         [BZ #13919]
68373         [BZ #13920]
68374         [BZ #13921]
68375         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68376         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68377         (__kernel_standard_l): New function.
68378         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68379         __kernel_standard.
68380         * math/w_acosl.c (__acosl): Likewise.
68381         * math/w_asinl.c (__asinl): Likewise.
68382         * math/w_atan2l.c (__atan2l): Likewise.
68383         * math/w_atanhl.c (__atanhl): Likewise.
68384         * math/w_coshl.c (__coshl): Likewise.
68385         * math/w_exp10l.c (__exp10l): Likewise.
68386         * math/w_exp2l.c (__exp2l): Likewise.
68387         * math/w_fmodl.c (__fmodl): Likewise.
68388         * math/w_hypotl.c (__hypotl): Likewise.
68389         * math/w_j0l.c (__j0l, __y0l): Likewise.
68390         * math/w_j1l.c (__j1l, __y1l): Likewise.
68391         * math/w_jnl.c (__jnl, __ynl): Likewise.
68392         * math/w_lgammal.c (__lgammal): Likewise.
68393         * math/w_log10l.c (__log10l): Likewise.
68394         * math/w_log2l.c (__log2l): Likewise.
68395         * math/w_logl.c (__logl): Likewise.
68396         * math/w_powl.c (__powl): Likewise.
68397         * math/w_remainderl.c (__remainderl): Likewise.
68398         * math/w_scalbl.c (sysv_scalbl): Likewise.
68399         * math/w_sinhl.c (__sinhl): Likewise.
68400         * math/w_sqrtl.c (__sqrtl): Likewise.
68401         * math/w_tgammal.c (__tgammal): Likewise.
68402         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68403         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68404         * math/libm-test.inc (acos_test): Add more tests.
68405         (acosh_test): Likewise.
68406         (asin_test): Likewise.
68407         (atanh_test): Likewise.
68408         (exp_test): Likewise.
68409         (exp10_test): Likewise.
68410         (exp2_test): Likewise.
68411         (expm1_test): Likewise.
68412         (lgamma_test): Likewise.
68413         (log_test): Likewise.
68414         (log10_test): Likewise.
68415         (log1p_test): Likewise.
68416         (log2_test): Likewise.
68417         (pow_test): Do not allow some spurious overflow exceptions.
68418         (sqrt_test): Add more tests.
68419         (tgamma_test): Likewise.
68420         (y0_test): Likewise.
68421         (y1_test): Likewise.
68422         (yn_test): Likewise.
68424 2012-03-27  Anton Blanchard  <anton@samba.org>
68426         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68427         MAP_HUGETLB.
68428         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68429         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68430         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68432 2012-03-27  David S. Miller  <davem@davemloft.net>
68434         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68436         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68437         have-as-vis3 check.
68439 2012-03-27  Andreas Jaeger  <aj@suse.de>
68441         * sysdeps/x86_64/elf/configure.in: Moved to ...
68442         * sysdeps/x86_64/configure.in: ... here.
68443         * sysdeps/x86_64/elf/start.S: Moved to ...
68444         * sysdeps/x86_64/start.S: ... here.
68445         * sysdeps/x86_64/elf/configure: Delete.
68447         * sysdeps/x86_64/configure.in: Merge contents from
68448         sysdeps/i386/configure.in (without i686 check).
68450         * sysdeps/i386/elf/Versions: Merge into ...
68451         * sysdeps/i386/Versions: ... this.
68452         * sysdeps/i386/elf/Versions: Delete file.
68453         * sysdeps/i386/elf/start.S: Moved to ...
68454         * sysdeps/i386/start.S: ...here.
68455         * sysdeps/i386/elf/configure.in: Merge into...
68456         * sysdeps/i386/configure.in: ...here.
68457         * sysdeps/i386/elf/configure.in: Delete file.
68458         * sysdeps/i386/elf/configure: Delete file.
68460         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68461         * debug/backtracesyms.c: ... here.
68462         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68463         * debug/backtracesymsfd.c: ... here.
68464         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68465         * sysdeps/generic/ifunc-sel.h: ... here.
68467         * sysdeps/unix/i386/start.c: Delete file.
68468         * sysdeps/unix/sparc/start.c: Delete file.
68469         * sysdeps/unix/start.c: Delete file.
68471         * sysdeps/sh/elf/configure.in: Moved to ...
68472         * sysdeps/sh/configure.in: ... here.
68473         * sysdeps/sh/elf/start.S: Moved to ...
68474         * sysdeps/sh/start.S: ... here.
68475         * sysdeps/sh/elf/configure: Delete file.
68477         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68478         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68479         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68480         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68481         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68482         * sysdeps/powerpc/powerpc64/start.S: here.
68483         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68484         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68485         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68486         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68487         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68489         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68490         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68491         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68492         * sysdeps/powerpc/powerpc32/start.S: ... here.
68493         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68494         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68495         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68497         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68498         * sysdeps/powerpc/ifunc-sel.h: ... here.
68499         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68500         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68502         * sysdeps/sparc/elf/configure.in: Moved to ...
68503         * sysdeps/sparc/configure.in: ... here.
68504         * sysdeps/sparc/elf/configure: Delete file.
68505         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68506         * sysdeps/sparc/sparc32/start.S: ... here.
68507         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68508         * sysdeps/sparc/sparc64/start.S: ... here.
68509         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68510         * sysdeps/sparc/sparc32/Makefile: ... this.
68511         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68512         * sysdeps/sparc/sparc64/Makefile: ... this.
68514         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68515         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68516         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68517         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68518         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68519         * sysdeps/s390/s390-32/setjmp.S: ... here.
68520         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68521         * sysdeps/s390/s390-32/configure.in: ... here.
68522         * sysdeps/s390/s390-32/elf/configure: Delete file.
68523         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68524         * sysdeps/s390/s390-32/start.S: ... here.
68526         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68527         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68528         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68529         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68530         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68531         * sysdeps/s390/s390-64/setjmp.S: ... here.
68532         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68533         * sysdeps/s390/s390-64/configure.in: ... here
68534         * sysdeps/s390/s390-64/elf/configure: Delete file.
68535         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68536         * sysdeps/s390/s390-64/start.S: ... here.
68537         * sysdeps/s390/s390-64/elf/configure: Delete.
68539         * configure.in: Remove support for elf directories in sysdeps.
68541         * configure: Regenerated.
68542         * sysdeps/i386/configure: Regenerated.
68543         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68544         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68545         * sysdeps/s390/s390-32/configure: Regenerated.
68546         * sysdeps/s390/s390-64/configure: Regenerated.
68547         * sysdeps/sh/configure: Regenerated.
68548         * sysdeps/sparc/configure: Regenerated.
68549         * sysdeps/x86_64/configure: Regenerated.
68551 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68555         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68556         denormal result into account.
68558 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68560         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68561         Reported by Allan McRae <allan@archlinux.org>.
68563 2012-03-23  Jeff Law  <law@redhat.com>
68565         * nss/getnssent.c (__nss_getent): Fix typo.
68567 2012-03-23  David S. Miller  <davem@davemloft.net>
68569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68571 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68573         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68574         to pad to uint64_t for each field.
68575         (dl_tls_index): Replace unsigned long with uint64_t.
68577 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68578         Paul Pluzhnikov  <ppluzhnikov@google.com>
68580         [BZ #6528]
68581         * grp/Makefile (otherlibs): Don't set it.
68582         * inet/Makefile (otherlibs): Likewise.
68583         * login/Makefile (otherlibs): Likewise.
68584         * nscd/Makefile (otherlibs): Likewise.
68585         * posix/Makefile (otherlibs): Likewise.
68586         * pwd/Makefile (otherlibs): Likewise.
68587         * rt/Makefile (otherlibs): Likewise.
68588         * sunrpc/Makefile (otherlibs): Likewise.
68589         * nss/Makefile (otherlibs): Likewise.
68590         Add libnss_files to routines and static-only-routines.
68591         ($(objpfx)getent): Remove rule.
68592         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68593         static-only-routines.
68595 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68597         [BZ #13892]
68598         * math/s_cexp.c: Include <float.h>.
68599         (__cexp): Handle exp result overflowing not necessarily
68600         overflowing both real and imaginary parts of result.
68601         * math/s_cexpf.c: Likewise.
68602         * math/s_cexpl.c: Likewise.
68603         * math/libm-test.inc (cexp_test): Add more tests.
68604         * sysdeps/i386/fpu/libm-test-ulps: Update.
68605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68607 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68609         * include/link.h (ELFW): New macro.
68610         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68611         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68613 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68615         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68616         with uint64_t.
68618 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68620         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68621         declaration.
68622         (struct La_x32_retval): Likewise.
68624 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68626         * sysdeps/x86_64/preconfigure.in: New file.
68627         * sysdeps/x86_64/preconfigure: New generated file.
68629 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68631         [BZ #13824]
68632         * math/e_exp2l.c: Include <float.h>.
68633         (__ieee754_exp2l): Handle overflow and underflow cases
68634         separately.  Only pass fractional part of argument to
68635         __ieee754_expl.
68636         * math/libm-test.inc (exp2_test): Add more tests.
68638         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68639         negating x to take absolute value.
68640         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68641         Likewise.
68642         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68643         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68644         Likewise.
68645         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68646         computing low part if x was negated.
68647         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68649 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68651         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68652         la_x32_gnu_pltexit.
68653         (pltexit): Cast int_retval to ptrdiff_t.
68654         * elf/tst-auditmod3b.c: Likewise.
68655         * elf/tst-auditmod4b.c: Likewise.
68656         * elf/tst-auditmod5b.c: Likewise.
68657         * elf/tst-auditmod6b.c: Likewise.
68658         * elf/tst-auditmod6c.c: Likewise.
68659         * elf/tst-auditmod7b.c: Likewise.
68661         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68662         and x32_gnu_pltexit.
68664         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68665         __ELF_NATIVE_CLASS.
68666         (La_x32_regs): New macro.
68667         (La_x32_retval): Likewise.
68668         (la_x32_gnu_pltenter): New function prototype.
68669         (la_x32_gnu_pltexit): Likewise.
68671 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68673         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68674         exponent.
68676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68678         * configure.in (libc_cv_cc_nofma): Check for option to disable
68679         generation of FMA instructions.
68680         * configure: Regenerate.
68681         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68682         * sysdeps/ieee754/dbl-64/Makefile: New file.
68683         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68684         Remove brandred-fma4.
68685         (CFLAGS-brandred-fma4.c): Remove.
68686         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68687         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68688         define.
68689         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68690         define.
68692 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68694         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68695         LLONG_MAX != LONG_MAX.
68696         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68697         (_fitoa_word): Likewise.
68698         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68699         LLONG_MAX != LONG_MAX.
68700         * stdio-common/_itowa.h: Include <_itoa.h>.
68701         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68702         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68703         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68704         only if not defined.
68705         (_ITOA_WORD_TYPE): Likewise.
68706         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68707         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68709 2012-03-21  David S. Miller  <davem@davemloft.net>
68711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68713 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68715         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68716         of x86_64 when setting libc_cv_slibdir, libdir and
68717         libc_cv_localedir.
68718         * sysdeps/unix/sysv/linux/configure: Regenerated.
68720 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68722         * manual/lang.texi (Old Varargs): Remove section.
68723         (How Variadic): Update menu.
68724         (va_start): Do not mention varargs.h.
68726 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68727             Joseph Myers  <joseph@codesourcery.com>
68729         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68730         link test.
68731         * configure: Regenerated.
68733 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68735         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68736         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68737         conformtest.pl
68739 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68741         * NOTES: Remove.
68742         * Makefile (files-for-dist): Remove NOTES.
68743         (NOTES): Remove rule.
68744         * README: Don't refer to NOTES.
68745         * manual/creature.texi: Don't include macros.texi.
68746         * manual/intro.texi (creature.texi): Remove comment referring to
68747         NOTES.
68749         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68750         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68751         * configure: Regenerated.
68752         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68753         LIBC_TRY_CC_OPTION.
68754         (libc_cv_as_i686): Likewise.
68755         (libc_cv_cc_avx): Likewise.
68756         (libc_cv_cc_sse2avx): Likewise.
68757         (libc_cv_cc_fma4): Likewise.
68758         (libc_cv_cc_novzeroupper): Likewise.
68759         * sysdeps/i386/configure: Regenerated.
68761         [BZ #13883]
68762         * sysdeps/i386/fpu/s_cexp.S: Remove.
68763         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68764         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68765         * math/libm-test.inc (cexp_test): Add more tests.
68766         * sysdeps/i386/fpu/libm-test-ulps: Update.
68767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68769 2012-03-21  Allan McRae  <allan@archlinux.org>
68771         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68773 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68775         [BZ #13871]
68776         * math/w_exp2.c: Do not include <float.h>.
68777         (o_threshold, u_threshold): Remove.
68778         (__exp2): Calculate result before checking finiteness and calling
68779         __kernel_standard.
68780         * math/w_exp2f.c: Likewise.
68781         * math/w_exp2l.c: Likewise.
68782         * math/libm-test.inc (exp2_test): Require overflow exception for
68783         1e6 input.
68785         [BZ #3866]
68786         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68787         range of signed 64-bit integers before using fistpll.  Remove
68788         checks for whether integers fit in mantissa bits.
68789         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68790         the range of signed 32-bit integers before using fistpl.  Remove
68791         checks for whether integers fit in mantissa bits.
68792         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68793         (__ieee754_powl): Test for y outside the range of signed 64-bit
68794         integers before using fistpll.  Reduce 64-bit values to 63-bit
68795         ones as needed.
68796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68797         divide-by-zero is raised for zero to large negative powers.
68798         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68799         (__ieee754_powl): Test for y outside the range of signed 64-bit
68800         integers before using fistpll.  Reduce 64-bit values to 63-bit
68801         ones as needed.
68802         * math/libm-test.inc (pow_test): Add more tests.
68804 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68806         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68807         <stdio-common/_itoa.h>.
68808         * debug/segfault.c: Likewise.
68809         * elf/dl-cache.c: Likewise.
68810         * elf/dl-minimal.c: Likewise.
68811         * elf/dl-misc.c: Likewise.
68812         * elf/dl-sysdep.c: Likewise.
68813         * elf/dl-version.c: Likewise.
68814         * elf/rtld.c: Likewise.
68815         * hurd/hurdsock.c: Likewise.
68816         * hurd/lookup-retry.c: Likewise.
68817         * malloc/malloc.c: Likewise.
68818         * malloc/mtrace.c: Likewise.
68819         * nscd/nscd_getgr_r.c: Likewise.
68820         * nscd/nscd_getpw_r.c: Likewise.
68821         * nscd/nscd_getserv_r.c: Likewise.
68822         * posix/getopt_init.c: Likewise.
68823         * posix/wordexp.c: Likewise.
68824         * stdio-common/_itoa.c: Likewise.
68825         * stdio-common/printf_fphex.c: Likewise.
68826         * stdio-common/vfprintf.c: Likewise.
68827         * string/_strerror.c: Likewise.
68828         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68829         * sysdeps/i386/i686/hp-timing.h: Likewise.
68830         * sysdeps/mach/_strerror.c: Likewise.
68831         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68832         * sysdeps/mach/hurd/sethostid.c: Likewise.
68833         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68834         * sysdeps/mach/xpg-strerror.c: Likewise.
68835         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68836         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68837         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68838         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68839         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68840         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68841         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68842         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68843         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68844         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68845         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68846         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68847         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68848         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68849         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68850         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68851         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68852         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68853         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68854         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68855         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68857         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68859         * stdio-common/_itoa.h: Moved to ...
68860         * sysdeps/generic/_itoa.h: Here.
68862         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68864         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68865         instead of "_itoa.h" and "_itowa.h".
68866         * stdio-common/vfprintf.: Likewise.
68868 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68870         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68871         <bits/wordsize.h>.
68872         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68873         (__signbit): Likwise.
68874         (llrintf): Likwise.
68875         (llrint): Likwise.
68877 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68879         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68880         __WORDSIZE != 64.
68882 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68884         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68885         OVERFLOW_EXCEPTION_OK.
68886         * math/libm-test.inc ("Philosophy"): Update comment about
68887         exception testing.
68888         (OVERFLOW_EXCEPTION): Define.
68889         (OVERFLOW_EXCEPTION_OK): Likewise.
68890         (INVALID_EXCEPTION_OK): Renumber.
68891         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68892         (IGNORE_ZERO_INF_SIGN): Likewise.
68893         (test_exceptions): Handle FE_OVERFLOW.
68894         (exp10_test): Expect overflow exceptions.
68895         (exp2_test): Likewise.
68896         (expm1_test): Likewise.
68897         (nextafter_test): Likewise.
68898         (pow_test): Likewise.
68899         (scalbn_test): Likewise.
68900         (scalbln_test): Likewise.
68902 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68904         * sysdeps/x86_64/bits/atomic.h
68905         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68906         64bit integer.
68907         (atomic_exchange_acq): Likewise.
68908         (__arch_exchange_and_add_body): Likewise.
68909         (__arch_add_body): Likewise.
68910         (atomic_add_negative): Likewise.
68911         (atomic_add_zero): Likewise.
68913 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68915         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68916         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68918 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68920         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68921         Check __x86_64__ instead of __WORDSIZE.
68923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68925         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68927 2012-03-19  David S. Miller  <davem@davemloft.net>
68929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68931         * sysdeps/sparc/fpu/fenv_private.h: New file.
68932         * sysdeps/sparc/fpu/math_private.h: Use it.
68933         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68934         Remove.
68935         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68936         (libc_feholdexcept_setroundl): Remove.
68937         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68938         Remove.
68939         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68940         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68942 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68944         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68945         int64_t instead of long int.
68946         (INSERT_WORDS64): Likwise.
68948 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68950         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68951         _Unwind_GetCFA return to _Unwind_Ptr first.
68953 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68955         [BZ #13629]
68956         * math/s_clog.c: Include <float.h>.
68957         (__clog): Scale large or subnormal inputs.
68958         * math/s_clogf.c: Likewise.
68959         * math/s_clogl.c: Likewise.
68960         * math/s_clog10.c: Include <float.h>.
68961         (M_LOG10_2): Define.
68962         (__clog10): Scale large or subnormal inputs.
68963         * math/s_clog10f.c: Likewise.
68964         * math/s_clog10l.c: Likewise.
68965         * math/libm-test.inc (clog_test): Add more tests.
68966         (clog10_test): Likewise.
68967         * sysdeps/i386/fpu/libm-test-ulps: Update.
68968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68970         [BZ #11451]
68971         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68972         x and y.
68973         * math/libm-test.inc (atan2_test): Add another test.
68975         * Makerules (common-objdir-compile): Remove.
68976         * sysdeps/unix/Makefile (config-generated): Do not add
68977         $(unix-generated) to variable.
68978         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68979         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68980         Remove rule.
68981         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68982         Likewise.
68983         [generic bits/local_lim.h] (before-compile): Do not append to
68984         variable.
68985         [generic bits/local_lim.h] (common-generated): Likewise.
68986         [generic sys/param.h] (before-compile): Do not append to variable.
68987         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68988         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68989         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68990         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68991         include.
68992         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68993         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68994         [generic sys/param.h] ($(addprefix
68995         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68996         [generic sys/param.h] (common-generated): Do not append to
68997         variable.
68998         [generic sys/param.h] (sysdep_headers): Likewise.
68999         [generic bits/errno.h] (before-compile): Do not append to
69000         variable.
69001         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69002         rule.
69003         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69004         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69005         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69006         [generic bits/errno.h] (common-generated): Do not append to
69007         variable.
69008         [generic bits/ioctls.h] (before-compile): Do not append to
69009         variable.
69010         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69011         rule.
69012         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69013         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69014         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69015         rule.
69016         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69017         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69018         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69019         [generic bits/ioctls.h] (common-generated): Do not append to
69020         variable.
69021         [generic sys/syscall.h] (syscall.h): Remove variable.
69022         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69023         rule.
69024         [generic sys/syscall.h] (before-compile): Do not append to
69025         variable.
69026         [generic sys/syscall.h] (common-generated): Likewise.
69027         * sysdeps/unix/errnos-tmpl.c: Remove file.
69028         * sysdeps/unix/errnos.awk: Likewise.
69029         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69030         * sysdeps/unix/ioctls.awk: Likewise.
69031         * sysdeps/unix/mk-local_lim.c: Likewise.
69032         * sysdeps/unix/snarf-ioctls: Likewise.
69034 2012-03-19  Richard Henderson  <rth@twiddle.net>
69036         * sysdeps/i386/fpu/fenv_private.h: New file.
69037         * sysdeps/i386/fpu/math_private.h: Use it.
69038         (math_opt_barrier, math_force_eval): Remove.
69039         (libc_feholdexcept_setround_53bit): Remove.
69040         (libc_feupdateenv_53bit): Remove.
69041         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69042         (math_opt_barrier, math_force_eval): Remove.
69043         (libc_feholdexcept): Remove.
69044         (libc_feholdexcept_setround): Remove.
69045         (libc_fetestexcept, libc_fesetenv): Remove.
69046         (libc_feupdateenv_test): Remove.
69047         (libc_feupdateenv, libc_feholdsetround): Remove.
69048         (libc_feresetround): Remove.
69050         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69051         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69053         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69054         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69055         (libc_feupdateenv_testl): New.
69056         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69057         (libc_feupdateenv_testf): New.
69058         (libc_feupdateenv): Use libc_feupdateenv_test.
69059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69060         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69062         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69063         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69064         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69065         (libc_feresetround_noex): New.
69066         (libc_feresetround_noexf): New.
69067         (libc_feresetround_noexl): New.
69068         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69069         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69070         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69071         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69072         SET_RESTORE_ROUND.
69073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69075         (__cos): Likewise.
69076         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69077         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69078         SET_RESTORE_ROUND_NOEX.
69079         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69080         SET_RESTORE_ROUND_NOEXF.
69081         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69082         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69083         (libc_feholdsetroundf): New.
69084         (libc_feresetround, libc_feresetroundf): New.
69086         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69087         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69088         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69090         * sysdeps/generic/math_private.h: Include <fenv.h>.
69091         (default_libc_feholdexcept): New.
69092         (default_libc_feholdexcept_setround): New.
69093         (default_libc_fesetenv, default_libc_feupdateenv): New.
69094         (libc_feholdexcept): Only define if undefined.
69095         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69096         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69097         (libc_feholdexcept_setroundl): Likewise.
69098         (libc_feholdexcept_setround_53bit): Likewise.
69099         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69100         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69101         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69102         (libc_feupdateenv_53bit): Likewise.
69103         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69104         (libc_feholdexcept): Convert from macro to inline function.
69105         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69106         (libc_fesetenv, libc_feupdateenv): Likewise.
69108         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69109         not previously defined.
69110         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69111         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69112         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69113         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69114         * sysdeps/ieee754/flt-32/math_private.h: New file.
69115         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69116         math_private.h below SET_FLOAT_WORD.
69117         (__isnan, __isinf_ns, __finite): Remove.
69118         (__isnanf, __isinf_nsf, __finitef): Remove.
69120 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69124 2012-03-17  David S. Miller  <davem@davemloft.net>
69126         [BZ #6471]
69127         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69128         for 2.16.
69130 2012-03-16  David S. Miller  <davem@davemloft.net>
69132         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69133         warnings.
69135         [BZ #6471]
69136         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69137         properly.
69138         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69139         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69140         sysdep_routines when subdir is sysvipc.
69141         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69142         __getshmlba helper.
69144         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69146 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69148         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69149         [__LP64__].
69151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69153         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69154         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69155         (__lround): Renamed to ...
69156         (__llround): This.  Replace long int with long long int.
69157         Define lround functions as aliases of llround functions.
69158         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69160 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69162         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69163         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69164         adresses to uintptr_t.  Replace "long int" and "unsigned long
69165         int" with "greg_t" on va_arg.
69167 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69169         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69170         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69172         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69173         Move e_machine check before EI_CLASS check.  Handle x32
69174         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69175         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69176         SKIP_EM_IA_64 and include
69177         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69179         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69180         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69181         (add_system_dir): New macro.
69183         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69184         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69186 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69188         [BZ #2551]
69189         [BZ #2552]
69190         [BZ #2553]
69191         [BZ #2554]
69192         [BZ #2562]
69193         [BZ #2563]
69194         [BZ #2565]
69195         [BZ #2566]
69196         [BZ #2576]
69197         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69198         (y0): Likewise.
69199         * math/w_j0f.c (j0f): Likewise.
69200         (y0f): Likewise.
69201         * math/w_j0l.c (__j0l): Likewise.
69202         (__y0l): Likewise.
69203         * math/w_j1.c (j1): Likewise.
69204         (y1): Likewise.
69205         * math/w_j1f.c (j1f): Likewise.
69206         (y1f): Likewise.
69207         * math/w_j1l.c (__j1l): Likewise.
69208         (__y1l): Likewise.
69209         * math/w_jn.c (jn): Likewise.
69210         (yn): Likewise.
69211         * math/w_jnf.c (jnf): Likewise.
69212         (ynf): Likewise.
69213         * math/w_jnl.c (__jnl): Likewise.
69214         (__ynl): Likewise.
69215         * math/libm-test.inc (j0_test): Add more tests.
69216         (j1_test): Likewise.
69217         (jn_test): Likewise.  Add trailing semicolon to existing test.
69218         (y0_test): Likewise.
69219         (y1_test): Likewise.
69220         * sysdeps/i386/fpu/libm-test-ulps: Update.
69221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69223         [BZ #13851]
69224         [BZ #13854]
69225         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69226         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69227         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69228         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69229         (__tanl): Set errno for infinite argument.
69230         * sysdeps/i386/fpu/mptan.c: Remove.
69231         * sysdeps/i386/fpu/s_tan.S: Likewise.
69232         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69233         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69234         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69235         * math/libm-test.inc (tan_test): Add more tests and enable more
69236         tests for double and long double.
69237         * sysdeps/i386/fpu/libm-test-ulps: Update.
69238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69240 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69242         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69243         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69245 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69247         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69248         * configure.in: Use it for both main tree and add-ons.
69249         * configure: Regenerated.
69251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69253         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69255 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69257         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69258         in comment.
69260         [BZ #13851]
69261         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69262         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69263         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69264         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69265         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69266         infinite argument.
69267         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69268         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69269         != 0 for prec == 2.
69270         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69271         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69272         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69273         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69274         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69275         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69276         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69277         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69278         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69279         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69280         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69281         * math/libm-test.inc (cos_test): Add more tests and enable more
69282         tests for long double.
69283         (sin_test): Likewise.
69284         (sincos_test): Likewise.
69285         * sysdeps/i386/fpu/libm-test-ulps: Update.
69286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69288 2012-03-16  David S. Miller  <davem@davemloft.net>
69290         * sysdeps/sparc/fpu/math_private.h: New file.
69292 2012-03-15  David S. Miller  <davem@davemloft.net>
69294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69295         file.
69296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69298         file.
69299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69304         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69305         sysdep routines.
69306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69308         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69309         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69311         * sysdeps/sparc/sparc-ifunc.h: New file.
69312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69313         sparc-ifunc.h
69314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69316         Likewise.
69317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69318         Likewise.
69319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69323         Likewise.
69324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69329         Likewise.
69330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69331         Likewise.
69332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69338         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69339         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69341         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69349         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69350         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69352         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69355         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69357 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69359         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69360         scaling.
69361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69363 2012-03-15  Andreas Jaeger  <aj@suse.de>
69365         [BZ #13852]
69366         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69367         ieee754/flt-32 implementation for sin, cos and sincos.
69368         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69369         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69370         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69371         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69372         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69373         ieee754/flt-32 implementation for tan.
69375         * math/libm-test.inc (cos_test): Enable some large input tests for
69376         float as well
69377         (sin_test): Likewise.
69378         (sincos_test): Likewise.
69379         (tan_test): Add tests for large input.
69381         * sysdeps/i386/fpu/libm-test-ulps: Update.
69383 2012-03-15  Andreas Jaeger  <aj@suse.de>
69385         [BZ #13658]
69386         * math/libm-test.inc (cos_test): Add more test cases.
69387         (sin_test): Likewise.
69388         (sincos_test): Likewise.
69390 2012-03-15  Andreas Jaeger  <aj@suse.de>
69392         [BZ #13837]
69393         * math/libm-test.inc (cos_test): Add a test case for large input
69394         value.
69395         (sin_test): Likewise.
69396         (sincos_test): Likewise.
69398 2012-03-15  Andreas Jaeger  <aj@suse.de>
69399             Joseph Myers  <joseph@codesourcery.com>
69401         [BZ #13658]
69402         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69403         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69404         * sysdeps/i386/fpu/branred.c: Likewise.
69405         * sysdeps/i386/fpu/dosincos.c: Likewise.
69406         * sysdeps/i386/fpu/mpa.c: Likewise.
69407         * sysdeps/i386/fpu/s_cos.S: Likewise.
69408         * sysdeps/i386/fpu/s_sin.S: Likewise.
69409         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69410         * sysdeps/i386/fpu/sincos32.c: Likewise.
69412         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69413         Define.
69414         (libc_feupdateenv_53bit): Define.
69415         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69416         Define.
69417         (libc_feupdateenv_53bit): Define.
69419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69420         53 bit (without extend i386 double precision).
69422         * math/libm-test.inc (sincos_test): Add tests for large input.
69423         (sin): Likewise.
69424         (cos): Likewise.
69426         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69428 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69432 2012-03-15  David S. Miller  <davem@davemloft.net>
69434         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69435         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69436         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69437         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69450         file.
69451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69453         file.
69454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69456         file.
69457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69459         file.
69460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69461         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69462         fmin/fmax sysdep routines.
69463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69465 2012-03-14  David S. Miller  <davem@davemloft.net>
69467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69471         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69473         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69474         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69487         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69488         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69490         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69492         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69496         routines.
69497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69498         file.
69499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69501         file.
69502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69504         file.
69505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69507         file.
69508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69510         file.
69511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69513         file.
69514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69515         file.
69516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69517         file.
69518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69519         file.
69520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69521         New file.
69522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69523         file.
69524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69525         file.
69526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69528         file.
69529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69531         file.
69532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69534         file.
69535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69537         VIS3 routines.
69539         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69540         New file.
69542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69544         * sysdeps/sparc/configure.in: New file.
69545         * sysdeps/sparc/configure: Generate.
69546         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69547         * configure: Regenerate.
69548         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69549         * config.make.in (have-as-vis3): New.
69550         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69551         available use -Av9d instead of -Av9a.
69552         * sysdeps/sparc/sparc64/Makefile: Likewise.
69553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69555         New file.
69556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69557         file.
69558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69559         New file.
69560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69561         file.
69562         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69563         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69564         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69565         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69566         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69568         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69569         fzeros/fnegs to load 0x80000000 into a float register instead of
69570         using the stack.
69571         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69573 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69576         bits/syscall.h.
69577         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69578         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69579         ($(inst_includedir)/bits/syscall.h): Remove rule.
69580         ($(objpfx)bits/syscall.d): Include instead of
69581         $(objpfx)syscall-list.d.
69582         (generated): Change syscall-list.h and syscall-list.d to
69583         bits/syscall.h and bits/syscall.d.
69585 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69587         [BZ #13846]
69588         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69590 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69592         [BZ #13841]
69593         * math/s_csqrt.c: Include <float.h>.
69594         (__csqrt): Scale large or subnormal inputs.
69595         * math/s_csqrtf.c: Likewise.
69596         * math/s_csqrtl.c: Likewise.
69597         * math/libm-test.inc (csqrt_test): Add more tests.
69598         * sysdeps/i386/fpu/libm-test-ulps: Update.
69599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69601         [BZ #13840]
69602         * math/libm-test.inc (hypot_test): Add more tests.
69604 2012-03-13  David S. Miller  <davem@davemloft.net>
69606         [BZ #13840]
69607         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69608         double-precision for the calculation instead of scaling.
69610 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69612         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69613         manipulate bits before adding and subtracting TWO52[sx].
69614         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69615         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69616         Likewise.
69617         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69619 2012-03-13  David S. Miller  <davem@davemloft.net>
69621         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69622         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69623         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69624         rtld-global-offsets.h
69625         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69627         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69628         large parameters.
69630         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69632         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69633         'err' in the ifdef scope in which it is actually used.
69635         * nss/nss_db/db-init.c: Include string.h
69637 2012-03-12  David S. Miller  <davem@davemloft.net>
69639         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69640         masking out of the most significant byte of random value used.
69641         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69642         Fix coding style in previous change.
69644         * sysdeps/unix/sysv/linux/kernel-features.h
69645         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69646         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69647         expression.
69648         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69649         later.
69651 2012-03-11  David S. Miller  <davem@davemloft.net>
69653         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69654         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69655         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69656         for 'resultvar' otherwise things get truncated on 64-bit.
69658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69659         Fix masking out of the most significant byte of random value used.
69661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69663 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69667 2012-03-09  David S. Miller  <davem@davemloft.net>
69669         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69670         variables with appropriate CPP guards.
69671         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69672         from the frame pointer, not the stack pointer.  Correct layout
69673         comments.  Fix test on resulting framesize and the management of
69674         the outregs buffer for pltexit.  Preserve floating point return
69675         values across _dl_call_pltexit call.
69676         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69677         framesize and the management of the outregs buffer for pltexit.
69678         Preserve floating point return values across _dl_call_pltexit
69679         call.
69680         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69681         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69682         (la_sparc64_gnu_pltexit): New functions.
69683         (print_exit): Fix format string for return register value.
69685 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69687         * sunrpc/Makefile (others): Add rpcgen.
69688         ($(objpfx)rpcgen): Remove special build rule and dependency on
69689         libc.
69690         * sunrpc/rpcgen.c: New file.
69692 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69694         [BZ #13673]
69695         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69696         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69697         * sysdeps/i386/crti.S: Likewise.
69698         * sysdeps/i386/crtn.S: Likewise.
69699         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69700         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69701         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69702         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69703         * sysdeps/sh/crti.S: Likewise.
69704         * sysdeps/sh/crtn.S: Likewise.
69705         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69707         [BZ #13673]
69708         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69709         with URL.
69710         * locale/programs/locfile-kw.gperf: Likewise.
69711         * locale/programs/charmap-kw.h: Regenerated.
69712         * locale/programs/locfile-kw.h: Likewise.
69714         [BZ #13673]
69715         * intl/plural.y: Replace FSF snail mail address with URL.
69716         * intl/plural.c: Regenerated.
69718 2012-03-09  Richard Henderson  <rth@twiddle.net>
69720         * include/math_private.h: Remove file.
69721         * math/math_private.h: Move file ...
69722         * sysdeps/generic/math_private.h: ... here.
69724         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69725         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69726         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69728         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69729         and <math_private.h>.
69730         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69731         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69732         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69733         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69734         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69735         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69736         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69738         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69739         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69740         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69741         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69742         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69744         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69745         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69746         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69747         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69748         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69749         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69750         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69751         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69752         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69753         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69754         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69755         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69756         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69760         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69761         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69762         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69763         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69764         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69765         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69766         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69767         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69769         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69770         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69771         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69772         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69773         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69774         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69775         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69776         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69777         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69778         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69779         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69780         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69781         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69782         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69783         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69784         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69785         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69786         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69787         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69788         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69789         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69790         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69791         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69792         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69793         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69794         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69795         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69796         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69797         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69799         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69800         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69801         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69804         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69805         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69809         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69810         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69811         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69812         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69813         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69814         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69815         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69817         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69818         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69819         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69820         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69821         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69822         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69823         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69824         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69825         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69826         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69827         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69828         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69830         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69831         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69832         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69833         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69834         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69835         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69836         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69837         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69838         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69839         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69840         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69841         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69842         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69843         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69844         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69846         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69847         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69848         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69849         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69850         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69851         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69852         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69853         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69854         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69855         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69856         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69857         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69858         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69859         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69860         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69861         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69862         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69863         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69864         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69865         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69866         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69867         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69868         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69869         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69870         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69871         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69872         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69873         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69874         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69875         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69876         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69877         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69878         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69879         * sysdeps/ieee754/k_standard.c: Likewise.
69880         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69884         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69890         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69892         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69893         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69894         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69897         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69907         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69909         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69911         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69913         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69915         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69916         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69924         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69927         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69928         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69929         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69930         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69931         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69932         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69935         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69936         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69937         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69938         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69941         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69942         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69943         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69944         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69946         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69947         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69948         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69949         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69950         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69952         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69953         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69954         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69955         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69956         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69957         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69958         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69959         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69960         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69961         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69962         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69963         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69964         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69965         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69967         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69968         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69969         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69970         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69971         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69973         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69974         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69975         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69977         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69978         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69979         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69980         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69981         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69982         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69983         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69984         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69985         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69986         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69987         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69988         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69990         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69991         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69992         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69993         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69994         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69995         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69996         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69997         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69998         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69999         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70000         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70001         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70002         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70004         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70005         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70006         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70007         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70008         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70009         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70010         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70011         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70012         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70013         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70014         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70015         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70016         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70017         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70018         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70019         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70020         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70021         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70022         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70023         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70024         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70025         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70026         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70027         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70028         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70029         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70030         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70031         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70033         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70034         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70035         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70037         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70038         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70040         * sysdeps/ieee754/s_lib_version.c: Likewise.
70041         * sysdeps/ieee754/s_matherr.c: Likewise.
70042         * sysdeps/ieee754/s_signgam.c: Likewise.
70043         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70044         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70045         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70046         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70047         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70048         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70049         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70050         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70051         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70052         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70053         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70054         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70055         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70056         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70057         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70058         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70059         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70060         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70061         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70065 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70067         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70068         * sunrpc/rpc_main.c: Likewise.
70069         * sunrpc/rpc_svcout.c: Likewise.
70071 2012-03-09  David S. Miller  <davem@davemloft.net>
70073         * include/math_private.h: New file.
70075 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70077         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70078         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70079         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70080         from <bits/socket_type.h>.
70081         (enum __socket_type): Don't define here.
70082         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70083         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70084         bits/socket_type.h.
70086         [BZ #13566]
70087         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70088         checking __USE_GNU.
70090         * Makerules ($(inst_includedir)/%.h): New rule.
70091         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70092         (install-others): Remove variable setting.
70093         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70095 2012-03-08  Richard Henderson  <rth@twiddle.net>
70097         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70098         from macro to inline function; merge with the
70099         !__LIBC_INTERNAL_MATH_INLINES version.
70100         (__ieee754_sqrtf): Likewise.
70102         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70103         to inline function.
70104         (__rintf, __floor, __floorf): Likewise.
70106         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70107         macro to inline function.
70108         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70110         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70111         not <math/math_private.h>.
70113 2012-03-08  David S. Miller  <davem@davemloft.net>
70115         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70116         copyright year.
70117         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70119 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70121         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70122         normalization.
70123         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70124         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70126 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70128         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70129         be defined individually, they must be defined as a block.  Define
70130         S for printing a string instead of hidint the different by using a
70131         macro for adding the 'l'.
70132         * stdio-common/tst-fphex-wide.c: Adjust.
70134 2012-03-07  Marek Polacek  <polacek@redhat.com>
70136         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70138 2012-03-08  Marek Polacek  <polacek@redhat.com>
70140         [BZ #13806]
70141         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70142         * stdio-common/tst-fphex.c: Define a few macros to make the
70143         test reusable.  Use them.
70144         * stdio-common/tst-fphex-wide.c: New file.
70146 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70148         [BZ #6911]
70149         * manual/macros.texi (gnusystems): New macro.
70150         (nongnusystems): Likewise.
70151         (gnulinuxhurdsystems): Likewise.
70152         (gnuhurdsystems): Likewise..
70153         (gnulinuxsystems): Likewise.
70154         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70155         variants of the GNU system, not "GNU system".
70156         * manual/conf.texi: Likewise.
70157         * manual/errno.texi: Likewise.  Update example of errno macro
70158         expansion.
70159         * manual/filesys.texi: Likewise.
70160         (getumask): Document as specific to GNU/Hurd.
70161         * manual/install.texi: Likewise.  Reword some references to
70162         GNU/Linux.
70163         * manual/intro.texi: Likewise.
70164         * manual/io.texi: Likewise.
70165         (File Name Portability): Detail which constraints are inapplicable
70166         to all GNU systems and which are only inapplicable to GNU/Hurd.
70167         * manual/job.texi: Likewise.
70168         * manual/llio.texi: Likewise.
70169         (O_NOCTTY): Document as present on GNU/Linux.
70170         * manual/maint.texi: Likewise.
70171         * manual/memory.texi: Likewise.
70172         * manual/pattern.texi: Likewise.
70173         * manual/pipe.texi: Likewise.
70174         * manual/process.texi: Likewise.
70175         * manual/resource.texi: Likewise.
70176         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70177         child on GNU/Hurd.
70178         * manual/setjmp.texi: Likewise.
70179         * manual/signal.texi: Likewise.
70180         * manual/startup.texi: Likewise.
70181         * manual/stdio.texi: Likewise.
70182         * manual/terminal.texi: Likewise.
70183         (ONLCR): Document as POSIX.
70184         (OXTABS): Document availability on GNU/Linux as XTABS.
70185         (ONOEOT): Document availability separately from other bits.
70186         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70187         * manual/time.texi: Likewise.
70188         * manual/users.texi: Likewise.
70189         * INSTALL: Regenerated.
70190         * sysdeps/gnu/errlist.c: Regenerated.
70192         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70193         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70194         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70195         puts.
70196         * configure: Regenerated.
70198 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70200         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70201         default includes instead of AC_HEADER_CHECK.
70202         * sysdeps/i386/configure: Regenerated.
70204         [BZ #10716]
70205         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70206         * math/s_cacoshf.c (__cacoshf): Likewise.
70207         * math/s_cacoshl.c (__cacoshl): Likewise.
70208         * math/s_casinh.c (__casinh): Set signs of result from argument.
70209         * math/s_casinhf.c (__casinhf): Likewise.
70210         * math/s_casinhl.c (__casinhl): Likewise.
70211         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70212         (casinh_test): Add more tests.
70213         * sysdeps/i386/fpu/libm-test-ulps: Update.
70214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70216 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70218         * po/zh_TW.po: Update from translation team.
70220         * login/Makefile (distribute): Remove variable.
70221         * catgets/Makefile: Likewise.
70222         * mach/Makefile: Likewise.
70223         * malloc/Makefile: Likewise.
70224         * misc/Makefile: Likewise.
70225         * iconv/Makefile: Likewise.
70226         * nscd/Makefile: Likewise.
70227         * hurd/Makefile: Likewise.
70228         * manual/Makefile: Likewise.
70229         * locale/Makefile: Likewise.
70230         * intl/Makefile: Likewise.
70231         * conform/Makefile: Likewise.
70232         * nss/Makefile: Likewise.
70233         * time/Makefile: Likewise.
70234         * soft-fp/Makefile: Likewise.
70235         * dirent/Makefile: Likewise.
70236         * gmon/Makefile: Likewise.
70237         * po/Makefile: Likewise.
70238         * rt/Makefile: Likewise.
70239         * socket/Makefile: Likewise.
70240         * math/Makefile: Likewise.
70241         * signal/Makefile: Likewise.
70242         * debug/Makefile: Likewise.
70243         * elf/Makefile: Likewise.
70244         * timezone/Makefile: Likewise.
70245         * stdlib/Makefile: Likewise.
70246         * iconvdata/Makefile: Likewise.
70247         * sunrpc/Makefile: Likewise.
70248         * io/Makefile: Likewise.
70249         * argp/Makefile: Likewise.
70250         * inet/Makefile: Likewise.
70251         * hesiod/Makefile: Likewise.
70252         * grp/Makefile: Likewise.
70253         * csu/Makefile: Likewise.
70254         * wctype/Makefile: Likewise.
70255         * crypt/Makefile: Likewise.
70256         * libio/Makefile: Likewise.
70257         * string/Makefile: Likewise.
70258         * nis/Makefile: Likewise.
70259         * resolv/Makefile: Likewise.
70260         * stdio-common/Makefile: Likewise.
70261         * wcsmbs/Makefile: Likewise.
70262         * dlfcn/Makefile: Likewise.
70263         * posix/Makefile: Likewise.
70265         [BZ #6959]
70266         * timezone/Makefile: Don't install timezone files, just the programs
70267         and scripts.
70269 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70271         * nss/databases.def: Add missing gshadow entry.
70273         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70275 2012-03-06  Marek Polacek  <polacek@redhat.com>
70277         [BZ #13726]
70278         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70279         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70280         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70281         * stdio-common/tst-long-dbl-fphex.c: New file.
70283 2012-03-06  David S. Miller  <davem@davemloft.net>
70285         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70286         (set_obp_int): New function.
70287         (get_obp_int): New function.
70288         (__get_clockfreq_via_dev_openprom): Likewise.
70289         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70290         Avoid unused variable warnings on 'val' and use builtin_expect.
70291         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70292         __builtin_expect.
70293         (INLINE_CLONE_SYSCALL): Likewise.
70295 2012-03-05  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70299 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70303         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70304         only for |x| >= 40.
70305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70307 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70310         Replace gettimeofday with __vdso_gettimeofday.
70312         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70313         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70314         __vdso_clock_gettime and __vdso_getcpu.
70316         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70317         time with __vdso_time.
70319 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70321         * manual/lang.texi (size_t): Note types to which size_t may be
70322         equivalent with the GNU C Library, but do not describe when
70323         differences between them are significant.
70325 2012-03-05  Andreas Jaeger  <aj@suse.de>
70327         * sysdeps/i386/fpu/libm-test-ulps: Update.
70329 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70331         [BZ #3976]
70332         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70333         (__ieee754_pow): Save and restore rounding mode and use
70334         round-to-nearest for main computations.
70335         * math/libm-test.inc (pow_test_tonearest): New function.
70336         (pow_test_towardzero): Likewise.
70337         (pow_test_downward): Likewise.
70338         (pow_test_upward): Likewise.
70339         (main): Call the new functions.
70340         * sysdeps/i386/fpu/libm-test-ulps: Update.
70341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70343         [BZ #3976]
70344         * math/libm-test.inc (cosh_test_tonearest): New function.
70345         (cosh_test_towardzero): Likewise.
70346         (cosh_test_downward): Likewise.
70347         (cosh_test_upward): Likewise.
70348         (sinh_test_tonearest): Likewise.
70349         (sinh_test_towardzero): Likewise.
70350         (sinh_test_downward): Likewise.
70351         (sinh_test_upward): Likewise.
70352         (main): Call the new functions.
70353         * sysdeps/i386/fpu/libm-test-ulps: Update.
70354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70356 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70358         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70359         default stack guard is set in last bytes.
70360         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70362 2012-03-05  Kees Cook  <keescook@chromium.org>
70364         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70366         [BZ #13656]
70367         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70368         possibly allocate from heap instead of stack.
70369         * stdio-common/bug-vfprintf-nargs.c: New file.
70370         * stdio-common/Makefile (tests): Add nargs overflow test.
70372 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70376 2012-03-03  Marek Polacek  <polacek@redhat.com>
70378         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70379         * math/math_private.h: Likewise.
70380         * stdlib/tst-strtod.c: Likewise.
70381         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70382         * sysdeps/x86_64/bits/atomic.h: Likewise.
70384 2012-03-02  David S. Miller  <davem@davemloft.net>
70386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70390         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70391         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70392         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70393         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70395 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70397         [BZ #13792]
70398         * manual/examples/README: New file, says the example source files
70399         can be used under GPL>=2.
70400         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70401         line containing just "*/".
70402         * manual/examples/add.c: Add copyright header (GPL>=2).
70403         * manual/examples/argp-ex1.c: Likewise.
70404         * manual/examples/argp-ex2.c: Likewise.
70405         * manual/examples/argp-ex3.c: Likewise.
70406         * manual/examples/argp-ex4.c: Likewise.
70407         * manual/examples/atexit.c: Likewise.
70408         * manual/examples/db.c: Likewise.
70409         * manual/examples/dir.c: Likewise.
70410         * manual/examples/dir2.c: Likewise.
70411         * manual/examples/execinfo.c: Likewise.
70412         * manual/examples/filecli.c: Likewise.
70413         * manual/examples/filesrv.c: Likewise.
70414         * manual/examples/fmtmsgexpl.c: Likewise.
70415         * manual/examples/genpass.c: Likewise.
70416         * manual/examples/inetcli.c: Likewise.
70417         * manual/examples/inetsrv.c: Likewise.
70418         * manual/examples/isockad.c: Likewise.
70419         * manual/examples/longopt.c: Likewise.
70420         * manual/examples/memopen.c: Likewise.
70421         * manual/examples/memstrm.c: Likewise.
70422         * manual/examples/mkfsock.c: Likewise.
70423         * manual/examples/mkisock.c: Likewise.
70424         * manual/examples/mygetpass.c: Likewise.
70425         * manual/examples/pipe.c: Likewise.
70426         * manual/examples/popen.c: Likewise.
70427         * manual/examples/rprintf.c: Likewise.
70428         * manual/examples/search.c: Likewise.
70429         * manual/examples/select.c: Likewise.
70430         * manual/examples/setjmp.c: Likewise.
70431         * manual/examples/sigh1.c: Likewise.
70432         * manual/examples/sigusr.c: Likewise.
70433         * manual/examples/stpcpy.c: Likewise.
70434         * manual/examples/strdupa.c: Likewise.
70435         * manual/examples/strftim.c: Likewise.
70436         * manual/examples/strncat.c: Likewise.
70437         * manual/examples/subopt.c: Likewise.
70438         * manual/examples/swapcontext.c: Likewise.
70439         * manual/examples/termios.c: Likewise.
70440         * manual/examples/testopt.c: Likewise.
70441         * manual/examples/testpass.c: Likewise.
70442         * manual/examples/timeval_subtract.c: Likewise.
70444         [BZ #13792]
70445         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70446         function to ...
70447         * manual/timeval_subtract.c.texi: ... here, new file.
70449 2012-03-02  David S. Miller  <davem@davemloft.net>
70451         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70453 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70455         [BZ #3976]
70456         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70457         (__sin): Save and restore rounding mode and use round-to-nearest
70458         for all computations.
70459         (__cos): Save and restore rounding mode and use round-to-nearest
70460         for all computations.
70461         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70462         <fenv.h>.
70463         (tan): Save and restore rounding mode and use round-to-nearest for
70464         all computations.
70465         * math/libm-test.inc (cos_test_tonearest): New function.
70466         (cos_test_towardzero): Likewise.
70467         (cos_test_downward): Likewise.
70468         (cos_test_upward): Likewise.
70469         (sin_test_tonearest): Likewise.
70470         (sin_test_towardzero): Likewise.
70471         (sin_test_downward): Likewise.
70472         (sin_test_upward): Likewise.
70473         (tan_test_tonearest): Likewise.
70474         (tan_test_towardzero): Likewise.
70475         (tan_test_downward): Likewise.
70476         (tan_test_upward): Likewise.
70477         (main): Call the new functions.
70478         * sysdeps/i386/fpu/libm-test-ulps: Update.
70479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70481         [BZ #10135]
70482         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70483         small n, then large n, before computing and testing k+n.
70484         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70486         Likewise.
70487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70488         Likewise.
70489         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70490         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70491         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70492         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70493         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70494         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70495         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70496         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70497         * math/libm-test.inc (scalbn_test): Add more tests.
70498         (scalbln_test): Likewise.
70500         * manual/filesys.texi (mode_t): Describe constraints on size and
70501         signedness, not exact equivalence to a particular type.
70502         (ino_t): Likewise.
70503         (ino64_t): Likewise.
70504         (dev_t): Likewise.
70505         (nlink_t): Likewise.
70506         (blkcnt_t): Likewise.
70507         (blkcnt64_t): Likewise.
70508         * manual/llio.texi (off_t): Likewise.
70510         [BZ #3976]
70511         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70512         (__ieee754_exp): Save and restore rounding mode and use
70513         round-to-nearest for all computations.
70514         * math/libm-test.inc (exp_test_tonearest): New function.
70515         (exp_test_towardzero): Likewise.
70516         (exp_test_downward): Likewise.
70517         (exp_test_upward): Likewise.
70518         (main): Call the new functions.
70519         * sysdeps/i386/fpu/libm-test-ulps: Update.
70520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70522 2012-03-01  Chris Demetriou  <cgd@google.com>
70524         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70525         have predictable order.
70527 2012-03-01  David S. Miller  <davem@davemloft.net>
70529         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70531         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70532         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70533         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70534         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70536         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70537         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70538         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70540         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70541         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70542         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70543         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70544         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70548         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70549         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70550         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70552         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70553         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70554         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70555         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70556         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70557         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70558         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70559         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70560         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70561         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70562         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70563         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70565         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70566         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70568         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70569         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70570         * sysdeps/sparc/elf/configure: Regenerated.
70572 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70574         * configure.in (AS, LD): Require binutils 2.20 or later.
70575         * configure: Regenerated.
70576         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70577         as required minimum version.
70578         * INSTALL: Regenerated.
70580         [BZ #2541]
70581         [BZ #4108]
70582         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70583         before squaring exponent.
70584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70585         bottom long double and 27 bits of top long double before squaring
70586         exponent.
70587         * math/libm-test.inc (erfc_test): Add more tests.
70588         * sysdeps/i386/fpu/libm-test-ulps: Update.
70589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70592 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70594         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70595         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70596         containing bit-fields.
70597         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70598         * soft-fp/single.h (_FP_UNION_S): Likewise.
70599         * soft-fp/double.h (_FP_UNION_D): Likewise.
70601 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70603         [BZ #13786]
70604         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70605         not include ../strcmp.S.
70606         [USE_AS_STRNCASECMP_L]: Likewise.
70607         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70608         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70609         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70610         (__strncasecmp_l_ia32): Define as alias to
70611         __strncasecmp_l_nonascii.
70613         [BZ #5794]
70614         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70615         * sysdeps/i386/fpu/libm-test-ulps: Update.
70616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70618         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70621 2012-02-29  Jeff Law  <law@redhat.com>
70623         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70624         out of bounds read.
70626 2012-02-29  Marek Polacek  <polacek@redhat.com>
70628         [BZ #13706]
70629         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70630         * elf/Makefile: Add rules to run tst-unused-dep.out.
70632 2012-02-28  David S. Miller  <davem@davemloft.net>
70634         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70635         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70638         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70639         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70641 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70643         * math/libm-test.inc (llround_test): Move one test from
70644         lround_test.  Use TEST_f_L in moved test.
70645         (lround_test): Move misplaced test to llround_test.  Add testcase
70646         from bug 2561.
70648 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70650         * sysdeps/x86_64/fpu/e_expf.S: New file.
70651         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70653 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70655         [BZ #13637]
70656         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70657         of remain_len that may cause incomplete multi-byte character and
70658         false match.
70659         * posix/bug-regex33.c: New file.
70660         * posix/Makefile (tests): Add bug-regex33.
70662 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70664         * manual/macros.texi: New file.
70665         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70666         * manual/libc.texinfo: Include macros.texi.
70667         * manual/creatute.texi: Likewise.
70668         * manual/install.texi: Likewise.
70669         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70670         @glibcadj{} in references to the GNU C Library.
70671         * manual/charset.texi: Likewise.
70672         * manual/conf.texi: Likewise.
70673         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70674         when not using those macros.
70675         * manual/creature.texi: Likewise.
70676         * manual/crypt.texi: Likewise.
70677         * manual/errno.texi: Likewise.
70678         * manual/filesys.texi: Likewise.
70679         * manual/header.texi: Likewise.
70680         * manual/install.texi: Likewise.
70681         * manual/intro.texi: Likewise.
70682         * manual/io.texi: Likewise.
70683         * manual/job.texi: Likewise.
70684         * manual/lang.texi: Likewise.
70685         * manual/libc.texiinfo: Likewise.
70686         * manual/llio.texi: Likewise.
70687         * manual/locale.texi: Likewise.
70688         * manual/maint.texi: Likewise.
70689         * manual/math.texi: Likewise.
70690         * manual/memory.texi: Likewise.
70691         * manual/message.texi: Likewise.
70692         * manual/nss.texi: Likewise.
70693         * manual/pattern.texi: Likewise.
70694         * manual/process.texi: Likewise.
70695         * manual/resource.texi: Likewise.
70696         * manual/search.texi: Likewise.
70697         * manual/setjmp.texi: Likewise.
70698         * manual/signal.texi: Likewise.
70699         * manual/socket.texi: Likewise.
70700         * manual/startup.texi: Likewise.
70701         * manual/stdio.texi: Likewise.
70702         * manual/string.texi: Likewise.
70703         * manual/sysinfo.texi: Likewise.
70704         * manual/syslog.texi: Likewise.
70705         * manual/terminal.texi: Likewise.
70706         * manual/time.texi: Likewise.
70707         * manual/users.texi: Likewise.
70708         * INSTALL: Regenerated.
70709         * NOTES: Regenerated.
70710         * sysdeps/gnu/errlist.c: Regenerated.
70712 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70714         * include/dirent.h: Include <dirstream.h> before
70715         <dirent/dirent.h>.
70717 2012-02-28  David S. Miller  <davem@davemloft.net>
70719         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70720         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70721         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70722         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70724 2012-02-27  David S. Miller  <davem@davemloft.net>
70726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70728         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70729         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70732         frame pointer instead of stack pointer relative arg slot.
70733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70734         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70735         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70737 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70739         [BZ #3992]
70740         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70742 2012-02-27  David S. Miller  <davem@davemloft.net>
70744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70748         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70749         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70750         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70751         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70753 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70755         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70756         later.  Allow versions 5-9.
70757         * configure: Regenerated.
70758         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70759         required minimum version and 4.6 as recommended version.  Do not
70760         mention bugs in GCC 2.7 and 2.8.
70761         * INSTALL: Regenerated.
70763 2012-02-27  David S. Miller  <davem@davemloft.net>
70765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70769         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70770         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70771         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70772         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70775         manipulate bits before adding and subtracting TWO112[sx].
70776         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70778 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70780         [BZ #13775]
70781         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70782         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70783         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70784         being in POSIX, because they are in 1003.1-2008.
70786         * rt/tst-aio.c: Include <fcntl.h>.
70787         * rt/tst-aio7.c: Likewise.
70788         * rt/tst-aio64.c: Likewise.
70790         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70792 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70794         * manual/install.texi (--with-headers): Describe headers as
70795         interface headers, not private headers.
70796         (Specific advice for GNU/Linux systems): Describe use of headers
70797         from "make headers_install", not private headers from older
70798         kernels.
70799         * INSTALL: Regenerated.
70800         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70801         Change to 2.6.19.
70802         * sysdeps/unix/sysv/linux/configure: Regenerated.
70804         * manual/llio.texi (fclean): Remove documentation.
70806         * manual/Makefile (libc-texi-generated): New variable.  Include
70807         version.texi.
70808         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70809         $(libc-texi-generated), not duplicated list of files.
70810         (version.texi, stamp-version): New rules.
70811         (realclean): Remove $(libc-texi-generated), not individual files
70812         from that list.  Do not remove dir-add.texinfo.
70813         * manual/libc.texinfo: Comment out uses of edition numbers and
70814         references to printed manual.  Remove last-updated dates.
70815         (EDITION): Comment out.
70816         (ISBN): Likewise.
70817         (VERSION, UPDATED): Remove.
70818         (version.texi): Include.
70820 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70822         * sysdeps/posix/spawni.c: Include <signal.h>.
70823         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70824         * sysdeps/pthread/aio_fsync.c: Likewise.
70826 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70828         * conform/Makefile (tests): Run only when not cross-compiling and
70829         when fast-check is not defined.
70831         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70832         * conform/data/limits.h-data: Fixes for POSIX2008.
70833         * conform/run-conformtest.sh: Run all tests.
70834         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70835         headers.
70836         * include/bits/dlfcn.h: Likewise.
70837         * include/langinfo.h: Likewise.
70838         * include/monetary.h: Likewise.
70839         * include/sys/poll.h: Likewise.
70841         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70842         for __USE_GNU.
70843         * posix/spawn.h: Define __need_sigset_t.
70844         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70845         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70846         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70847         to get sigevent_t only.
70848         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70849         only for __USE_GNU.
70850         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70851         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70852         process_vm_writev only for __USE_GNU.
70853         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70855         * conform/Makefile: For now ignore errors from run-conformtest.
70856         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70857         POSIX to avoid namespace pollution.  Don't prepend headers.
70858         * conform/data/aio.h-data: Fixes for POSIX testing.
70859         * conform/data/fcntl.h-data: Likewise.
70860         * conform/data/glob.h-data: Likewise.
70861         * conform/data/grp.h-data: Likewise.
70862         * conform/data/pthread.h-data: Likewise.
70863         * conform/data/pwd.h-data: Likewise.
70864         * conform/data/signal.h-data: Likewise.
70865         * conform/data/spawn.h-data: Likewise.
70866         * conform/data/stdio.h-data: Likewise.
70867         * conform/data/stdlib.h-data: Likewise.
70868         * conform/data/stropts.h-data: Likewise.
70869         * conform/data/sys/mman.h-data: Likewise.
70870         * conform/data/sys/stat.h-data: Likewise.
70871         * conform/data/sys/types.h-data: Likewise.
70872         * conform/data/sys/wait.h-data: Likewise.
70873         * conform/data/time.h-data: Likewise.
70874         * conform/data/unistd.h-data: Likewise.
70875         * conform/data/utime.h-data: Likewise.
70877         * io/sys/stat.h: fchmod was always in POSIX.
70878         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70879         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70880         * rt/aio.h: Define __need_timespec before including <time.h>.
70881         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70882         struct.  Add forward declaration of pthread_attr_t and use it in
70883         sigevent.
70884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70886         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70887         always remove CLK_TCK definition.
70889 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70891         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70893 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70895         * conform/run-conformtest.sh: New file.
70896         * conform/Makefile: Run run-conformtest for tests.
70897         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70898         support.
70900         * conform/data/uchar.h-data: New file.
70901         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70902         * conform/data/arpa/inet.h-data: Likewise.
70903         * conform/data/assert.h-data: Likewise.
70904         * conform/data/complex.h-data: Likewise.
70905         * conform/data/cpio.h-data: Likewise.
70906         * conform/data/ctype.h-data: Likewise.
70907         * conform/data/dirent.h-data: Likewise.
70908         * conform/data/dlfcn.h-data: Likewise.
70909         * conform/data/errno.h-data: Likewise.
70910         * conform/data/fcntl.h-data: Likewise.
70911         * conform/data/float.h-data: Likewise.
70912         * conform/data/fmtmsg.h-data: Likewise.
70913         * conform/data/fnmatch.h-data: Likewise.
70914         * conform/data/ftw.h-data: Likewise.
70915         * conform/data/glob.h-data: Likewise.
70916         * conform/data/grp.h-data: Likewise.
70917         * conform/data/iconv.h-data: Likewise.
70918         * conform/data/inttypes.h-data: Likewise.
70919         * conform/data/langinfo.h-data: Likewise.
70920         * conform/data/libgen.h-data: Likewise.
70921         * conform/data/limits.h-data: Likewise.
70922         * conform/data/locale.h-data: Likewise.
70923         * conform/data/math.h-data: Likewise.
70924         * conform/data/monetary.h-data: Likewise.
70925         * conform/data/mqueue.h-data: Likewise.
70926         * conform/data/ndbm.h-data: Likewise.
70927         * conform/data/net/if.h-data: Likewise.
70928         * conform/data/netdb.h-data: Likewise.
70929         * conform/data/netinet/in.h-data: Likewise.
70930         * conform/data/nl_types.h-data: Likewise.
70931         * conform/data/poll.h-data: Likewise.
70932         * conform/data/pthread.h-data: Likewise.
70933         * conform/data/pwd.h-data: Likewise.
70934         * conform/data/regex.h-data: Likewise.
70935         * conform/data/sched.h-data: Likewise.
70936         * conform/data/search.h-data: Likewise.
70937         * conform/data/semaphore.h-data: Likewise.
70938         * conform/data/setjmp.h-data: Likewise.
70939         * conform/data/signal.h-data: Likewise.
70940         * conform/data/spawn.h-data: Likewise.
70941         * conform/data/stdarg.h-data: Likewise.
70942         * conform/data/stdio.h-data: Likewise.
70943         * conform/data/stdlib.h-data: Likewise.
70944         * conform/data/string.h-data: Likewise.
70945         * conform/data/strings.h-data: Likewise.
70946         * conform/data/stropts.h-data: Likewise.
70947         * conform/data/sys/ipc.h-data: Likewise.
70948         * conform/data/sys/mman.h-data: Likewise.
70949         * conform/data/sys/msg.h-data: Likewise.
70950         * conform/data/sys/resource.h-data: Likewise.
70951         * conform/data/sys/select.h-data: Likewise.
70952         * conform/data/sys/sem.h-data: Likewise.
70953         * conform/data/sys/shm.h-data: Likewise.
70954         * conform/data/sys/socket.h-data: Likewise.
70955         * conform/data/sys/stat.h-data: Likewise.
70956         * conform/data/sys/statvfs.h-data: Likewise.
70957         * conform/data/sys/time.h-data: Likewise.
70958         * conform/data/sys/timeb.h-data: Likewise.
70959         * conform/data/sys/times.h-data: Likewise.
70960         * conform/data/sys/types.h-data: Likewise.
70961         * conform/data/sys/uio.h-data: Likewise.
70962         * conform/data/sys/un.h-data: Likewise.
70963         * conform/data/sys/utsname.h-data: Likewise.
70964         * conform/data/sys/wait.h-data: Likewise.
70965         * conform/data/syslog.h-data: Likewise.
70966         * conform/data/tar.h-data: Likewise.
70967         * conform/data/termios.h-data: Likewise.
70968         * conform/data/utime.h-data: Likewise.
70969         * conform/data/utmpx.h-data: Likewise.
70970         * conform/data/varargs.h-data: Likewise.
70971         * conform/data/wchar.h-data: Likewise.
70972         * conform/data/wctype.h-data: Likewise.
70973         * conform/data/wordexp.h-data: Likewise.
70975         * include/stropts.h: New file.
70976         * include/uchar.h: New file.
70977         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70978         * include/assert.h: Likewise.
70979         * include/ctype.h: Likewise.
70980         * include/dirent.h: Likewise.
70981         * include/dlfcn.h: Likewise.
70982         * include/fcntl.h: Likewise.
70983         * include/fnmatch.h: Likewise.
70984         * include/glob.h: Likewise.
70985         * include/grp.h: Likewise.
70986         * include/libio.h: Likewise.
70987         * include/locale.h: Likewise.
70988         * include/math.h: Likewise.
70989         * include/net/if.h: Likewise.
70990         * include/netdb.h: Likewise.
70991         * include/netinet/in.h: Likewise.
70992         * include/pthread.h: Likewise.
70993         * include/pwd.h: Likewise.
70994         * include/regex.h: Likewise.
70995         * include/sched.h: Likewise.
70996         * include/search.h: Likewise.
70997         * include/setjmp.h: Likewise.
70998         * include/signal.h: Likewise.
70999         * include/stdio.h: Likewise.
71000         * include/stdlib.h: Likewise.
71001         * include/string.h: Likewise.
71002         * include/sys/cdefs.h: Likewise.
71003         * include/sys/mman.h: Likewise.
71004         * include/sys/msg.h: Likewise.
71005         * include/sys/resource.h: Likewise.
71006         * include/sys/select.h: Likewise.
71007         * include/sys/socket.h: Likewise.
71008         * include/sys/stat.h: Likewise.
71009         * include/sys/statvfs.h: Likewise.
71010         * include/sys/time.h: Likewise.
71011         * include/sys/times.h: Likewise.
71012         * include/sys/uio.h: Likewise.
71013         * include/sys/utsname.h: Likewise.
71014         * include/sys/wait.h: Likewise.
71015         * include/termios.h: Likewise.
71016         * include/time.h: Likewise.
71017         * include/ulimit.h: Likewise.
71018         * include/unistd.h: Likewise.
71019         * include/utime.h: Likewise.
71020         * include/wchar.h: Likewise.
71021         * include/wctype.h: Likewise.
71022         * include/wordexp.h: Likewise.
71024         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71026         * time/time.h: TIME_UTC must be a macro.
71027         Make timespec_get available for ISO C11 only as well.
71029 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71031         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71032         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71034 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71036         * configure.in: Use -o not -a in test for unsupported multi-arch.
71038 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71040         * manual/texinfo.tex: Update to version 2012-01-19.16.
71042 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71044         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71046 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71048         [BZ #13738]
71049         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71050         * manual/fdl-1.3.texi: New file.
71051         * manual/fdl-1.1.texi: File removed.
71053         [BZ #13738]
71054         * manual/libc.texinfo (FDL_VERSION): New @set.
71055         Use it for mention of FDL in cover text.
71056         (Documentation License): Use it in @include file name.
71058 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71059             Roland McGrath  <roland@hack.frob.com>
71061         [BZ #5461]
71062         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71063         (not LONG_LONG_MAX and LONG_LONG_MIN.
71064         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71065         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71066         name.
71067         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71071         [BZ #2547]
71072         [BZ #11365]
71073         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71074         manipulate bits before adding and subtracting TWO23[sx].
71075         * math/libm-test.inc (nearbyint_test): Add more tests.
71077 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71079         [BZ #2548]
71080         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71081         bits before adding and subtracting TWO23[sx].
71082         * math/libm-test.inc (rint_test): Add more tests.
71083         (rint_test_tonearest): Likewise.
71084         (rint_test_towardzero): Likewise.
71085         (rint_test_downward): Likewise.
71086         (rint_test_upward: Likewise.
71088 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71090         [BZ #10110]
71091         * include/stdc-predef.h: New file.  Extracted from features.h.
71092         * include/features.h: Include stdc-predef.h.
71093         * Makefile (headers): Add stdc-predef.h.
71094         * CONFORMANCE (Compiler limitations): Update.
71096 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71098         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71100 2012-02-21  David S. Miller  <davem@davemloft.net>
71102         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71103         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71105 2012-02-20  David S. Miller  <davem@davemloft.net>
71107         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71108         using a normal save/restore sequence, rather than allocating a
71109         dummy stack frame just to store a frame pointer and restore.
71110         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71112 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71114         * manual/install.texi: Fix stray word in line-wrapped comment.
71116 2012-02-20  David S. Miller  <davem@davemloft.net>
71118         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71119         both binutils and gcc support GOTDATA.
71121         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71122         "rd %pc" in the PIC register setup sequences.
71124         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71125         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71126         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71127         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71128         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71129         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71130         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71131         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71132         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71133         (SYSCALL_ERROR_HANDLER): Likewise.
71134         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71135         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71137         (SYSCALL_ERROR_HANDLER): Likewise.
71139         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71140         (HAVE_GCC_GOTDATA): New.
71141         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71142         relocation support in both binutils and gcc.
71143         * sysdeps/sparc/elf/configure: Regenerate.
71145         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71146         * sysdeps/sparc/sparc32/elf/configure: Delete.
71147         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71148         * sysdeps/sparc/sparc64/elf/configure: Delete.
71149         * sysdeps/sparc/elf/configure.in: New file.
71150         * sysdeps/sparc/elf/configure: Generate.
71152         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71153         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71154         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71155         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71156         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71158 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71160         * manual/install.texi: Do not mention specific glibc version
71161         numbers.
71162         * manual/libc.texinfo (VERSION, UPDATED): Update.
71163         (@copying): Use @copyright{} and range of years.
71165 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71167         [BZ #13695]
71168         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71169         [crti.S not in sysdirs] (generated): Do not append.
71170         [crti.S not in sysdirs] (omit-deps): Likewise.
71171         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71172         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71173         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71174         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71175         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71176         Likewise.
71177         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71178         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71179         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71180         * csu/defs.awk: Remove file.
71181         * sysdeps/generic/initfini.c: Likewise.
71182         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71183         variable.
71184         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71185         Likewise.
71187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71189         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71190         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71191         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71192         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71193         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71194         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71195         <bits/epoll.h>.
71196         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71197         (__EPOLL_PACKED): Define to empty if not defined by
71198         <bits/epoll.h>.
71199         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71201         bits/epoll.h.
71203 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71205         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71206         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71207         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71208         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71209         <bits/timerfd.h>.
71210         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71212         bits/timerfd.h.
71214 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71216         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71217         in C locale.
71218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71219         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71220         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71223 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71225         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71226         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71228 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71230         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71231         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71232         defined.
71233         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71234         Likewise.
71235         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71236         entry for 2.16.
71238 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71240         * math/w_acos.c: Use non-signaling floating-point comparisons.
71241         * math/w_acosf.c: Likewise.
71242         * math/w_acosh.c: Likewise.
71243         * math/w_acoshf.c: Likewise.
71244         * math/w_acoshl.c: Likewise.
71245         * math/w_acosl.c: Likewise.
71246         * math/w_asin.c: Likewise.
71247         * math/w_asinf.c: Likewise.
71248         * math/w_asinl.c: Likewise.
71249         * math/w_atanh.c: Likewise.
71250         * math/w_atanhf.c: Likewise.
71251         * math/w_atanhl.c: Likewise.
71252         * math/w_exp2.c: Likewise.
71253         * math/w_exp2f.c: Likewise.
71254         * math/w_exp2l.c: Likewise.
71255         * math/w_j0.c: Likewise.
71256         * math/w_j0f.c: Likewise.
71257         * math/w_j0l.c: Likewise.
71258         * math/w_j1.c: Likewise.
71259         * math/w_j1f.c: Likewise.
71260         * math/w_j1l.c: Likewise.
71261         * math/w_jn.c: Likewise.
71262         * math/w_jnf.c: Likewise.
71263         * math/w_log.c: Likewise.
71264         * math/w_log10.c: Likewise.
71265         * math/w_log10f.c: Likewise.
71266         * math/w_log10l.c: Likewise.
71267         * math/w_log2.c: Likewise.
71268         * math/w_log2f.c: Likewise.
71269         * math/w_log2l.c: Likewise.
71270         * math/w_logf.c: Likewise.
71271         * math/w_logl.c: Likewise.
71272         * math/w_sqrt.c: Likewise.
71273         * math/w_sqrtf.c: Likewise.
71274         * math/w_sqrtl.c: Likewise.
71275         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71276         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71277         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71278         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71279         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71281 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71283         [BZ #9739]
71284         * manual/string.texi (strnlen): Use correct parameter name in
71285         equivalent expression.
71287 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71289         [BZ #11174]
71290         * manual/users.texi (seteuid): Consistently use neweuid for
71291         argument name.
71293 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71295         [BZ #13704]
71296         * manual/nss.texi (Services in the NSS configuration): Correct
71297         list of services in example configuration file.
71299 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71301         [BZ #11322]
71302         * manual/arith.texi: Remove statements about negative zero
71303         behaving identically to zero.
71305 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71307         [BZ #5993]
71308         * manual/install.texi: Do not document upgrading from libc5.
71310 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71312         [BZ #4596]
71313         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71315 2012-02-18  David S. Miller  <davem@davemloft.net>
71317         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71318         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71319         %o7 across the call.
71320         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71321         instead.
71322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71323         SETUP_PIC_REG_LEAF.
71324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71325         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71326         * sysdeps/sparc/crtn.S: Likewise.
71328 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71330         * aout/Makefile: Remove.
71332 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71334         [BZ #13058]
71335         * manual/examples/argp-ex1.c (main): Format definition in GNU
71336         style.
71337         * manual/examples/argp-ex2.c (main): Likewise.
71338         * manual/examples/argp-ex3.c (main): Likewise.
71339         * manual/examples/argp-ex4.c (main): Likewise.
71340         * manual/examples/longopt.c (main): Use new-style prototype
71341         definition.
71342         * manual/examples/strncat.c (main): Specify return type and use
71343         (void) for arguments.
71344         * manual/examples/subopt.c (main): Use char **argv argument.
71346 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71348         [BZ #5077]
71349         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71350         rounding modes.
71352 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71354         [BZ #6907]
71355         * manual/string.texi (strchr): Change when strchrnul is
71356         recommended.
71358 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71360         [BZ #174]
71361         * manual/locale.texi (setlocale): Document LOCPATH.
71363 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71365         [BZ #10210]
71366         * manual/process.texi (execle): Move @dots{} before last argument.
71368 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71370         [BZ #12047]
71371         * manual/charset.texi (Generic Charset Conversion): Fix typo
71372         (LC_TYPE -> LC_CTYPE).
71374 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71376         [BZ #5805]
71377         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71378         (scalbnf): Likewise.
71379         (scalbnl): Likewise.
71380         (scalbln): Likewise.
71381         (scalblnf): Likewise.
71382         (scalblnl): Likewise.
71383         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71384         (vwarnx): Likewise.
71385         (verr): Likewise.
71386         (verrx): Likewise.
71387         * manual/filesys.texi (telldir): Use braces around return type.
71388         * manual/llio.texi (mmap): Add space after comma.
71389         (mmap64): Likewise.
71390         * manual/math.texi (jn): Use @var{} on parameter names.
71391         (jnf): Likewise.
71392         (jnl): Likewise.
71393         (yn): Likewise.
71394         (ynf): Likewise.
71395         (ynl): Likewise.
71396         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71397         line.
71398         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71399         "...".
71400         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71401         (sched_get_priority_max): Likewise.
71402         * manual/signal.texi (sigvec): Add space after comma.
71403         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71404         names.
71405         (if_indextoname): Likewise.
71406         (if_freenameindex): Likewise.
71407         (sendto): Use ',' instead of '.' in prototype.
71408         * manual/startup.texi (syscall): Use @dots{} instead of literal
71409         "...".
71410         * manual/stdio.texi (__fpending): Separate initial words of
71411         paragraph from @deftypefun line.
71412         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71413         "...".
71414         (vsyslog): Use @var{} on parameter names.
71415         * manual/terminal.texi (stty): Use @var{} on parameter names.
71416         * manual/users.texi (getutmp): Use @var{} on parameter names.
71417         (getutmpx): Likewise.
71419 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71421         [BZ #6884]
71422         * manual/stdio.texi (fopen): Fix typos in description of
71423         ",ccs=STRING".
71425 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71427         [BZ #4026]
71428         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71429         get clock_id definition.
71431 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71433         [BZ #4822]
71434         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71435         (madvise): Cast every argument to void on its own.
71437 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71439         [BZ #9902]
71440         * manual/startup.texi (Exit Status): Fix typo.
71442 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71444         [BZ #10140]
71445         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71446         * manual/examples/argp-ex2.c: Likewise.
71447         * manual/examples/argp-ex3.c: Likewise.
71449 2012-02-16  Richard Henderson  <rth@redhat.com>
71451         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71452         * sysdeps/s390/s390-32/initfini.c: Remove.
71453         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71454         * sysdeps/s390/s390-64/initfini.c: Remove.
71456 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71458         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71459         compiler output for sysdeps/generic/initfini.c.
71460         * sysdeps/sh/elf/initfini.c: Remove file.
71462 2012-02-16  David S. Miller  <davem@davemloft.net>
71464         [BZ #11494]
71465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71467         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71468         * sysdeps/sparc/crti.S: New file.
71469         * sysdeps/sparc/crtn.S: New file.
71470         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71471         * sysdeps/sparc/sparc64/Makefile: Likewise.
71473 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71475         [BZ #3335]
71476         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71478 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71480         [BZ #4822]
71481         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71483         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71484         (write, read, close): Likewise.
71485         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71487 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71489         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71490         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71491         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71492         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71493         <bits/signalfd.h>.
71494         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71495         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71496         bits/signalfd.h.
71498 2012-02-14  Marek Polacek  <polacek@redhat.com>
71500         * sysdeps/x86_64/crti.S: New file.
71501         * sysdeps/x86_64/crtn.S: New file.
71502         * sysdeps/x86_64/elf/initfini.c: Remove file.
71504 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71506         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71507         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71508         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71509         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71510         <bits/inotify.h>.
71511         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71513         bits/inotify.h.
71515 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71517         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71518         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71519         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71520         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71521         <bits/eventfd.h>.
71522         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71524         bits/eventfd.h.
71526 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71528         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71529         __feraiseexcept instead of feraiseexcept.
71531         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71532         nanosleep invocations.
71533         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71534         strings, and add error checking for a nanosleep invocations.
71536 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71538         Replace FSF snail mail address with URLs, as per GNU coding standards.
71539         Most of the snail mail addresses were wrong anyway, and omitting
71540         them makes the source code easier to maintain.  Almost all of the
71541         changes are to license notices and to locale LC_IDENTIFICATION
71542         addresses, except for this one:
71543         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71544         not its snail mail address.
71546 2012-02-09  Richard Henderson  <rth@twiddle.net>
71548         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71549         of kernel-features.h.
71551         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71553 2012-02-08  Marek Polacek  <polacek@redhat.com>
71555         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71556         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71557         * sysdeps/gnu/_G_config.h: Likewise.
71558         * sysdeps/generic/_G_config.h: Likewise.
71560 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71562         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71563         tests.
71564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71566         * sysdeps/powerpc/powerpc32/crti.S: New file.
71567         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71568         * sysdeps/powerpc/powerpc64/crti.S: New file.
71569         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71571         * Makeconfig (have-initfini): Don't set.
71572         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71573         * configure.in (nopic_initfini): Don't substitute.
71574         * config.h.in (HAVE_INITFINI): Don't #undef.
71575         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71576         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71578 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71580         Support crti.S and crtn.S provided directly by architectures.
71581         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71582         [crti.S in sysdirs] (omit-deps): Likewise.
71583         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71584         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71585         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71586         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71587         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71588         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71589         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71590         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71591         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71592         compiler output for sysdeps/generic/initfini.c.
71593         * sysdeps/i386/elf/Makefile: Remove file.
71594         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71596 2012-02-07  Marek Polacek  <polacek@redhat.com>
71598         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71599         * sysdeps/gnu/_G_config.h: Likewise.
71600         * sysdeps/mach/hurd/_G_config.h: Likewise.
71602 2012-02-07  Marek Polacek  <polacek@redhat.com>
71604         * math/Makefile (tests): Add tst-CMPLX2.
71605         * math/tst-CMPLX2.c: New file.
71607 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71609         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71611         * math/libm-test.inc (jn_test): Add missing L suffix.
71613 2012-02-06  Marek Polacek  <polacek@redhat.com>
71615         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71616         * sysdeps/i386/fpu/e_powf.S: Likewise.
71617         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71618         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71619         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71620         * sysdeps/i386/fpu/e_pow.S: Likewise.
71621         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71622         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71623         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71624         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71625         * sysdeps/i386/fpu/e_log2.S: Likewise.
71626         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71627         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71628         * sysdeps/i386/fpu/e_powl.S: Likewise.
71629         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71630         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71631         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71632         * sysdeps/i386/fpu/e_logl.S: Likewise.
71633         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71634         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71635         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71636         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71637         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71638         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71639         * sysdeps/i386/fpu/e_log.S: Likewise.
71640         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71641         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71642         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71643         * sysdeps/i386/fpu/e_logf.S: Likewise.
71644         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71645         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71646         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71647         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71648         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71649         * sysdeps/i386/fpu/e_log10.S: Likewise.
71650         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71651         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71652         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71653         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71654         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71655         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71656         * sysdeps/i386/asm-syntax.h: Likewise.
71657         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71658         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71659         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71660         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71661         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71662         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71663         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71664         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71665         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71666         * sysdeps/powerpc/sysdep.h: Likewise.
71667         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71668         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71670 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71672         [BZ #411]
71673         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71675 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71677         * sysdeps/i386/sysdep.h: Include <features.h>.
71678         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71679         version.
71681 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71683         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71684         Define.
71685         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71686         LOAD_PIC_REG_STR.
71688 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71690         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71691         (SETUP_PIC_REG): Use GET_PC_THUNK.
71692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71693         macro.
71695 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71697         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71698         for non-PIC compilation.
71699         (SETUP_PIC_REG): Add .p2align directive.
71700         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71701         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71702         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71703         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71704         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71705         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71706         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71707         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71708         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71709         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71710         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71711         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71712         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71713         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71714         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71715         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71716         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71717         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71718         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71719         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71720         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71721         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71722         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71723         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71726         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71727         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71728         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71729         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71730         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71731         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71732         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71733         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71734         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71735         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71736         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71737         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71738         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71739         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71740         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71742 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71744         * math/tst-CMPLX.c: Include <stdio.h>.
71746 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71748         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71749         float.
71750         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71751         * sysdeps/sparc/bits/mathdef.h: Likewise.
71753 2012-01-31  Marek Polacek  <polacek@redhat.com>
71755         * libio/libio.h: Don't define _PARAMS.
71756         * locale/programs/config.h: Don't define PARAMS.
71757         * stdlib/strtol_l.c: Likewise.
71758         (__strtol_l): Remove PARAMS from the prototype.
71760 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71762         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71763         names.  Just use the correct names.  Remove unnecessary wrapper
71764         functions.
71765         * malloc/arena.c: Likewise.
71766         * malloc/hooks.c: Likewise.
71768         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71769         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71770         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71772 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71774         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71775         into tail calls.
71776         (update_get_addr): New function.
71777         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71778         GET_ADDR_MODULE parameter.
71780 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71782         * crypt/cert.c: Remove __STDC__ conditionals.
71783         * crypt/crypt-entry.c: Likewise.
71784         * crypt/crypt_util.c: Likewise.
71785         * libio/filedoalloc.c: Likewise.
71786         * libio/fileops.c: Likewise.
71787         * libio/genops.c: Likewise.
71788         * libio/iofclose.c: Likewise.
71789         * libio/iofdopen.c: Likewise.
71790         * libio/iofopen.c: Likewise.
71791         * libio/iofopen64.c: Likewise.
71792         * libio/iogetdelim.c: Likewise.
71793         * libio/iopopen.c: Likewise.
71794         * libio/obprintf.c: Likewise.
71795         * libio/oldfileops.c: Likewise.
71796         * libio/oldiofclose.c: Likewise.
71797         * libio/oldiofdopen.c: Likewise.
71798         * libio/oldiofopen.c: Likewise.
71799         * libio/oldiopopen.c: Likewise.
71800         * libio/wfiledoalloc.c: Likewise.
71801         * libio/wgenops.c: Likewise.
71802         * locale/programs/xmalloc.c: Likewise.
71803         * misc/syslog.c: Likewise.
71804         * stdio-common/xbug.c: Likewise.
71805         * string/memchr.c: Likewise.
71806         * string/memcmp.c: Likewise.
71807         * string/memrchr.c: Likewise.
71808         * string/rawmemchr.c: Likewise.
71809         * sysdeps/posix/getcwd.c: Likewise.
71810         * time/strftime_l.c: Likewise.
71812 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71814         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71815         * config.make.in (config-cflags-sse2avx): Define.
71816         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71817         Fix typo.
71819 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71821         * scripts/config.guess: Update from upstream config git repository.
71822         * scripts/config.sub: Likewise.
71824 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71826         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71827         (EM_NUM): Update.
71828         (R_TILEPRO_*, R_TILEGX_*): New macros.
71830         * scripts/firstversions.awk: Fix bug in version range handling.
71832         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71834         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71836         * include/sys/epoll.h: New file.
71837         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71838         libc_hidden_def.
71840 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71842         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71843         Avoid unnecessary __WORDSIZE == 64 test.
71844         (fmaxf): Use VEX format if possible.
71845         (fmax): Likewise.
71846         (fminf): Likewise.
71847         (fmin): Likewise.
71849         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71850         * math/math_private.h: Remove libc_fegetround* and
71851         libc_fesetround*.
71852         * sysdeps/i386/configure.in: Check for -msse2avx.
71853         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71854         also if SSE2AVX is defined.
71855         Remove libc_fegetround* and libc_fesetround*.
71856         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71857         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71858         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71859         of HAS_YMM_USABLE.
71860         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71861         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71862         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71863         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71866         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71868 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71870         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71871         size is not set.
71872         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71874 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71876         [BZ #13618]
71877         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71878         relocation.
71879         * Makeconfig (libm): Define.
71880         * elf/Makefile: Add rules to build and run tst-relsort1.
71881         * elf/tst-relsort1.c: New file.
71882         * elf/tst-relsort1mod1.c: New file.
71883         * elf/tst-relsort1mod2.c: New file.
71885 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71887         * math/s_ldexp.c: Remove __STDC__ conditionals.
71888         * math/s_ldexpf.c: Likewise.
71889         * math/s_ldexpl.c: Likewise.
71890         * math/s_nextafter.c: Likewise.
71891         * math/s_nexttowardf.c: Likewise.
71892         * math/s_significand.c: Likewise.
71893         * math/s_significandf.c: Likewise.
71894         * math/s_significandl.c: Likewise.
71895         * math/w_jnl.c: Likewise.
71896         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71897         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71898         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71899         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71900         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71901         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71902         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71903         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71904         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71905         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71906         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71907         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71908         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71909         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71910         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71911         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71912         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71913         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71914         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71915         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71916         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71917         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71918         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71919         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71920         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71921         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71922         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71923         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71924         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71925         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71926         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71927         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71928         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71929         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71930         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71931         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71932         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71933         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71934         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71935         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71936         * sysdeps/ieee754/k_standard.c: Likewise.
71937         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71938         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71939         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71940         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71941         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71942         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71943         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71944         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71945         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71946         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71947         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71948         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71949         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71950         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71951         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71952         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71953         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71954         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71955         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71956         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71959         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71960         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71961         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71962         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71964         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71966         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71968         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71969         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71970         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71971         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71972         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71973         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71974         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71975         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71976         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71977         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71979         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71980         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71981         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71982         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71983         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71986         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71987         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71990         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71991         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71992         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71993         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71994         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71995         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71996         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71997         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71998         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71999         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72000         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72001         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72002         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72003         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72004         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72005         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72006         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72007         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72008         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72009         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72010         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72011         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72012         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72013         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72014         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72015         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72016         * sysdeps/ieee754/s_matherr.c: Likewise.
72017         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72018         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72019         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72022 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72024         * crypt/md5.h: Remove __STDC__ conditionals.
72025         * libio/libioP.h: Likewise.
72026         * locale/programs/config.h: Likewise.
72027         * sysdeps/generic/sysdep.h: Likewise.
72028         * sysdeps/i386/asm-syntax.h: Likewise.
72029         * sysdeps/s390/asm-syntax.h: Likewise.
72030         * sysdeps/unix/sysdep.h: Likewise.
72031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72034 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72036         * libio/libio.h: Remove __STDC__ conditionals.
72037         * malloc/obstack.h: Likewise.
72038         * math/complex.h: Likewise.
72039         * math/math.h: Likewise.
72040         * sysdeps/generic/_G_config.h: Likewise.
72041         * sysdeps/gnu/_G_config.h: Likewise.
72042         * sysdeps/mach/hurd/_G_config.h: Likewise.
72043         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72044         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72045         * sysdeps/sparc/bits/mathdef.h: Likewise.
72047 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72049         [BZ #13583]
72050         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72051         Clean up HAS_* macros.
72052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72053         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72054         possible.
72055         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72056         HAS_AVX.
72057         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72058         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72059         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72060         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72061         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72063 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72065         * elf/tst-unique3.cc (gets): Remove declaration.
72066         * elf/tst-unique3lib.cc (gets): Likewise.
72067         * elf/tst-unique3lib2.cc (gets): Likewise.
72068         * elf/tst-unique4.cc (gets): Likewise.
72070 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72072         * include/stdio.h: Add C++ protection.  Add gets declarations and
72073         definitions.
72074         * debug/tst-chk1.c: Don't declare gets here.
72075         * stdio-common/tst-gets.c: Likewise.
72077 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72079         * posix/glob: Remove directory.
72081 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72083         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72085 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72087         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72088         of the non-standard EPFNOSUPPORT.
72090 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72092         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72093         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72094         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72096 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72098         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72100 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72102         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72103         transient errors.
72104         * nscd/grpcache.c (cache_addgr): Likewise.
72105         * nscd/hstcache.c (cache_addhst): Likewise.
72106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72107         * nscd/pwdcache.c (cache_addpw): Likewise.
72108         * nscd/servicescache.c (cache_addserv): Likewise.
72110 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72112         * malloc/malloc.c: Various cleanups.
72113         * malloc/hooks.c: Likewise.
72115         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72116         * stdlib/bug-fmtmsg1.c: New file.
72118         * stdlib/fmtmsg.c (init): Add missing unlock.
72119         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72121 2012-01-12  Marek Polacek  <polacek@redhat.com>
72123         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72124         and _GNU_SOURCE.
72126 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72128         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72129         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72130         macro to ensure uniqueness of label name.
72131         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72132         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72134 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72136         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72138         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72139         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72140         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72143 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72145         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72147         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72148         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72149         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72151         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72153         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72154         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72155         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72158         * math/bits/math-finite.h: Add ldexp support.
72160 2012-01-10  Marek Polacek  <polacek@redhat.com>
72162         * locale/programs/localedef.h (show_archive_content): Add noreturn
72163         attribute.
72165 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72167         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72169 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72171         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72173         * io/Makefile (headers): Add bits/poll2.h.
72175 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72178         typo #include statement.
72180 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72182         * include/sys/cdefs.h: Define __attribute_alloc_size.
72183         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72184         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72185         * elf/pldd.c: Likewise.
72186         * iconv/iconv_charmap.c: Likewise.
72187         * iconv/iconvconfig.c: Likewise.
72188         * iconv/strtab.c: Likewise.
72189         * locale/programs/locale.c: Likewise.
72190         * locale/programs/localedef.h: Likewise.
72191         * locale/programs/simple-hash.c: Likewise.
72192         * nscd/nscd.h: Likewise.
72193         * nss/makedb.c: Likewise.
72194         * sysdeps/generic/ldconfig.h: Likewise.
72195         * locale/programs/localedef.c: Remove xmalloc prototype.
72196         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72198 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72200         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72201         appropriate.
72203 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72205         * math/Makefile (tests): Add tst-CMPLX.
72206         * math/tst-CMPLX.c: New file.
72208         * math/complex.h (CMPLXL): Fix typo.
72210         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72211         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72212         GLIBC_2.16.
72213         * debug/tst-chk1.c: Add poll and ppoll tests.
72214         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72215         * include/sys/poll.h: Add hidden proto for ppoll.
72216         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72217         * sysdeps/mach/hurd/ppoll.c: Likewise.
72218         * io/ppoll.c: Likewise.
72219         * debug/poll_chk.c: New file.
72220         * debug/ppoll_chk.c: New file.
72221         * include/bits/poll2.h: New file.
72222         * io/bits/poll2.h: New file.
72224         [BZ #1350]
72225         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72227         * configure.in: static is always set to yes.  Remove.
72228         * config.make.in: Don't set build-static.
72229         * Makeconfig: Remove use of build-static.
72230         * dlfcn/Makefile: Likewise.
72231         * elf/Makefile: Likewise.
72232         * math/Makefile: Likewise.
72233         * misc/Makefile: Likewise.
72234         * nptl/Makefile: Likewise.
72235         * sysdeps/mach/hurd/Makefile: Likewise.
72237         * configure.in: PWD_P is not used anymore.
72238         * config.make.in: Remove PWD_P entry.
72240         * configure.in: Remove last remnants of RANLIB.
72241         No need to check for signed size_t anymore.
72242         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72243         and IA-64.
72244         Remove __builtin_expect test because we require at least gcc 3.4.
72245         * aclocal.m4: Likewise.
72247         * wcsmbs/mbrtoc16.c: Implement using towc function.
72248         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72249         * wcsmbs/wcsmbsload.c: Likewise.
72250         * iconv/gconv_simple.c: Likewise.
72251         * iconv/gconv_int.h: Likewise.
72252         * iconv/gconv_builtin.h: Likewise.
72253         * iconv/iconv_prog.c: Remove CHAR16 handling.
72255         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72257         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72259         * configure.in: Remove --with-elf and --enable-bounded options.
72260         Dont set base_machine for ia64.  More non-ELF conditions removed.
72261         Remove testing and setting of leading underscore information.
72262         * config.make.in (build-bounded): Set to no.
72263         * config.h.in: Remove NO_UNDERSCORES entry.
72264         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72265         them.
72266         * csu/start.c: Remove !NO_UNDERSCORE code.
72267         * locale/localeinfo.h: Likewise.
72268         * sysdeps/generic/machine-gmon.h: Likewise.
72269         * sysdeps/generic/sysdep.h: Likewise.
72270         * sysdeps/i386/sysdep.h: Likewise.
72271         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72272         * sysdeps/mach/sysdep.h: Likewise.
72273         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72274         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72275         * sysdeps/sh/sysdep.h: Likewise.
72276         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72277         * sysdeps/unix/i386/sysdep.S: Likewise.
72278         * sysdeps/unix/sparc/start.c: Likewise.
72279         * sysdeps/unix/sparc/sysdep.S: Likewise.
72280         * sysdeps/unix/sparc/sysdep.h: Likewise.
72281         * sysdeps/unix/start.c: Likewise.
72282         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72283         * sysdeps/x86_64/sysdep.h: Likewise.
72285 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72287         [BZ #13553]
72288         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72289         for non-gcc.
72290         * argp/argp-fmtstream.h: Use const instead __const.
72291         * argp/argp.h: Likewise.
72292         * assert/assert.h: Likewise.
72293         * bits/fenv.h: Likewise.
72294         * bits/sched.h: Likewise.
72295         * bits/sigset.h: Likewise.
72296         * bits/sigthread.h: Likewise.
72297         * catgets/nl_types.h: Likewise.
72298         * conform/data/pthread.h-data: Likewise.
72299         * crypt/crypt-private.h: Likewise.
72300         * crypt/crypt.h: Likewise.
72301         * crypt/crypt_util.c: Likewise.
72302         * ctype/ctype.h: Likewise.
72303         * debug/execinfo.h: Likewise.
72304         * debug/mbsnrtowcs_chk.c: Likewise.
72305         * debug/mbsrtowcs_chk.c: Likewise.
72306         * debug/wcsnrtombs_chk.c: Likewise.
72307         * debug/wcsrtombs_chk.c: Likewise.
72308         * debug/wcstombs_chk.c: Likewise.
72309         * dirent/dirent.h: Likewise.
72310         * dlfcn/dlfcn.h: Likewise.
72311         * elf/neededtest4.c: Likewise.
72312         * grp/grp.h: Likewise.
72313         * gshadow/gshadow.h: Likewise.
72314         * iconv/gconv.h: Likewise.
72315         * iconv/gconv_int.h: Likewise.
72316         * iconv/gconv_simple.c: Likewise.
72317         * iconv/iconv.h: Likewise.
72318         * iconv/loop.c: Likewise.
72319         * iconv/skeleton.c: Likewise.
72320         * include/aio.h: Likewise.
72321         * include/aliases.h: Likewise.
72322         * include/argz.h: Likewise.
72323         * include/arpa/inet.h: Likewise.
72324         * include/assert.h: Likewise.
72325         * include/dirent.h: Likewise.
72326         * include/dlfcn.h: Likewise.
72327         * include/execinfo.h: Likewise.
72328         * include/fcntl.h: Likewise.
72329         * include/fenv.h: Likewise.
72330         * include/glob.h: Likewise.
72331         * include/grp.h: Likewise.
72332         * include/libintl.h: Likewise.
72333         * include/mntent.h: Likewise.
72334         * include/netdb.h: Likewise.
72335         * include/pwd.h: Likewise.
72336         * include/rpc/netdb.h: Likewise.
72337         * include/sched.h: Likewise.
72338         * include/search.h: Likewise.
72339         * include/shadow.h: Likewise.
72340         * include/signal.h: Likewise.
72341         * include/stdio.h: Likewise.
72342         * include/stdlib.h: Likewise.
72343         * include/string.h: Likewise.
72344         * include/sys/socket.h: Likewise.
72345         * include/sys/stat.h: Likewise.
72346         * include/sys/statfs.h: Likewise.
72347         * include/sys/statvfs.h: Likewise.
72348         * include/sys/syslog.h: Likewise.
72349         * include/sys/time.h: Likewise.
72350         * include/sys/uio.h: Likewise.
72351         * include/time.h: Likewise.
72352         * include/unistd.h: Likewise.
72353         * include/utmp.h: Likewise.
72354         * include/wchar.h: Likewise.
72355         * include/wctype.h: Likewise.
72356         * inet/aliases.h: Likewise.
72357         * inet/arpa/inet.h: Likewise.
72358         * inet/netinet/ether.h: Likewise.
72359         * inet/netinet/in.h: Likewise.
72360         * intl/libintl.h: Likewise.
72361         * io/bits/fcntl2.h: Likewise.
72362         * io/fcntl.h: Likewise.
72363         * io/ftw.h: Likewise.
72364         * io/sys/poll.h: Likewise.
72365         * io/sys/stat.h: Likewise.
72366         * io/sys/statfs.h: Likewise.
72367         * io/sys/statvfs.h: Likewise.
72368         * io/utime.h: Likewise.
72369         * libio/bits/stdio.h: Likewise.
72370         * libio/bits/stdio2.h: Likewise.
72371         * libio/libio.h: Likewise.
72372         * libio/libioP.h: Likewise.
72373         * libio/stdio.h: Likewise.
72374         * locale/lc-ctype.c: Likewise.
72375         * locale/locale.h: Likewise.
72376         * login/utmp.h: Likewise.
72377         * malloc/arena.c: Likewise.
72378         * malloc/malloc.c: Likewise.
72379         * malloc/malloc.h: Likewise.
72380         * malloc/mcheck.c: Likewise.
72381         * malloc/mtrace.c: Likewise.
72382         * math/bits/mathcalls.h: Likewise.
72383         * math/fenv.h: Likewise.
72384         * math/math_private.h: Likewise.
72385         * misc/bits/error.h: Likewise.
72386         * misc/bits/syslog.h: Likewise.
72387         * misc/err.h: Likewise.
72388         * misc/error.h: Likewise.
72389         * misc/fstab.h: Likewise.
72390         * misc/mntent.h: Likewise.
72391         * misc/regexp.h: Likewise.
72392         * misc/search.h: Likewise.
72393         * misc/sgtty.h: Likewise.
72394         * misc/sys/mman.h: Likewise.
72395         * misc/sys/syslog.h: Likewise.
72396         * misc/sys/uio.h: Likewise.
72397         * misc/sys/xattr.h: Likewise.
72398         * misc/ttyent.h: Likewise.
72399         * nis/rpcsvc/ypclnt.h: Likewise.
72400         * nss/nss.h: Likewise.
72401         * posix/bits/unistd.h: Likewise.
72402         * posix/fnmatch.h: Likewise.
72403         * posix/glob.h: Likewise.
72404         * posix/sched.h: Likewise.
72405         * posix/spawn.h: Likewise.
72406         * posix/sys/wait.h: Likewise.
72407         * posix/unistd.h: Likewise.
72408         * posix/wordexp.h: Likewise.
72409         * pwd/pwd.h: Likewise.
72410         * resolv/netdb.h: Likewise.
72411         * resource/sys/resource.h: Likewise.
72412         * rt/aio.h: Likewise.
72413         * rt/bits/mqueue2.h: Likewise.
72414         * rt/mqueue.h: Likewise.
72415         * shadow/shadow.h: Likewise.
72416         * signal/signal.h: Likewise.
72417         * socket/send.c: Likewise.
72418         * socket/sendto.c: Likewise.
72419         * socket/sys/socket.h: Likewise.
72420         * stdio-common/printf.h: Likewise.
72421         * stdlib/bits/stdlib.h: Likewise.
72422         * stdlib/fmtmsg.h: Likewise.
72423         * stdlib/monetary.h: Likewise.
72424         * stdlib/stdlib.h: Likewise.
72425         * stdlib/ucontext.h: Likewise.
72426         * streams/stropts.h: Likewise.
72427         * string/argz.h: Likewise.
72428         * string/bits/string2.h: Likewise.
72429         * string/string.h: Likewise.
72430         * string/strings.h: Likewise.
72431         * sunrpc/rpc/auth.h: Likewise.
72432         * sunrpc/rpc/auth_des.h: Likewise.
72433         * sunrpc/rpc/clnt.h: Likewise.
72434         * sunrpc/rpc/netdb.h: Likewise.
72435         * sunrpc/rpc/pmap_clnt.h: Likewise.
72436         * sunrpc/rpc/xdr.h: Likewise.
72437         * sysdeps/generic/inttypes.h: Likewise.
72438         * sysdeps/generic/net/if.h: Likewise.
72439         * sysdeps/generic/sys/swap.h: Likewise.
72440         * sysdeps/gnu/net/if.h: Likewise.
72441         * sysdeps/gnu/utmpx.h: Likewise.
72442         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72443         * sysdeps/i386/i486/bits/string.h: Likewise.
72444         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72445         * sysdeps/s390/bits/string.h: Likewise.
72446         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72447         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72448         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72449         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72450         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72451         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72452         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72453         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72454         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72455         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72456         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72457         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72458         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72459         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72460         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72461         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72462         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72464         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72465         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72466         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72467         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72468         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72469         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72470         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72471         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72472         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72473         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72474         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72475         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72476         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72477         * sysvipc/sys/ipc.h: Likewise.
72478         * sysvipc/sys/msg.h: Likewise.
72479         * sysvipc/sys/sem.h: Likewise.
72480         * sysvipc/sys/shm.h: Likewise.
72481         * termios/termios.h: Likewise.
72482         * time/sys/time.h: Likewise.
72483         * time/time.h: Likewise.
72484         * wcsmbs/bits/wchar2.h: Likewise.
72485         * wcsmbs/uchar.h: Likewise.
72486         * wcsmbs/wchar.h: Likewise.
72487         * wctype/wctype.h: Likewise.
72489         [BZ #13551]
72490         * Makeconfig: Remove all but ELF support including AIX support.
72491         * Makerules: Likewise.
72492         * config.h.in: Likewise.
72493         * config.make.in: Likewise.
72494         * configure: Likewise.
72495         * configure.in: Likewise.
72496         * csu/Makefile: Likewise.
72497         * csu/version.c: Likewise.
72498         * debug/Makefile: Likewise.
72499         * dlfcn/Makefile: Likewise.
72500         * elf/Makefile: Likewise.
72501         * extra-lib.mk: Likewise.
72502         * iconv/Makefile: Likewise.
72503         * include/libc-symbols.h: Likewise.
72504         * include/shlib-compat.h: Likewise.
72505         * resolv/Makefile: Likewise.
72506         * resolv/res_libc.c: Likewise.
72507         * rt/Makefile: Likewise.
72508         * sysdeps/i386/asm-syntax.h: Likewise.
72509         * sysdeps/i386/sysdep.h: Likewise.
72510         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72511         * sysdeps/mach/sysdep.h: Likewise.
72512         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72513         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72514         * sysdeps/s390/asm-syntax.h: Likewise.
72515         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72516         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72517         * sysdeps/sh/sysdep.h: Likewise.
72518         * sysdeps/unix/sparc/sysdep.h: Likewise.
72519         * sysdeps/wordsize-32/divdi3.c: Likewise.
72520         * sysdeps/x86_64/sysdep.h: Likewise.
72522         * argp/Versions: Remove _argp_unlock_xxx.
72524         [BZ #13559]
72525         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72526         * abilist/libBrokenLocale.abilist: Likewise.
72527         * abilist/libanl.abilist: Likewise.
72528         * abilist/libc.abilist: Likewise.
72529         * abilist/libcrypt.abilist: Likewise.
72530         * abilist/libdl.abilist: Likewise.
72531         * abilist/libm.abilist: Likewise.
72532         * abilist/libnsl.abilist: Likewise.
72533         * abilist/libpthread.abilist: Likewise.
72534         * abilist/libresolv.abilist: Likewise.
72535         * abilist/librt.abilist: Likewise.
72536         * abilist/libthread_db.abilist: Likewise.
72537         * abilist/libutil.abilist: Likewise.
72538         * abilist/libnss_db.abilist: New file.
72540         * scripts/abilist.awk: Add support for indirect functions.
72542         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72544         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72546         * shlib-versions: Remove entries for ports architectures.
72548         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72549         files in ports.
72550         * elf/stackguard-macros.h: Remove support for IA-64.
72551         * elf/tst-auditmod1.c: Likewise.
72552         * sysdeps/generic/ldsodefs.h: Likewise.
72554         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72555         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72556         configure files.
72558         [BZ #13552]
72559         * configure.in: Remove --enable-omitfp support.
72560         * FAQ.in: Adjust.
72561         * config.make.in: Likewise.
72562         * Makeconfig: Likewise.
72563         * manual/install.texi: Likewise.
72565         In case anyone cares, the IA-64 architecture could move to ports.
72566         * sysdeps/ia64/*: Removed.
72567         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72568         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72570         [BZ #13555]
72571         * configure.in: Remove entries for unsupported architectures.
72573         [BZ #13533]
72574         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72575         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72576         routines.
72577         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72578         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72579         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72580         fall back to using wcrtomb.
72581         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72582         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72583         renaming.
72584         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72585         * wcsmbs/tst-c16c32-1.c: New file.
72587         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72588         local variable.
72590         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72592         * elf/tst-unique3.cc: Add explicit declaration of gets.
72593         * elf/tst-unique3lib.cc: Likewise.
72594         * elf/tst-unique3lib2.cc: Likewise.
72595         * elf/tst-unique4.cc: Likewise.
72597         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72599 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72601         [BZ #13566]
72602         * assert/assert.h (static_assert): Don't define for C++.
72603         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72604         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72606 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72608         * iconv/loop.c (single loop): Fix assertion in storing of
72609         remaining bytes.
72611         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72613 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72615         * posix/getconf.c: Update copyright year.
72616         * nss/getent.c: Likewise.
72617         * nss/makedb.c: Likewise.
72618         * iconv/iconvconfig.c: Likewise.
72619         * iconv/iconv_prog.c: Likewise.
72620         * elf/ldconfig.c: Likewise.
72621         * elf/pldd.c: Likewise.
72622         * elf/sotruss.ksh: Likewise.
72623         * catgets/gencat.c: Likewise.
72624         * csu/version.c: Likewise.
72625         * elf/ldd.bash.in: Likewise.
72626         * elf/sprof.c (print_version): Likewise.
72627         * locale/programs/locale.c: Likewise.
72628         * locale/programs/localedef.c: Likewise.
72629         * login/programs/pt_chown.c: Likewise.
72630         * nscd/nscd.c (print_version): Likewise.
72631         * debug/xtrace.sh: Likewise.
72632         * malloc/memusage.sh: Likewise.
72633         * malloc/mtrace.pl: Likewise.
72634         * debug/catchsegv.sh: Likewise.
72636 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72638         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72639         pure attribute.
72641 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72643         [BZ #13533]
72644         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72645         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72646         transformations.
72647         * iconv/gconv_int.h: Likewise.
72648         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72649         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72650         from libc for GLIBC_2.16.
72651         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72652         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72653         * wcsmbs/uchar.h: Really define mbstate_t.
72654         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72655         * wcsmbs/c16rtomb.c: New file.
72656         * wcsmbs/mbrtoc16.c: New file.
72657         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72658         for C/POSIX locale.
72659         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72660         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72662         * wcsmbs/wchar.h: Add missing __restrict.
72664 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72666         [BZ #13532]
72667         * time/Makefile (routines): Add timespec_get.
72668         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72669         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72670         timespec for ISO C11.
72671         * time/timespec_get.c: New file.
72672         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72673         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72675         [BZ #13531]
72676         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72677         * stdlib/stdlib.h: Declare aligned_alloc.
72678         * Versions.def: Add GLIBC_2.16 for libc.
72679         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72681         [BZ 13527]
72682         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72683         ISO C11.
72685         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72686         code.
72688         [BZ #13528]
72689         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72691         [BZ #13529]
72692         * assert/assert.h (static_assert): Define.
72694         * version.h: Update for 2.16 development version.
72696         [BZ #13526]
72697         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72698         _ISOC11_SOURCE.
72700         * version.h (RELEASE): Bump for 2.15 release.
72701         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72703         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72704         Patch by Marek Polacek <mpolacek@redhat.com>.
72706         * bits/byteswap.h: Protect long long constants with __extension__.
72707         * sysdeps/i386/bits/byteswap.h: Likewise.
72708         * sysdeps/ia64/bits/byteswap.h: Likewise.
72709         * sysdeps/s390/bits/byteswap.h: Likewise.
72710         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72712 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72714         [BZ #13540]
72715         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72716         destination buffer.
72717         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72719 2011-12-23  Marek Polacek  <polacek@redhat.com>
72721         * elf/dl-addr.c (determine_info): Add inline keyword.
72722         * elf/tst-auditmod4b.c (check_avx): Likewise.
72723         * elf/tst-auditmod6b.c (check_avx): Likewise.
72724         * elf/tst-auditmod6c.c (check_avx): Likewise.
72725         * elf/tst-auditmod7b.c (check_avx): Likewise.
72727 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72729         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72730         !__SSE_MATH__.
72732 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72734         [BZ #13540]
72735         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72736         processing for last bytes.
72738 2011-08-06  Bruno Haible  <bruno@clisp.org>
72740         [BZ #13061]
72741         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72742         U+0385, not to U+1FEE.
72744         [BZ #13062]
72745         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72746         entry for U+00A5 U+0301.
72748 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72750         [BZ #13166]
72751         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72752         buffer for the output is too small.
72754         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72755         optimization.
72757         [BZ #13185]
72758         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72759         SSE flags if possible.
72761 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72763         [BZ #13540]
72764         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72765         processing for last bytes.
72767 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72769         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72770         (syscall-list-default-options, syscall-list-default-condition)
72771         (syscall-list-includes): Define.
72772         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72773         list of ABIs and options and #if conditions for each ABI.  Do not
72774         handle common syscalls between ABIs specially.
72775         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72776         Remove.
72777         (syscall-list-variants, syscall-list-32bit-options)
72778         (syscall-list-32bit-condition, syscall-list-64bit-options)
72779         (syscall-list-64bit-condition): Define.
72780         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72781         (syscall-list-variants, syscall-list-32bit-options)
72782         (syscall-list-32bit-condition, syscall-list-64bit-options)
72783         (syscall-list-64bit-condition): Define.
72784         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72785         Remove.
72786         (syscall-list-variants, syscall-list-32bit-options)
72787         (syscall-list-32bit-condition, syscall-list-64bit-options)
72788         (syscall-list-64bit-condition): Define.
72789         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72790         Remove.
72791         (syscall-list-variants, syscall-list-32bit-options)
72792         (syscall-list-32bit-condition, syscall-list-64bit-options)
72793         (syscall-list-64bit-condition): Define.
72795 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72797         * locale/iso-639.def: Add brx entry.
72799         [BZ #13328]
72800         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72801         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72803         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72804         __feraiseexcept_renamed.
72806 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72808         [BZ #13538]
72809         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72810         EPOLLET with unsigned values.
72811         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72812         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72814         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72815         to large cancellation.
72816         * math/s_cacoshf.c: Likewise.
72817         * math/s_cacoshl.c: Likewise.
72819 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72821         [BZ #13305]
72822         [BZ #12786]
72823         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72824         * math/s_cacoshf.c: Likewise.
72825         * math/s_cacoshl.c: Likewise.
72827 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72829         [BZ #13439]
72830         * iconv/gconv.h: Define __GCONV_SWAP.
72831         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72832         * iconvdata/utf-16.c: Likewise.
72833         * iconvdata/utf-32.c: Likewise.
72835 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72837         [BZ #13524]
72838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72839         numerator after shifting it by one limb.
72841 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72843         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72844         under [__USE_EXTERN_INLINES].
72846 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72848         [BZ #13446]
72849         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72851 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72853         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72854         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72855         optimized code.
72856         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72857         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72858         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72859         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72860         for strncasecmp/strncasecmp_l compilation.
72861         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72862         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72864 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72866         [BZ #13484]
72867         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72868         of __asm__.
72870 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72872         [BZ #13506]
72873         * time/tzfile.c (__tzfile_read): Check values from file header.
72875 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72877         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72878         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72879         * powerpc/powerpc32/dl-start.S: Likewise.
72880         * powerpc/powerpc32/elf/start.S: Likewise.
72881         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72882         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72883         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72884         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72885         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72886         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72887         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72888         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72889         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72890         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72891         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72892         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72893         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72894         * powerpc/powerpc32/memset.S: Likewise.
72895         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72896         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72897         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72898         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72899         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72900         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72901         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72902         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72903         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72904         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72905         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72906         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72907         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72909 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72911         * math/libm-test.inc: Added more nearbyint tests.
72912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72913         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72915         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72917 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72919         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72920         FD_CLOEXEC.
72922 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72924         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72925         Add wcscpy-ssse3 wcscpy-c.
72926         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72927         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72928         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72929         * sysdeps/x86_64/wcschr.S: New file.
72930         * sysdeps/x86_64/wcsrchr.S: New file.
72931         * string/test-strcmp.c: Remove checking of wcscmp function for
72932         wrong alignments.
72933         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72934         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72935         wcsrchr-sse2 wcsrchr-c.
72936         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72937         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72938         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72939         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72940         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72941         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72942         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72943         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72944         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72945         * wcsmbc/wcschr.c (WCSCHR): New macro.
72947 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72949         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72950         * wcsmbs/test-wcsrchr.c: New file.
72951         * string/test-strrchr.c: Add wcsrchr support.
72952         (WIDE): New macro.
72953         * wcsmbs/test-wcscpy.c: New file.
72954         * string/test-strcpy.c: Add wcscpy support.
72955         (WIDE): New macro.
72957 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72959         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72960         the inner loop.
72962 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72964         [BZ #13472]
72965         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72967 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72969         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72970         Minor optimizations.
72972         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72973         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72974         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72976 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72978         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72979         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72980         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72981         for gcc to avoid warnings.
72982         * inet/Makefile (tests): Add tst-checks.
72983         * inet/tst-checks.c: New file.
72985         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72986         warning.
72988         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72989         __wmemcmp_sse2.
72991         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72992         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72994         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72996 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72998         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72999         problem.
73001         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73003 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73005         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73006         conditional on GCC version.
73007         (__arch_compare_and_exchange_val_8_acq)
73008         (__arch_compare_and_exchange_val_16_acq)
73009         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73010         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73011         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73013 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73015         * sysdeps/sh/backtrace.c: New file.
73017 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73019         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73020         parenthesis.
73022 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73024         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73025         falling back to utime.
73027 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73029         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73030         expectations for float.
73032 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73034         * locale/weight.h (findidx): Add parameter len.
73035         * locale/weightwc.h (findidx): Likewise.
73036         * posix/fnmatch_loop.c (FCT): Adjust caller.
73037         * posix/regcomp.c (build_equiv_class): Likewise.
73038         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73039         * posix/regexec.c (check_node_accept_bytes): Likewise.
73040         * string/strcoll_l.c (STRCOLL): Likewise.
73041         * string/strxfrm_l.c (STRXFRM): Likewise.
73043 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73045         * Makefile.in: Remove CVSOPT handling.
73046         * configure.in: Remove use of AC_REVISION.
73047         * iconvdata/Makefile (distribute): No need to filter out CVS.
73048         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73049         handling.
73051 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73053         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73054         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73055         [USE_AS_STRNCASECMP_L]: Likewise.
73056         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73057         NO_TLS_DIRECT_SEG_REFS.
73058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73059         Fix argument offsets for non-PIC.
73060         [USE_AS_STRNCASECMP_L]: Likewise.
73061         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73062         NO_TLS_DIRECT_SEG_REFS.
73064 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73066         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73067         O_CLOEXEC.
73068         * locale/loadlocale.c (_nl_load_locale): Likewise.
73070 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73072         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73073         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73074         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73075         (SYSCALL_GETTIME): Set errno on error.
73077         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73078         count references to noai6ai_cached.
73080 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73082         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73084         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73085         FD_CLOEXEC for /proc/self/maps.
73087         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73088         FD_CLOEXEC for /proc/meminfo.
73090         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73091         gai.conf.
73093         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73094         FD_CLOEXEC for given file.
73096         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73098         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73099         FD_CLOEXEC for /etc/hosts.
73100         (_gethtent): Likewise.
73102         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73104         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73105         cancellation and set FD_CLOEXEC for /etc/netgroup.
73107         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73108         reading /etc/publickey.
73110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73111         allow cancellation when reading /etc/group.
73113         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73114         cancellation.
73115         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73117         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73118         when using data file.
73120         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73122         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73123         (write_nis_obj): Use "c" and "e" in fopen.
73125         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73127         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73129         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73131         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73133         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73134         locale.alias.
73136         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73138         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73140         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73142         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73143         file parsing and set FD_CLOEXEC.
73145 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73147         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73149 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73151         * malloc/arena.c (arena_get2): Don't call reused_arena when
73152         _int_new_arena failed.
73154 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73156         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73157         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73158         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73159         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73160         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73162         to compile strcasecmp and strncasecmp.
73163         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73164         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73168 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73170         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73171         locale-defines.sym to gen-as-const-headers.
73172         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73173         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73174         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73175         to compile strcasecmp and strncasecmp.
73176         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73177         strcasecmp_l and strncasecmp_l.
73178         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73179         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73180         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73181         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73182         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73183         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73184         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73185         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73186         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73187         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73188         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73190 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73192         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73193         result of SYSDEP_GETTIME_CPU to retval.
73194         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73195         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73197         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73198         variable.
73200         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73201         mantissa words.
73202         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73204         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73205         from unused variable.
73207         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73208         DWARF definitions.
73209         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73210         for assembling.
73212         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73213         over namespaces.
73215         * sunrpc/rpc_prot.c (rejected): Fix case value.
73217         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73218         unsigned long long int to avoid warnings in shift.
73220         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73221         of use of trans.
73222         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73223         variable tmp.
73225         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73226         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73227         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73229         * nis/nis_table.c (nis_list): Use variable of correct type for
73230         result of __follow_path call.
73232 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73234         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73235         of math functions ceil, trunc, floor, round, and sqrt, when
73236         avaliable on the platform.
73237         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73238         name clash.
73239         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73240         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73241         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73243 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73245         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73246         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73248 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73250         * include/unistd.h: Fix __readlink return type.
73251         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73253 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73255         * stdlib/ucontext.h: Undo last change for makecontext.
73257 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73259         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73261         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73262         * setjmp/setjmp.h: Mark functions as non-leaf.
73263         * setjmp/bits/setjmp2.h: Likewise.
73264         * stdlib/ucontext.h: Likewise.
73266 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73268         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73269         (reused_arena): Don't check arena limit.
73270         (arena_get2): Atomically check arena limit.
73272 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73274         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73275         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73278         instructions.
73280 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73282         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73283         handler when locking.
73285         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73286         Fix size of allocated buffer.
73288 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73290         [BZ #10103]
73291         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73292         declarations for long double functions.
73293         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73295         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73297 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73299         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73300         installed.
73302         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73303         is disabled.
73305 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73307         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73309 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73311         * include/alloca.h (stackinfo_alloca_round): Define.
73312         (extend_alloca): Use it.
73313         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73314         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73315         here.
73317         * scripts/check-local-headers.sh: Ignore libaudit.h.
73319         * nscd/Makefile (extra-objs): Make recursively expanded.
73321 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73323         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73324         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73326         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73327         * posix/tst-rfc3484-2.c: Likewise.
73328         * posix/tst-rfc3484-3.c: Likewise.
73330         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73331         process_vm_writev.
73332         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73333         process_vm_writev.
73334         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73335         process_vm_writev from libc using GLIBC_2.15 version.
73337         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73339 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73341         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73342         stack usage.
73344 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73346         [BZ #13367]
73347         * nss/getent.c (initgroups_keys): Show error message in case no group
73348         names are given.
73350         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73351         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73352         __bump_nl_timestamp.
73353         * nscd/connections (nscd_init): When host database is served open
73354         netlink socket and request notification about configuration changes.
73355         (main_loop_poll): Track netlink file descriptor and bump timestamp
73356         in case data becomes available.
73357         (main_loop_epoll): Likewise.
73358         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73359         (database_pers_head): Add extra_data fileds.
73360         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73361         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73362         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73363         Adjust caller.
73364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73365         in6ai data, call __free_in6ai.
73366         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73367         Add -DHAVE_NETLINK.
73368         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73369         interface information.  Reuse previous data if netlink timestamp
73370         is not changed.
73371         (__bump_nl_timestamp): New function.
73372         (__free_in6ai): New function.
73374 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73376         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73377         close_not_cancel_no_status here.
73378         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73380 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73382         [BZ #13276]
73383         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73384         return value.
73386         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73387         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73388         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73390 2011-07-03  Andreas Jaeger  <aj@suse.de>
73392         [BZ #10709]
73393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73394         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73395         * math/libm-test.inc (sin_test): Add test case.
73397 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73399         [BZ #13337]
73400         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73401         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73403         * elf/chroot_canon.c (chroot_canon): Cleanups.
73405         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73407         [BZ #13335]
73408         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73409         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73411         * string/test-strchr.c: Make usable for strchrnul testing.
73412         * string/test-strchrnul.c: New file.
73413         * string/Makefile (strop-tests): Add strchrnul.
73415         * po/it.po: Update from translation team.
73416         * po/es.po: Likewise.
73418 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73420         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73421         the three constants needed as parameters.  Drop the others.
73422         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73423         __m128i_strloadu_tolower.
73424         Create and initialize variable zero and use it in all the places
73425         where _mm_setzero_si128 was used.
73427         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73428         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73429         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73430         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73431         anymore.
73432         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73433         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73434         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73435         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73436         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73437         __mpranred, __mptan.
73438         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73439         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73440         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73441         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73442         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73443         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73444         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73445         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73446         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73448 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73450         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73451         redefine if SHARED.
73452         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73454         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73455         wide char related routines to wcsmbs subdir.
73457 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73459         [BZ #13344]
73460         * misc/sys/cdefs.h (__THROWNL): Define.
73461         * posix/unistd.h: Use __THREADNL instead of __THREAD
73462         for memory synchronization functions.
73464 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73466         [BZ #13349]
73467         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73468         doesn't exist.
73469         * manual/stdio.texi (Obstack Streams): Node removed.
73471 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73473         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73474         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73475         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73477         * math/math_private.h (math_force_eval): Allow non-addressable
73478         arguments.
73479         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73481 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73483         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73484         file is not needed.
73486         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73488         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73489         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73490         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73491         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73492         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73493         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73494         Add AVX variants.
73495         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73496         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73497         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73498         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73499         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73500         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73501         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73502         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73503         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73504         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73505         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73506         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73507         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73508         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73509         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73510         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73511         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73512         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73513         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73515         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73516         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73518         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73519         place.  Use VEX encoding when compiling for AVX.
73521 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73523         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73524         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73526         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73528 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73530         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73531         useless if() expression.
73532         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73533         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73534         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73535         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73536         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73537         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73538         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73539         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73540         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73541         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73542         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73543         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73544         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73545         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73546         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73547         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73548         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73549         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73550         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73552         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73554 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73556         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73557         condition.
73558         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73560 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73562         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73563         .text section.  Avoid duplicate constants.
73564         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73565         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73566         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73572         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73573         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73574         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73575         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73576         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73577         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73578         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73579         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73580         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73581         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73582         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73584         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73585         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73586         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73587         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73588         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73589         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73590         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73591         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73592         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73593         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73594         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73595         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73596         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73597         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73598         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73599         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73600         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73601         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73602         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73603         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73604         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73605         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73606         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73607         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73608         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73610 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73612         * sysdeps/x86_64/dla.h: Move to ...
73613         * sysdeps/x86_64/fpu/dla.h: ...here.
73614         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73615         situations.  Use __builtin_fma only for gcc 4.6 and up.
73617         * config.make.in: Add have-mfma4 entry.
73618         * configure.in: Substitute libc_cv_cc_fma4.
73619         * math/Makefile (dbl-only-routines): Add sincostab.
73620         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73621         Use __sincostab not sincos.
73622         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73623         name is a macro.
73624         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73625         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73626         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73628         using __copysign.
73629         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73630         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73631         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73632         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73633         and __inv.
73634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73635         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73636         __copysign.
73637         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73638         define aliases when function name is a macro.
73639         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73640         sysdeps/ieee754/dbl-64/sincos.tbl.
73641         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73642         fma4-enabled routines.
73643         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73644         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73645         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73646         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73647         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73648         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73649         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73650         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73651         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73652         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73653         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73654         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73655         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73656         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73657         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73658         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73659         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73660         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73661         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73662         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73663         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73664         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73665         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73666         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73667         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73668         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73670         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73671         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73672         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73674         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73675         rename.
73676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73678         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73679         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73680         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73681         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73682         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73683         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73685 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73687         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73689 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73691         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73693         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73694         prediction.
73695         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73697         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73698         Remove unused variable magic_bits.
73699         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73701         * string/strnlen.c: Define and use STRNLEN macro.
73702         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73703         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73704         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73705         * wcsmbs/wcslen.c: Define and use WCSLEN.
73706         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73707         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73708         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73709         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73710         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73711         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73712         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73714 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73717         strnlen-sse2-no-bsf.
73718         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73719         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73720         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73721         Add strnlen support.
73722         (USE_AS_STRNLEN): New macro.
73723         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73724         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73725         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73726         * sysdeps/x86_64/wcslen.S: New file.
73728 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73730         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73731         XMM-moves are used for copying on small sizes.
73733 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73735         * wcsmbs/Makefile (strop-tests): Add wcschr.
73736         * wcsmbs/test-wcschr.c: New file.
73737         * string/test-strchr.c: Update.
73738         Add wcschr support.
73739         (WIDE): New macro.
73741 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73743         * wcsmbs/Makefile (strop-tests): Add wcslen.
73744         * wcsmbs/test-wcslen.c: New file.
73745         * string/test-strlen.c: Update.
73746         Add wcslen support.
73747         (WIDE): New macro.
73749 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73751         * po/it.po: Update from translation team.
73753 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73755         * sysdeps/x86_64/wcscmp.S: Update.
73756         Fix wrong comparison semantics.
73757         wcscmp shall use signed comparison not unsigned.
73758         Don't use substraction to avoid overflow bug.
73759         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73760         * wcsmbc/wcscmp.c: Likewise.
73761         * string/test-strcmp.c: Likewise.
73762         Add new tests to check cases with negative values.
73764 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73766         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73767         * sysdeps/x86_64/dla.h: ...here.  New file.
73768         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73771         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73772         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73773         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73775         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73778 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73781         __ynl_finite aliases.
73783 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73787         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73788         define DLA_FMA.
73789         [DLA_FMA] (EMULV): Use DLA_FMA.
73790         [DLA_FMA] (MUL12): Use EMULV.
73791         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73792         that are not needed.
73793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73794         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73795         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73796         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73797         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73798         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73799         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73801 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73803         * math/s_nan.c: Undef __nan.
73804         * math/s_nanf.c: Undef __nanf.
73805         * math/s_nanl.c: Undef __nanl.
73806         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73807         "math_private.h".
73809 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73811         * math/s_catan.c: Add branch predictions.
73812         * math/s_catanf.c: Likewise.
73813         * math/s_catanh.c: Likewise.
73814         * math/s_catanhf.c: Likewise.
73815         * math/s_catanhl.c: Likewise.
73816         * math/s_catanl.c: Likewise.
73817         * math/s_cexp.c: Likewise.
73818         * math/s_cexpf.c: Likewise.
73819         * math/s_cexpl.c: Likewise.
73820         * math/s_clog.c: Likewise.
73821         * math/s_clog10.c: Likewise.
73822         * math/s_clog10f.c: Likewise.
73823         * math/s_clog10l.c: Likewise.
73824         * math/s_clogf.c: Likewise.
73825         * math/s_clogl.c: Likewise.
73826         * math/s_csqrt.c: Likewise.
73827         * math/s_csqrtf.c: Likewise.
73828         * math/s_csqrtl.c: Likewise.
73829         * math/s_ctanf.c: Likewise.
73830         * math/s_ctanh.c: Likewise.
73831         * math/s_ctanhf.c: Likewise.
73832         * math/s_ctanhl.c: Likewise.
73833         * math/s_ctanl.c: Likewise.
73835         * math/math_private.h: Define __nan, __nanf, __nanl.
73836         * math/s_cacosh.c: Include <math_private.h>.
73837         * math/s_cacoshl.c: Likewise.
73838         * math/s_casinh.c: Likewise.
73839         * math/s_casinhf.c: Likewise.
73840         * math/s_casinhl.c: Likewise.
73841         * math/s_ccos.c: Rely entire on ccosh.
73842         * math/s_ccosf.c: Rely entire on ccoshf.
73843         * math/s_ccosl.c: Rely entirely on ccoshl.
73844         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73845         Remove tests for FE_INVALID.
73846         * math/s_ccoshf.c: Likewise.
73847         * math/s_ccoshl.c: Likewise.
73848         * math/s_csin.c: Likewise.
73849         * math/s_csinf.c: Likewise.
73850         * math/s_csinh.c Likewise.
73851         * math/s_csinhf.c: Likewise.
73852         * math/s_csinhl.c: Likewise.
73853         * math/s_csinl.c: Likewise.
73854         * math/s_ctan.c: Likewise.
73855         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73856         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73857         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73859 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73862         compilation problems.
73864         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73865         __builtin_expect.
73867 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73869         * sysdeps/i386/configure.in: Test for -mfma4 option.
73870         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73871         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73872         COMMON_CPUID_INDEX_80000001.
73873         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73874         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73875         use it if FMA3 is not supported.
73876         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73878         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73879         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73881 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73883         [BZ #12892]
73884         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73885         it would create a cycle with a link time dependency.
73887 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73889         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73890         instruction.
73891         * string/Makefile (strop-tests): Add rawmemchr.
73892         * string/test-rawmemchr.c: New file.
73894         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73895         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73896         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73897         when compiling str{,n}casecmp and when AVX is available.  Hook up
73898         new optimized code in initializers.
73900 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73902         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73903         __feraiseexcept instead of feraiseexcept.
73905 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73907         * math/math_private.h: Define defaults for libc_fetestexcept and
73908         libc_feupdateenv.
73909         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73910         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73911         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73912         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73913         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73914         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73915         libc_fetestexcept and libc_feupdateenv.
73917         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73918         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73919         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73920         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73921         libc_feholdexcept_setround.
73923         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73924         Add s_nearbyint-c and s_nearbyintf-c.
73925         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73926         nearbyintf inlines.
73927         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73928         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73929         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73930         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73932         * math/math_private.h: Define defaults for libc_fegetround,
73933         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73934         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73935         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73936         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73937         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73938         standard functions.
73939         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73940         Remove comments and hacks for old compiler versions.
73941         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73942         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73943         libc_feholdexceptl.
73945 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73947         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73948         (__feraiseexcept_renamed): Add __NTH.
73949         (feraiseexcept): Add __NTH.  Rename local variables to fix
73950         namespace violations.
73952 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73954         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73956         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73958         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73959         recently added interfaces.
73960         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73962         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73963         about macro parameter expansion.
73965         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73966         __NO_MATH_INLINES is defined.  Cleanups.
73968         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73969         and __floorf is target has SSE4.1.
73970         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73971         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73972         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73973         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73975         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73976         name.
73977         (floorf): Likewise.
73979         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73981 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73983         * misc/sys/cdefs.h: Fix last change.
73985         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73986         database lookup.
73988 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73990         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73992         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73993         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73994         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73995         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73996         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73997         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73998         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73999         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74000         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74001         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74002         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74003         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74004         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74005         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74006         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74007         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74008         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74009         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74010         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74011         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74012         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74013         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74015         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74016         ceil, ceilf, floor, floorf.
74018         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74019         Perform IRELATIVE relocations last.
74021         * elf/do-rel.h: Add another parameter nrelative, replacing the
74022         local variable with the same name.  Change name of the function
74023         to end in Rel or Rela (uppercase).
74024         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74025         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74026         elf_dynamic_do_##reloc function.
74028 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74030         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74031         is sufficient, at least on modern CPUs.
74033         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74035         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74036         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74038         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74039         __expl_finite.
74040         * math/bits/math-finite.h: Add entries for exp.
74041         * math/e_expl.c: Add __*_finite alias.
74042         * sysdeps/i386/fpu/e_exp.S: Likewise.
74043         * sysdeps/i386/fpu/e_expf.S: Likewise.
74044         * sysdeps/i386/fpu/e_expl.c: Likewise.
74045         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74046         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74047         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74049         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74050         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74051         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74053         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74054         is sufficient, at least on modern CPUs.
74056         * ctype/ctype-info.c (__ctype_init): Define.
74057         * include/ctype.h (__ctype_init): Declare.
74058         (__ctype_b_loc): The variable is always initialized.
74059         (__ctype_toupper_loc): Likewise.
74060         (__ctype_tolower_loc): Likewise.
74061         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74062         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74064 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74066         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74068         * configure.in: Also look in $cxxmachine/include for C++ system
74069         headers.
74071 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74073         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74074         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74075         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74076         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74077         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74078         (USE_AS_WMEMCMP): New macro.
74079         Fixing indents.
74080         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74081         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74082         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74083         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74085         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74086         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74087         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74088         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74089         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74090         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74091         (USE_AS_WMEMCMP): New macro.
74092         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74093         * sysdeps/string/test-memcmp.c: Update.
74094         Fix simple_wmemcmp.
74095         Add new tests.
74096         * wcsmbs/wmemcmp.c: Update.
74097         (WMEMCMP): New macro.
74098         Fix overflow bug.
74100 2011-10-12  Andreas Jaeger  <aj@suse.de>
74102         [BZ #13268]
74103         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74105 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74107         * libio/iofwide.c (do_length): Avoid warning.
74109         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74111 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74113         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74115         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74116         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74117         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74118         * sysdeps/i386/i686/fpu/e_log.S: New file.
74119         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74120         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74122         * ctype/ctype.h: Add support for inlined isXXX functions when
74123         compiling C++ code.
74125 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74127         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74129         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74131 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74133         [BZ #13291]
74134         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74136 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74138         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74139         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74140         feraiseexcept.
74142         * sysdeps/x86_64/memrchr.S: Check for zero size.
74144         * string/stratcliff.c: Add memrchr tests.
74146 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74149         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74150         rawmemchr-sse2 rawmemchr-sse2-bsf.
74151         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74152         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74153         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74154         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74155         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74156         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74157         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74158         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74159         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74160         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74161         * string/memrchr.c (MEMRCHR): New macro.
74163 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74165         Add integration with gcc's -ffinite-math-only and optimize wrapper
74166         functions in libm.
74167         * Versions.def: Define GLIBC_2.15 version for libm.
74168         * math/Makefile (headers): Add bits/math-finite.h.
74169         * math/bits/math-finite.h: New file.
74170         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74171         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74172         * math/e_acoshl.c: Add __*_finite alias.
74173         * math/e_acosl.c: Likewise.
74174         * math/e_asinl.c: Likewise.
74175         * math/e_atan2l.c: Likewise.
74176         * math/e_atanhl.c: Likewise.
74177         * math/e_coshl.c: Likewise.
74178         * math/e_exp10.c: Likewise.
74179         * math/e_exp10f.c: Likewise.
74180         * math/e_exp10l.c: Likewise.
74181         * math/e_exp2l.c: Likewise.
74182         * math/e_fmodl.c: Likewise.
74183         * math/e_gammal_r.c: Likewise.
74184         * math/e_hypotl.c: Likewise.
74185         * math/e_j0l.c: Likewise.
74186         * math/e_j1l.c: Likewise.
74187         * math/e_jnl.c: Likewise.
74188         * math/e_lgammal_r.c: Likewise.
74189         * math/e_log10l.c: Likewise.
74190         * math/e_log2l.c: Likewise.
74191         * math/e_logl.c: Likewise.
74192         * math/e_powl.c: Likewise.
74193         * math/e_sinhl.c: Likewise.
74194         * math/e_sqrtl.c: Likewise.
74195         * math/e_scalb.c: Completely rewritten and optimized.
74196         * math/e_scalbf.c: Likewise.
74197         * math/e_scalbl.c: Likewise.
74198         * math/w_acos.c: Likewise.
74199         * math/w_acosf.c: Likewise.
74200         * math/w_acosl.c: Likewise.
74201         * math/w_acosh.c: Likewise.
74202         * math/w_acoshf.c: Likewise.
74203         * math/w_acoshl.c: Likewise.
74204         * math/w_asin.c: Likewise.
74205         * math/w_asinf.c: Likewise.
74206         * math/w_asinl.c: Likewise.
74207         * math/w_atan2.c: Likewise.
74208         * math/w_atan2f.c: Likewise.
74209         * math/w_atan2l.c: Likewise.
74210         * math/w_atanh.c: Likewise.
74211         * math/w_atanhf.c: Likewise.
74212         * math/w_atanhl.c: Likewise.
74213         * math/w_exp10.c: Likewise.
74214         * math/w_exp10f.c: Likewise.
74215         * math/w_exp10l.c: Likewise.
74216         * math/w_fmod.c: Likewise.
74217         * math/w_fmodf.c: Likewise.
74218         * math/w_fmodl.c: Likewise.
74219         * math/w_j0.c: Likewise.
74220         * math/w_j0f.c: Likewise.
74221         * math/w_j0l.c: Likewise.
74222         * math/w_j1.c: Likewise.
74223         * math/w_j1f.c: Likewise.
74224         * math/w_j1l.c: Likewise.
74225         * math/w_jn.c: Likewise.
74226         * math/w_jnf.c: Likewise.
74227         * math/w_log.c: Likewise.
74228         * math/w_logf.c: Likewise.
74229         * math/w_logl.c: Likewise.
74230         * math/w_log10.c: Likewise.
74231         * math/w_log10f.c: Likewise.
74232         * math/w_log10l.c: Likewise.
74233         * math/w_log2.c: Likewise.
74234         * math/w_log2f.c: Likewise.
74235         * math/w_log2l.c: Likewise.
74236         * math/w_pow.c: Likewise.
74237         * math/w_powf.c: Likewise.
74238         * math/w_powl.c: Likewise.
74239         * math/w_remainder.c: Likewise.
74240         * math/w_remainderf.c: Likewise.
74241         * math/w_remainderl.c: Likewise.
74242         * math/w_scalb.c: Likewise.
74243         * math/w_scalbf.c: Likewise.
74244         * math/w_scalbl.c: Likewise.
74245         * math/w_sqrt.c: Likewise.
74246         * math/w_sqrtf.c: Likewise.
74247         * math/w_sqrtl.c: Likewise.
74248         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74249         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74250         used.
74251         * math/math_private.h: Declare __kernel_standard_f.
74252         * math/w_cosh.c: Remove cruft and optimize a bit.
74253         * math/w_coshf.c: Likewise.
74254         * math/w_coshl.c: Likewise.
74255         * math/w_exp2.c: Likewise.
74256         * math/w_exp2f.c: Likewise.
74257         * math/w_exp2l.c: Likewise.
74258         * math/w_hypot.c: Likewise.
74259         * math/w_hypotf.c: Likewise.
74260         * math/w_hypotl.c: Likewise.
74261         * math/w_lgamma.c: Likewise.
74262         * math/w_lgamma_r.c: Likewise.
74263         * math/w_lgammaf.c: Likewise.
74264         * math/w_lgammaf_r.c: Likewise.
74265         * math/w_lgammal.c: Likewise.
74266         * math/w_lgammal_r.c: Likewise.
74267         * math/w_sinh.c: Likewise.
74268         * math/w_sinhf.c: Likewise.
74269         * math/w_sinhl.c: Likewise.
74270         * math/w_tgamma.c: Likewise.
74271         * math/w_tgammaf.c: Likewise.
74272         * math/w_tgammal.c: Likewise.
74273         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74274         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74275         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74276         Minor optimizations.  Pretty printing.  Remove cruft.
74277         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74278         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74279         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74280         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74281         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74282         * sysdeps/i386/fpu/e_asin.S: Likewise.
74283         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74284         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74285         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74286         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74287         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74288         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74289         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74290         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74291         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74292         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74293         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74294         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74295         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74296         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74297         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74298         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74299         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74300         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74301         * sysdeps/i386/fpu/e_log.S: Likewise.
74302         * sysdeps/i386/fpu/e_log10.S: Likewise.
74303         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74304         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74305         * sysdeps/i386/fpu/e_log2.S: Likewise.
74306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74307         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74308         * sysdeps/i386/fpu/e_logf.S: Likewise.
74309         * sysdeps/i386/fpu/e_logl.S: Likewise.
74310         * sysdeps/i386/fpu/e_pow.S: Likewise.
74311         * sysdeps/i386/fpu/e_powf.S: Likewise.
74312         * sysdeps/i386/fpu/e_powl.S: Likewise.
74313         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74314         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74315         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74316         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74317         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74318         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74319         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74320         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74321         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74322         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74323         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74325         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74326         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74327         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74328         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74329         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74331         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74332         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74333         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74335         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74336         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74338         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74339         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74340         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74341         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74342         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74343         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74344         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74345         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74346         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74347         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74348         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74349         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74350         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74351         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74352         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74353         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74354         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74355         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74356         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74357         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74358         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74359         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74360         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74361         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74362         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74363         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74364         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74365         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74366         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74367         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74368         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74369         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74370         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74371         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74372         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74373         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74374         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74375         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74376         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74377         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74378         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74379         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74380         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74381         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74382         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74383         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74384         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74385         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74386         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74387         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74388         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74389         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74390         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74391         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74392         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74393         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74394         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74395         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74396         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74398         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74399         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74400         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74401         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74402         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74403         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74404         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74405         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74406         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74407         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74408         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74409         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74410         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74411         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74412         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74413         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74414         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74415         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74416         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74417         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74418         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74419         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74420         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74421         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74422         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74423         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74424         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74425         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74426         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74428         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74429         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74430         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74431         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74432         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74433         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74434         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74435         (__isnanf): Likewise.
74436         (__isinf_ns): Likewise.
74437         (__isinf_nsf): Likewise.
74438         (__finite): Likewise.
74439         (__finitef): Likewise.
74440         (__ieee754_sqrt): Define as macro.
74441         (__ieee754_sqrtf): Define as macro.
74442         (__ieee754_sqrtl): Define as macro.
74443         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74444         inlined copy.
74445         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74446         __FINITE_MATH_ONLY__ consistent.
74447         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74449 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74451         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74452         of rawmemchr.
74454         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74456 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74458         * po/ja.po: Update from translation team.
74460 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74462         * locale/programs/locarchive.c (prepare_address_space): New function.
74463         (create_archive, enlarge_archive, open_archive): Use it.
74465         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74466         inside [SHARED], where it is used.
74468         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74470         * nss/getent.c (netgroup_keys): Remove unused variable.
74471         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74473 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74475         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74476         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74478         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74479         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74480         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74481         * math/Makefile (libm-calls): Add s_isinf_ns.
74482         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74483         * math/multc3.c: Likewise.
74484         * math/s_casin.c: Likewise.
74485         * math/s_casinf.c: Likewise.
74486         * math/s_casinl.c: Likewise.
74487         * math/s_ccos.c: Likewise.
74488         * math/s_ccosf.c: Likewise.
74489         * math/s_ccosl.c: Likewise.
74490         * math/s_ctan.c: Likewise.
74491         * math/s_ctanf.c: Likewise.
74492         * math/s_ctanh.c: Likewise.
74493         * math/s_ctanhf.c: Likewise.
74494         * math/s_ctanhl.c: Likewise.
74495         * math/s_ctanl.c: Likewise.
74496         * math/w_fmod.c: Likewise.
74497         * math/w_fmodf.c: Likewise.
74498         * math/w_fmodl.c: Likewise.
74499         * math/w_remainder.c: Likewise.
74500         * math/w_remainderf.c: Likewise.
74501         * math/w_remainderl.c: Likewise.
74502         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74503         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74504         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74506         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74507         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74508         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74509         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74511         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74512         of the number.
74513         * stdio-common/printf_fphex.c: Likewise.
74514         * stdio-common/printf_size.c: Likewise.
74516         * math/e_exp10.c: Include math_private.h using <...> not "...".
74517         * math/e_exp10f.c: Likewise.
74518         * math/e_exp10l.c: Likewise.
74519         * math/e_exp2l.c: Likewise.
74520         * math/e_j0l.c: Likewise.
74521         * math/e_j1l.c: Likewise.
74522         * math/e_jnl.c: Likewise.
74523         * math/e_lgammal_r.c: Likewise.
74524         * math/e_rem_pio2l.c: Likewise.
74525         * math/e_scalb.c: Likewise.
74526         * math/e_scalbf.c: Likewise.
74527         * math/e_scalbl.c: Likewise.
74528         * math/k_cosl.c: Likewise.
74529         * math/k_sinl.c: Likewise.
74530         * math/k_tanl.c: Likewise.
74531         * math/s_cacoshf.c: Likewise.
74532         * math/s_catan.c: Likewise.
74533         * math/s_catanf.c: Likewise.
74534         * math/s_catanh.c: Likewise.
74535         * math/s_catanhf.c: Likewise.
74536         * math/s_catanhl.c: Likewise.
74537         * math/s_catanl.c: Likewise.
74538         * math/s_ccosh.c: Likewise.
74539         * math/s_ccoshf.c: Likewise.
74540         * math/s_ccoshl.c: Likewise.
74541         * math/s_cexp.c: Likewise.
74542         * math/s_cexpf.c: Likewise.
74543         * math/s_cexpl.c: Likewise.
74544         * math/s_clog.c: Likewise.
74545         * math/s_clog10.c: Likewise.
74546         * math/s_clog10f.c: Likewise.
74547         * math/s_clog10l.c: Likewise.
74548         * math/s_clogf.c: Likewise.
74549         * math/s_clogl.c: Likewise.
74550         * math/s_csin.c: Likewise.
74551         * math/s_csinf.c: Likewise.
74552         * math/s_csinh.c: Likewise.
74553         * math/s_csinhf.c: Likewise.
74554         * math/s_csinhl.c: Likewise.
74555         * math/s_csinl.c: Likewise.
74556         * math/s_csqrt.c: Likewise.
74557         * math/s_csqrtf.c: Likewise.
74558         * math/s_csqrtl.c: Likewise.
74559         * math/s_ctan.c: Likewise.
74560         * math/s_ctanf.c: Likewise.
74561         * math/s_ctanh.c: Likewise.
74562         * math/s_ctanhf.c: Likewise.
74563         * math/s_ctanhl.c: Likewise.
74564         * math/s_ctanl.c: Likewise.
74565         * math/s_ldexp.c: Likewise.
74566         * math/s_ldexpf.c: Likewise.
74567         * math/s_ldexpl.c: Likewise.
74568         * math/s_significand.c: Likewise.
74569         * math/s_significandf.c: Likewise.
74570         * math/s_significandl.c: Likewise.
74571         * math/w_acos.c: Likewise.
74572         * math/w_acosf.c: Likewise.
74573         * math/w_acosh.c: Likewise.
74574         * math/w_acoshf.c: Likewise.
74575         * math/w_acoshl.c: Likewise.
74576         * math/w_acosl.c: Likewise.
74577         * math/w_asin.c: Likewise.
74578         * math/w_asinf.c: Likewise.
74579         * math/w_asinl.c: Likewise.
74580         * math/w_atan2.c: Likewise.
74581         * math/w_atan2f.c: Likewise.
74582         * math/w_atan2l.c: Likewise.
74583         * math/w_atanh.c: Likewise.
74584         * math/w_atanhf.c: Likewise.
74585         * math/w_atanhl.c: Likewise.
74586         * math/w_cosh.c: Likewise.
74587         * math/w_coshf.c: Likewise.
74588         * math/w_coshl.c: Likewise.
74589         * math/w_dremf.c: Likewise.
74590         * math/w_exp10.c: Likewise.
74591         * math/w_exp10f.c: Likewise.
74592         * math/w_exp10l.c: Likewise.
74593         * math/w_exp2.c: Likewise.
74594         * math/w_exp2f.c: Likewise.
74595         * math/w_fmod.c: Likewise.
74596         * math/w_fmodf.c: Likewise.
74597         * math/w_fmodl.c: Likewise.
74598         * math/w_hypot.c: Likewise.
74599         * math/w_hypotf.c: Likewise.
74600         * math/w_hypotl.c: Likewise.
74601         * math/w_j0.c: Likewise.
74602         * math/w_j0f.c: Likewise.
74603         * math/w_j0l.c: Likewise.
74604         * math/w_j1.c: Likewise.
74605         * math/w_j1f.c: Likewise.
74606         * math/w_j1l.c: Likewise.
74607         * math/w_jn.c: Likewise.
74608         * math/w_jnf.c: Likewise.
74609         * math/w_jnl.c: Likewise.
74610         * math/w_lgamma.c: Likewise.
74611         * math/w_lgamma_r.c: Likewise.
74612         * math/w_lgammaf.c: Likewise.
74613         * math/w_lgammaf_r.c: Likewise.
74614         * math/w_lgammal.c: Likewise.
74615         * math/w_lgammal_r.c: Likewise.
74616         * math/w_log.c: Likewise.
74617         * math/w_log10.c: Likewise.
74618         * math/w_log10f.c: Likewise.
74619         * math/w_log10l.c: Likewise.
74620         * math/w_log2.c: Likewise.
74621         * math/w_log2f.c: Likewise.
74622         * math/w_log2l.c: Likewise.
74623         * math/w_logf.c: Likewise.
74624         * math/w_logl.c: Likewise.
74625         * math/w_pow.c: Likewise.
74626         * math/w_powf.c: Likewise.
74627         * math/w_powl.c: Likewise.
74628         * math/w_remainder.c: Likewise.
74629         * math/w_remainderf.c: Likewise.
74630         * math/w_remainderl.c: Likewise.
74631         * math/w_scalb.c: Likewise.
74632         * math/w_scalbf.c: Likewise.
74633         * math/w_scalbl.c: Likewise.
74634         * math/w_sinh.c: Likewise.
74635         * math/w_sinhf.c: Likewise.
74636         * math/w_sinhl.c: Likewise.
74637         * math/w_sqrt.c: Likewise.
74638         * math/w_sqrtf.c: Likewise.
74639         * math/w_sqrtl.c: Likewise.
74640         * math/w_tgamma.c: Likewise.
74641         * math/w_tgammaf.c: Likewise.
74642         * math/w_tgammal.c: Likewise.
74644         * po/ja.po: Update from translation team.
74646 2011-09-29  Andreas Jaeger  <aj@suse.de>
74648         [BZ #13179]
74649         * sunrpc/netname.c (netname2host): Fix logic.
74651         [BZ #6779]
74652         [BZ #6783]
74653         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74654         correctly.
74655         * math/w_remainder.c (__remainder): Likewise.
74656         * math/w_remainderf.c (__remainderf): Likewise.
74657         * math/libm-test.inc (remainder_test): Add test cases.
74659 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74661         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74662         sdiv_qrnnd.
74664 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74666         * string/test-memcmp.c: Avoid unncessary #defines.
74667         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74669 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74671         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74672         Use new sse2 version for core i3 - i7 as it's faster
74673         than sse42 version.
74674         (bit_Prefer_PMINUB_for_stringop): New.
74675         * sysdeps/x86_64/rawmemchr.S: Update.
74676         Replace with faster SSE2 version.
74677         * sysdeps/x86_64/memrchr.S: New file.
74678         * sysdeps/x86_64/memchr.S: Update.
74679         Replace with faster SSE2 version.
74681 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74683         * elf/dl-load.c (lose): Add cast to avoid warning.
74685 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74687         * po/ca.po: Update from translation team.
74689         * inet/getnetgrent_r.c: Hook up nscd.
74690         * nscd/Makefile (routines): Add nscd_netgroup.
74691         (nscd-modules): Add netgroupcache.
74692         (CFLAGS-netgroupcache.c): Define.
74693         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74694         (cache_search): Add const to second parameter.
74695         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74696         INNETGR.
74697         (dbs): Add netgrdb entry.
74698         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74699         (verify_persistent_db): Handle netgrdb.
74700         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74701         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74702         GETFDNETGR.
74703         (netgroup_response_header): Define.
74704         (innetgroup_response_header): Define.
74705         (datahead): Add netgroup_response_header and innetgroup_response_header
74706         elements.
74707         * nscd/nscd.conf: Add entries for netgroup cache.
74708         * nscd/nscd.h (dbtype): Add netgrdb.
74709         (_PATH_NSCD_NETGROUP_DB): Define.
74710         (netgroup_iov_disabled): Declare.
74711         (xmalloc, xcalloc, xrealloc): Move declarations here.
74712         (cache_search): Adjust prototype.
74713         Add netgroup-related prototypes.
74714         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74715         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74716         (__nscd_innetgr): Declare.
74717         * nscd/selinux.c (perms): Use access_vector_t as element type and
74718         add netgroup-related initializers.
74719         * nscd/netgroupcache.c: New file.
74720         * nscd/nscd_netgroup.c: New file.
74721         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74722         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74723         For four parameters use innetgr.
74724         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74725         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74726         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74727         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74729         * nscd/connections.c (register_traced_file): Don't register file
74730         for disabled databases.
74732 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74734         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74736         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74737         from tree and freeing node.
74739 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74741         * nss/nsswitch.c (__nss_database_lookup): Handle
74742         nss_parse_service_list out of memory case.
74744 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74746         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74747         out of memory case.
74749 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74751         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74752         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74753         pass it down.
74754         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74755         elf_machine_rela, elf_machine_lazy_rel.
74756         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74757         (ELF_DYNAMIC_DO_REL): Likewise.
74758         (ELF_DYNAMIC_DO_RELA): Likewise.
74759         (ELF_DYNAMIC_RELOCATE): Likewise.
74760         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74761         to ELF_DYNAMIC_DO_REL.
74762         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74763         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74764         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74765         elf_machine_rela.
74766         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74767         skip_ifunc, don't call ifunc function if non-zero.
74768         (elf_machine_rela): Likewise.
74769         (elf_machine_lazy_rel): Likewise.
74770         (elf_machine_lazy_rela): Likewise.
74771         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74772         (elf_machine_lazy_rel): Likewise.
74773         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74774         Likewise.
74775         (elf_machine_lazy_rel): Likewise.
74776         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74777         Likewise.
74778         (elf_machine_lazy_rel): Likewise.
74779         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74780         (elf_machine_lazy_rel): Likewise.
74781         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74782         (elf_machine_lazy_rel): Likewise.
74783         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74784         (elf_machine_lazy_rel): Likewise.
74785         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74786         (elf_machine_lazy_rel): Likewise.
74787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74788         (elf_machine_lazy_rel): Likewise.
74789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74790         (elf_machine_lazy_rel): Likewise.
74792 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74794         * nss/nss_files/files-init.c (_nss_files_init): Use static
74795         initialization for all the *_traced_file variables.
74797 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74799         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74801 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74803         [BZ #13226]
74804         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74806 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74808         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74809         Reread the line before reparsing it.
74811 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74813         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74815 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74816             Maxim Kuvyrkov  <maxim@codesourcery.com>
74817             Joseph Myers  <joseph@codesourcery.com>
74819         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74820         if needed for __stack_chk_guard.
74822 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74824         * sysdeps/posix/spawni.c (script_execute): Always define it.
74825         It will be optimized away if unused.
74826         (maybe_script_execute): New function.
74827         (__spawni): Call it.
74829         * Makerules: Don't include tls.make.
74830         (config-tls): Always set to thread.
74831         * tls.make.c: File removed.
74833 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74835         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74836         * config.make.in (CPPFLAGS-config): New substituted variable.
74838 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74842         [BZ #13192]
74843         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74844         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74846 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74848         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74849         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74850         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74851         (CALL_FAIL): Likewise.
74852         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74853         (CALL_FAIL): Macro removed.
74854         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74856 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74858         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74859         for __FINITE_MATH_ONLY__ == 1.
74861 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74863         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74864         __ieee754_sqrt instead of sqrt.
74865         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74866         __ieee754_sqrtf instead of sqrtf.
74867         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74868         __floorf instead of floorf.
74869         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74870         __floorf, __truncf instead of floorf, truncf.
74872 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74874         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74876         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74877         __extern_always_inline.
74878         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74879         32-bit.
74881 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74883         * elf/rtld.c (dl_main): Also relocate in dependency order when
74884         doing symbol dependency testing.
74886 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74889         Always define `refsym'.
74891 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74893         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74894         (__FD_ELT): Renamed from __FDELT.
74895         * misc/bits/select2.h (__FD_ELT): Likewise.
74896         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74897         __FD_MASK instead of __FDELT, __FDMASK.
74898         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74899         Likewise.
74900         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74901         Likewise.
74903         * elf/Makefile (gen-ldd): Fix pattern.
74905         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74906         (init_tls): Likewise.
74908 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74910         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74912 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74914         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74915         `struct cmsghdr *' instead of `void *'.
74916         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74917         Likewise.
74919 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74921         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74922         if non-absolute.
74923         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74924         ldd_rewrite_script.
74926 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74928         * configure.in: Remove --with-tls option.
74929         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74930         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74931         out in case it is missing.
74932         * sysdeps/ia64/elf/configure.in: Likewise.
74933         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74934         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74935         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74936         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74937         * sysdeps/sh/elf/configure.in: Likewise.
74938         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74939         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74940         * sysdeps/x86_64/elf/configure.in: Likewise.
74941         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74942         * sysdeps/mach/hurd/tls.h: Likewise.
74944         [BZ #13067]
74945         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74947         [BZ #13090]
74948         * configure.in: Fix use of AC_INIT.
74950         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74952 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74954         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74955         __set_errno.
74956         * malloc/hooks.c: Likewise.
74958         [BZ #11929]
74959         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74960         variables statically.
74961         (narenas): Initialize.
74962         (list_lock): Initialize.
74963         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74964         initializtion of main_arena and list_lock.  Small cleanups.
74965         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74966         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74967         Add initializers to main_arena and mp_.
74968         (malloc_state): Remove pagesize member.  Change all users to use
74969         GLRO(dl_pagesize).
74971         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74972         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74973         is always initialized.
74975         * malloc/malloc.c: Removed unused configurations and dead code.
74976         * malloc/arena.c: Likewise.
74977         * malloc/hooks.c: Likewise.
74978         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74980         * include/tls.h: Removed.  USE___THREAD must always be defined.
74981         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74982         * elf/dl-libc.c: Likewise.
74983         * elf/dl-tsd.c: Likewise.
74984         * include/errno.h: Likewise.
74985         * include/netdb.h: Likewise.
74986         * include/resolv.h: Likewise.
74987         * inet/herrno-loc.c: Likewise.
74988         * inet/herrno.c: Likewise.
74989         * malloc/arena.c: Likewise.
74990         * malloc/hooks.c: Likewise.
74991         * malloc/malloc.c: Likewise.
74992         * resolv/res-state.c: Likewise.
74993         * resolv/res_libc.c: Likewise.
74994         * sysdeps/i386/dl-machine.h: Likewise.
74995         * sysdeps/ia64/dl-machine.h: Likewise.
74996         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74997         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74998         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74999         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75000         * sysdeps/sh/dl-machine.h: Likewise.
75001         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75002         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75003         * sysdeps/unix/i386/sysdep.S: Likewise.
75004         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75005         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75010         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75014         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75015         * sysdeps/x86_64/dl-machine.h: Likewise.
75016         * tls.make.c: Likewise.
75018         * configure.in: Remove --with-__thread option.  Make tests for
75019         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75020         tls_model attribute fail if no support is available.  Remove
75021         USE_IN_LIBIO.
75022         * Makeconfig: Adjust for dropped configure option.  All features are
75023         now mandatory.
75024         * Makerules: Likewise.
75025         * Versions.def: Likewise.
75026         * argp/argp-fmtstream.c: Likewise.
75027         * argp/argp-fmtstream.h: Likewise.
75028         * argp/argp-help.c: Likewise.
75029         * assert/assert.c: Likewise.
75030         * config.h.in: Likewise.
75031         * config.make.in: Likewise.
75032         * configure: Likewise.
75033         * configure.in: Likewise.
75034         * csu/Versions: Likewise.
75035         * csu/init.c: Likewise.
75036         * elf/tst-audit2.c: Likewise.
75037         * elf/tst-tls10.c: Likewise.
75038         * elf/tst-tls10.h: Likewise.
75039         * elf/tst-tls11.c: Likewise.
75040         * elf/tst-tls12.c: Likewise.
75041         * elf/tst-tls14.c: Likewise.
75042         * elf/tst-tlsmod11.c: Likewise.
75043         * elf/tst-tlsmod12.c: Likewise.
75044         * elf/tst-tlsmod13.c: Likewise.
75045         * elf/tst-tlsmod13a.c: Likewise.
75046         * elf/tst-tlsmod14a.c: Likewise.
75047         * elf/tst-tlsmod15b.c: Likewise.
75048         * elf/tst-tlsmod16a.c: Likewise.
75049         * elf/tst-tlsmod16b.c: Likewise.
75050         * elf/tst-tlsmod7.c: Likewise.
75051         * elf/tst-tlsmod8.c: Likewise.
75052         * elf/tst-tlsmod9.c: Likewise.
75053         * gmon/gmon.c: Likewise.
75054         * grp/fgetgrent_r.c: Likewise.
75055         * grp/putgrent.c: Likewise.
75056         * hurd/fopenport.c: Likewise.
75057         * include/libc-symbols.h: Likewise.
75058         * include/tls.h: Likewise.
75059         * intl/gettextP.h: Likewise.
75060         * intl/loadinfo.h: Likewise.
75061         * locale/global-locale.c: Likewise.
75062         * locale/localeinfo.h: Likewise.
75063         * mach/devstream.c: Likewise.
75064         * malloc/arena.c: Likewise.
75065         * malloc/set-freeres.c: Likewise.
75066         * misc/err.c: Likewise.
75067         * misc/getttyent.c: Likewise.
75068         * misc/mntent_r.c: Likewise.
75069         * posix/getopt.c: Likewise.
75070         * posix/wordexp.c: Likewise.
75071         * pwd/fgetpwent_r.c: Likewise.
75072         * resolv/Versions: Likewise.
75073         * resolv/res_hconf.c: Likewise.
75074         * shadow/fgetspent_r.c: Likewise.
75075         * shadow/putspent.c: Likewise.
75076         * stdio-common/printf_fphex.c: Likewise.
75077         * stdio-common/tmpfile.c: Likewise.
75078         * stdlib/abort.c: Likewise.
75079         * stdlib/fmtmsg.c: Likewise.
75080         * sunrpc/auth_unix.c: Likewise.
75081         * sunrpc/clnt_perr.c: Likewise.
75082         * sunrpc/clnt_tcp.c: Likewise.
75083         * sunrpc/clnt_udp.c: Likewise.
75084         * sunrpc/clnt_unix.c: Likewise.
75085         * sunrpc/openchild.c: Likewise.
75086         * sunrpc/svc_simple.c: Likewise.
75087         * sunrpc/svc_tcp.c: Likewise.
75088         * sunrpc/svc_udp.c: Likewise.
75089         * sunrpc/svc_unix.c: Likewise.
75090         * sunrpc/xdr.c: Likewise.
75091         * sunrpc/xdr_array.c: Likewise.
75092         * sunrpc/xdr_rec.c: Likewise.
75093         * sunrpc/xdr_ref.c: Likewise.
75094         * sunrpc/xdr_stdio.c: Likewise.
75096 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75098         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75100 2011-07-03  Andreas Jaeger  <aj@suse.de>
75102         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75103         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75104         regenerate with gen-libm-tests.pl.
75106 2010-05-12  Petr Baudis  <pasky@suse.cz>
75108         [BZ #11589]
75109         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75110         around j0() zero points by switching to j1().
75111         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75112         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75114         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75118         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75119         instead of 0.
75120         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75121         instead of 0.
75122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75123         Patch in part by Pavel Roskin <proski@gnu.org>.
75125         [BZ #13138]
75126         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75127         realloc.
75128         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75129         Free memory block if necessary.
75131         [BZ #12847]
75132         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75133         be NULL.  Don't lock in this case.
75135 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75137         * elf/elf.h (ELFOSABI_GNU): New macro.
75138         (ELFOSABI_LINUX): Define to that.
75140 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75142         * string/strncat.c (strncat): Undef the symbol in case it has been
75143         defined in bits/string.h.
75145 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75147         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75149         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75150         link map.
75152 2011-08-17  Andreas Jaeger  <aj@suse.de>
75154         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75156 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75157             Ian Lance Taylor  <iant@google.com>
75159         * math/libm-test.inc (lround_test): New testcase.
75160         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75162 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75164         * Makefile: Remove support for automatic cvs check-ins.
75165         * Makerules: Likewise.
75166         * config.make.in: Likewise.
75167         * configure.in: Likewise.
75168         * intl/Makefile: Likewise.
75169         * locale/Makefile: Likewise.
75170         * po/Makefile: Likewise.
75171         * posix/Makefile: Likewise.
75172         * sysdeps/gnu/Makefile: Likewise.
75173         * sysdeps/mach/hurd/Makefile: Likewise.
75174         * sysdeps/sparc/sparc32/Makefile: Likewise.
75176         [BZ #13118]
75177         * posix/Makefile (bug-regex32-ENV): Define.
75178         Patch by John Stanley <jpsinthemix@verizon.net>.
75180         * misc/Makefile (headers): Add bits/select2.h.
75181         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75182         * misc/bits/select2.h: New file.
75183         * include/bits/select2.h: New file.
75184         * debug/Makefile (routines): Add fdelt_chk.
75185         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75186         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75187         FD_ISSET.
75188         * debug/fdelt_chk.c: New file.
75190         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75191         * wcsmbs/test-wmemcmp.c: Likewise.
75192         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75193         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75195 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75197         * string/Makefile (strop-tests): Add memcmp.
75198         * string/test-wmemcmp.c: New file.
75199         * string/test-memcmp.c: Add wmemcmp support.
75201 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75203         [BZ #13153]
75204         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75205         2011-07-19 change.
75207         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75208         garbage value in a __mach_port_mod_refs call in the cases of the
75209         task-self and thread-self ports.
75211 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75213         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75215 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75217         * elf/dl-load.c (lose): Check for non-null L.
75219 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75221         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75223         * elf/dl-libc.c (dlerror_run): Pass back error code from
75224         dl_catch_error.
75226         [BZ #13123]
75227         * elf/dl-load.c (lose): Free l_origin if it is valid.
75229         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75230         names.
75231         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75232         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75233         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75234         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75235         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75236         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75238 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75240         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75241         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75242         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75243         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75244         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75245         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75246         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75247         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75248         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75249         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75251 2011-08-15  Alan Modra  <amodra@gmail.com>
75253         [BZ #13092]
75254         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75255         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75256         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75257         ppc_mcount to static-only-routines.
75258         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75259         __mcount_internal.
75260         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75261         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75263 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75265         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75266         for finite and infinity parameters.
75268 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75270         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75271         and add nop instructions for throughput optimization.
75272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75274 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75276         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75277         aligned copy for power7 with vector-scalar instructions.
75278         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75280 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75283         AVX check.
75285 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75287         [BZ #13144]
75288         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75289         last change.
75291 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75293         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75294         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75295         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75296         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75297         clock_gettime.
75299 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75301         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75302         Forgot to demangle the pointer.
75304         * sysdeps/i386/sysdep.h: Define atom_text_section.
75305         * sysdeps/x86_64/sysdep.h: Likewise.
75306         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75307         section with atom_text_section.
75308         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75309         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75310         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75311         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75312         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75314         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75315         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75316         already be defined.  Change to take two parameters and don't assign
75317         result to variable.  Adjust all users.
75318         Define INTERNAL_GETTIME if not already defined.
75319         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75320         call.
75321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75322         HAVE_CLOCK_GETTIME_VSYSCALL.
75323         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75325         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75326         gettimeofday vsyscall, just use time.
75328 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75330         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75331         <errno.h>.
75333 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75335         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75336         syscall on x86-64.
75337         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75338         syscall.
75339         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75341         syscall if possible.
75343 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75345         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75346         e_ident.  Don't pass to find_mapsXX.
75347         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75349 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75352         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75353         * sysdeps/x86_64/multiarch/strchr.S: Update.
75354         Check bit_slow_BSF bit.
75355         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75356         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75357         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75359 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75361         [BZ #13134]
75362         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75363         before glibc 2.15.
75364         (tryshell): Define.
75365         (__spawni): Change last parameter to be flag.  Test
75366         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75367         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75368         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75369         * posix/spawni.c: Likewise.
75370         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75371         * posix/spawnp.c: Likewise.  Change normal version to use
75372         SPAWN_XFLAGS_USE_PATH.
75373         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75374         SPAWN_XFLAGS_TRY_SHELL.
75376         [BZ #13150]
75377         * posix/glob.h: Remove gcc 1.x support.
75379         [BZ #13068]
75380         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75382 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75385         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75386         strrchr-sse2-bsf
75387         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75388         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75389         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75390         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75391         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75392         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75394 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75396         * sysdeps/x86_64/wcscmp.S: New file.
75398         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75399         wcscmp-c wcscmp-sse2
75400         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75401         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75402         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75403         * wcsmbs/wcscmp.c: Allow renaming.
75405 2011-09-05  David S. Miller  <davem@davemloft.net>
75407         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75408         stack slot, rather than the struct return pointer slot.
75409         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75410         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75412         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75414 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75416         * po/ja.po: Update from translation team.
75418         [BZ #13144]
75419         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75420         kernel in 64-bit binaries.
75422 2011-09-01  David S. Miller  <davem@davemloft.net>
75424         * elf/elf.h (HWCAP_SPARC_*): Move to..
75425         * sysdeps/sparc/sysdep.h: this new file and add new values.
75426         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75427         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75428         _DL_HWCAP_COUNT to 24.
75429         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75430         entries.
75431         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75432         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75433         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75435         instead of magic constants.
75436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75438 2011-08-31  David S. Miller  <davem@davemloft.net>
75440         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75441         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75442         Reimplement to do errno handling inline.
75443         (SYSCALL_ERROR_HANDLER): New macro.
75444         (__SYSCALL_STRING): Do not do errno handling in asm.
75445         (__CLONE_SYSCALL_STRING): Delete.
75446         (__INTERNAL_SYSCALL_STRING): Delete.
75447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75448         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75449         (PSEUDO): Reimplement to do errno handling inline.
75450         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75451         (SYSCALL_ERROR_HANDLER): New macro.
75452         (__SYSCALL_STRING): Do not do errno handling in asm.
75453         (__CLONE_SYSCALL_STRING): Delete.
75454         (__INTERNAL_SYSCALL_STRING): Delete.
75455         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75456         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75457         i386.
75458         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75459         (inline_syscall*): Add 'err' argument.
75460         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75461         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75462         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75463         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75465         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75466         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75468 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75470         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75472 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75474         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75475         directive.
75477 2011-08-24  David S. Miller  <davem@davemloft.net>
75479         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75481 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75483         * elf/Makefile: Add rules to build and run unload8 test.
75484         * elf/unload8.c: New file.
75485         * elf/unload8mod1.c: New file.
75486         * elf/unload8mod1x.c: New file.
75487         * elf/unload8mod2.c: New file.
75488         * elf/unload8mod3.c: New file.
75490         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75491         it wasn't used.
75493 2011-08-23  David S. Miller  <davem@davemloft.net>
75495         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75496         subtract stack bias.
75497         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75498         %sp not %fp in calculations.
75499         (_JMPBUF_UNWINDS_ADJ): Likewise.
75501         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75502         (aio_suspend): Call it to force an exception region around the
75503         AIO_MISC_WAIT() invocation.
75505 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75507         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75508         backslash.
75510 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75512         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75513         protection macro.
75514         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75515         and <dl-machine.h>.
75516         (Elf64_FuncDesc): Remove.
75518 2011-08-22  David S. Miller  <davem@davemloft.net>
75520         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75521         sigaltstack check, add missing cfi directives.
75522         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75523         missing cfi directives, and sigaltstack handling.
75525 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75527         [BZ #11724]
75528         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75529         object is seen twice.
75530         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75532         * elf/Makefile (distribute): Add tst-initorder2.c.
75533         (tests): Add tst-initorder2.
75534         (modules-names): Add tst-initorder2a tst-initorder2b
75535         tst-initorder2c tst-initorder2d.  Add rules to build them.
75536         ($(objpfx)tst-initorder2.out): New rule.
75537         * elf/tst-initorder2.c: New file.
75538         * elf/tst-initorder2.exp: New file.
75540 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75542         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75544         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75545         dependencies back to end of function.
75547         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75548         $(elfobjdir)/ld.so.
75550 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75552         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75553         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75554         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75555         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75556         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75557         of __vdso_gettimeofday.
75558         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75559         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75560         attribute_hidden.
75561         (_libc_vdso_platform_setup): Remove initialization of
75562         __vdso_gettimeofday and __vdso_time.
75564 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75566         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75567         and fgetc_unlocked.
75568         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75569         getc_unlocked.
75571         * elf/dl-open.c (add_to_global): Report additions to the global scope
75572         for LD_DEBUG=scopes.
75573         (dl_open_worker): Also print scope of newly loaded dependencies.
75574         (_dl_show_scope): Indicate if there is no scope.
75576         [BZ #13114]
75577         * stdio-common/Makefile (tests): Add bug24.
75578         * stdio-common/bug24.c: New file.
75580 2011-08-19  Andreas Jaeger  <aj@suse.de>
75582         [BZ #13114]
75583         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75584         non-existant file when using close-on-exec mode.
75586 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75589         the very first instruction.
75591         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75592         the CFI state in the end.
75593         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75594         inclusion of dl-trampoline.h.
75595         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75597 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75599         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75600         expectations for long double.
75602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75603         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75605 2011-08-14  David S. Miller  <davem@davemloft.net>
75607         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75608         artificual limit depends upon the system page size.
75610 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75612         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75613         * resolv/Makefile: Define CFLAGS-libresolv.
75615 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75617         * nss/makedb.c (compute_tables): Make variables used in nested
75618         function static.
75620 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75622         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75623         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75624         if buffer was too small.
75626         * elf/pldd.c (main): Attach to all threads in the process.
75627         Rewrite /proc handling to use *at functions.
75629 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75631         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75632         specifies first scope to show.
75633         (dl_open_worker): Update callers.  Move printing scope of new
75634         object to before the relocation.
75635         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75636         * sysdeps/generic/ldsodefs.h: Update declaration.
75638         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75639         string for the scope number.
75641 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75643         * nscd/servicescache.c (cache_addserv): Make sure written is always
75644         initialized.
75646 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75648         * sysdeps/i386/i486/bits/atomic.h
75649         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75650         statement expression, so as to suppress "set but not used" warning.
75651         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75653         * string/strncat.c (STRNCAT): Use prototype definition.
75655         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75656         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75657         -Iprograms here.
75658         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75659         (localedef-modules): Add localedef.
75660         (locale-modules): Add locale.
75662         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75663         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75664         to avoid a warning.
75666 2011-08-14  David S. Miller  <davem@davemloft.net>
75668         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75669         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75671 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75673         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75674         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75675         * elf/rtld.c (dl_main): Set l_name of vDSO.
75676         Call _dl_show_scope when DL_DEBUG_SCOPES.
75677         (process_dl_debug): Recognize scopes flag and also set it for all.
75678         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75679         Declare _dl_show_scope.
75681         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75682         (do_dlopen): Pass caller_dlopen to dl_open.
75683         (__libc_dlopen_mode): Initialize caller_dlopen.
75685         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75686         of libc.  Make tolower call locale-independent.  Optimize a bit by
75687         using isdigit instead of isalnum.
75688         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75690 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75692         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75693         was a dependency or dynamically loaded.
75695 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75697         * intl/l10nflist.c: Allow architecture-specific pop function.
75698         * sysdeps/x86_64/l10nflist.c: New file.
75700         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75701         classification.
75703 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75705         * include/dirent.h: Add libc_hidden_proto for scandirat and
75706         scandirat64.  Don't declare __scandirat64.
75707         * dirent/scandirat.c: Add libc_hidden_def.
75708         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75709         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75711 2011-08-10  David S. Miller  <davem@davemloft.net>
75713         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75714         enum.
75715         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75716         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75717         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75719 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75721         * Versions.def [libc]: Add GLIBC_2.15.
75722         * dirent/Makefile (routines): Add scandirat and scandirat64.
75723         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75724         GLIBC_2.15.
75725         * dirent/dirent.h: Declare scandirat and scandirat64.
75726         * dirent/scandirat.c: New file.
75727         * dirent/scandirat64.c: New file.
75728         * sysdeps/wordsize-64/scandirat.c: New file.
75729         * sysdeps/wordsize-64/scandirat64.c: New file.
75730         * dirent/opendir.c: Define opendirat.
75731         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75732         using scandirat.
75733         * dirent/scandir64.c: Adjust for scandir.c change.
75734         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75735         __scandirat64, and __scandir_cancel_handler.
75736         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75737         additional parameter and use openat instead of open (outside of ld.so).
75738         Add new __opendir as wrapper around __opendirat.
75739         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75740         here without requiring old scandirat implementation.
75742 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75744         * dirent/scandir.c (cancel_handler): Renamed to
75745         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75746         defined.  Adjust users.
75747         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75748         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75750 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75752         * string/test-string.h (IMPL): Use __STRING to expand name and then
75753         stringify it.
75755         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75756         of cleanups.
75758 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75760         * string/Makefile: Update.
75761         (strop-tests): Append strncat.
75762         * string/test-wcscmp.c: New file.
75763         New comprehensive test for wcscmp.
75764         * string/test-strcmp.c: Update.
75765         (WIDE): New define.
75767 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75769         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75770         line.
75772 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75775         encoding to ACE if AI_IDN.
75777 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75780         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75782 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75784         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75785         Fix overflow bug in strncat.
75786         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75788         * string/test-strncat.c: Update.
75789         Add new tests for checking overflow bugs.
75791 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75794         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75795         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75796         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75797         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75798         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75799         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75800         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75801         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75803         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75804         (USE_AS_STRCAT): Define.
75805         Add strcat and strncat support.
75806         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75808 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75810         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75811         __n bigger than INT_MAX+1.
75812         (__strncmp_g): Likewise.
75814 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75816         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75817         * libio/stido.h: Likewise.
75819         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75820         (AF_NFC): Define.
75821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75822         (AF_NFC): Define.
75824         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75825         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75827         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75828         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75830         [BZ #13021]
75831         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75832         installed.
75834         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75835         typo.
75836         (_dl_x86_64_save_sse): Likewise.
75838 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75840         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75841         OSXSAVE.
75842         (_dl_x86_64_save_sse): Likewise.
75844         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75846         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75848 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75851         change.
75852         (_dl_x86_64_save_sse): Use correct AVX check.
75854 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75856         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75857         bug in strncpy/strncat.
75858         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75860 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75862         * string/tester.c (test_strcat): Add tests for different alignments
75863         of source and destination.
75864         (test_strncat): Likewise.
75866 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75868         [BZ #12852]
75869         * posix/glob.c (glob): Check passed in values before using them in
75870         expressions to avoid some overflows.
75871         (glob_in_dir): Likewise.
75873         [BZ #13007]
75874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75875         check for AVX enablement so that we don't crash with old kernels and
75876         new hardware.
75877         * elf/tst-audit4.c: Add same checks here.
75878         * elf/tst-audit6.c: Likewise.
75880         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75882 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75884         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75886 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75888         * po/cs.po: Update from translation team.
75889         * po/bg.po: Likewise.
75891 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75893         * misc/sys/cdefs.h: Add support for const attribute.
75894         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75895         to gnu_dev_{major,minor,makedev} functions.
75897 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75899         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75901 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75903         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75904         strlen results.
75906 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75909         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75910         register in order to avoid conflicts with the soft frame pointer
75911         being held in r11 when necessary.
75912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75913         (INTERNAL_VSYSCALL_NCS): Likewise.
75915 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75917         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75918         * elf/dl-fini.c (_dl_fini): Adjust caller.
75919         * elf/dl-close.c (_dl_close_worker): Likewise.
75920         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75922 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75924         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75925         "aux_cache->nlibs < 0".
75927         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75928         in the reload-count case.
75930 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75933         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75934         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75935         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75936         * sysdeps/x86_64/multiarch/strcat.S: New file.
75937         * sysdeps/x86_64/multiarch/strncat.S: New file.
75938         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75939         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75940         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75941         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75943         (USE_AS_STRCAT): Define.
75944         Add strcat and strncat support.
75945         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75946         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75947         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75948         * string/strncat.c: Update.
75949         (USE_AS_STRNCAT): Define.
75950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75951         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75952         and i7.
75953         * sysdeps/x86_64/multiarch/init-arch.h
75954         (bit_Prefer_PMINUB_for_stringop): New.
75955         (index_Prefer_PMINUB_for_stringop): Likewise.
75956         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75957         bit_Prefer_PMINUB_for_stringop.
75959 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75961         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75962         buffer64.
75963         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75964         of casting of buffer.
75965         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75966         buffer32 and buffer64.
75967         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75968         writes instead of casting of buffer.
75969         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75970         buffer32.
75971         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75972         casting of buffer.
75974 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75976         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75978 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75980         * nscd/nscd.c (termination_handler): Don't do anything for a database
75981         if it has not yet been initialized.
75983 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75985         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75987 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75989         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75991 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75993         * po/nl.po: Update from translation team.
75994         * po/sv.po: Likewise.
75996 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75998         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75999         now disallowed by GCC.
76001         * configure.in (use-default-link): Default to yes if a test -shared
76002         link meets our qualifications.
76003         * configure: Regenerated.
76005         * config.make.in (output-format): New variable.
76006         * configure.in: Check for ld --print-output-format support.
76007         * configure: Regenerated.
76008         * Makerules ($(common-objpfx)format.lds)
76009         [$(output-format) != unknown]: Just use $(output-format),
76010         instead of the linker-script munging.
76012 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76014         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76015         of $(common-objpfx)shlib.lds.
76016         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76018         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76019         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76021         * configure.in (-z relro check): Adjust test code to add a large
76022         writable data section after it.
76023         * configure: Regenerated.
76025 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76027         * configure.in (-z relro check): Fix test code to make the variable
76028         truly const.
76029         * configure: Regenerated.
76031 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76033         * nscd/nscd.h (struct traced_file): Define.
76034         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76035         elements.  Add traced_files.
76036         (inotify_fd): Declare.
76037         (register_traced_file): Declare.
76038         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76039         (inotify_fd): Export.
76040         (resolv_conf_descr): Remove.
76041         (nscd_init): Move inotify descriptor creation to main.
76042         Don't register files for notification here.
76043         (register_traced_file): New function.
76044         (invalidate_cache): Don't use reset_res to determine whether to call
76045         res_init, go through the list of registered files.
76046         (main_loop_poll): The inotify descriptors are now stored in the
76047         structures for the traced files.
76048         (main_loop_epoll): Likewise.
76049         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76050         to __nss_disable_nscd.
76051         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76052         for a database anymore.  Check the records for all the registered
76053         files instead.
76054         * nss/Makefile (libnss_files-routines): Add files-init.
76055         (libnss_db-routines): Add db-init.
76056         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76057         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76058         * nss/nss_db/db-init.c: New file.
76059         * nss/nss_files/files-init.c: New file.
76060         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76061         __nss_lookup_function.
76062         (__nss_lookup_function): Call nss_load_library.
76063         (nss_load_all_libraries): New function.
76064         (__nss_disable_nscd): Take parameter with callback function for files
76065         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76066         used for the cached services.
76067         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76068         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76069         options for features to all the files in nscd.
76071         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76073 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76075         * csu/elf-init.c (__libc_csu_init): Comment typo.
76077 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76079         * po/pl.po: Update from translation team.
76080         * po/ja.po: Likewise.
76081         * po/ru.po: Likewise.
76082         * po/ko.po: Likewise.
76083         * po/fr.po: Likewise.
76085 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76087         * configure.in (.ctors/.dtors header and trailer check):
76088         Use an empirical test on a built program.
76089         * configure: Regenerated.
76091         * configure.in (-z relro check): Use an empirical test on a built DSO.
76092         Detect, but do not require, on ia64.
76093         * configure: Regenerated.
76095         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76096         Update tests that use readelf to use $READELF instead.
76097         * configure: Regenerated.
76099 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76101         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76102         if the result is not used.
76104 2011-07-05  Andreas Jaeger  <aj@suse.de>
76106         [BZ#9696]
76107         * stdlib/tst-strtod.c: Add testcase.
76109 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76111         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76112         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76113         The latter has a higher limit.  Take additional parameter to pass to
76114         the new function.
76115         (__pathconf): Pass file to __statfs_link_max.
76116         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76117         __statfs_link_max.
76118         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76119         __statfs_link_max.
76121         [BZ #12868]
76122         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76123         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76124         Handle Lustre.
76125         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76126         (__statfs_filesize_max): Likewise.
76127         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76129 2011-07-05  Andreas Jaeger  <aj@suse.de>
76131         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76133 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76135         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76136         `status' variable.
76137         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76138         Likewise.
76140 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76142         * Makefile (strop-tests): Add strncat.
76143         * string/test-strncat.c: New file.
76145 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76147         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76149 2011-06-21  Andreas Jaeger  <aj@suse.de>
76151         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76152         Copy rule from iconvdata/Makefile.
76154 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76156         [BZ #12922]
76157         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76158         but no long options are defined, just return 'W'.
76160 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76162         [BZ #9696]
76163         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76165 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76167         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76168         netgroups to read.
76169         (innetgr): Likewise.
76171 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76173         * config.make.in (install_root): Default to $(DESTDIR).
76175 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76177         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76179 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76181         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76183         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76184         containing directory rather than embedding absolute directory names.
76186         * scripts/check-local-headers.sh: Rewritten using awk.
76187         Match by word, not by line.  Print error messages for matches.
76188         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76190         * Makerules [shlib-lds-flags empty]:
76191         ($(common-objpfx)libc_pic.opts): New target.
76192         ($(common-objpfx)libc_pic.os.clean): New target.
76193         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76195         * config.make.in (OBJCOPY): New variable.
76196         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76197         * configure: Regenerated.
76199         * config.make.in (use-default-link): New variable.
76200         * configure.in (use_default_link): Grok --with-default-link to set it.
76201         * configure: Regenerated.
76202         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76203         (shlib-lds, shlib-lds-flags): Define to empty.
76205         * Makerules (shlib-lds): New variable.
76206         (shlib-lds-flags): New variable.
76207         (build-shlib, build-moduile, build-module-asneeded): Use it.
76208         ($(common-objpfx)libc.so): Use $(shlib-lds).
76209         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76210         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76212         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76213         DT_FLAGS/DT_FLAGS_1 with zero flags.
76215         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76216         linker script munging.
76218 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76220         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76221         as 128-bit value.
76222         * crypt/sha512.c (sha512_process_block): Perform total addition using
76223         128-bit if possible.
76224         (__sha512_finish_ctx): Likewise.
76225         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76226         as 64-bit value.
76227         * crypt/sha256.c (SWAP64): Define.
76228         (sha256_process_block): Perform total addition using 64-bit if
76229         possible.
76230         (__sha256_finish_ctx): Likewise.
76232 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76234         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76236         * nscd/hstcache.c (cache_addhst): Likewise.
76237         * nscd/grpcache.c (cache_addgr): Likewise.
76238         * nscd/aicache.c (addhstaiX): Likewise.
76239         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76241 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76243         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76244         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76245         * nscd/hstcache.c (cache_addhst): Likewise.
76246         * nscd/grpcache.c (cache_addgr): Likewise.
76247         * nscd/aicache.c (addhstaiX): Likewise.
76249 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76251         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76252         domain only when needed.
76254 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76257         is always restored.
76259 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76261         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76262         are re-adding the entry.
76263         * nscd/servicescache.c (cache_addserv): Likewise.
76265 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76267         * sysdeps/generic/dl-irel.h: fix protection against multiple
76268         inclusions.
76269         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76271 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76273         [BZ #12935]
76274         * malloc/memusage.sh: Fix quoting in message.
76275         * debug/xtrace.sh: Likewise.
76277         * configure.in: Remove support for --experimental-malloc option, make
76278         it the default.
76279         * config.make.in: Likewise.
76280         * malloc/Makefile: Likewise.
76282 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76284         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76285         two-byte characters.
76287 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76289         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76290         AC_CACHE_CHECK invocation.
76291         * configure: Regenerated.
76293         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76295 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76297         [BZ #12350]
76298         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76299         bit from old_res_options.
76301         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76303         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76304         value type for setfct.
76306 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76308         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76309         __gettimeofday instead of gettimeofday.
76311 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76313         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76315 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76317         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76319         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76320         info.
76322 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76325         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76326         strcpy-sse2-unaligned strncpy-sse2-unaligned
76327         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76328         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76329         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76330         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76331         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76332         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76333         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76334         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76335         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76336         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76337         (STRCPY): Support SSE2 and SSSE3 versions.
76339 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76341         [BZ #12874]
76342         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76343         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76344         kernels which artificially limit size of requests.
76346 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76349         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76350         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76351         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76352         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76353         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76354         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76355         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76356         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76358         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76359         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76360         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76361         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76362         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76364         Enable unaligned load optimization for Intel Core i3, i5 and i7
76365         processors.
76366         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76367         Define.
76368         (index_Fast_Unaligned_Load): Define.
76369         (HAS_FAST_UNALIGNED_LOAD): Define.
76371 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76373         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76375 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76377         [BZ #12907]
76378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76379         until it is clear that the information is realy needed.
76380         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76382 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76386 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76388         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76389         /sys/devices/system/cpu/online if it is usable.
76391         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76392         reading the information from the /proc filesystem to once a second.
76394 2011-06-21  Andreas Jaeger  <aj@suse.de>
76396         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76397         NULL after inclusion of kernel headers.
76399 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76401         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76402         calls to internal_setent.
76404         [BZ #12885]
76405         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76406         addresses using gethostbyname4_r ignore IPv4 addresses.
76408         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76409         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76411         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76413 2011-06-20  David S. Miller  <davem@davemloft.net>
76415         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76416         inclusions.
76417         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76419         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76420         (elf_irel): Use it.
76421         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76422         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76423         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76424         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76425         * sysdeps/x86_64/dl-irel.h: Likewise.
76427         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76428         * elf/dl-sym.c: Likewise.
76430 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76432         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76433         need to dereference resplen2.
76435 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76437         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76439 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76441         * Makeconfig: Define vardbdir and inst_vardbdir.
76442         * nss/Makefile: Add rules to install db-Makefile.
76444         * nss/nss_db/db-XXX.c: Cleanup.
76446         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76447         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76448         GLIBC_PRIVATE.
76449         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76450         * nss/makedb.c: Implement -g option to specify that value strings
76451         are generated and should not be added to table iterated over for
76452         get*ent calls.
76453         * nss/nss_db/db-initgroups.c: New file.
76455         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76456         interface.
76458         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76459         (internal_getgrouplist): Adjust to name change.
76460         Update use_initgroups_entry if this is not the first call.
76461         * nss/databases.def: Add initgroups entry.
76463         * nss/makedb.c (compute_tables): Check result of multiple hash table
76464         sizes to minimize maximum chain length.
76466 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76468         * Versions.def: Add entry for libnss_db.
76469         * shlib-versions: Likewise.
76470         * nss/Makefile: Add rules to build libnss_db.
76471         * nss/Versions: Add libnss_db information.  Organize libnss_files
76472         entries better.
76473         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76474         makedb progra.  Some minor improvements to generate smaller files.
76475         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76476         here from...
76477         * nss/makedb.c: ...here.
76478         Improve database format to be smaller and require less memory at
76479         runtime.
76480         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76481         db anymore.
76482         * nss/nss_db/db-netgrp.c: Likewise.
76483         * nss/nss_db/db-open.c: Likewise.
76484         * nss/nss_files/flies-XXX.x: Adjust comments.
76485         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76486         * nss/nss_files/files-grp.c: Likewise.
76487         * nss/nss_files/files-hosts.c: Likewise.
76488         * nss/nss_files/files-network.c: Likewise.
76489         * nss/nss_files/files-proto.c: Likewise.
76490         * nss/nss_files/files-pwd.c: Likewise.
76491         * nss/nss_files/files-rpc.c: Likewise.
76492         * nss/nss_files/files-service.c: Likewise.
76493         * nss/nss_files/files-sgrp.c: Likewise.
76494         * nss/nss_files/files-spwd.c: Likewise.
76495         * nss/nss_db/db-alias.c: Removed.
76496         * nss/nss_db/dummy-db.h: Removed.
76498 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76500         * nss/makedb.c: Rewritten to not use database library.
76501         * nss/Makefile: Update to build new makedb program.
76503 2011-06-14  Andreas Jaeger  <aj@suse.de>
76505         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76506         memset declaration.
76508 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76511         tmpbuf.
76513 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76515         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76516         * elf/Makefile ($(objpfx)ld.so): Likewise.
76518         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76519         Don't list ld.so twice in dependencies.
76521         * posix/bug-regex31.c: Include <stdlib.h>.
76523         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76525         * nis/nss_compat/compat-spwd.c
76526         (getspent_next_nss_netgr): Remove unused variable.
76527         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76529         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76530         nonmembers" output to use the right array.
76532         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76534         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76536         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76537         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76538         * catgets/gencat.c (read_input_file): Likewise.
76539         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76541         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76542         variable definition inside #if's controlling its use.
76544         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76546         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76548         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76550         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76551         unreachable code.
76553         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76555         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76556         * configure: Regenerated.
76558         * Makerules: Revert last change.
76559         * elf/Makefile: Likewise.
76561 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76563         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76564         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76565         (reloc-link): Likewise.
76567 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76569         * elf/Makefile: Add rules to build pldd.
76570         * elf/pldd.c: New file.
76571         * elf/pldd-xx.c: New file.
76573 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76575         * version.h: Update for 2.15 development version.
76577 2011-06-07  David S. Miller  <davem@davemloft.net>
76579         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76580         ifuncs.
76581         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76582         elf_machine_lazy_rel): Likewise.
76583         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76585         elf_machine_lazy_rel): Likewise.
76586         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76587         dl_hwcap via passed in argument.
76588         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76589         Likewise.
76591 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76593         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76595 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76597         [BZ #12849]
76598         * manual/fdl-1.1.texi: New file, verbatim from:
76599         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76600         * manual/lgpl-2.1.texi: New file, verbatim from:
76601         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76602         * manual/Makefile (licenses): New variable, list those new file names.
76603         (texis): Use it.
76604         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76606         * manual/fdl.texi: File removed.
76607         * manual/lesser.texi: File removed.
76608         * manual/libc.texinfo (Copying, Documentation License):
76609         Use new @include file names, put @appendix directive before @include.
76611 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76613         [BZ #12841]
76614         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76615         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76616         (mq_open): Add __NTH.
76618 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76621         Assume Intel Core i3/i5/i7 processor if AVX is available.
76623 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76625         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76626         typo.
76628 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76630         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76631         memory.  Use alloca_account.  Fix memory leak when retrying.
76633 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76635         * version.h (RELEASE): Bump for 2.14 release.
76636         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76638         * config.make.in (RANLIB): Remove entry.
76640 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76642         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76643         (libc.pot): Work around missing support for .ksh extension in xgettext.
76645         [BZ #12684]
76646         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76647         if both request failed.
76648         (send_dg): In case of server errors clear resplen or *resplen2.
76650         [BZ #12454]
76651         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76652         when there are multiple maps.
76653         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76654         (_dl_fini): Remove test here.
76656         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76658 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76660         [BZ #12350]
76661         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76662         bit from old_res_options.
76663         (gaih_inet): Likewise.
76665         [BZ #11099]
76666         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76667         as signed.
76669         * resolv/res_init.c (res_setoptions): Make the code more compact.
76671         [BZ #11558]
76672         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76673         set RES_USEVC.
76675         [BZ #11634]
76676         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76678         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76680         [BZ #11781]
76681         * malloc/malloc.h: Declare malloc hook variables as volatile.
76683         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76684         in last patch.
76686         [BZ #11799]
76687         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76688         raise in the comment.
76689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76691         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76693 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76695         [BZ #12811]
76696         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76697         grow the buffers more if it already has to be sufficient.
76698         (build_wcs_upper_buffer): Likewise.
76699         * posix/regexec.c (check_matching): Likewise.
76700         (clean_state_log_if_needed): Likewise.
76701         (extend_buffers): Don't enlarge buffers beyond size of the input
76702         buffer.
76703         Patches mostly by Emil Wojak <emil@wojak.eu>.
76704         * posix/bug-regex32.c: New file.
76705         * posix/Makefile (tests): Add bug-regex32.
76707         * locale/findlocale.c (_nl_find_locale): Return right away if
76708         _nl_explode_name failed.
76709         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76711         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76713         * debug/xtrace.sh: Unify messages.
76714         * malloc/memusage.sh: Likewise.
76716         [BZ #12813]
76717         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76718         time symbol from vDSO.  Substitute with vsyscall if not available.
76719         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76720         __vdso_time.
76722         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76723         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76724         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76725         Add sendmmsg and internal_sendmmsg.
76726         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76727         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76728         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76730         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76731         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76732         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76734 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76736         [BZ #12813]
76737         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76738         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76739         available.
76740         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76741         __vdso_getcpu.
76743         [BZ #12814]
76744         * iconvdata/Makefile (tests): Add bug-iconv9.
76745         * iconvdata/bug-iconv9.c: New file.
76747 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76749         [BZ #12814]
76750         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76752 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76754         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76755         (struct user_regs_struct): Change intcs field back to cs.
76757 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76759         * po/ja.po: Update from translation team.
76761 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76763         [BZ #12795]
76764         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76765         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76767 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76769         * stdlib/longlong.h: Update from GCC.
76771 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76773         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76774         parameter name.
76775         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76776         Add parameter name.
76777         (__sysconf): Pass it down.
76779 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76781         [BZ #12671]
76782         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76783         some situations.
76784         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76785         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76786         add in in __libc_use_alloca calls.  Adjust callers.
76787         (glob): Use malloc in some situations.
76789         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76790         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76791         pltexit.
76793 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76795         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76796         and CLOCK_BOOTTIME_ALARM.
76798         [BZ #12782]
76799         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76800         is returned.
76802         * string/_strerror.c (__strerror_r): Print negative errors as signed
76803         numbers.
76805         [BZ #12777]
76806         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76807         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76808         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76810         * configure.in: Fix typo in redirection and correct removal of test
76811         files in two cases.
76813         [BZ #12788]
76814         * locale/setlocale.c (new_composite_name): Fix test to check for
76815         identical name of all categories.
76817         [BZ #12792]
76818         * libio/filedoalloc.c (local_isatty): New function.
76819         (_IO_file_doallocate): Use local_isatty.
76820         * stdio-common/perror.c (perror): In case a new stream is used
76821         forward the stream error.
76822         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76823         error flag.
76825 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76827         [BZ #11884]
76828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76829         alloca.
76830         * include/alloca.h (extend_alloca_account): Define.
76832         [BZ #11857]
76833         * posix/regex.h: Fix comments with documentation of user-accessible
76834         fields after compilation and describe correct free'ing of pattern
76835         after re_compile_pattern.
76836         Patch by Reuben Thomas <rrt@sc3d.org>.
76838 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76840         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76841         and -mno-altivec to prevent the compiler from using Altivec and/or
76842         VSX instructions when the corresponding registers are not available.
76844 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76846         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76848 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76850         * libio/freopen.c (freopen): Use __dup2, not dup2.
76851         * libio/freopen64.c (freopen64): Likewise.
76853 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76855         [BZ #12775]
76856         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76857         * math/Makefile (tests): Add test-powl.
76858         (CFLAGS-test-powl.c): Define.
76859         * math/test-powl.c: New file.
76861 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76863         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76865 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76867         [BZ #11837]
76868         * iconvdata/gb18030.c: Update to GB18020-2005.
76870 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76872         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76873         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76874         Patch by Aharon Robbins <arnold@skeeve.com>.
76876         [BZ #11892]
76877         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76878         on the stack.
76880         [BZ #11895]
76881         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76882         through underflows.
76884         [BZ #12766]
76885         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76886         point to strings before performing equality test for error_one_per_line
76887         mode.
76889         [BZ #11697]
76890         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76892         [BZ #11820]
76893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76894         (struct user_fpregs_struct): Avoid __uint*_t types.
76896         [BZ #6420]
76897         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76898         symbol info.  Use it instead of calling _dl_addr locally.
76899         (lock_and_info): New function.
76900         (tr_freehook): Call lock_and_info and pass symbol info as additional
76901         parameter to tr_where.
76902         (tr_mallochook): Likewise.
76903         (tr_reallochook): Likewise.
76904         (tr_memalignhook): Likewise.
76906         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76907         used and couldn't be at all thread-safe.
76909 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76911         * libio/freopen.c (freopen): Don't close old file descriptor
76912         before the new one is opened.  Instead dup the new file descriptor
76913         to the old one after the new stream is created.
76914         * libio/freopen64.c (freopen64): Likewise.
76915         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76916         * libio/fileops.c (_IO_new_file_close_it): Handle new
76917         _IO_FLAGS2_NOCLOSE flag.
76918         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76919         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76920         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76921         _IO_FLAGS2_NOCLOSE flag.
76922         * include/unistd.h: Add hidden_proto for dup3.
76923         Define __have_dup3.
76924         * io/dup3.c: Define hidden symbol.
76925         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76927         [BZ #7101]
76928         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76929         when an incomplete long option is used.
76930         * posix/tst-getopt_long1.c: New file.
76931         * posix/Makefile (tests): Add tst-getopt_long1.
76933         [BZ #10138]
76934         * scripts/config.guess: Update from autoconf-2.68.
76935         * scripts/config.sub: Likewise.
76937         [BZ #10157]
76938         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76939         tests into ...
76940         (has_cpuclock): ...this.  New function.
76941         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76942         macro here based on has_cpuclock code.
76944         [BZ #10149]
76945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76946         First byte (not low byte) is now always NUL.
76947         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76950         Use non-cancelable interfaces.
76952         [BZ #9809]
76953         * locale/iso-639.def: Add entry for Sorani.
76955         [BZ #11901]
76956         * include/stdlib.h: Move include protection to the right place.
76957         Define abort_msg_s.  Declare __abort_msg with it.
76958         * stdlib/abort.c (__abort_msg): Adjust type.
76959         * assert/assert.c (__assert_fail_base): New function.  Majority
76960         of code from __assert_fail.  Allocate memory for __abort_msg with
76961         mmap.
76962         (__assert_fail): Now call __assert_fail_base.
76963         * assert/assert-perr.c: Remove bulk of implementation.  Use
76964         __assert_fail_base.
76965         * include/assert.hL Declare __assert_fail_base.
76966         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76967         mmap.
76968         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76970 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76972         [BZ #11952]
76973         [BZ #12453]
76974         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76975         until all modules are registered in the DTV.
76976         * elf/Makefile: Add rules to build and run tst-tls19.
76977         * elf/tst-tls19.c: New file.
76978         * elf/tst-tls19mod1.c: New file.
76979         * elf/tst-tls19mod2.c: New file.
76980         * elf/tst-tls19mod3.c: New file.
76981         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76983         [BZ #12083]
76984         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76985         correctly.
76987         [BZ #12601]
76988         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76989         two-byte sequence errors.
76990         * iconvdata/Makefile (tests): Add bug-iconv8.
76991         * iconvdata/bug-iconv8.c: New file.
76993         [BZ #12626]
76994         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76995         buf2 definition.
76997         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76999         [BZ #12432]
77000         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77001         (dummy_getcfa): New function.
77002         (init): Get _Unwind_GetCFA address, use dummy if not found.
77003         (backtrace_helper): In recursion check, also check whether CFA changes.
77004         (__backtrace): Completely initialize arg.
77006         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77007         storing incomplete byte sequence in state object.  Avoid testing for
77008         guaranteed too small input if we know there is enough data available.
77010 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77012         * Makeconfig (+link-pie): Indent.
77013         * Rules (binaries-pie): Define if $(have-fpie) and
77014         $(build-shared).
77015         (binaries-shared): Also filter out $(binaries-pie).
77016         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77017         * nscd/Makefile (others-pie): Add nscd.
77018         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77019         ($(objpfx)nscd): Remove command override.
77020         * login/Makefile (others-pie): Add pt_chown.
77021         ($(objpfx)pt_chown): Remove command override.
77022         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77023         remove command overrides.
77025 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77027         * libio/tst_putwc.c: Fix error messages.
77029         [BZ #12724]
77030         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77031         currently writing and seek to current position when not.
77032         * libio/Makefile (tests): Add bug-fclose1.
77033         * libio/bug-fclose1.c: New file.
77035 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77037         [BZ #12511]
77038         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77039         don't set DF_1_NODELETE here.
77040         (do_lookup_x): When entering new entry test for copy relocation
77041         and if necessary set DF_1_NODELETE flag.
77042         * elf/tst-unique4.cc: New file.
77043         * elf/tst-unique4.h: New file.
77044         * elf/tst-unique4lib.cc: New file.
77045         * elf/Makefile: Add rules to build and run tst-unique4.
77046         Patch by Piotr Bury <pbury@goahead.com>.
77048 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77050         [BZ #12052]
77051         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77053         [BZ #12625]
77054         * misc/mntent_r.c (addmntent): Flush the stream after the output
77056         [BZ #12393]
77057         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77058         (is_trusted_path_normalize): Skip initial colon.  Append slash
77059         to empty buffer.  Duplicate is_trusted_path code but allow
77060         constructed patch to be prefix.
77061         (is_dst): Allow $ORIGIN followed by /.
77062         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77063         Correct testing of result of is_trusted_path_normalize
77064         (decompose_rpath): Fix warning.
77066 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77068         [BZ #11257]
77069         * grp/initgroups.c (internal_getgrouplist): When we found the service
77070         list through the initgroups entry in nsswitch.conf do not always
77071         continue on a successful lookup.  Don't always use the
77072         __nss_group_database value if it is set.
77073         * nss/nsswitch.conf (initgroups): Change action for successful db
77074         lookup to continue for compatibility.
77076 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77078         [BZ #11532]
77079         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77080         and CP774 modules.
77081         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77082         and CP774 modules.
77083         * iconvdata/tst-tables.sh: Likewise.
77084         * iconvdata/cp770.c: New file.
77085         * iconvdata/cp771.c: New file.
77086         * iconvdata/cp772.c: New file.
77087         * iconvdata/cp773.c: New file.
77088         * iconvdata/cp774.c: New file.
77089         * iconvdata/testdata/CP770: New file.
77090         * iconvdata/testdata/CP770..UTF8: New file.
77091         * iconvdata/testdata/CP771: New file.
77092         * iconvdata/testdata/CP771..UTF8: New file.
77093         * iconvdata/testdata/CP772: New file.
77094         * iconvdata/testdata/CP772..UTF8: New file.
77095         * iconvdata/testdata/CP773: New file.
77096         * iconvdata/testdata/CP773..UTF8: New file.
77097         * iconvdata/testdata/CP774: New file.
77098         * iconvdata/testdata/CP774..UTF8: New file.
77100         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77101         END CHARMAP line.
77102         * iconvdata/gen-8bit-gap.sh: Likewise.
77103         * iconvdata/gen-8bit.sh: Likewise.
77105         * locale/iso-639.def: Add ary entry.
77107         [BZ #11258]
77108         * locale/C-translit.h.in: Add U20A1 transliteration.
77110         [BZ #12178]
77111         * locale/iso-639.def: Add wae entry.
77112         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77114         [BZ #12545]
77115         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77116         for n.
77118         [BZ #12711]
77119         * locale/C-translit.h.in: Add entry for U20B9.
77120         Patch by pravin.d.s@gmail.com.
77122 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77124         [BZ #12713]
77125         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77126         ENAMETOOLONG use generic getcwd.
77127         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77128         in rtld.  Use *stat64.
77129         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77130         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77131         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77132         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77133         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77134         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77135         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77136         __fstatat64 macros.
77137         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77138         * dirent/rewinddir.c: Add libc_hidden_def.
77139         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77140         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77142         * include/dirent.h (__alloc_dir): Add flags parameter.
77143         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77144         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77145         __alloc_dir.
77146         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77147         from fdopendir if O_CLOEXEC is already set.
77149 2011-03-15  Alan Modra  <amodra@gmail.com>
77151         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77152         l_tls_firstbyte_offset non-zero.  Save padding offset in
77153         l_tls_firstbyte_offset for later use.
77154         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77155         freeing static tls block.
77157 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77159         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77160         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77161         being defined by the kernel headers.
77163 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77165         [BZ #12734]
77166         * resolv/resolv.h: Define RES_NOTLDQUERY.
77167         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77168         no-tld-query and set RES_NOTLDQUERY.
77169         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77170         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77171         modern BIND to search name as TLD unless forbidden.
77173 2011-05-07  Petr Baudis  <pasky@suse.cz>
77174             Ulrich Drepper  <drepper@gmail.com>
77176         [BZ #12393]
77177         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77178         (is_trusted_path): ...to here.
77179         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77180         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77181         using is_trusted_path_normalize() in setuid scripts.
77183 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77185         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77186         __BEGIN/__END_DECLS.
77188 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77190         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77191         NSS_STATUS_NOTFOUND if no record was found.
77193 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77195         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77196         (headers-not-in-tirpc): Remove rpc/netdb.h
77197         * resolv/netdb.h: Revert last change.
77199 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77201         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77202         circular dependency between libgcc.a and libc.a.
77204 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77206         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77207         * nis/Makefile: Don't install rpcsvc/*.
77208         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77209         instead of <rpc/types.h>.
77210         (MAXHOSTNAMELEN): Define.
77212 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77214         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77216 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77218         [BZ #12714]
77219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77220         gethostbyname4_r when IPv6 results are possible.
77222 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77224         [BZ #12723]
77225         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77226         _PC_PIPE_BUF handling.
77228 2011-04-30  Bruno Haible  <bruno@clisp.org>
77230         [BZ #12717]
77231         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77232         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77233         to 'int'.
77234         * inet/getnameinfo.c (getnameinfo): Likewise.
77236 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77238         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77239         to groups setting in database lookup.
77240         * nss/nsswitch.conf: Add initgroups entry.
77242 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77244         [BZ #12685]
77245         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77246         mode string.
77247         Patch by Eric Blake <eblake@redhat.com>.
77249 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77251         * sunrpc/Makefile (need-export-routines): Add svc_run.
77252         (routines): Remove svc_run.
77253         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77254         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77255         * sunrpc/svc_run.c (svc_run): Likewise.
77256         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77258 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77260         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77261         problem in reallocation in last patch.
77263 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77265         * sunrpc/Makefile: Move inclusion of Rules.
77267 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77269         * nss/nss_files/files-initgroups.c: New file.
77270         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77271         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77272         _nss_files_initgroups_dyn.
77274 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77276         * elf/elf.h (R_ARM_IRELATIVE): Define.
77278 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77280         * po/ru.po: Update from translation team.
77282 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77284         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77285         dependencies.
77287 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77289         [BZ #12653]
77290         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77291         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77292         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77294         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77296 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77298         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77299         differing bytes.
77300         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77301         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77302         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77304 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77306         [BZ #12420]
77307         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77308         storing it.
77309         * stdlib/bug-getcontext.c: New file.
77310         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77312 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77314         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77315         instructions into .machine "z9-109".
77316         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77317         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77319 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77321         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77322         between environment variables and auxiliary vector.
77324 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77326         * Makefile: Add rules to build linkobj/libc.so.
77327         * include/libc-symbols.h: Define libc_hidden_nolink.
77328         * include/rpc/auth.h: Mark functions which are to be hidden.
77329         * include/rpc/auth_des.h: Likewise.
77330         * include/rpc/auth_unix.h: Likewise.
77331         * include/rpc/clnt.h: Likewise.
77332         * include/rpc/des_crypt.h: Likewise.
77333         * include/rpc/key_prot.h: Likewise.
77334         * include/rpc/pmap_clnt.h: Likewise.
77335         * include/rpc/pmap_prot.h: Likewise.
77336         * include/rpc/pmap_rmt.h: Likewise.
77337         * include/rpc/rpc_msg.h: Likewise.
77338         * include/rpc/svc.h: Likewise.
77339         * include/rpc/svc_auth.h: Likewise.
77340         * include/rpc/xdr.h: Likewise.
77341         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77342         * nss/Makefile: Likewise.
77343         * sunrpc/Makefile: Don't install headers.  Build library with normal
77344         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77345         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77346         for the compat linking library.  Remove use of INTDEF/INTUSE.
77347         * sunrpc/auth_none.c: Likewise.
77348         * sunrpc/auth_unix.c: Likewise.
77349         * sunrpc/authdes_prot.c: Likewise.
77350         * sunrpc/authuxprot.c: Likewise.
77351         * sunrpc/clnt_gen.c: Likewise.
77352         * sunrpc/clnt_perr.c: Likewise.
77353         * sunrpc/clnt_raw.c: Likewise.
77354         * sunrpc/clnt_simp.c: Likewise.
77355         * sunrpc/clnt_tcp.c: Likewise.
77356         * sunrpc/clnt_udp.c: Likewise.
77357         * sunrpc/clnt_unix.c: Likewise.
77358         * sunrpc/des_crypt.c: Likewise.
77359         * sunrpc/des_soft.c: Likewise.
77360         * sunrpc/get_myaddr.c: Likewise.
77361         * sunrpc/key_call.c: Likewise.
77362         * sunrpc/key_prot.c: Likewise.
77363         * sunrpc/netname.c: Likewise.
77364         * sunrpc/pm_getmaps.c: Likewise.
77365         * sunrpc/pm_getport.c: Likewise.
77366         * sunrpc/pmap_clnt.c: Likewise.
77367         * sunrpc/pmap_prot.c: Likewise.
77368         * sunrpc/pmap_prot2.c: Likewise.
77369         * sunrpc/pmap_rmt.c: Likewise.
77370         * sunrpc/publickey.c: Likewise.
77371         * sunrpc/rpc_cmsg.c: Likewise.
77372         * sunrpc/rpc_common.c: Likewise.
77373         * sunrpc/rpc_dtable.c: Likewise.
77374         * sunrpc/rpc_prot.c: Likewise.
77375         * sunrpc/rpc_thread.c: Likewise.
77376         * sunrpc/rtime.c: Likewise.
77377         * sunrpc/svc.c: Likewise.
77378         * sunrpc/svc_auth.c: Likewise.
77379         * sunrpc/svc_authux.c: Likewise.
77380         * sunrpc/svc_raw.c: Likewise.
77381         * sunrpc/svc_run.c: Likewise.
77382         * sunrpc/svc_simple.c: Likewise.
77383         * sunrpc/svc_tcp.c: Likewise.
77384         * sunrpc/svc_udp.c: Likewise.
77385         * sunrpc/svc_unix.c: Likewise.
77386         * sunrpc/svcauth_des.c: Likewise.
77387         * sunrpc/xcrypt.c: Likewise.
77388         * sunrpc/xdr.c: Likewise.
77389         * sunrpc/xdr_array.c: Likewise.
77390         * sunrpc/xdr_float.c: Likewise.
77391         * sunrpc/xdr_intXX_t.c: Likewise.
77392         * sunrpc/xdr_mem.c: Likewise.
77393         * sunrpc/xdr_rec.c: Likewise.
77394         * sunrpc/xdr_ref.c: Likewise.
77395         * sunrpc/xdr_sizeof.c: Likewise.
77396         * sunrpc/xdr_stdio.c: Likewise.
77398 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77400         [BZ #12650]
77401         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77402         * sysdeps/ia64/dl-tls.h: Likewise.
77403         * sysdeps/powerpc/dl-tls.h: Likewise.
77404         * sysdeps/s390/dl-tls.h: Likewise.
77405         * sysdeps/sh/dl-tls.h: Likewise.
77406         * sysdeps/sparc/dl-tls.h: Likewise.
77407         * sysdeps/x86_64/dl-tls.h: Likewise.
77408         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77410 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77412         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77413         rpath element also skip the following colon.
77414         (expand_dynamic_string_token): Add is_path parameter and pass
77415         down to DL_DST_REQUIRED and _dl_dst_substitute.
77416         (decompose_rpath): Call expand_dynamic_string_token with
77417         non-zero is_path.  Ignore empty rpaths.
77418         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77419         with zero is_path.
77421 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77424         Make cancelable.
77426 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77428         [BZ #12655]
77429         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77430         Patch by Filipe David Manana <fdmanana@apache.org>.
77432 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77434         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77435         Maintain aligned stack.
77436         (CHECK_RSP): Remove unused macro.
77438 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77440         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77441         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77443 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77445         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77447         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77449 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77451         [BZ #12518]
77452         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77453         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77454         * sysdeps/x86_64/memmove.c: New file.
77455         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77456         (memcpy): Renamed to ...
77457         (__new_memcpy): This.
77458         (memcpy): Provide GLIBC_2_14 memcpy.
77459         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77460         (memcpy): Provide GLIBC_2_2_5 memcpy.
77462 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77464         [BZ #12631]
77465         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77467 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77469         * misc/syncfs.c: New file.
77470         * misc/Makefile (routines): Add syncfs.
77471         * posix/unistd.h: Declare syncfs.
77472         * sysdeps/unix/syscalls.list: Add syncfs.
77474 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77476         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77477         open_by_handle_at.
77478         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77479         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77483         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77486 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77488         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77489         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77490         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77496         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77497         sync_file_range.c with -fexceptions.
77498         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77499         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77500         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77501         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77502         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77503         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77504         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77505         sync_file_range as cancellation point
77506         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77507         now a wrapper around __call_sync_file_range with cancellation handling.
77508         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77509         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77510         function name to __call_sync_file_range.
77511         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77512         Add call_sync_file_range.
77514 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77516         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77517         bits/timex.h.
77519 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77521         * iconv/iconv.h: Fix typo in comment.
77522         * io/fcntl.h: Likewise.
77523         * libio/stdio.h: Likewise.
77524         * posix/spawn.h: Likewise.
77525         * posix/unistd.h: Likewise.
77526         * stdlib/stdlib.h: Likewise.
77527         * time/time.h: Likewise.
77528         * wcsmbs/wchar.h: Likewise.
77530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77531         open_by_handle): Add.
77532         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77533         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77534         Augment a few comments.
77535         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77536         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77537         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77539         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77540         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77541         open_by_handle.
77543         * io/fcntl.h (AT_EMPTY_PATH): Define.
77545 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77547         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77548         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77549         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77550         to...
77551         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77552         * Versions.def: Add GLIBC_2.14.
77553         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77554         Export.
77556 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77558         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77559         round counter.
77560         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77562 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77564         [BZ #12597]
77565         * string/test-strncmp.c (do_page_test): New function.
77566         (check2): Likewise.
77567         (test_main): Call check2.
77568         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77570 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77572         [BZ #12587]
77573         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77574         Handle cache information in CPU leaf 4.
77575         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77577 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77579         [BZ #12583]
77580         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77581         character representation.
77582         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77584 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77586         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77587         END(__isnan) to END(__isnanf) to match function entry point/label
77588         EALIGN(__isnanf,...).
77590 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77592         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77594 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77596         [BZ #12510]
77597         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77598         copy from the symbol referenced in the relocation to initialize the
77599         used variable.
77600         Patch by Piotr Bury <pbury@goahead.com>.
77601         * elf/Makefile: Add rules to build and tst-unique3.
77602         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77603         * elf/tst-unique3.cc: New file.
77604         * elf/tst-unique3.h: New file.
77605         * elf/tst-unique3lib.cc: New file.
77606         * elf/tst-unique3lib2.cc: New file.
77608         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77610 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77612         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77613         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77614         to _start.
77616 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77618         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77619         to-be-loaded object along a path to loader is ld.so.
77621 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77622             Ulrich Drepper  <drepper@gmail.com>
77624         * sysdeps/x86_64/memset.S: After aligning destination, code
77625         branches to different locations depending on the value of
77626         misalignment, when multiarch is enabled. Fix this.
77628 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77630         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77631         Set _x86_64_preferred_memory_instruction for AMD processsors.
77632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77633         Set bit_Prefer_SSE_for_memop for AMD processors.
77635 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77637         * libio/fmemopen.c (fmemopen): Optimize a bit.
77639 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77641         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77643 2011-03-03  Roland McGrath  <roland@redhat.com>
77645         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77647 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77649         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77650         __bzero_ultra1 instead of __memset_ultra1.
77652 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77653             Ulrich Drepper  <drepper@gmail.com>
77655         [BZ #12509]
77656         * include/link.h (struct link_map): Add l_orig_initfini.
77657         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77658         returning unsuccessfully.
77659         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77660         close of a file loaded at startup, restore the original l_initfini
77661         list.
77662         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77663         list, store the pointer.
77664         * elf/Makefile ($(objpfx)noload-mem): New rule.
77665         (noload-ENV): Define.
77666         (tests): Add $(objpfx)noload-mem.
77667         * elf/noload.c: Include <memcheck.h>.
77668         (main): Call mtrace.  Close all opened handles.
77670 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77672         [BZ #12454]
77673         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77674         dependencies are missing.
77676 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77678         Fix __if_freereq crash: Unlike the generic version which uses free,
77679         Hurd needs munmap.
77680         * sysdeps/mach/hurd/ifreq.h: New file.
77682 2011-01-27  Petr Baudis  <pasky@suse.cz>
77683             Ulrich Drepper  <drepper@gmail.com>
77685         [BZ 12445]#
77686         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77687         to extend_alloca().
77688         * stdio-common/bug23.c: New file.
77689         * stdio-common/Makefile (tests): Add bug23.
77691 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77692             Ulrich Drepper  <drepper@gmail.com>
77694         [BZ #12489]
77695         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77696         before performing relro protection.  At old place add assertion
77697         to make sure nothing changed.
77699 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77700             Glauber de Oliveira Costa  <glommer@gmail.com>
77702         * elf/elf.h: Add new ARM TLS relocs.
77704 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77707         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77708         cast from r3.
77709         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77710         'tests' variable.
77711         * sysdeps/wordsize-64/tst-writev.c: New file.
77713 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77715         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77716         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77717         insns in _dl_start to prevent a TOC reference before relocs are
77718         resolved.
77720 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77722         [BZ #12469]
77723         * Makeconfig: Remove RANLIB definition.
77724         * Makerules: Don't use RANLIB.
77725         * aclocal.m4: Remove ranlib test.
77726         * configure.in: No need to check for ranlib.
77727         * elf/rtld-Rules: Don't use RANLIB.
77729 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77731         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77732         protection macro.
77733         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77734         inclusion protection macro.
77736         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77737         SIGRTMIN and SIGRTMAX and print information in that case only when
77738         SIGRTMIN is defined.
77740 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77742         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77743         arginfo fn returning -1.
77745         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77746         and thousands string is zero terminated.
77748 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77750         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77751         sysdeps/unix/sysv/linux/bits/socket.h.
77753 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77755         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77756         (__CPU_COUNT): Remove old macros.
77757         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77758         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77759         (__CPU_ALLOC, __CPU_FREE): Add macros.
77760         (__sched_cpualloc, __sched_cpufree): Add declarations.
77762 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77764         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77765         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77766         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77767         (readdhstai): Return value of addhstaiX call.
77768         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77769         (addgrbyX): Return value returned by cache_addgr.
77770         (readdgrbyname): Return value returned by addgrbyX.
77771         (readdgrbygid): Likewise.
77772         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77773         (addpwbyX): Return value returned by cache_addpw.
77774         (readdpwbyname): Return value returned by addhstbyX.
77775         (readdpwbyuid): Likewise.
77776         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77777         (addservbyX): Return value returned by cache_addserv.
77778         (readdservbyname): Return value returned by addservbyX:
77779         (readdservbyport): Likewise.
77780         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77781         (addhstbyX): Return value returned by cache_addhst.
77782         (readdhstbyname): Return value returned by addhstbyX.
77783         (readdhstbyaddr): Likewise.
77784         (readdhstbynamev6): Likewise.
77785         (readdhstbyaddrv6): Likewise.
77786         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77787         (readdinitgroups): Return value returned by addinitgroupsX.
77788         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77789         (prune_cache): Keep track of timeout value of re-added entries.
77790         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77791         * nscd/nscd.h: Adjust prototypes of readd* functions.
77793 2011-02-04  Roland McGrath  <roland@redhat.com>
77795         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77796         (nis_stats): Likewise.
77797         * nis/nis_modify.c (nis_modify): Likewise.
77798         * nis/nis_remove.c (nis_remove): Likewise.
77799         * nis/nis_add.c (nis_add): Likewise.
77801         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77803         * posix/fnmatch_loop.c: Add some consts.
77805         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77807 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77809         [BZ #12460]
77810         * config.make.in (config-cflags-novzeroupper): Define.
77811         * configure.in: Substitute libc_cv_cc_novzeroupper.
77812         * elf/Makefile (AVX-CFLAGS): Define.
77813         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77814         (CFLAGS-tst-auditmod4a.c): Likewise.
77815         (CFLAGS-tst-auditmod4b.c): Likewise.
77816         (CFLAGS-tst-auditmod6b.c): Likewise.
77817         (CFLAGS-tst-auditmod6c.c): Likewise.
77818         (CFLAGS-tst-auditmod7b.c): Likewise.
77819         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77821 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77823         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77824         function to the callback.
77825         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77827 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77829         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77830         of errno.
77832 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77834         [BZ #11724]
77835         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77836         of constructors.
77837         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77838         of destructors.
77839         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77841         [BZ #11724]
77842         * elf/Makefile: Add rules to build and run new test.
77843         * elf/tst-initorder.c: New file.
77844         * elf/tst-initorder.exp: New file.
77845         * elf/tst-initordera1.c: New file.
77846         * elf/tst-initordera2.c: New file.
77847         * elf/tst-initordera3.c: New file.
77848         * elf/tst-initordera4.c: New file.
77849         * elf/tst-initorderb1.c: New file.
77850         * elf/tst-initorderb2.c: New file.
77851         * elf/tst-order-a1.c: New file.
77852         * elf/tst-order-a2.c: New file.
77853         * elf/tst-order-a3.c: New file.
77854         * elf/tst-order-a4.c: New file.
77855         * elf/tst-order-b1.c: New file.
77856         * elf/tst-order-b2.c: New file.
77857         * elf/tst-order-main.c: New file.
77858         New test case by George Gensure <werkt0@gmail.com>.
77860 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77863         decoding ACE if AI_CANONIDN.
77865 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77867         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77869 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77871         * version.h (RELEASE): Bump for 2.13 release.
77872         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77874         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77876         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77877         MADV_NOHUGEPAGE.
77878         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77879         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77880         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77883         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77885         * posix/getconf.c: Update copyright year.
77886         * catgets/gencat.c: Likewise.
77887         * csu/version.c: Likewise.
77888         * debug/catchsegv.sh: Likewise.
77889         * debug/xtrace.sh: Likewise.
77890         * elf/ldconfig.c: Likewise.
77891         * elf/ldd.bash.in: Likewise.
77892         * elf/sprof.c (print_version): Likewise.
77893         * iconv/iconv_prog.c: Likewise.
77894         * iconv/iconvconfig.c: Likewise.
77895         * locale/programs/locale.c: Likewise.
77896         * locale/programs/localedef.c: Likewise.
77897         * malloc/memusage.sh: Likewise.
77898         * malloc/mtrace.pl: Likewise.
77899         * nscd/nscd.c (print_version): Likewise.
77900         * nss/getent.c: Likewise.
77902         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77903         PF_CAIF, and PF_ALG.
77904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77906 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77908         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77909         (modules-names): Use them.
77910         (ifunc-test-modules, ifunc-pie-tests): Define.
77911         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77912         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77913         (test-extras): Likewise.
77914         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77915         $(compile-command.c).
77916         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77917         (all-built-dso): Define.
77918         (check-textrel.out, check-execstack.out): Depend on it.
77920         * configure.in: Don't override --enable-multi-arch.
77922 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77924         [BZ #6812]
77925         * nscd/hstcache.c (tryagain): Define.
77926         (cache_addhst): Return tryagain not notfound for temporary errors.
77927         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77928         failed.
77930 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77932         [BZ #10563]
77933         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77934         to make the syscall.
77935         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77937         [BZ #12378]
77938         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77939         and fall back to matching as normal character if the string ends before
77940         the matching ']' is found.  This is what POSIX requires.
77941         * posix/testfnm.c: Adjust test result.
77942         * posix/globtest.sh: Adjust test result.  Add new test.
77943         * posix/tst-fnmatch.input: Likewise.
77944         * posix/tst-fnmatch2.c: Add new test.
77946 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77948         * elf/Makefile (check-execstack): Revert last change.  Depend on
77949         check-execstack.h.
77950         (check-execstack.h): New target.
77951         (generated): Add check-execstack.h.
77952         * elf/check-execstack.c: Include "check-execstack.h".
77953         (main): Revert last change.
77954         (handle_file): Return zero if GNU_STACK is absent and
77955         DEFAULT_STACK_PERMS doesn't include PF_X.
77957 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77959         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77960         in child fails because the descriptor is already closed.
77961         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77962         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77963         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77965         [BZ #12397]
77966         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77967         syscall.
77969         [BZ #10484]
77970         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77971         temporary buffer used to handle multi lookups locally.
77972         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77974 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77976         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77977         loader is ld.so.
77979 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77981         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77982         alignment for SSE2.
77984 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77986         [BZ #12394]
77987         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77988         characters.  When rounding increased number of integer digits recompute
77989         number of groups.
77990         * stdio-common/tst-grouping.c: New file.
77991         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77993 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77995         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77996         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77998         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77999         void.
78000         * bits/select.h: Likewise.
78002 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78004         * po/ja.po: Update from translation team.
78006 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78008         [BZ #11155]
78009         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78010         implementation just like for lxstat, fxstatat, et al.
78012 2010-12-27  Jim Meyering  <meyering@redhat.com>
78014         [BZ #12348]
78015         * posix/regexec.c (build_trtable): Return failure indication upon
78016         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78018 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78020         [BZ #12201]
78021         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78022         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78023         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78024         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78026         [BZ #12207]
78027         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78029         [BZ #12204]
78030         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78031         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78033 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78035         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78036         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78037         script has SORT_BY_INIT_PRIORITY.
78038         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78039         NO_CTORS_DTORS_SECTIONS is defined.
78040         * elf/soinit.c: Likewise.
78041         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78042         NO_CTORS_DTORS_SECTIONS is defined.
78043         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78044         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78045         * sysdeps/sh/init-first.c: Likewise.
78046         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78048 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78050         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78051         always use the slow path.
78053 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78055         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78056         similar rule which adds the sysdep directories to the header search in
78057         order to pick up the correct platform stackinfo.h.
78058         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78059         perform test if it is, otherwise return successfully without testing.
78060         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78061         DEFAULT_STACK_PERMS define in stackinfo.h.
78062         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78063         defined in stackinfo.h.
78064         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78065         DEFAULT_STACK_PERMS defined in stackinfo.h.
78066         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78067         * sysdeps/ia64/stackinfo.h: Likewise.
78068         * sysdeps/s390/stackinfo.h: Likewise.
78069         * sysdeps/sh/stackinfo.h: Likewise.
78070         * sysdeps/sparc/stackinfo.h: Likewise.
78071         * sysdeps/x86_64/stackinfo.h: Likewise.
78072         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78073         PF_X for powerpc64.  Retain PF_X for powerpc32.
78075 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78077         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78078         accurately.
78079         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78080         GETDENTS_64BIT_ALIGNED.
78082 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78084         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78086 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78088         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78089         _GNU_SOURCE.
78091         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78092         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78093         Remove __restrict.
78094         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78095         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78097 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78099         [BZ #11655]
78100         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78101         are initialized.
78103 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78105         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78107 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78109         * po/it.po: Update from translation team.
78111 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78114         unused codes.
78116 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78118         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78120 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78122         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78123         specially.
78124         (gaih_getanswer_slice): Likewise.
78126 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78130 2010-05-31  Petr Baudis  <pasky@suse.cz>
78132         [BZ #11149]
78133         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78134         silently even in the chroot mode.
78136 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78138         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78139         last patch a bit.  Pretty printing
78141 2010-05-31  Petr Baudis <pasky@suse.cz>
78143         [BZ #10085]
78144         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78145         initialization of skip_initgroups_dyn.
78147 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78149         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78150         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78152 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78154         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78156 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78158         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78159         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78160         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78161         ($(objpfx)tst-fnmatch-mem): New rule.
78162         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78163         * posix/tst-fnmatch.c (main): Call mtrace.
78165 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78168         Support Intel processor model 6 and model 0x2c.
78170 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78172         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78173           signed comparison.
78175 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78177         [BZ #12205]
78178         * string/test-strncasecmp.c (check_result): New function.
78179         (do_one_test): Use it.
78180         (check1): New function.
78181         (test_main): Use it.
78182         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78183         Support strcasecmp and strncasecmp.
78185 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78187         [BZ #12194]
78188         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78189         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78191 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78193         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78194         IFUNC support.
78195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78196         memset-x86-64.
78197         * sysdeps/x86_64/multiarch/bzero.S: New file.
78198         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78199         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78200         * sysdeps/x86_64/multiarch/memset.S: New file.
78201         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78203         Set bit_Prefer_SSE_for_memop for Intel processors.
78204         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78205         Define.
78206         (index_Prefer_SSE_for_memop): Define.
78207         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78209 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78211         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78212         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78214 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78216         [BZ #12191]
78217         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78218         (__x86_64_raw_data_cache_size_half): Likewise.
78219         (__x86_64_raw_shared_cache_size): Likewise.
78220         (__x86_64_raw_shared_cache_size_half): Likewise.
78222         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78223         (__x86_64_raw_data_cache_size_half): Likewise.
78224         (__x86_64_raw_shared_cache_size): Likewise.
78225         (__x86_64_raw_shared_cache_size_half): Likewise.
78226         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78227         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78228         and __x86_64_raw_shared_cache_size_half.  Round
78229         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78230         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78231         to multiple of 256 bytes.
78233 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78235         [BZ #12167]
78236         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78237         of inacessible symlinks.  Verify result of symlink before returning it.
78238         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78239         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78241 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78243         * math/math.h (isinf): Fix typo in comment.
78245 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78247         * po/da.po: Update from translation team.
78249 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78251         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78252         is added to the list.
78254 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78255             Ulrich Drepper  <drepper@gmail.com>
78257         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78258         the global list here.  Move code to...
78259         (_dl_add_to_namespace_list): ...here.  New function.
78260         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78261         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78262         * elf/dl-load.c (lose): Don't remove the element from the list.
78263         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78264         (_dl_map_object): Likewise.
78266 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78268         [BZ #12159]
78269         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78270         into all bytes of SSE register.
78271         Patch by Richard Li <richardpku@gmail.com>.
78273 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78275         [BZ #12140]
78276         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78277         perturbing.
78279 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78281         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78282         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78283         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78284         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78286         submachine.
78287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78289 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78291         * include/dlfcn.h (__RTLD_SECURE): Define.
78292         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78293         mode & __RTLD_SECURE instead.
78294         (open_path): Rename preloaded parameter to secure.
78295         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78296         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78297         * elf/dl-deps.c (openaux): Likewise.
78298         * elf/rtld.c (struct map_args): Remove is_preloaded.
78299         (map_doit): Don't use it.
78300         (dl_main): Likewise.
78301         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78302         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78304 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78306         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78307         (sysd-rules-targets): Remove duplicates.
78308         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78309         rtld-%.$o dependency.
78311 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78313         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78314         _dl_map_object do it.
78316 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78318         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78319         fast fma builtins, define the macros in the C99 standard.
78320         (FP_FAST_FMAF): Likewise.
78321         (FP_FAST_FMAL): Likewise.
78322         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78324         * bits/mathdef.h: Update copyright year.
78325         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78327 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78329         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78330         builtins, define the macros in the C99 standard.
78331         (FP_FAST_FMAF): Likewise.
78332         (FP_FAST_FMAL): Likewise.
78333         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78334         multiply/add.
78335         (FP_FAST_FMAF): Likewise.
78337 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78339         [BZ #3268]
78340         * math/libm-test.inc (fma_test): Some new testcases.
78341         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78342         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78343         y and infinite z.  Do multiplication by C already in long double.
78344         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78346         y and infinite z.  Do bitwise or of inexact bit into u.d.
78347         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78348         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78349         * sysdeps/i386/fpu/s_fma.S: Removed.
78350         * sysdeps/i386/fpu/s_fmal.S: Removed.
78352 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78354         [BZ #3268]
78355         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78357         computation is not scheduled after fetestexcept.  Fix value
78358         of minimum denormal long double.
78360 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78362         [BZ #3268]
78363         * math/libm-test.inc (fma_test): Add some more tests.
78364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78365         correctly.
78367 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78369         * scripts/data/localplt-s390-linux-gnu.data: New file.
78370         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78372 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78374         [BZ #3268]
78375         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78376         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78377         instead of dbl-64.
78378         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78379         inlines.
78380         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78382         if one of x and y is very large and the other is subnormal.
78383         * sysdeps/s390/fpu/s_fmaf.c: New file.
78384         * sysdeps/s390/fpu/s_fma.c: New file.
78385         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78386         * sysdeps/powerpc/fpu/s_fma.S: New file.
78387         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78388         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78389         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78391 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78393         [BZ #3268]
78394         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78395         fma tests.
78396         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78397         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78398         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78399         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78400         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78401         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78402         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78404 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78406         [BZ #12078]
78407         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78408         * posix/bug-regex31.input: Add test case.
78410 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78412         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78413         * posix/bug-regex31.input: New file.
78415         [BZ #12078]
78416         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78417         (parse_sub_exp): Fix last change, use postorder.
78419         * posix/bug-regex31.c: New file.
78420         * posix/Makefile: Add rules to build and run bug-regex31.
78422         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78424         [BZ #12078]
78425         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78427         [BZ #12108]
78428         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78429         to have entries in sys_siglist.
78431         [BZ #12093]
78432         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78433         be NULL.
78435 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78437         [BZ #3268]
78438         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78439         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78440         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78441         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78442         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78443         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78444         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78445         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78446         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78447         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78448         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78449         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78450         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78451         * math/ftestexcept.c (fetestexcept): Likewise.
78452         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78453         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78454         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78455         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78456         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78457         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78458         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78460 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78462         [BZ #12107]
78463         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78464         newline.
78466 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78468         * string/bug-strstr1.c: New file.
78469         * string/Makefile: Add rules to build and run bug-strstr1.
78471 2010-10-05  Eric Blake  <eblake@redhat.com>
78473         [BZ #12092]
78474         * string/str-two-way.h (two_way_long_needle): Always clear memory
78475         when skipping input due to the shift table.
78477 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78479         [BZ #12005]
78480         * malloc/mcheck.c: Handle large requests.
78482         [BZ #12077]
78483         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78484         for strncmp and strncasecmp.
78485         * string/stratcliff.c: Add tests for strcmp and strncmp.
78486         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78488 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78490         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78491         __set_fpscr.
78493 2010-09-30  Andreas Jaeger  <aj@suse.de>
78495         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78496         (CGROUP_SUPER_MAGIC): Define.
78497         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78498         Handle btrfs and cgroup file systems.
78499         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78500         Likewise.
78502 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78504         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78505         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78507 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78509         [BZ #12067]
78510         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78511         trying to locate the ELF header.
78513 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78515         [BZ #11611]
78516         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78517         Mask out sign-bit copies when constructing f_fsid.
78519 2010-09-24  Petr Baudis <pasky@suse.cz>
78521         * debug/stack_chk_fail_local.c: Add missing licence exception.
78522         * debug/warning-nop.c: Likewise.
78524 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78526         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78527         implementing getdents64 using getdents syscall, set d_type if
78528         __ASSUME_GETDENTS32_D_TYPE.
78530 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78532         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78533         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78535 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78537         [BZ #12037]
78538         * posix/unistd.h: Undo change of feature selection for ftruncate from
78539         2010-01-11.
78541 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78543         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78544         detection.
78546 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78548         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78549         fanotify_mark.
78550         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78552 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78554         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78555         variables after CHECK_SP call.
78556         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78558 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78559             Ulrich Drepper  <drepper@redhat.com>
78561         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78562         re-relocationg ld.so.
78563         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78564         _dl_init_paths call.
78565         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78566         here anymore.
78568 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78570         * resolv/res_init.c (__res_vinit): Count the default server we added.
78572 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78573             Ulrich Drepper  <drepper@redhat.com>
78575         [BZ #11968]
78576         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78577         (____longjmp_chk): Use %ebx for saving value across system call.
78578         Add unwind info.
78580 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78582         * manual/Makefile: Don't mix pattern rules with normal rules.
78584 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78586         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78587         operation.
78588         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78589         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78590         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78591         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78592         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78593         Likewise.
78595 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78597         [BZ #11979]
78598         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78599         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78601 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78603         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78604         * sysdeps/x86_64/addmul_1.S: Likewise.
78605         * sysdeps/x86_64/lshift.S: Likewise.
78606         * sysdeps/x86_64/mul_1.S: Likewise.
78607         * sysdeps/x86_64/rshift.S: Likewise.
78608         * sysdeps/x86_64/sub_n.S: Likewise.
78609         * sysdeps/x86_64/submul_1.S: Likewise.
78611 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78613         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78614         Define __sched_param instead of SCHED_* and sched_param when
78615         <bits/sched.h> is included with __need_schedparam defined.
78616         * bits/sched.h [__need_schedparam]
78617         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78618         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78619         (__defined_schedparam): Define to 1.
78620         (__sched_param): New structure, identical to sched_param.
78621         (__need_schedparam): Undefine.
78623 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78625         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78626         (epoll_create1): Declare.
78628         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78630 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78632         [BZ #7066]
78633         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78634         shifting retval into place.
78636 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78638         * nis/rpcsvc/nis.h: Update copyright notice.
78639         * nis/rpcsvc/nis.x: Likewise.
78640         * nis/rpcsvc/nis_callback.h: Likewise.
78641         * nis/rpcsvc/nis_callback.x: Likewise.
78642         * nis/rpcsvc/nis_object.x: Likewise.
78643         * nis/rpcsvc/nis_tags.h: Likewise.
78644         * nis/rpcsvc/yp.h: Likewise.
78645         * nis/rpcsvc/yp.x: Likewise.
78646         * nis/rpcsvc/ypupd.h: Likewise.
78647         * nis/yp_xdr.c: Likewise.
78648         * nis/ypupdate_xdr.c: Likewise.
78650         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78651         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78652         (pmap_getport): Use __libc_rpc_getport.
78653         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78654         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78655         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78657 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78660         fanotify_mark.
78662 2010-08-27  Roland McGrath  <roland@redhat.com>
78664         * sysdeps/i386/i686/multiarch/Makefile
78665         (CFLAGS-varshift.c): New variable.
78667 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78669         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78670         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78672         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78674         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78676 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78678         * sysdeps/x86_64/strlen.S: Unroll the loop.
78679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78680         strlen-sse2 strlen-sse2-bsf.
78681         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78682         __strlen_no_bsf if bit_Slow_BSF is set.
78683         (__strlen_sse42): Removed.
78684         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78685         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78687 2010-08-25  Roland McGrath  <roland@redhat.com>
78689         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78690         * sysdeps/x86_64/multiarch/varshift.c: New file.
78691         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78692         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78693         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78694         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78696 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78699         strlen-sse2 strlen-sse2-bsf.
78700         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78701         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78702         (__strlen_sse2): Removed.
78703         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78704         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78706         bit_Slow_BSF for Atom.
78707         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78708         (index_Slow_BSF): Define.
78709         (HAS_SLOW_BSF): Define.
78711 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78713         [BZ #10851]
78714         * resolv/res_init.c (__res_vinit): When no server address at all
78715         is given default to loopback.
78717 2010-08-24  Roland McGrath  <roland@redhat.com>
78719         * configure.in: Remove config-name.h generation.
78720         * configure: Regenerated.
78721         * config-name.in: File removed.
78722         * scripts/config-uname.sh: New file.
78723         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78724         ($(objdir)config-name.h): New target.
78726         * sunrpc/rpc_parse.h: Avoid nested comment.
78728 2010-08-24  Richard Henderson  <rth@redhat.com>
78729             Ulrich Drepper  <drepper@redhat.com>
78730             H.J. Lu  <hongjiu.lu@intel.com>
78732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78734         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78735         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78736         _mm_alignr_epi8 with _mm_loadu_si128.
78737         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78738         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78739         (__m128i_shift_right): Removed.
78740         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78741         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78742         * sysdeps/x86_64/multiarch/varshift.h: New file.
78743         * sysdeps/x86_64/multiarch/varshift.S: New file.
78745 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78747         * configure.in: Move assembler checks to before sysdep dir checking.
78749 2010-08-20  Petr Baudis  <pasky@suse.cz>
78751         * LICENSES: Sync the sunrpc license.
78753 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78755         * sunrpc/auth_des.c: Update copyright notice once again.
78756         * sunrpc/auth_none.c: Likewise.
78757         * sunrpc/auth_unix.c: Likewise.
78758         * sunrpc/authdes_prot.c: Likewise.
78759         * sunrpc/authuxprot.c: Likewise.
78760         * sunrpc/bindrsvprt.c: Likewise.
78761         * sunrpc/clnt_gen.c: Likewise.
78762         * sunrpc/clnt_perr.c: Likewise.
78763         * sunrpc/clnt_raw.c: Likewise.
78764         * sunrpc/clnt_simp.c: Likewise.
78765         * sunrpc/clnt_tcp.c: Likewise.
78766         * sunrpc/clnt_udp.c: Likewise.
78767         * sunrpc/clnt_unix.c: Likewise.
78768         * sunrpc/des_crypt.c: Likewise.
78769         * sunrpc/des_soft.c: Likewise.
78770         * sunrpc/get_myaddr.c: Likewise.
78771         * sunrpc/getrpcport.c: Likewise.
78772         * sunrpc/key_call.c: Likewise.
78773         * sunrpc/key_prot.c: Likewise.
78774         * sunrpc/openchild.c: Likewise.
78775         * sunrpc/pm_getmaps.c: Likewise.
78776         * sunrpc/pm_getport.c: Likewise.
78777         * sunrpc/pmap_clnt.c: Likewise.
78778         * sunrpc/pmap_prot.c: Likewise.
78779         * sunrpc/pmap_prot2.c: Likewise.
78780         * sunrpc/pmap_rmt.c: Likewise.
78781         * sunrpc/rpc/auth.h: Likewise.
78782         * sunrpc/rpc/auth_unix.h: Likewise.
78783         * sunrpc/rpc/clnt.h: Likewise.
78784         * sunrpc/rpc/des_crypt.h: Likewise.
78785         * sunrpc/rpc/key_prot.h: Likewise.
78786         * sunrpc/rpc/netdb.h: Likewise.
78787         * sunrpc/rpc/pmap_clnt.h: Likewise.
78788         * sunrpc/rpc/pmap_prot.h: Likewise.
78789         * sunrpc/rpc/pmap_rmt.h: Likewise.
78790         * sunrpc/rpc/rpc.h: Likewise.
78791         * sunrpc/rpc/rpc_des.h: Likewise.
78792         * sunrpc/rpc/rpc_msg.h: Likewise.
78793         * sunrpc/rpc/svc.h: Likewise.
78794         * sunrpc/rpc/svc_auth.h: Likewise.
78795         * sunrpc/rpc/types.h: Likewise.
78796         * sunrpc/rpc/xdr.h: Likewise.
78797         * sunrpc/rpc_clntout.c: Likewise.
78798         * sunrpc/rpc_cmsg.c: Likewise.
78799         * sunrpc/rpc_common.c: Likewise.
78800         * sunrpc/rpc_cout.c: Likewise.
78801         * sunrpc/rpc_dtable.c: Likewise.
78802         * sunrpc/rpc_hout.c: Likewise.
78803         * sunrpc/rpc_main.c: Likewise.
78804         * sunrpc/rpc_parse.c: Likewise.
78805         * sunrpc/rpc_parse.h: Likewise.
78806         * sunrpc/rpc_prot.c: Likewise.
78807         * sunrpc/rpc_sample.c: Likewise.
78808         * sunrpc/rpc_scan.c: Likewise.
78809         * sunrpc/rpc_scan.h: Likewise.
78810         * sunrpc/rpc_svcout.c: Likewise.
78811         * sunrpc/rpc_tblout.c: Likewise.
78812         * sunrpc/rpc_util.c: Likewise.
78813         * sunrpc/rpc_util.h: Likewise.
78814         * sunrpc/rpcinfo.c: Likewise.
78815         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78816         * sunrpc/rpcsvc/key_prot.x: Likewise.
78817         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78818         * sunrpc/rpcsvc/mount.x: Likewise.
78819         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78820         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78821         * sunrpc/rpcsvc/rex.x: Likewise.
78822         * sunrpc/rpcsvc/rstat.x: Likewise.
78823         * sunrpc/rpcsvc/rusers.x: Likewise.
78824         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78825         * sunrpc/rpcsvc/spray.x: Likewise.
78826         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78827         * sunrpc/rtime.c: Likewise.
78828         * sunrpc/svc.c: Likewise.
78829         * sunrpc/svc_auth.c: Likewise.
78830         * sunrpc/svc_authux.c: Likewise.
78831         * sunrpc/svc_raw.c: Likewise.
78832         * sunrpc/svc_run.c: Likewise.
78833         * sunrpc/svc_simple.c: Likewise.
78834         * sunrpc/svc_tcp.c: Likewise.
78835         * sunrpc/svc_udp.c: Likewise.
78836         * sunrpc/svc_unix.c: Likewise.
78837         * sunrpc/svcauth_des.c: Likewise.
78838         * sunrpc/xcrypt.c: Likewise.
78839         * sunrpc/xdr.c: Likewise.
78840         * sunrpc/xdr_array.c: Likewise.
78841         * sunrpc/xdr_float.c: Likewise.
78842         * sunrpc/xdr_mem.c: Likewise.
78843         * sunrpc/xdr_rec.c: Likewise.
78844         * sunrpc/xdr_ref.c: Likewise.
78845         * sunrpc/xdr_sizeof.c: Likewise.
78846         * sunrpc/xdr_stdio.c: Likewise.
78848         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78849         handling.
78851 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78853         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78855 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78857         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78859         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78860         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78861         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78862         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78863         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78864         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78865         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78866         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78867         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78868         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78869         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78870         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78872 2010-07-26  Anton Blanchard  <anton@samba.org>
78874         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78875         * malloc/arena.c (heap_trim): Likewise.
78877 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78879         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78880         here.  Not...
78881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78882         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78884 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78886         * sysdeps/i386/elf/Makefile: New file.
78888 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78890         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78891         from fanotify_init.
78892         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78893         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78895 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78897         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78898         of strncasecmp_l.
78899         * sysdeps/multiarch/strcmp.S: Likewise.
78901 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78903         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78904         strncase_l-nonascii.
78905         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78906         Add strncase_l-ssse3.
78907         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78908         * sysdeps/x86_64/strcmp.S: Likewise.
78909         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78910         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78911         * sysdeps/x86_64/strncase.S: New file.
78912         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78913         * sysdeps/x86_64/strncase_l.S: New file.
78914         * string/Makefile (strop-tests): Add strncasecmp.
78915         * string/test-strncasecmp.c: New file.
78917         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78918         warning.
78920         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78921         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78923 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78925         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78927 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78929         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78931         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78933 2010-05-01  Alan Modra  <amodra@gmail.com>
78935         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78936         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78937         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78938         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78939         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78940         tidying.  Don't tail-call __sigjmp_save for static lib.
78941         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78942         save location.
78943         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78944         (CALL_MCOUNT): Add eh info, and nop after bl.
78945         (TAIL_CALL_SYSCALL_ERROR): New macro.
78946         (PSEUDO_RET): Use it.
78947         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78948         Correct save location of integer regs and cr.
78949         (_dl_profile_resolve): Correct cr save location.  Delete nops
78950         after bl when SHARED.  Reduce cfi size a little by better
78951         placement of cfi directives.
78952         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78953         make a stack frame.  Instead use parm save area as a temp.
78954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78955         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78957         Don't make a stack frame for parent, use parm save area.
78958         Increase child stack frame to 112 bytes.  Don't save unused reg,
78959         and adjust reg usage.  Set up cfi on error recovery and
78960         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78962         (__makecontext): Add dummy nop after jump to exit.
78963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78964         Use correct parm save area and cr save, reduce stack frame.
78965         Correct cfi for possible PSEUDO_RET frame setup.
78966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78967         Branch to local label emitted by PSEUDO_RET rather than
78968         __syscall_error.
78970 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78972         [BZ #11904]
78973         * locale/programs/locale.c (print_assignment): New function.
78974         (show_locale_vars): Use it.
78976 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78978         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78979         field.
78980         (struct statfs64): Likewise.
78981         (_STATFS_F_FLAGS): Define.
78982         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78983         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78984         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78985         (ST_VALID): Define locally.
78986         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78987         __statvfs_getflags, use the provided value.
78988         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78989         __ASSUME_STATFS_F_FLAGS.
78991         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78993         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78994         Add sys/fanotify.h.
78995         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78996         fanotify_mask for GLIBC_2.13.
78997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78998         fanotify_init and fanotify_mark.
78999         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79000         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79002         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79003         Add prlimit.
79004         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79005         prlimit64 for GLIBC_2.13.
79006         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79007         prlimit64.
79008         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79009         syscall.
79010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79012         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79013         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79014         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79015         add prlimit alias.
79016         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79018         [BZ #11903]
79019         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79020         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79022         * nss/Makefile: Add rules to build and run tst-nss-test1.
79023         * shlib-versions: Add entry for libnss_test1.
79024         * nss/nss_test1.c: New file.
79025         * nss/tst-nss-test1.c: New file.
79027         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79028         (__nss_configure_lookup): Set appropriate entry in
79029         __nss_configure_lookup to true.
79030         * nss/nsswitch.h: Define enum with indeces of databases in
79031         databases and __nss_database_custom arrays.  Declare
79032         __nss_database_custom.
79033         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79034         to avoid using nscd when custom rules are installed.
79035         * nss/getXXbyYY_r.c: Likewise.
79036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79038         * nss/nss_files/files-parse.c: Whitespace fixes.
79040 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79042         [BZ #11883]
79043         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79044         * posix/fnmatch_loop.c: Likewise.
79046 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79048         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79049         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79050         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79051         * Versions.def [GLIBC_2.13]: Add.
79053 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79055         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79056         Also fail if tpwd after pwuid call is NULL.
79058 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79060         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79061         when converting to ms.
79063 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79065         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79066         EOPNOTSUPP errors with ENOTTY.
79067         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79068         EOPNOTSUPP errors with ENOTTY.
79070 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79072         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79073         Add strcasecmp_l-ssse3.
79074         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79075         strcasecmp.
79076         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79077         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79078         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79080 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79082         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79084         * string/Makefile (strop-tests): Add strcasecmp.
79085         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79086         strcasecmp_l-nonascii.
79087         (gen-as-const-headers): Add locale-defines.sym.
79088         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79089         * sysdeps/x86_64/strcasecmp.S: New file.
79090         * sysdeps/x86_64/strcasecmp_l.S: New file.
79091         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79092         * sysdeps/x86_64/locale-defines.sym: New file.
79093         * string/test-strcasecmp.c: New file.
79095         * string/test-strcasestr.c: Test both ends of the range of characters.
79096         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79098 2010-07-29  Roland McGrath  <roland@redhat.com>
79100         [BZ #11856]
79101         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79103 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79105         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79106         for ld.so.
79108 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79110         * manual/memory.texi (Malloc Tunable Parameters): Document
79111         M_PERTURB.
79113 2010-07-26  Roland McGrath  <roland@redhat.com>
79115         [BZ #11840]
79116         * configure.in (-fgnu89-inline check): Set and substitute
79117         gnu89_inline, not libc_cv_gnu89_inline.
79118         * configure: Regenerated.
79119         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79121 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79123         * string/test-strnlen.c: New file.
79124         * string/Makefile (strop-tests): Add strnlen.
79125         * string/tester.c (test_strnlen): Add a few more test cases.
79126         * string/tst-strlen.c: Better error reporting.
79128         * sysdeps/x86_64/strnlen.S: New file.
79130 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79132         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79133         lower-latency instructions.
79135 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79137         * string/test-strcasestr.c: New file.
79138         * string/test-strstr.c: New file.
79139         * string/Makefile (strop-tests): Add strstr and strcasestr.
79140         * string/str-two-way.h: Don't undefine MAX.
79141         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79143 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79146         strcasestr-nonascii.
79147         (CFLAGS-strcasestr-nonascii.c): Define.
79148         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79149         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79150         Remove unused attribute.
79152 2010-07-20  Roland McGrath  <roland@redhat.com>
79154         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79155         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79156         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79157         like LD_HWCAP_MASK can disable hwcaps.
79159 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79161         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79163 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79165         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79166         call in strcasestr.
79167         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79168         __strcasestr_sse42_nonascii.
79169         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79170         strcasestr-nonascii.c.
79171         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79173 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79175         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79176         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79177         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79178         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79180 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79182         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79183         fcntl.
79185 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79187         [BZ #11577]
79188         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79189         dl_signal_cerror.
79191 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79194         _PC_PIPE_BUF using F_GETPIPE_SZ.
79196 2010-07-05  Roland McGrath  <roland@redhat.com>
79198         * manual/arith.texi (Rounding Functions): Fix rint description
79199         implicit in round description.
79201 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79203         * elf/Makefile: Fix linking for a few tests to make recent linker
79204         happy.
79206 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79208         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79209         $(common-objpfx)libc_nonshared.a.
79211 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79213         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79214         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79215         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79216         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79217         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79218         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79219         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79220         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79235         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79236         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79237         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79238         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79239         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79240         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79241         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79242         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79243         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79244         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79245         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79246         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79262 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79264         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79265         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79266         * string/memmove.c (memmove): Renamed to ...
79267         (MEMMOVE): ...this.  Default to memmove.
79268         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79269         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79270         (END_CHK): Define.
79271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79272         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79273         mempcpy-ssse3-back memmove-ssse3-back.
79274         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79277         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79278         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79279         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79280         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79281         * sysdeps/x86_64/multiarch/memmove.c: New file.
79282         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79283         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79284         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79285         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79287         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79288         Define.
79289         (index_Fast_Copy_Backward): Define.
79290         (HAS_ARCH_FEATURE): Define.
79291         (HAS_FAST_REP_STRING): Define.
79292         (HAS_FAST_COPY_BACKWARD): Define.
79294 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79296         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79297         Restore proper fallback handling.
79299 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79301         [BZ #11701]
79302         * posix/group_member.c (__group_member): Correct checking loop.
79304         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79305         OOM in getpwuid_r correctly.  Return error number when the caller
79306         should return, otherwise -1.
79307         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79308         call returning > 0 value.
79309         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79311 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79313         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79314         libc_nonshared.a from targets in modules-names.
79316 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79318         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79319         requires it.
79321 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79323         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79324         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79326         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79328 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79330         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79332 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79334         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79335         and F_GETPIPE_SZ.
79336         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79340         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79343 2010-06-14  Roland McGrath  <roland@redhat.com>
79345         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79347 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79349         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79350         __REDIRECT followed by __THROW.
79351         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79352         * posix/getopt.h (getopt): Likewise.
79354 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79356         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79357         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79358         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79359         in AT_FLAGS.
79360         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79361         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79363 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79365         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79367 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79369         [BZ #11640]
79370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79371         Properly check family and model.
79373 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79375         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79377 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79379         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79381 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79383         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79384         symbol reference.
79386 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79388         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79389         symbol reference.
79391 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79393         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79394         and internal_recvmmsg.
79395         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79396         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79397         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79398         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79400         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79401         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79402         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79404 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79406         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79408 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79410         POWER7 optimizations.
79411         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79412         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79414 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79416         * version.h: Update for 2.13 development version.
79418 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79420         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79421         exceptions.  Return 0.
79423 2010-05-07  Roland McGrath  <roland@redhat.com>
79425         * elf/ldconfig.c (main): Add a const.
79427 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79429         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79430         (args_options): Add no-idn option.
79431         (ahosts_keys_int): Add idn_flags to ai_flags.
79432         (parse_option): Handle 'i' option to clear idn_flags.
79434         * malloc/malloc.c (_int_free): Possible race in the most recently
79435         added check.  Only act on the data if no current modification
79436         happened.
79438 See ChangeLog.17 for earlier changes.